CRAN Package Check Results for Package surveillance

Last updated on 2024-11-05 03:49:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.24.0 39.57 441.63 481.20 OK
r-devel-linux-x86_64-debian-gcc 1.24.0 27.39 299.03 326.42 ERROR
r-devel-linux-x86_64-fedora-clang 1.24.0 819.32 ERROR
r-devel-linux-x86_64-fedora-gcc 1.24.0 763.93 ERROR
r-devel-windows-x86_64 1.24.0 47.00 362.00 409.00 OK --no-vignettes
r-patched-linux-x86_64 1.24.0 46.04 414.85 460.89 NOTE
r-release-linux-x86_64 1.24.0 36.99 417.77 454.76 NOTE
r-release-macos-arm64 1.24.0 229.00 NOTE
r-release-macos-x86_64 1.24.0 396.00 NOTE
r-release-windows-x86_64 1.24.0 44.00 356.00 400.00 NOTE --no-vignettes
r-oldrel-macos-arm64 1.24.0 223.00 NOTE
r-oldrel-macos-x86_64 1.24.0 411.00 NOTE
r-oldrel-windows-x86_64 1.24.0 57.00 422.00 479.00 NOTE --no-vignettes

Check Details

Version: 1.24.0
Check: tests
Result: ERROR Running ‘tinytest.R’ [14s/17s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > ### "lazy" transition from "testthat" to "tinytest" > ### Copyright (C) 2020-2022 Sebastian Meyer > > if (!requireNamespace("tinytest", quietly = TRUE) + || packageVersion("tinytest") < "1.2.4") { + message("this test suite requires package 'tinytest' (>= 1.2.4)") + q("no") + } > > ## provide simple replacement for test_that() expectation bundles > test_that <- function (desc, code) { + eval(substitute(code), new.env(parent = parent.frame())) + invisible() + } > > ## show warnings as they appear > options(warn = 1) > > ## we use verbose = 1 to print_status() only after each test file, > ## not after each expression (verbose = 2) > tinytest::test_package("surveillance", testdir = "testthat", verbose = 1) Loading required package: sp Loading required package: xtable This is surveillance 1.24.0; see 'package?surveillance' or https://surveillance.R-Forge.R-project.org/ for an overview. test-algo.glrnb.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m74ms<1b>[0m test-bodaDelay.R.............. 29 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m test-calibration.R............ 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m test-createLambda.R........... 17 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test-determineSources.R....... 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m test-earsC.R.................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m test-farringtonFlexible.R..... 55 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.2s<1b>[0m test-formatDate.R............. 9 tests <1b>[0;31m1 fails<1b>[0m <1b>[0;36m8ms<1b>[0m Loading required namespace: numDeriv test-hhh4+derivatives.R....... 28 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m3.9s<1b>[0m test-hhh4_ARasNE.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m90ms<1b>[0m test-hhh4_NA.R................ 13 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m test-hhh4_NegBinGrouped.R..... 8 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m3.2s<1b>[0m test-hhh4_offsets.R........... 10 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m61ms<1b>[0m test-hhh4_weights.R........... 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m13ms<1b>[0m test-nbOrder.R................ 2 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m2ms<1b>[0m test-plapply.R................ 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m73ms<1b>[0m 'F' vs. cubature using method = "midpoint" ... TRUE 'Fcircle' vs. cubature using method = "midpoint" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "midpoint" ... TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... siaf parameter 1: TRUE siaf parameter 2: TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... TRUE 'F' vs. cubature using method = "midpoint" ... TRUE 'Fcircle' vs. cubature using method = "midpoint" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "midpoint" ... siaf parameter 1: TRUE siaf parameter 2: TRUE 'F' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... siaf parameter 1: TRUE siaf parameter 2: TRUE Loading required namespace: memoise 'F' vs. cubature using method = "midpoint" ... TRUE 'Fcircle' vs. cubature using method = "midpoint" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "midpoint" ... siaf parameter 1: TRUE siaf parameter 2: TRUE siaf parameter 3: TRUE test-siafs.R.................. 72 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.2s<1b>[0m Loading required namespace: sf test-sts.R.................... 27 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.2s<1b>[0m test-tiafs.R.................. 6 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test-toLatex.sts.R............ 12 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.1s<1b>[0m Loading objects: districtsD stateD marked point pattern of 2 types no epidemic component in model no numerical likelihood optimization, all parameters fixed: h.(Intercept) h.I(start/365) -19.86017 0.00000 Warning in twinstim(endemic = ~offset(log(popdensity)) + I(start/365), data = imdepi0, : non-finite log-likelihood Done. marked point pattern of 2 types no epidemic component in model no numerical likelihood optimization, all parameters fixed: h.(Intercept) -14.8703 Done. test-twinstim_misc.R.......... 0 tests <1b>[0;34m0.6s<1b>[0m test-twinstim_score.R......... 6 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.6s<1b>[0m ----- FAILED[attr]: test-formatDate.R<53--55> call| expect_identical(dates[at2ndChange(x, xm1)], as.Date(c("2007-01-01", call| --> "2009-01-05", "2011-01-03"))) diff| TRUE Error: 1 out of 325 tests failed Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.24.0
Check: tests
Result: ERROR Running ‘tinytest.R’ [35s/53s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > ### "lazy" transition from "testthat" to "tinytest" > ### Copyright (C) 2020-2022 Sebastian Meyer > > if (!requireNamespace("tinytest", quietly = TRUE) + || packageVersion("tinytest") < "1.2.4") { + message("this test suite requires package 'tinytest' (>= 1.2.4)") + q("no") + } > > ## provide simple replacement for test_that() expectation bundles > test_that <- function (desc, code) { + eval(substitute(code), new.env(parent = parent.frame())) + invisible() + } > > ## show warnings as they appear > options(warn = 1) > > ## we use verbose = 1 to print_status() only after each test file, > ## not after each expression (verbose = 2) > tinytest::test_package("surveillance", testdir = "testthat", verbose = 1) Loading required package: sp Loading required package: xtable This is surveillance 1.24.0; see 'package?surveillance' or https://surveillance.R-Forge.R-project.org/ for an overview. test-algo.glrnb.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m test-bodaDelay.R.............. 29 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test-calibration.R............ 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m test-createLambda.R........... 17 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.4s<1b>[0m test-determineSources.R....... 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.4s<1b>[0m test-earsC.R.................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.6s<1b>[0m test-farringtonFlexible.R..... 55 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m4.5s<1b>[0m test-formatDate.R............. 9 tests <1b>[0;31m1 fails<1b>[0m <1b>[0;36m23ms<1b>[0m Loading required namespace: numDeriv test-hhh4+derivatives.R....... 28 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m11.6s<1b>[0m test-hhh4_ARasNE.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test-hhh4_NA.R................ 13 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.7s<1b>[0m test-hhh4_NegBinGrouped.R..... 8 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m10.8s<1b>[0m test-hhh4_offsets.R........... 10 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.4s<1b>[0m test-hhh4_weights.R........... 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m58ms<1b>[0m test-nbOrder.R................ 2 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m10ms<1b>[0m test-plapply.R................ 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m90ms<1b>[0m 'F' vs. cubature using method = "midpoint" ... TRUE 'Fcircle' vs. cubature using method = "midpoint" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "midpoint" ... TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... siaf parameter 1: TRUE siaf parameter 2: TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... TRUE 'F' vs. cubature using method = "midpoint" ... TRUE 'Fcircle' vs. cubature using method = "midpoint" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "midpoint" ... siaf parameter 1: TRUE siaf parameter 2: TRUE 'F' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... siaf parameter 1: TRUE siaf parameter 2: TRUE Loading required namespace: memoise 'F' vs. cubature using method = "midpoint" ... TRUE 'Fcircle' vs. cubature using method = "midpoint" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "midpoint" ... siaf parameter 1: TRUE siaf parameter 2: TRUE siaf parameter 3: TRUE test-siafs.R.................. 72 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m4.4s<1b>[0m Loading required namespace: sf test-sts.R.................... 27 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m2.5s<1b>[0m test-tiafs.R.................. 6 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.2s<1b>[0m test-toLatex.sts.R............ 12 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m4.9s<1b>[0m Loading objects: districtsD stateD marked point pattern of 2 types no epidemic component in model no numerical likelihood optimization, all parameters fixed: h.(Intercept) h.I(start/365) -19.86017 0.00000 Warning in twinstim(endemic = ~offset(log(popdensity)) + I(start/365), data = imdepi0, : non-finite log-likelihood Done. marked point pattern of 2 types no epidemic component in model no numerical likelihood optimization, all parameters fixed: h.(Intercept) -14.8703 Done. test-twinstim_misc.R.......... 0 tests <1b>[0;34m2.2s<1b>[0m test-twinstim_score.R......... 6 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.7s<1b>[0m ----- FAILED[attr]: test-formatDate.R<53--55> call| expect_identical(dates[at2ndChange(x, xm1)], as.Date(c("2007-01-01", call| --> "2009-01-05", "2011-01-03"))) diff| TRUE Error: 1 out of 325 tests failed Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.24.0
Check: tests
Result: ERROR Running ‘tinytest.R’ [34s/41s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > ### "lazy" transition from "testthat" to "tinytest" > ### Copyright (C) 2020-2022 Sebastian Meyer > > if (!requireNamespace("tinytest", quietly = TRUE) + || packageVersion("tinytest") < "1.2.4") { + message("this test suite requires package 'tinytest' (>= 1.2.4)") + q("no") + } > > ## provide simple replacement for test_that() expectation bundles > test_that <- function (desc, code) { + eval(substitute(code), new.env(parent = parent.frame())) + invisible() + } > > ## show warnings as they appear > options(warn = 1) > > ## we use verbose = 1 to print_status() only after each test file, > ## not after each expression (verbose = 2) > tinytest::test_package("surveillance", testdir = "testthat", verbose = 1) Loading required package: sp Loading required package: xtable This is surveillance 1.24.0; see 'package?surveillance' or https://surveillance.R-Forge.R-project.org/ for an overview. test-algo.glrnb.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test-bodaDelay.R.............. 29 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.4s<1b>[0m test-calibration.R............ 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test-createLambda.R........... 17 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.1s<1b>[0m test-determineSources.R....... 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test-earsC.R.................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test-farringtonFlexible.R..... 55 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m2.7s<1b>[0m test-formatDate.R............. 9 tests <1b>[0;31m1 fails<1b>[0m <1b>[0;36m19ms<1b>[0m Loading required namespace: numDeriv test-hhh4+derivatives.R....... 28 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m9.1s<1b>[0m test-hhh4_ARasNE.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test-hhh4_NA.R................ 13 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.6s<1b>[0m test-hhh4_NegBinGrouped.R..... 8 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m7.8s<1b>[0m test-hhh4_offsets.R........... 10 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test-hhh4_weights.R........... 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m49ms<1b>[0m test-nbOrder.R................ 2 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m7ms<1b>[0m test-plapply.R................ 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m 'F' vs. cubature using method = "midpoint" ... TRUE 'Fcircle' vs. cubature using method = "midpoint" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "midpoint" ... TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... siaf parameter 1: TRUE siaf parameter 2: TRUE 'F' vs. cubature using method = "SV" ... TRUE 'Fcircle' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... TRUE 'F' vs. cubature using method = "midpoint" ... TRUE 'Fcircle' vs. cubature using method = "midpoint" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "midpoint" ... siaf parameter 1: TRUE siaf parameter 2: TRUE 'F' vs. cubature using method = "SV" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "SV" ... siaf parameter 1: TRUE siaf parameter 2: TRUE Loading required namespace: memoise 'F' vs. cubature using method = "midpoint" ... TRUE 'Fcircle' vs. cubature using method = "midpoint" ... TRUE 'deriv' vs. numerical derivative ... TRUE 'Deriv' vs. cubature using method = "midpoint" ... siaf parameter 1: TRUE siaf parameter 2: TRUE siaf parameter 3: TRUE test-siafs.R.................. 72 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m3.0s<1b>[0m Loading required namespace: sf test-sts.R.................... 27 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.8s<1b>[0m test-tiafs.R.................. 6 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.8s<1b>[0m test-toLatex.sts.R............ 12 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m3.0s<1b>[0m Loading objects: districtsD stateD marked point pattern of 2 types no epidemic component in model no numerical likelihood optimization, all parameters fixed: h.(Intercept) h.I(start/365) -19.86017 0.00000 Warning in twinstim(endemic = ~offset(log(popdensity)) + I(start/365), data = imdepi0, : non-finite log-likelihood Done. marked point pattern of 2 types no epidemic component in model no numerical likelihood optimization, all parameters fixed: h.(Intercept) -14.8703 Done. test-twinstim_misc.R.......... 0 tests <1b>[0;34m1.5s<1b>[0m test-twinstim_score.R......... 6 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.8s<1b>[0m ----- FAILED[attr]: test-formatDate.R<53--55> call| expect_identical(dates[at2ndChange(x, xm1)], as.Date(c("2007-01-01", call| --> "2009-01-05", "2011-01-03"))) diff| TRUE Error: 1 out of 325 tests failed Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.24.0
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘INLA’ Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.24.0
Check: installed package size
Result: NOTE installed size is 7.0Mb sub-directories of 1Mb or more: R 2.0Mb doc 2.3Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.24.0
Flags: --no-vignettes
Check: installed package size
Result: NOTE installed size is 6.5Mb sub-directories of 1Mb or more: R 1.7Mb doc 2.3Mb Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.24.0
Flags: --no-vignettes
Check: package dependencies
Result: NOTE Package suggested but not available for checking: 'INLA' Flavor: r-oldrel-windows-x86_64