Error(s) in re-building vignettes:
--- re-building 'Simulate_and_fit_SCR_models_with_dbinomLocal_normal.Rmd' using rmarkdown
nimble version 0.11.1 is loaded.
For more information on NIMBLE and a User Manual,
please visit http://R-nimble.org.

Attaching package: 'nimble'

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

    simulate

Warning message:
'getLocalTraps' and 'dbinom_sparseLocalSCR' are deprecated.
Use 'getLocalObjects' and 'dbinomLocal_normal' instead.
defining model...
Adding trapIndex, nTraps, habitatIDDet as data for building model.
building model...
setting data and initial values...
checking model sizes and dimensions... This model is not fully initialized. This is not an error. To see which variables are not initialized, use model$initializeInfo(). For more information on model initialization, see help(modelInitialization).
model building finished.
defining model...
Adding trapIndex, nTraps, habitatIDDet as data for building model.
building model...
setting data and initial values...
checking model sizes and dimensions... This model is not fully initialized. This is not an error. To see which variables are not initialized, use model$initializeInfo(). For more information on model initialization, see help(modelInitialization).
model building finished.
compiling... this may take a minute. Use 'showCompilerOutput = TRUE' to see C++ compilation details.
compilation finished.
compiling... this may take a minute. Use 'showCompilerOutput = TRUE' to see C++ compilation details.
compilation finished.
running chain 1...
running chain 2...
running chain 3...
defining model...
Adding trapIndex, nTraps, habitatIDDet as data for building model.
building model...
setting data and initial values...
running calculate on model (any error reports that follow may simply reflect missing values in model variables) ... Error in if (s[1] < xmin) return(-Inf) : 
  missing value where TRUE/FALSE needed

checking model sizes and dimensions... This model is not fully initialized. This is not an error. To see which variables are not initialized, use model$initializeInfo(). For more information on model initialization, see help(modelInitialization).
model building finished.
defining model...
Adding trapIndex, nTraps, habitatIDDet as data for building model.
building model...
setting data and initial values...
checking model sizes and dimensions... This model is not fully initialized. This is not an error. To see which variables are not initialized, use model$initializeInfo(). For more information on model initialization, see help(modelInitialization).
model building finished.
compiling... this may take a minute. Use 'showCompilerOutput = TRUE' to see C++ compilation details.
Quitting from lines 433-475 (Simulate_and_fit_SCR_models_with_dbinomLocal_normal.Rmd) 
Error: processing vignette 'Simulate_and_fit_SCR_models_with_dbinomLocal_normal.Rmd' failed with diagnostics:
Failed to create the shared library. Run 'printErrors()' to see the compilation errors.

--- failed re-building 'Simulate_and_fit_SCR_models_with_dbinomLocal_normal.Rmd'

--- re-building 'wolverine_example.Rmd' using rmarkdown
nimble version 0.11.1 is loaded.
For more information on NIMBLE and a User Manual,
please visit http://R-nimble.org.

Attaching package: 'nimble'

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

    simulate

Warning message:
'getLocalTraps' and 'dbinom_sparseLocalSCR' are deprecated.
Use 'getLocalObjects' and 'dbinomLocal_normal' instead.
--- finished re-building 'wolverine_example.Rmd'

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

Error: Vignette re-building failed.
Execution halted