R Under development (unstable) (2024-05-02 r86512 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > ### "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.23.0; see 'package?surveillance' or https://surveillance.R-Forge.R-project.org/ for an overview. test-algo.glrnb.R............. 1 tests OK 0.2s test-bodaDelay.R.............. 29 tests OK 0.2s test-calibration.R............ 9 tests OK 0.2s test-createLambda.R........... 17 tests OK 0.7s test-determineSources.R....... 3 tests OK 0.3s test-earsC.R.................. 9 tests OK 0.2s test-farringtonFlexible.R..... 55 tests OK 1.2s test-formatDate.R............. 9 tests OK 13ms Loading required namespace: numDeriv test-hhh4+derivatives.R....... 28 tests OK 5.8s test-hhh4_ARasNE.R............ 4 tests OK 0.2s test-hhh4_NA.R................ 13 tests OK 0.2s test-hhh4_NegBinGrouped.R..... 8 tests OK 4.6s test-hhh4_offsets.R........... 10 tests OK 0.1s test-hhh4_weights.R........... 4 tests OK 20ms test-nbOrder.R................ 2 tests OK 4ms test-plapply.R................ 1 tests OK 0.6s '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 OK 1.7s test-sts.R.................... 21 tests OK 0.2s test-tiafs.R.................. 6 tests OK 0.4s test-toLatex.sts.R............ 12 tests OK 1.7s 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 1.4s test-twinstim_score.R......... 6 tests OK 1.0s All ok, 319 results (20.8s) > > proc.time() user system elapsed 20.06 2.21 22.79