* using log directory 'd:/Rcompile/CRANpkg/local/4.5/rstpm2.Rcheck' * using R Under development (unstable) (2025-03-11 r87944 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'rstpm2/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'rstpm2' version '1.6.6.1' * package encoding: UTF-8 * 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 whether package 'rstpm2' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 14.2.0' * used Fortran compiler: 'GNU Fortran (GCC) 14.2.0' * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking installed package size ... INFO installed size is 18.3Mb sub-directories of 1Mb or more: libs 2.4Mb * checking package directory ... OK * checking 'build' directory ... 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] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] 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 ... [21s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking usage of KIND in Fortran files ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [7s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [11s] ERROR Running 'testthat.R' [11s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(rstpm2) Loading required package: survival Loading required package: splines Attaching package: 'rstpm2' The following object is masked from 'package:survival': colon > > test_check("rstpm2") [ FAIL 1 | WARN 0 | SKIP 5 | PASS 116 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test_base.R:19:5', 'test_base.R:41:5', 'test_missing.R:202:5', 'test_missing.R:211:5', 'test_missing.R:220:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_vuniroot.R:27:5'): examples ────────────────────────────────── max(abs(expr - value)) is not strictly less than `eps`. Difference: 1.1 Backtrace: ▆ 1. └─rstpm2 (local) expect_eps(...) at test_vuniroot.R:27:5 2. └─testthat::expect_lt(max(abs(expr - value)), eps) at test_vuniroot.R:8:15 [ FAIL 1 | WARN 0 | SKIP 5 | PASS 116 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [83s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [9s] OK * DONE Status: 1 ERROR