R Under development (unstable) (2024-09-20 r87184 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(rxode2) rxode2 3.0.1 using 2 threads (see ?getRxThreads) no cache: create with `rxCreateCache()` > library(testthat) > setRxThreads(1L) > library(data.table) > setDTthreads(1L) > ##test_check("rxode2", reporter = testthat::LocationReporter) > test_check("rxode2") rxode2 model syntax error: ================================================================================ :001: C2 <- centr/V2 :002: C3 <- peri/V3 :003: d/dt(depot) <- -KA * depot :004: d/dt(centr) <- KA * depot - CL * C2 - Q * C2 + Q * C3 :005: d/dt(peri) <- Q * C2 - Q * C3 :006: eff(0) <- 1 :007: d/dt(eff) <- Kin - Kout * (1 - C2/(EC50 + C2)) * eff :008: cannot assign protected variable 't': t <- 1 ^ ================================================================================ using C compiler: 'gcc.exe (GCC) 13.2.0' In file included from D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2_model_shared.h:3, from rx_4503ee4968bb82cdab6c682f44180f9d_x64.c:122: D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2.h:3: warning: "STRICT_R_HEADERS" redefined 3 | #define STRICT_R_HEADERS | : note: this is the location of the previous definition using C compiler: 'gcc.exe (GCC) 13.2.0' In file included from D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2_model_shared.h:3, from rx_07f6ae6b5ff727b36105e1469e680f46_x64.c:121: D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2.h:3: warning: "STRICT_R_HEADERS" redefined 3 | #define STRICT_R_HEADERS | : note: this is the location of the previous definition using C compiler: 'gcc.exe (GCC) 13.2.0' In file included from D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2_model_shared.h:3, from rx_d47a7d7ee6086af0c2a02ccab1e1d6aa_x64.c:120: D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2.h:3: warning: "STRICT_R_HEADERS" redefined 3 | #define STRICT_R_HEADERS | : note: this is the location of the previous definition using C compiler: 'gcc.exe (GCC) 13.2.0' In file included from D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2_model_shared.h:3, from rx_e5c37241da3a80404c656815f7f59624_x64.c:119: D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2.h:3: warning: "STRICT_R_HEADERS" redefined 3 | #define STRICT_R_HEADERS | : note: this is the location of the previous definition using C compiler: 'gcc.exe (GCC) 13.2.0' In file included from D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2_model_shared.h:3, from rx_07921f2a01abdf38c74d5ec04691451a_x64.c:121: D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2.h:3: warning: "STRICT_R_HEADERS" redefined 3 | #define STRICT_R_HEADERS | : note: this is the location of the previous definition using C compiler: 'gcc.exe (GCC) 13.2.0' In file included from D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2_model_shared.h:3, from rx_83829cd44cae81ddedfe30af0141bc4a_x64.c:117: D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2.h:3: warning: "STRICT_R_HEADERS" redefined 3 | #define STRICT_R_HEADERS | : note: this is the location of the previous definition using C compiler: 'gcc.exe (GCC) 13.2.0' In file included from D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2_model_shared.h:3, from rx_b4a39a47afbb1bcbf96f5e78f9babfe8_x64.c:123: D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2.h:3: warning: "STRICT_R_HEADERS" redefined 3 | #define STRICT_R_HEADERS | : note: this is the location of the previous definition ! remove population parameter `fdepot` ! remove population parameter `durDepot` ! remove population parameter `rateDepot` > significant model change detected > kept in model: '$matt' > removed from model: '$f' > significant model change detected > kept in model: '$matt' > removed from model: '$f' i fix `tka` to `0.451075619360217` i change initial estimate of `tcl` to `77` > significant model change detected > kept in model: '$matt' > removed from model: '$f' > significant model change detected > kept in model: '$matt' > removed from model: '$f' i parameter labels from comments will be replaced by 'label()' using C compiler: 'gcc.exe (GCC) 13.2.0' In file included from D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2_model_shared.h:3, from rx_ef7f082a03381173f5a10d23a6ba821e_x64.c:120: D:\RCompile\CRANincoming\R-devel\lib\rxode2\include/rxode2.h:3: warning: "STRICT_R_HEADERS" redefined 3 | #define STRICT_R_HEADERS | : note: this is the location of the previous definition i parameter labels from comments are typically ignored in non-interactive mode i Need to run with the source intact to parse comments i parameter labels from comments will be replaced by 'label()' [ FAIL 0 | WARN 1 | SKIP 3 | PASS 244 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-strncmpi.R:2:3' • On Windows (1): 'test-zzzzz.R:3:5' • file.exists(fileCbindStudyIndividual) is not TRUE (1): 'test-cbind-study-individual.R:40:3' [ FAIL 0 | WARN 1 | SKIP 3 | PASS 244 ] > > ## test_check("rxode2", > ## stop_on_failure = FALSE, > ## reporter = testthat::LocationReporter > ## ) > > proc.time() user system elapsed 27.00 6.81 54.10