Error in re-building vignettes:
  ...
Warning in buildVignettes(dir = "/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/dMod.Rcheck/vign_test/dMod") :
  Files named as vignettes but with no recognized vignette engine:
   ‘vignettes/framework.Rmd’
(Is a VignetteBuilder field missing?)
Loading required package: cOde
Loading required package: trust
Loading required package: ggplot2
Loading required package: stringr

Attaching package: 'dMod'

The following object is masked from 'package:stats':

    profile

jak-stat.c:6:15: warning: ISO C forbids zero-size array ‘forc’ [-Wpedantic]
 static double forc[0];
               ^~~~
jak-stat.c:7:15: warning: ISO C forbids zero-size array ‘cons’ [-Wpedantic]
 static double cons[0];
               ^~~~
jak-stat.c:31:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
 void jak-stat_initmod(void (* odeparms)(int *, double *)) {
         ^
jak-stat.c:36:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
 void jak-stat_initforc(void (* odeforcs)(int *, double *)) {
         ^
jak-stat.c:42:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
 void jak-stat_derivs (int *n, double *t, double *y, double *ydot, double *RPAR, int *IPAR) {
         ^
jak-stat.c:8:15: warning: ‘range’ defined but not used [-Wunused-variable]
 static double range[2];
               ^~~~~
jak-stat.c:7:15: warning: ‘cons’ defined but not used [-Wunused-variable]
 static double cons[0];
               ^~~~
jak-stat.c:6:15: warning: ‘forc’ defined but not used [-Wunused-variable]
 static double forc[0];
               ^~~~
jak-stat.c:5:15: warning: ‘parms’ defined but not used [-Wunused-variable]
 static double parms[13];
               ^~~~~
make[1]: *** [jak-stat.o] Error 1
Warning: running command ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/R CMD SHLIB jak-stat.c’ had status 1
jak-stat_s.c:6:15: warning: ISO C forbids zero-size array ‘forc’ [-Wpedantic]
 static double forc[0];
               ^~~~
jak-stat_s.c:7:15: warning: ISO C forbids zero-size array ‘cons’ [-Wpedantic]
 static double cons[0];
               ^~~~
jak-stat_s.c:76:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
 void jak-stat_s_initmod(void (* odeparms)(int *, double *)) {
         ^
jak-stat_s.c:81:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
 void jak-stat_s_initforc(void (* odeforcs)(int *, double *)) {
         ^
jak-stat_s.c:87:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
 void jak-stat_s_derivs (int *n, double *t, double *y, double *ydot, double *RPAR, int *IPAR) {
         ^
jak-stat_s.c:8:15: warning: ‘range’ defined but not used [-Wunused-variable]
 static double range[2];
               ^~~~~
jak-stat_s.c:7:15: warning: ‘cons’ defined but not used [-Wunused-variable]
 static double cons[0];
               ^~~~
jak-stat_s.c:6:15: warning: ‘forc’ defined but not used [-Wunused-variable]
 static double forc[0];
               ^~~~
jak-stat_s.c:5:15: warning: ‘parms’ defined but not used [-Wunused-variable]
 static double parms[58];
               ^~~~~
make[1]: *** [jak-stat_s.o] Error 1
Warning: running command ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/R CMD SHLIB jak-stat_s.c’ had status 1
Quitting from lines 71-81 (dMod.Rmd) 
Error: processing vignette ‘dMod.Rmd’ failed with diagnostics:
could not find function "loadDLL"
Execution halted