* using log directory 'd:/RCompile/CRANincoming/R-devel/lmtp.Rcheck' * using R Under development (unstable) (2024-06-13 r86731 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'lmtp/DESCRIPTION' ... OK * this is package 'lmtp' version '1.4.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers Maintainer: 'Nicholas Williams ' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'lmtp' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... WARNING Missing or unexported object: 'origami::make_folds' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(lmtp) > > test_check("lmtp") [ FAIL 7 | WARN 0 | SKIP 1 | PASS 15 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-node_list.R:4:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-censoring.R:8:1'): (code run outside of `test_that()`) ───────── Error: 'make_folds' is not an exported object from 'namespace:origami' Backtrace: ▆ 1. ├─lmtp:::sw(...) at test-censoring.R:8:1 2. │ └─base::suppressWarnings(x) 3. │ └─base::withCallingHandlers(...) 4. └─lmtp::lmtp_sub(...) 5. └─lmtp_task$new(...) 6. └─lmtp (local) initialize(...) 7. └─lmtp:::setup_cv(...) ── Error ('test-checks.R:157:3'): Contrast assertions ────────────────────────── Error: 'make_folds' is not an exported object from 'namespace:origami' Backtrace: ▆ 1. └─lmtp::lmtp_sub(...) at test-checks.R:157:3 2. └─lmtp_task$new(...) 3. └─lmtp (local) initialize(...) 4. └─lmtp:::setup_cv(...) ── Error ('test-dynamic.R:35:1'): (code run outside of `test_that()`) ────────── Error: 'make_folds' is not an exported object from 'namespace:origami' Backtrace: ▆ 1. ├─lmtp:::sw(...) at test-dynamic.R:35:1 2. │ └─base::suppressWarnings(x) 3. │ └─base::withCallingHandlers(...) 4. └─lmtp::lmtp_tmle(...) 5. └─lmtp_task$new(...) 6. └─lmtp (local) initialize(...) 7. └─lmtp:::setup_cv(...) ── Error ('test-point_treatment.R:16:1'): (code run outside of `test_that()`) ── Error: 'make_folds' is not an exported object from 'namespace:origami' Backtrace: ▆ 1. └─lmtp::lmtp_sub(...) at test-point_treatment.R:16:1 2. └─lmtp_task$new(...) 3. └─lmtp (local) initialize(...) 4. └─lmtp:::setup_cv(...) ── Error ('test-shifted.R:10:1'): (code run outside of `test_that()`) ────────── Error: 'make_folds' is not an exported object from 'namespace:origami' Backtrace: ▆ 1. ├─lmtp:::sw(...) at test-shifted.R:10:1 2. │ └─base::suppressWarnings(x) 3. │ └─base::withCallingHandlers(...) 4. └─lmtp::lmtp_sub(...) 5. └─lmtp_task$new(...) 6. └─lmtp (local) initialize(...) 7. └─lmtp:::setup_cv(...) ── Error ('test-survey.R:21:1'): (code run outside of `test_that()`) ─────────── Error: 'make_folds' is not an exported object from 'namespace:origami' Backtrace: ▆ 1. └─lmtp::lmtp_sub(...) at test-survey.R:21:1 2. └─lmtp_task$new(...) 3. └─lmtp (local) initialize(...) 4. └─lmtp:::setup_cv(...) ── Error ('test-time_varying_treatment.R:26:1'): (code run outside of `test_that()`) ── Error: 'make_folds' is not an exported object from 'namespace:origami' Backtrace: ▆ 1. ├─lmtp:::sw(...) at test-time_varying_treatment.R:26:1 2. │ └─base::suppressWarnings(x) 3. │ └─base::withCallingHandlers(...) 4. └─lmtp::lmtp_sub(...) 5. └─lmtp_task$new(...) 6. └─lmtp (local) initialize(...) 7. └─lmtp:::setup_cv(...) [ FAIL 7 | WARN 0 | SKIP 1 | PASS 15 ] Error: Test failures Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 WARNING