- using R version 4.5.2 Patched (2026-02-13 r89426 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
- using option '--no-vignettes'
- checking for file 'mkin/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'mkin' version '1.2.10'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'mkin' can be installed ... OK
See the install log for details.
- 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 ... [3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s] OK
- checking whether the package can be unloaded cleanly ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s] OK
- checking whether the namespace can be unloaded cleanly ... [3s] OK
- checking loading without being on the library search path ... [2s] 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 ... [19s] OK
- checking Rd files ... [2s] 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 ... [2s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [13s] 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
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [170s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking running R code from vignettes ... SKIPPED
- checking re-building of vignette outputs ... SKIPPED
- checking PDF version of manual ... [23s] OK
- checking HTML version of manual ... [16s] OK
- DONE
Status: 2 ERRORs