-
Notifications
You must be signed in to change notification settings - Fork 15
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
Update package structure for compatibility with future rstan #43
Conversation
Thanks, but still tries to compile on 32 bit: |
Ah figured it out. It worked locally because R would only configure and build for the current architecture. When submitting to winbuilder, it looks like it configures for 64bit and then builds for both (equivalent to adding the |
ok interesting. Usually CRAN seems to hate playing with compiler flags but I think you have more familiarity in this regard so I'll try and see. ctsem already seems pretty borderline on their timeouts, but maybe if it's just to get by on the oldrelease it will be fine. |
Still out of memory: |
That log doesn't have the new flag ( |
just double checked my upload, it has the updated configure.win. I've occasionally had weird problems with cached / old packaged uploads on winbuilder though, will try again with an updated version... |
ctsem_3.7.5.tar.gz |
The configure.win script in that package has a typo: |
Right that was silly. Works good now, thanks. Any idea how other packages using rstantools avoid the cran check note: LinkingTo' field is unused: package has no 'src' directory |
For that you could either have a message to CRAN that the sources are generated on install, or you could try having a |
Needed a real source file in the src folder, so left RcppExports.cpp, now it works. Thanks for your help on this. |
This PR updates your package's structure to fully delegate to
rstantools
for installation, to help ensure compatibility with future versions ofrstan
.I've included a modification to the
configure.win
script to skip the model compilation on 32-bit windows, and also made a minor update to thecov.stan
model to workaround a bug in Stan 2.31Let me know if you have any questions/clarifications. Thanks!