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