Appendix B: Troubleshooting

Overview

The *car() functions include checks to ensure that all data is set up in a way that the model can use. If the checks notice something incompatible with the model, an error will be displayed in the console. Here, we list each possible error for the MSTCAR model, including its reasoning and ways to check and fix your inputs.

Generic errors and warnings

All checks that are run on the data check for general information, such as extraneous list objects which cannot be used by the model. In these cases, RSTr will not use these parts of the dataset. It is recommended to remove these datasets from the model to prevent unnecessary clutter.

Errors and warnings with list data

Errors and warnings with list sp_data

inits and priors

For troubleshooting inputs with inits and priors, reference vignette("RSTr-initialvalues") and vignette("RSTr-priors"), respectively.

ignore_checks

If you have input data that you are certain is correct, yet are receiving error messages anyway, set the ignore_checks argument to TRUE when setting up your model to skip data checks. This is not recommended as it is easy to break RSTr when data isn’t properly checked, and should only be used as a last resort when using RSTr.