Namespace in Imports field not imported from: ‘decomposedPSF’
  All declared Imports should be used.
Namespace in Imports field not imported from: ‘decomposedPSF’
  All declared Imports should be used.
Error(s) in re-building vignettes:
--- re-building ‘Introduction_to_ForecastTB.Rmd’ using rmarkdown

Quitting from Introduction_to_ForecastTB.Rmd:218-220 [unnamed-chunk-12]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `xfig[p] <- plot(x)$Predicted_Values`:
! invalid type/length (S4/0) in vector allocation
---
Backtrace:
    ▆
 1. └─ForecastTB::monte_carlo(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'Introduction_to_ForecastTB.Rmd' failed with diagnostics:
invalid type/length (S4/0) in vector allocation
--- failed re-building ‘Introduction_to_ForecastTB.Rmd’

SUMMARY: processing the following file failed:
  ‘Introduction_to_ForecastTB.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory