R Under development (unstable) (2024-09-17 r87161 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.0 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_45c8980ccc06f009fb2bf932ca65a422_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_1ce4947ca6241a244296f2c633f42da4_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_c463f3787d1df1f95f4ec216823e8aa6_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_c4ab88d52d73fcf46b4a430a672079e7_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_87ce89a411698391915326700fee28b3_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_50757c08b26f5f5164436b4ea0169ac7_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_aba96a752167ca7c34802c13e2a1e1de_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_6935a180f6c03aeae99f119c57812e6a_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 17.40 2.76 34.12