Testing package that uses {instantiate}

I want to test a package that contains cmdstan models and uses the {instantiate} package for compilation.

When I ran “load all” and then “test”, I got an error “Error: Stan model file “” not found.”.

From this page, I tried running instantiate::stan_package_compile() first. I can see the compiled model in the folder. However, when I run tests I got the same error message as before. I tried “clean and install” and got the same thing.

Any suggestions?

If you mean this: CRAN - Package instantiate, it’s not a package maintained by the Stan project. You might want to write to the package author.

1 Like

@wlandau is the maintainer

A reproducible example would help.