* using log directory ‘/srv/hornik/tmp/CRAN_pretest/refund.Rcheck’ * using R Under development (unstable) (2024-09-18 r87177) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (9) Debian flang-new version 18.1.8 (9) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘refund/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘refund’ version ‘0.1-37’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/6s] INFO Maintainer: ‘Julia Wrobel ’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘refund’ can be installed ... [13s/13s] 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 ... [2s/2s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [27s/27s] OK * checking Rd files ... [1s/1s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: lf_old.Rd: bam, gamm, te, s, smooth.basisPar, fd, linear.functional.terms smooth.construct.pco.smooth.spec.Rd: gam Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. * 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [12s/12s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [55s/55s] ERROR Running ‘testthat.R’ [55s/55s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > library("refund") > > Sys.setenv(NOT_CRAN = "true") > test_check("refund") nbasis: 40 nbasis: 40 nbasis: 20 nbasis: 25 nbasis: 30 nbasis: 35 nbasis: 40 nbasis: 35 using seWithMean for s(argvals.vec) . using seWithMean for te(xte1,xte2) . using seWithMean for s(argvals.vec) . using seWithMean for te(xte1,xte2) . [ FAIL 2 | WARN 0 | SKIP 0 | PASS 42 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-peer.R:8:3'): peer with D2 penalty ───────────────────────────── Error in `UseMethod("smooth.construct")`: no applicable method for 'smooth.construct' applied to an object of class "peer.smooth.spec" Backtrace: ▆ 1. └─refund::pfr(pasat ~ peer(cca, pentype = "D"), data = DTI) at test-peer.R:8:3 2. ├─base::eval(newcall) 3. │ └─base::eval(newcall) 4. └─mgcv::gam(...) 5. ├─base::do.call(...) 6. └─mgcv:::gam.setup(...) 7. └─mgcv::smoothCon(...) 8. └─mgcv:::smooth.construct3(object, data, knots) 9. └─mgcv::smooth.construct(object, dk$data, dk$knots) ── Error ('test-peer.R:18:3'): peer with structured penalty works ────────────── Error in `UseMethod("smooth.construct")`: no applicable method for 'smooth.construct' applied to an object of class "peer.smooth.spec" Backtrace: ▆ 1. └─refund::pfr(...) at test-peer.R:18:3 2. ├─base::eval(newcall) 3. │ └─base::eval(newcall) 4. └─mgcv::gam(...) 5. ├─base::do.call(...) 6. └─mgcv:::gam.setup(...) 7. └─mgcv::smoothCon(...) 8. └─mgcv:::smooth.construct3(object, data, knots) 9. └─mgcv::smooth.construct(object, dk$data, dk$knots) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 42 ] Error: Test failures Execution halted * checking PDF version of manual ... [5s/5s] OK * checking HTML version of manual ... [3s/3s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE