* using log directory 'd:/RCompile/CRANincoming/R-devel/PKbioanalysis.Rcheck' * using R Under development (unstable) (2026-01-13 r89301 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'PKbioanalysis/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'PKbioanalysis' version '0.4.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... OK * 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 'PKbioanalysis' 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 ... NOTE Warning in readLines(file, warn = readLines.warn) : incomplete final line found on 'C:\Users\CRAN\AppData\Roaming/R/config/R/PKbioanalysis/config.yaml' A namespace must be able to be loaded with just the base namespace loaded: otherwise if the namespace gets loaded by a saved object, the session will be unable to start. Probably some imports need to be declared in the NAMESPACE file. * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... [29s] 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 examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [66s] ERROR Running 'testthat.R' [66s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(PKbioanalysis) Attaching package: 'PKbioanalysis' The following object is masked from 'package:stats': integrate Warning message: In readLines(file, warn = readLines.warn) : incomplete final line found on 'C:\Users\CRAN\AppData\Roaming/R/config/R/PKbioanalysis/config.yaml' > > test_check("PKbioanalysis") Plate not registered. To register, use register_plate() Plate not registered. To register, use register_plate() Plate not registered. To register, use register_plate() Plate not registered. To register, use register_plate() Plate not registered. To register, use register_plate() Plate not registered. To register, use register_plate() Plate not registered. To register, use register_plate() Plate not registered. To register, use register_plate() "My Plate" |> generate_96() |> add_blank(group = "A") |> fill_scheme(fill = "h") |> add_suitability() |> fill_scheme(tbound = 1, fill = "v")Saving _problems/test-pydeps-6.R Saving _problems/test-pydeps-7.R i Created study with ID: 9ec78771-d4f6-4b5e-b956-caa2913b0a53 i Adding dosing and subjects information... v Dosing information added. i Adding subjects information... v Subjects information added. i Adding sample log information... v Sample log information added. i Created study with ID: 4a85a083-41d1-4a04-9fea-59cdc93f2d3d v Dosing information added. i Adding subjects information... v Subjects information added. i Adding sample log information... v Sample log information added. i Created study with ID: d67efa62-6508-481a-8445-79c88cee4fe3 v Dosing information added. i Adding subjects information... v Subjects information added. i Adding sample log information... v Sample log information added. `geom_smooth()` using formula = 'y ~ x' [ FAIL 2 | WARN 0 | SKIP 15 | PASS 119 ] ══ Skipped tests (15) ══════════════════════════════════════════════════════════ • On CRAN (10): 'test-apps.R:1:1', 'test-injec_list.R:8:3', 'test-injec_list.R:51:3', 'test-injec_list.R:88:3', 'test-injec_list.R:118:3', 'test-injec_list.R:140:3', 'test-injec_list.R:178:3', 'test-plate.R:10:3', 'test-plate.R:22:3', 'test_methodsfile.R:1:1' • empty test (5): 'test-estimresiduals.R:1:1', 'test-estimresiduals.R:18:1', 'test-plate.R:158:1', 'test-plate_expr.R:56:1', 'test-quant_parsers.R:9:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-pydeps.R:6:3'): pydeps ─────────────────────────────────────── Expected `reticulate::py_module_available("rainbow")` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-pydeps.R:7:3'): pydeps ─────────────────────────────────────── Expected `reticulate::py_module_available("src")` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 2 | WARN 0 | SKIP 15 | PASS 119 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... [11s] OK * DONE Status: 1 ERROR, 1 NOTE