Lorenz Walthert
Lorenz Walthert
Also note that it seems like binary packages are now provided on the public Posit Package Manager also for macOS, so all major platfroms are supported. This might alleviate or...
> I would have to repeat my dependencies twice: once in DESCRIPTION and once in the pre-commit configuration file yes, for the roxygenise hook as it is implemented now, this...
> I use renv, so my R library isn't global, but local to the package. Which also means that the library loaded by roxygenize might be out-of-sync with my own...
> There is some confusion here because there are two different renv.lock files at play here: the one in my package which I normally use (and has the dependencies), and...
@TymekDev thanks for the hints. You are making the right connections. The goal was to enable fast binary installs on all platforms, so we tickered with these options as by...
It seems like rstan is not available as a binary from PPM for macOS according to https://packagemanager.posit.co/client/#/repos/cran/packages/rstan/631497/overview?search=rstan%23package-details Hence, renv seems to fallback on MRAN, which does not have the package...
I think the workaround would be to install the package outside of pre-commit (actually anywhere, you can try in your R console with `renv::install()`) and count on {renv}'s global package...
Thanks @joelnitta, I will have a look at this next week. I think most notes, errors and warnings are as you said I related to your PR.
As the [error](https://github.com/lorenzwalthert/precommit/actions/runs/3652538393/jobs/6171049362) says, the hook must be listed in the `.pre-commit-config.yaml` located in the test resources to make the end-2-end test pass.
> I used brew to install pre-commit, not conda; perhaps that has something to do with the error? Yeah, we should make the condo tests conditional on having condo installed....