You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that ‘LinkingTo’ applies only to installation
This doesn't usually cause an issue as install.packages() includes LinkingTo packages by default however the pak installer takes a more strict view and won't install LinkingTo packages if it is installing binary packages (The logic being they are already compiled so the LinkingTo headers are redundant).
This is currently an issue when trying to use the Rhub pipelines for testing packages as they are dependent on pak for installing dependencies
I originally raised this with the Rhub developers who suggested that I raise an issue here in order to get the Stan DESCRIPTION file updated to resolve this
Thanks. I think a long time ago there may have been some issue with including BH in Imports and for that reason custom code was added to check for BH and tell the user to install it if not found. I don't remember exactly why that was necessary and I could be wrong. I think @bgoodri would know. @bgoodri do you remember that? Or should we just go ahead and add BH to Imports?
Summary:
It appears that
rstan
requires theBH
to be available at run time when it compiles the Stan models otherwise an error is thrown e.g.However Stan doesn't list
BH
in it's imports or suggests but instead only in it'sLinkingTo
field.From CRAN Writing R Extensions:
This doesn't usually cause an issue as
install.packages()
includesLinkingTo
packages by default however thepak
installer takes a more strict view and won't installLinkingTo
packages if it is installing binary packages (The logic being they are already compiled so theLinkingTo
headers are redundant).This is currently an issue when trying to use the Rhub pipelines for testing packages as they are dependent on
pak
for installing dependencieshttps://github.com/insightsengineering/rbmi/actions/runs/11362703172/job/31605118630#step:5:1762
I originally raised this with the Rhub developers who suggested that I raise an issue here in order to get the Stan DESCRIPTION file updated to resolve this
r-hub/rhub#642
Reproducible Steps:
Current Output:
NA
Expected Output:
NA
RStan Version:
2.35.0.9000
R Version:
R version 4.4.1 (2024-06-14)
Operating System:
MacOS 14.6.1
The text was updated successfully, but these errors were encountered: