-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fully delegate package installation to rstantools #26
Conversation
Thanks! |
So the installation process now seems to generate an |
Yep that would be best |
When you're able, would you mind submitting a new release to CRAN with this PR? |
I tried it, but got a bunch of warnings and notes that I don't get locally with |
I don't know how to fix this:
It is now the only warning that I get on winbuilder with r-devel |
That's not a warning that you need to fix. It's referring to the system being used to run the checks, rather than the configuration of your package itself |
But I also get this on my own mac, even though my c++ toolchain should be okay and the installation works, so I don't really understand what is going on. |
The check/warning has no relation to your package or its configuration, just the system itself. If you receive it on your system, but the tools are installed, then it's just a false positive. |
Okay thanks, I have sent a message to CRAN explaining this. |
@jtimonen It looks like this warning might have rstantools-related after all (apologies for the misdirection!), since it's also being seen in another package using the same framework. Did CRAN have a response to your message? I'm trying to replicate locally (no luck yet), but was hoping that they might have responded with more context/information |
No they haven't responded |
Sorry again for the wrong advice! The warning occurs when calling I've submitted a PR to rstantools to fix the warning, and I'll let you know when it's on CRAN |
rstantools 2.3.1 has been released and now the warning should no longer pop up |
@jtimonen sorry to double-ping, but would you mind trying the submission again soon? |
Done |
Thanks, very much appreciated! |
https://cran.r-project.org/web/packages/lgpr/index.html <- now on CRAN (binaries not yet updated) |
With the latest release of
rstantools
(2.3.0), we now support exposing stan functions during the installation process (so you no longer have to manually create the c++ sources).This PR updates your package structure to fully delegate the installation/configuration to
rstantools
, allowing your package to remain compatible with future versions ofrstan
/StanHeaders
.I've also added a GHA R-CMD-CHECK workflow from the
r-lib/actions
repository so you can verify that all still works & passes