* using log directory ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/PKPDsim.Rcheck’ * using R version 4.5.0 beta (2025-03-29 r88069) * using platform: aarch64-apple-darwin20 * R was compiled by Apple clang version 14.0.0 (clang-1400.0.29.202) GNU Fortran (GCC) 14.2.0 * running under: macOS Ventura 13.4 * using session charset: UTF-8 * checking for file ‘PKPDsim/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘PKPDsim’ version ‘1.4.0’ * 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 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 ‘PKPDsim’ can be installed ... [20s/26s] OK See 'https://www.r-project.org/nosvn/R.check/r-devel-macos-arm64/PKPDsim-00install.html' for details. * used C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ * used SDK: ‘MacOSX11.3.sdk’ * checking installed package size ... OK * 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [5s/7s] OK * checking Rd files ... [0s/0s] 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/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 compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [0s/0s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [70s/98s] ERROR Running ‘testthat.R’ [70s/98s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(PKPDsim) > > test_check("PKPDsim") Simulating 3 individuals. Recalculating infusion rates to reflect bioavailability for infusion. Recalculating infusion rates to reflect bioavailability for infusion. [ FAIL 1 | WARN 0 | SKIP 27 | PASS 494 ] ══ Skipped tests (27) ══════════════════════════════════════════════════════════ • On CRAN (27): 'test_advan_with_auc.R:71:3', 'test_advan_with_auc.R:84:3', 'test_advan_with_auc.R:106:3', 'test_advan_with_auc.R:131:3', 'test_advan_with_auc.R:153:3', 'test_advan_with_covariates.R:2:3', 'test_bioav_def.R:8:3', 'test_bioav_def.R:27:3', 'test_calc_ss_analytic.R:74:3', 'test_calc_ss_analytic.R:100:3', 'test_calc_ss_analytic.R:110:3', 'test_calc_ss_analytic.R:119:3', 'test_cmt_mapping.R:31:3', 'test_get_var_y.R:25:3', 'test_get_var_y.R:49:3', 'test_get_var_y.R:93:3', 'test_get_var_y.R:132:3', 'test_iov.R:84:3', 'test_model_from_api.R:17:3', 'test_multi_obs.R:168:3', 'test_new_ode_model.R:2:3', 'test_new_ode_model.R:76:3', 'test_new_ode_model.R:137:3', 'test_parameters_table.R:2:3', 'test_pkpd_combined.R:2:3', 'test_sim_lagtime.R:2:3', 'test_timevar_cov.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_is_positive_definite.R:108:3'): Matrix where numerical solver issues result in very tiny complex components ── `is_x_positive_def <- is_positive_definite(x)` did not throw the expected warning. [ FAIL 1 | WARN 0 | SKIP 27 | PASS 494 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [81s/109s] OK * checking PDF version of manual ... [7s/8s] OK * DONE Status: 1 ERROR * using check arguments '--no-clean-on-error ' * elapsed time (check, wall clock): 4:28