Describe the bug
When using PM_model$new with a model.txt that contains constant values in the #PRI block it fails:
> mod1 <- PM_model$new("model.txt")
Error in `FUN()`:
✖ Constants should be defined in the appropriate block, not #PRI.
Run `rlang::last_trace()` to see where the error occurred.
>
Expected behavior
It should load the model correctly
Version information
- OS: Tested on MacOs
- R: 4.5.1
Describe the bug
When using PM_model$new with a model.txt that contains constant values in the #PRI block it fails:
Expected behavior
It should load the model correctly
Version information