CRAN Package Check Results for Package mkin

Last updated on 2026-03-10 05:50:22 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.10 12.16 287.30 299.46 OK
r-devel-linux-x86_64-debian-gcc 1.2.10 11.34 207.75 219.09 OK
r-devel-linux-x86_64-fedora-clang 1.2.10 28.00 433.88 461.88 OK
r-devel-linux-x86_64-fedora-gcc 1.2.10 29.00 449.64 478.64 OK
r-devel-macos-arm64 1.2.10 4.00 104.00 108.00 OK
r-devel-windows-x86_64 1.2.10 22.00 493.00 515.00 ERROR --no-vignettes
r-patched-linux-x86_64 1.2.10 17.58 259.39 276.97 OK
r-release-linux-x86_64 1.2.10 14.89 259.47 274.36 OK
r-release-macos-arm64 1.2.10 OK
r-release-macos-x86_64 1.2.10 11.00 323.00 334.00 OK
r-release-windows-x86_64 1.2.10 19.00 336.00 355.00 ERROR --no-vignettes
r-oldrel-macos-arm64 1.2.10 OK
r-oldrel-macos-x86_64 1.2.10 12.00 394.00 406.00 OK
r-oldrel-windows-x86_64 1.2.10 27.00 407.00 434.00 OK --no-vignettes

Check Details

Version: 1.2.10
Flags: --no-vignettes
Check: examples
Result: ERROR Running examples in 'mkin-Ex.R' failed The error most likely occurred in: > ### Name: [.mmkin > ### Title: Subsetting method for mmkin objects > ### Aliases: [.mmkin > > ### ** Examples > > > # Only use one core, to pass R CMD check --as-cran > fits <- mmkin(c("SFO", "FOMC"), list(B = FOCUS_2006_B, C = FOCUS_2006_C), + cores = 1, quiet = TRUE) Flavor: r-devel-windows-x86_64

Version: 1.2.10
Flags: --no-vignettes
Check: tests
Result: ERROR Running 'testthat.R' [230s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(mkin) > > test_check("mkin") Error in `source_dir()`: ! Failed to evaluate './setup_script.R'. Caused by error in `unserialize()`: ! error reading from connection Backtrace: ▆ 1. ├─testthat::test_check("mkin") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─base::suppressWarnings(...) at ./setup_script.R:30:1 15. │ │ └─base::withCallingHandlers(...) 16. │ └─mkin::mmkin(...) 17. │ ├─base::system.time(...) 18. │ └─parallel::parLapply(cluster, as.list(1:n.fits), fit_function) 19. │ ├─base::do.call(...) 20. │ └─parallel::clusterApply(...) 21. │ └─parallel:::staticClusterApply(cl, fun, length(x), argfun) 22. │ └─base::lapply(cl[1:jobs], recvResult) 23. │ └─parallel (local) FUN(X[[i]], ...) 24. │ ├─parallel::recvData(con) 25. │ └─parallel:::recvData.SOCKnode(con) 26. │ └─base::unserialize(node$con) 27. └─base::.handleSimpleError(...) 28. └─testthat (local) h(simpleError(msg, call)) 29. └─cli::cli_abort(...) 30. └─rlang::abort(...) Timing stopped at: 0.21 0.03 130.2 Flavor: r-devel-windows-x86_64

Version: 1.2.10
Flags: --no-vignettes
Check: examples
Result: ERROR Running examples in 'mkin-Ex.R' failed The error most likely occurred in: > ### Name: add_err > ### Title: Add normally distributed errors to simulated kinetic degradation > ### data > ### Aliases: add_err > > ### ** Examples > > > # The kinetic model > m_SFO_SFO <- mkinmod(parent = mkinsub("SFO", "M1"), + M1 = mkinsub("SFO"), use_of_ff = "max") ERROR(s) during compilation: source code errors or compiler configuration errors! make cmd is make -f "D:/RCompile/recent/R-4.5.2p/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.5.2p/share/make/winshlib.mk" SHLIB="file3bc8661856e5.dll" WIN=64 TCLBIN= OBJECTS="file3bc8661856e5.o" make would use make[1]: Entering directory '/d/temp/2026_03_06_11_10_10_4045/RtmpAdjw8K' gcc -I"D:/RCompile/recent/R-4.5.2p/include" -DNDEBUG -DR_NO_REMAP -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c file3bc8661856e5.c -o file3bc8661856e5.o if test "zfile3bc8661856e5.o" != "z"; then \ if test -e "file3bc8661856e5-win.def"; then \ echo gcc -shared -s -static-libgcc -o file3bc8661856e5.dll file3bc8661856e5-win.def file3bc8661856e5.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o file3bc8661856e5.dll file3bc8661856e5-win.def file3bc8661856e5.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm file3bc8661856e5.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo gcc -shared -s -static-libgcc -o file3bc8661856e5.dll tmp.def file3bc8661856e5.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o file3bc8661856e5.dll tmp.def file3bc8661856e5.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_03_06_11_10_10_4045/RtmpAdjw8K' Program source: 1: #include <R.h> 2: 3: 4: static double parms [3]; 5: #define k_parent parms[0] 6: #define f_parent_to_M1 parms[1] 7: #define k_M1 parms[2] 8: 9: void initpar(void (* odeparms)(int *, double *)) { 10: int N = 3; 11: odeparms(&N, parms); 12: } 13: 14: 15: void diffs ( int * n, double * t, double * y, double * f, double * rpar, int * ipar ) { 16: 17: f[0] = - k_parent * y[0]; 18: f[1] = + f_parent_to_M1 * k_parent * y[0] - k_M1 * y[1]; 19: } Compilation ERROR, function(s)/method(s) not created! > > # Generate a prediction for a specific set of parameters > sampling_times = c(0, 1, 3, 7, 14, 28, 60, 90, 120) > > # This is the prediction used for the "Type 2 datasets" on the Piacenza poster > # from 2015 > d_SFO_SFO <- mkinpredict(m_SFO_SFO, + c(k_parent = 0.1, f_parent_to_M1 = 0.5, + k_M1 = log(2)/1000), + c(parent = 100, M1 = 0), + sampling_times) Error in checkInput(y, times, func, rtol, atol, jacfunc, tcrit, hmin, : specify the name of the dll or shared library where func can be found (without extension) Calls: mkinpredict -> mkinpredict.mkinmod -> <Anonymous> -> checkInput Execution halted Flavor: r-release-windows-x86_64

Version: 1.2.10
Flags: --no-vignettes
Check: tests
Result: ERROR Running 'testthat.R' [169s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(mkin) > > test_check("mkin") ERROR(s) during compilation: source code errors or compiler configuration errors! make cmd is make -f "D:/RCompile/recent/R-4.5.2p/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.5.2p/share/make/winshlib.mk" SHLIB="filed8dccd65344.dll" WIN=64 TCLBIN= OBJECTS="filed8dccd65344.o" make would use make[1]: Entering directory '/d/temp/2026_03_06_11_10_10_4045/Rtmpwn4Wwh' gcc -I"D:/RCompile/recent/R-4.5.2p/include" -DNDEBUG -DR_NO_REMAP -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c filed8dccd65344.c -o filed8dccd65344.o if test "zfiled8dccd65344.o" != "z"; then \ if test -e "filed8dccd65344-win.def"; then \ echo gcc -shared -s -static-libgcc -o filed8dccd65344.dll filed8dccd65344-win.def filed8dccd65344.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o filed8dccd65344.dll filed8dccd65344-win.def filed8dccd65344.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm filed8dccd65344.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo gcc -shared -s -static-libgcc -o filed8dccd65344.dll tmp.def filed8dccd65344.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o filed8dccd65344.dll tmp.def filed8dccd65344.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_03_06_11_10_10_4045/Rtmpwn4Wwh' Program source: 1: #include <R.h> 2: 3: 4: static double parms [3]; 5: #define k_parent_sink parms[0] 6: #define k_parent_m1 parms[1] 7: #define k_m1_sink parms[2] 8: 9: void initpar(void (* odeparms)(int *, double *)) { 10: int N = 3; 11: odeparms(&N, parms); 12: } 13: 14: 15: void diffs ( int * n, double * t, double * y, double * f, double * rpar, int * ipar ) { 16: 17: f[0] = - k_parent_sink * y[0] - k_parent_m1 * y[0]; 18: f[1] = + k_parent_m1 * y[0] - k_m1_sink * y[1]; 19: } Compilation ERROR, function(s)/method(s) not created! ERROR(s) during compilation: source code errors or compiler configuration errors! make cmd is make -f "D:/RCompile/recent/R-4.5.2p/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.5.2p/share/make/winshlib.mk" SHLIB="filed8dc138713cb.dll" WIN=64 TCLBIN= OBJECTS="filed8dc138713cb.o" make would use make[1]: Entering directory '/d/temp/2026_03_06_11_10_10_4045/Rtmpwn4Wwh' gcc -I"D:/RCompile/recent/R-4.5.2p/include" -DNDEBUG -DR_NO_REMAP -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c filed8dc138713cb.c -o filed8dc138713cb.o if test "zfiled8dc138713cb.o" != "z"; then \ if test -e "filed8dc138713cb-win.def"; then \ echo gcc -shared -s -static-libgcc -o filed8dc138713cb.dll filed8dc138713cb-win.def filed8dc138713cb.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o filed8dc138713cb.dll filed8dc138713cb-win.def filed8dc138713cb.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm filed8dc138713cb.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo gcc -shared -s -static-libgcc -o filed8dc138713cb.dll tmp.def filed8dc138713cb.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o filed8dc138713cb.dll tmp.def filed8dc138713cb.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_03_06_11_10_10_4045/Rtmpwn4Wwh' Program source: 1: #include <R.h> 2: 3: 4: static double parms [3]; 5: #define k_parent parms[0] 6: #define f_parent_to_m1 parms[1] 7: #define k_m1 parms[2] 8: 9: void initpar(void (* odeparms)(int *, double *)) { 10: int N = 3; 11: odeparms(&N, parms); 12: } 13: 14: 15: void diffs ( int * n, double * t, double * y, double * f, double * rpar, int * ipar ) { 16: 17: f[0] = - k_parent * y[0]; 18: f[1] = + f_parent_to_m1 * k_parent * y[0] - k_m1 * y[1]; 19: } Compilation ERROR, function(s)/method(s) not created! ERROR(s) during compilation: source code errors or compiler configuration errors! make cmd is make -f "D:/RCompile/recent/R-4.5.2p/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.5.2p/share/make/winshlib.mk" SHLIB="filed8dc1cc43dba.dll" WIN=64 TCLBIN= OBJECTS="filed8dc1cc43dba.o" make would use make[1]: Entering directory '/d/temp/2026_03_06_11_10_10_4045/Rtmpwn4Wwh' gcc -I"D:/RCompile/recent/R-4.5.2p/include" -DNDEBUG -DR_NO_REMAP -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c filed8dc1cc43dba.c -o filed8dc1cc43dba.o if test "zfiled8dc1cc43dba.o" != "z"; then \ if test -e "filed8dc1cc43dba-win.def"; then \ echo gcc -shared -s -static-libgcc -o filed8dc1cc43dba.dll filed8dc1cc43dba-win.def filed8dc1cc43dba.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o filed8dc1cc43dba.dll filed8dc1cc43dba-win.def filed8dc1cc43dba.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm filed8dc1cc43dba.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo gcc -shared -s -static-libgcc -o filed8dc1cc43dba.dll tmp.def filed8dc1cc43dba.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o filed8dc1cc43dba.dll tmp.def filed8dc1cc43dba.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_03_06_11_10_10_4045/Rtmpwn4Wwh' Program source: 1: #include <R.h> 2: 3: 4: static double parms [2]; 5: #define k_parent parms[0] 6: #define k_m1 parms[1] 7: 8: void initpar(void (* odeparms)(int *, double *)) { 9: int N = 2; 10: odeparms(&N, parms); 11: } 12: 13: 14: void diffs ( int * n, double * t, double * y, double * f, double * rpar, int * ipar ) { 15: 16: f[0] = - k_parent * y[0]; 17: f[1] = + k_parent * y[0] - k_m1 * y[1]; 18: } Compilation ERROR, function(s)/method(s) not created! ERROR(s) during compilation: source code errors or compiler configuration errors! make cmd is make -f "D:/RCompile/recent/R-4.5.2p/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.5.2p/share/make/winshlib.mk" SHLIB="filed8dc5ba22241.dll" WIN=64 TCLBIN= OBJECTS="filed8dc5ba22241.o" make would use make[1]: Entering directory '/d/temp/2026_03_06_11_10_10_4045/Rtmpwn4Wwh' gcc -I"D:/RCompile/recent/R-4.5.2p/include" -DNDEBUG -DR_NO_REMAP -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c filed8dc5ba22241.c -o filed8dc5ba22241.o if test "zfiled8dc5ba22241.o" != "z"; then \ if test -e "filed8dc5ba22241-win.def"; then \ echo gcc -shared -s -static-libgcc -o filed8dc5ba22241.dll filed8dc5ba22241-win.def filed8dc5ba22241.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o filed8dc5ba22241.dll filed8dc5ba22241-win.def filed8dc5ba22241.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm filed8dc5ba22241.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo gcc -shared -s -static-libgcc -o filed8dc5ba22241.dll tmp.def filed8dc5ba22241.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o filed8dc5ba22241.dll tmp.def filed8dc5ba22241.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_03_06_11_10_10_4045/Rtmpwn4Wwh' Program source: 1: #include <R.h> 2: 3: 4: static double parms [4]; 5: #define alpha parms[0] 6: #define beta parms[1] 7: #define f_parent_to_m1 parms[2] 8: #define k_m1 parms[3] 9: 10: void initpar(void (* odeparms)(int *, double *)) { 11: int N = 4; 12: odeparms(&N, parms); 13: } 14: 15: 16: void diffs ( int * n, double * t, double * y, double * f, double * rpar, int * ipar ) { 17: double time = *t; 18: 19: f[0] = - (alpha/beta) * 1/((time/beta) + 1) * y[0]; 20: f[1] = + f_parent_to_m1 * (alpha/beta) * 1/((time/beta) + 1) * y[0] - k_m1 * y[1]; 21: } Compilation ERROR, function(s)/method(s) not created! ERROR(s) during compilation: source code errors or compiler configuration errors! make cmd is make -f "D:/RCompile/recent/R-4.5.2p/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.5.2p/share/make/winshlib.mk" SHLIB="filed8dc45532f7d.dll" WIN=64 TCLBIN= OBJECTS="filed8dc45532f7d.o" make would use make[1]: Entering directory '/d/temp/2026_03_06_11_10_10_4045/Rtmpwn4Wwh' gcc -I"D:/RCompile/recent/R-4.5.2p/include" -DNDEBUG -DR_NO_REMAP -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c filed8dc45532f7d.c -o filed8dc45532f7d.o if test "zfiled8dc45532f7d.o" != "z"; then \ if test -e "filed8dc45532f7d-win.def"; then \ echo gcc -shared -s -static-libgcc -o filed8dc45532f7d.dll filed8dc45532f7d-win.def filed8dc45532f7d.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o filed8dc45532f7d.dll filed8dc45532f7d-win.def filed8dc45532f7d.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm filed8dc45532f7d.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo gcc -shared -s -static-libgcc -o filed8dc45532f7d.dll tmp.def filed8dc45532f7d.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ gcc -shared -s -static-libgcc -o filed8dc45532f7d.dll tmp.def filed8dc45532f7d.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.2p/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_03_06_11_10_10_4045/Rtmpwn4Wwh' Program source: 1: #include <R.h> 2: 3: 4: static double parms [5]; 5: #define k1 parms[0] 6: #define k2 parms[1] 7: #define g parms[2] 8: #define f_parent_to_m1 parms[3] 9: #define k_m1 parms[4] 10: 11: void initpar(void (* odeparms)(int *, double *)) { 12: int N = 5; 13: odeparms(&N, parms); 14: } 15: 16: 17: void diffs ( int * n, double * t, double * y, double * f, double * rpar, int * ipar ) { 18: double time = *t; 19: 20: f[0] = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 * time)) / (g * exp(-k1 * time) + (1 - g) * exp(-k2 * time))) * y[0]; 21: f[1] = + f_parent_to_m1 * ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 * time)) / (g * exp(-k1 * time) + (1 - g) * exp(-k2 * time))) * y[0] - k_m1 * y[1]; 22: } Compilation ERROR, function(s)/method(s) not created! Error in is.loaded(initfunc, PACKAGE = dllname, type = "") : invalid 'PACKAGE' argument Flavor: r-release-windows-x86_64