CRAN Package Check Results for Package maSAE

Last updated on 2024-06-13 00:55:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.3 5.14 66.01 71.15 OK
r-devel-linux-x86_64-debian-gcc 2.0.3 3.76 46.26 50.02 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.3 88.74 OK
r-devel-linux-x86_64-fedora-gcc 2.0.3 96.07 OK
r-devel-windows-x86_64 2.0.3 5.00 88.00 93.00 OK
r-patched-linux-x86_64 2.0.3 5.72 61.67 67.39 OK
r-release-linux-x86_64 2.0.3 4.80 58.32 63.12 OK
r-release-macos-arm64 2.0.3 33.00 OK
r-release-macos-x86_64 2.0.3 55.00 OK
r-release-windows-x86_64 2.0.3 5.00 87.00 92.00 OK
r-oldrel-macos-arm64 2.0.3 34.00 OK
r-oldrel-macos-x86_64 2.0.3 56.00 OK
r-oldrel-windows-x86_64 2.0.3 7.00 86.00 93.00 OK

Check Details

Version: 2.0.3
Check: package dependencies
Result: NOTE Packages suggested but not available for checking: 'devtools', 'forestinventory', 'sae', 'testthat' Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.0.3
Check: tests
Result: ERROR Running ‘runit.R’ [9s/13s] Running ‘testthat.R’ [0s/1s] Running the tests in ‘tests/runit.R’ failed. Complete output: > #!/usr/bin/Rscript --vanilla > is_failure <- function(result) { + res <- RUnit::getErrors(result) + names(res) <- tolower(names(res)) # soothe lintr + sum_of_exceptions <- res[["nerr"]] + res[["nfail"]] + fail <- as.logical(sum_of_exceptions) + return(fail) + } > > if (interactive()) { + pkgload::load_all(path = ".") # needed to use pkgload's shim version of + # base's system.file + unit_dir <- system.file("inst", "runit_tests", package = "maSAE") + } else { + require("maSAE", quietly = TRUE, character.only = TRUE) || + pkgload::load_all(path = ".") # needed to use pkgload's shim version of + r_call <- commandArgs(trailingOnly = FALSE) + if (any(grepl("--file", r_call))) { + unit_dir <- file.path("inst", "runit_tests") + } else { + unit_dir <- system.file("runit_tests", package = "maSAE") + } + } Attaching package: 'maSAE' The following object is masked from 'package:stats': predict > if (! dir.exists(unit_dir)) { + stop("Can not find RUnit test directory ", unit_dir, + ". Try to (re)install the package first.") + } > setup_file <- file.path(unit_dir, "setup.R") > if (file.exists(setup_file)) source(setup_file) > package_suite <- RUnit::defineTestSuite("maSAE_unit_test", + dirs = unit_dir, + testFileRegexp = "^runit.*\\.[rR]", + testFuncRegexp = "^test_+") > test_result <- RUnit::runTestSuite(package_suite) Tests for the clustered two-phase design Executing test function test_ex_noweights ... Tests for exhaustive auxiliary data without weights include is NULL, automatically adding it as TRUE to data. done successfully. Executing test function test_ex_weights ... Tests for exhaustive auxiliary data with weights include is NULL, automatically adding it as TRUE to data. Error in h(simpleError(msg, call)) : error in evaluating the argument 'object' in selecting a method for function 'predict': invalid class "saeObj" object: s2 indicator s2 not found in data. In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry include is NULL, automatically adding it as TRUE to data. include is NULL, automatically adding it as TRUE to data. done successfully. Executing test function test_nonex_noweights ... Tests for non-exhaustive auxiliary data without weights done successfully. Executing test function test_partially ... include is NULL, automatically adding it as TRUE to data. done successfully. Tests for the clustered three-phase design Error in loadNamespace(x) : there is no package called 'forestinventory' In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry #% Tests against forestinventory ##% Tests for using zberg Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry #% Tests against forestinventory ##% Tests for clustered sampling using s1, s2 Executing test function test_clustered_unweighted ... include is NULL, automatically adding it as TRUE to data. Timing stopped at: 0.057 0 0.057 Error in loadNamespace(x) : there is no package called 'forestinventory' In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry done successfully. Tests for the clustered two-phase design Error in library("forestinventory") : there is no package called 'forestinventory' In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry Tests for using lm Executing test function test_lm_clustered ... include is NULL, automatically adding it as TRUE to data. include is NULL, automatically adding it as TRUE to data. include is NULL, automatically adding it as TRUE to data. include is NULL, automatically adding it as TRUE to data. include is NULL, automatically adding it as TRUE to data. include is NULL, automatically adding it as TRUE to data. include is NULL, automatically adding it as TRUE to data. include is NULL, automatically adding it as TRUE to data. done successfully. Executing test function test_lm_unclustered ... done successfully. Tests for using lm Executing test function test_means ... done successfully. Executing test function test_exception ... Error in eval(expr, envir = parent.frame()) : Hello, error! In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry 3: In validityMethod(object) : Got both all true means and auxiliary weights. Will ignore the latter. 4: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 5: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry 6: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 7: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry done successfully. Tests for the unclustered two-phase design Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry Tests for the unclustered three-phase design Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry Ensure 1.0.0 and 2.0.0 give same predictions and variances Executing test function test_lm_clustered ... include is NULL, automatically adding it as TRUE to data. include is NULL, automatically adding it as TRUE to data. include is NULL, automatically adding it as TRUE to data. include is NULL, automatically adding it as TRUE to data. done successfully. Executing test function test_lm_unclustered ... done successfully. Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry > RUnit::printTextProtocol(test_result, showDetails = TRUE, fileName = "") RUNIT TEST PROTOCOL -- Wed Jun 12 15:49:12 2024 *********************************************** Number of test functions: 16 Number of errors: 6 Number of failures: 0 1 Test Suite : maSAE_unit_test - 16 test functions, 6 errors, 0 failures ERROR in /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_3p.R: Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_3p.R : Error in loadNamespace(x) : there is no package called 'forestinventory' ERROR in /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory.R: Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' ERROR in test_clustered_unweighted: Error in loadNamespace(x) : there is no package called 'forestinventory' ERROR in /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_partially.R: Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_partially.R : Error in library("forestinventory") : there is no package called 'forestinventory' ERROR in /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_2p.R: Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_2p.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' ERROR in /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_3p.R: Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_3p.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' Details *************************** Test Suite: maSAE_unit_test Test function regexp: ^test_+ Test file regexp: ^runit.*\.[rR] Involved directory: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_2p.R test_ex_noweights: (3 checks) ... OK (0.19 seconds) test_ex_weights: (2 checks) ... OK (0.2 seconds) test_nonex_noweights: (3 checks) ... OK (0.06 seconds) test_partially: (1 checks) ... OK (0.14 seconds) --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_3p.R /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_3p.R: ERROR !! Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_3p.R : Error in loadNamespace(x) : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory.R /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory.R: ERROR !! Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_maSAE.R test_clustered_unweighted: ERROR !! Error in loadNamespace(x) : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_partially.R /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_partially.R: ERROR !! Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_partially.R : Error in library("forestinventory") : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-lm.R test_lm_clustered: (8 checks) ... OK (4.66 seconds) test_lm_unclustered: (8 checks) ... OK (1 seconds) --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-means.R test_means: (1 checks) ... OK (0 seconds) --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-throw.R test_exception: (1 checks) ... OK (0 seconds) --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_2p.R /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_2p.R: ERROR !! Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_2p.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_3p.R /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_3p.R: ERROR !! Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_3p.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-v1.R test_lm_clustered: (4 checks) ... OK (4.19 seconds) test_lm_unclustered: (4 checks) ... OK (1.89 seconds) > if (is_failure(test_result)) { + RUnit::printTextProtocol(test_result, showDetails = TRUE) + stop("RUnit failed.") + } RUNIT TEST PROTOCOL -- Wed Jun 12 15:49:12 2024 *********************************************** Number of test functions: 16 Number of errors: 6 Number of failures: 0 1 Test Suite : maSAE_unit_test - 16 test functions, 6 errors, 0 failures ERROR in /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_3p.R: Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_3p.R : Error in loadNamespace(x) : there is no package called 'forestinventory' ERROR in /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory.R: Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' ERROR in test_clustered_unweighted: Error in loadNamespace(x) : there is no package called 'forestinventory' ERROR in /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_partially.R: Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_partially.R : Error in library("forestinventory") : there is no package called 'forestinventory' ERROR in /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_2p.R: Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_2p.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' ERROR in /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_3p.R: Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_3p.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' Details *************************** Test Suite: maSAE_unit_test Test function regexp: ^test_+ Test file regexp: ^runit.*\.[rR] Involved directory: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_2p.R test_ex_noweights: (3 checks) ... OK (0.19 seconds) test_ex_weights: (2 checks) ... OK (0.2 seconds) test_nonex_noweights: (3 checks) ... OK (0.06 seconds) test_partially: (1 checks) ... OK (0.14 seconds) --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_3p.R /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_3p.R: ERROR !! Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-cl_3p.R : Error in loadNamespace(x) : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory.R /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory.R: ERROR !! Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_maSAE.R test_clustered_unweighted: ERROR !! Error in loadNamespace(x) : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_partially.R /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_partially.R: ERROR !! Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-forestinventory_partially.R : Error in library("forestinventory") : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-lm.R test_lm_clustered: (8 checks) ... OK (4.66 seconds) test_lm_unclustered: (8 checks) ... OK (1 seconds) --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-means.R test_means: (1 checks) ... OK (0 seconds) --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-throw.R test_exception: (1 checks) ... OK (0 seconds) --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_2p.R /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_2p.R: ERROR !! Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_2p.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_3p.R /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_3p.R: ERROR !! Error while sourcing /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-uc_3p.R : Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'forestinventory' --------------------------- Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maSAE/runit_tests/runit-v1.R test_lm_clustered: (4 checks) ... OK (4.19 seconds) test_lm_unclustered: (4 checks) ... OK (1.89 seconds) Error: RUnit failed. Execution halted Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) Error in library(testthat) : there is no package called 'testthat' Execution halted Flavor: r-devel-linux-x86_64-debian-gcc