Error(s) in re-building vignettes:
  ...
--- re-building 'dMod.Rmd' using rmarkdown
Loading required package: cOde

Attaching package: 'dMod'

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

    profile


Attaching package: 'dplyr'

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

    combine

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

jakstat.c:6:20: warning: zero size arrays are an extension [-Wzero-length-array]
static double forc[0];
                   ^
jakstat.c:7:20: warning: zero size arrays are an extension [-Wzero-length-array]
static double cons[0];
                   ^
jakstat.c:7:15: warning: unused variable 'cons' [-Wunused-variable]
static double cons[0];
              ^
jakstat.c:8:15: warning: unused variable 'range' [-Wunused-variable]
static double range[2];
              ^
4 warnings generated.
Warning in if (class(M) == "matrix") dimM <- dim(M) else dimM <- c(length(M),  :
  the condition has length > 1 and only the first element will be used
Warning in if (class(N) == "matrix") dimN <- dim(N) else dimN <- c(length(N),  :
  the condition has length > 1 and only the first element will be used
jakstat_s.c:6:20: warning: zero size arrays are an extension [-Wzero-length-array]
static double forc[0];
                   ^
jakstat_s.c:7:20: warning: zero size arrays are an extension [-Wzero-length-array]
static double cons[0];
                   ^
jakstat_s.c:7:15: warning: unused variable 'cons' [-Wunused-variable]
static double cons[0];
              ^
jakstat_s.c:8:15: warning: unused variable 'range' [-Wunused-variable]
static double range[2];
              ^
4 warnings generated.
obsfn.c:9:2: warning: no newline at end of file [-Wnewline-eof]
}
 ^
1 warning generated.
Warning in if (class(M) == "matrix") dimM <- dim(M) else dimM <- c(length(M),  :
  the condition has length > 1 and only the first element will be used
Warning in if (class(N) == "matrix") dimN <- dim(N) else dimN <- c(length(N),  :
  the condition has length > 1 and only the first element will be used
obsfn_deriv.c:60:2: warning: no newline at end of file [-Wnewline-eof]
}
 ^
1 warning generated.
Quitting from lines 221-233 (dMod.Rmd) 
Error: processing vignette 'dMod.Rmd' failed with diagnostics:
cannot xtfrm 'x'
--- failed re-building 'dMod.Rmd'

SUMMARY: processing the following file failed:
  'dMod.Rmd'

Error: Vignette re-building failed.
Execution halted