Comments (4)
Do a dpkg -L r-cran-bh
: it is an empty virtual shell. For a reason: BH has a footprint of 150mb installed and on Debian you do not need it. Use libboost-all-dev
instead.
That said, why did you think boost_lib <- system.file("include", package = "BH")
was a good idea? Besides the obvious gotcha of calling something _lib
when it checks for includes
.
Anyway, if this is handed down from rstan
than you may have not choice but to install.packages("BH")
and waste those 150mb if that is how rstan
wants to access it. It should know better (we often use configure
or cmake
).
In any event this is not an issue of the CRAN package BH where you filed the issue but with the (trying to be helpful) Debian package r-cran-bh
. I stand behind both so I can help so fire up if you have questions.
from bh.
Sorry for filing the issue here rather than Debian/Ubuntu bug trackers, I wasn't sure which was the most appropriate. It's obvious in hindsight.
That said, why did you think boost_lib <- system.file("include", package = "BH") was a good idea? Besides the obvious gotcha of calling something _lib when it checks for includes.
This is how rstan
locates the boost header files when compiling a model (at least, on my Ubuntu and Debian machines).
I knew that r-cran-bh
is an empty package, but I didn't appreciate that install.packages("BH")
installed a second copy of the boost header files. So I assumed that the r-cran-bh
package would (or should) work with rstan
without any further actions on my part.
from bh.
It is kinda the other way around:
install.packages("BH")
is an R function that does not know it is on Debian, it installs fullBH
r-cran-bh
is a small hack attempting to save the second installation of Boost (besideslibboost-*
)rstan
does not know about point 2) (not should it) so it ask "where is BH"- what should really happy is for Boost to work with
pkg-config
because a ton of CRAN packages use that to find include and library locations
from bh.
Thank you very much for the explanation Dirk.
from bh.
Related Issues (20)
- Include Boost Beast in next upstream update HOT 21
- Update BH to 1.75.0 and minor regressions requiring downstream changes HOT 37
- boost geometry C++14 R 3.6 patch HOT 8
- Include boost process? HOT 8
- Include boost ublas? HOT 3
- Upgrade to Boost 1.78 HOT 11
- Add Boost::Lambda2 ?
- Installation error r-devel-linux-x86_64-debian-gcc HOT 24
- A request to add timer/include/boost/progress.hpp HOT 11
- Compilation of `bigmemory` fails in Alpine Linux apparently due to BH version HOT 2
- BH 1.81.0 upgrade plan HOT 10
- CRAN warning "Found 'sprintf', possibly from 'sprintf' (C)" using BH HOT 5
- Compile failure of BH as a dependency of https://github.com/steven-shuken/permFDP HOT 4
- clang16 compatibility under C++17 HOT 6
- Undefined reference to `scoped_static_mutex_lock` on Windows R 3.6 HOT 1
- Current version breaks CRAN checks HOT 7
- QVM support HOT 7
- BH 1.84.0 CRAN Release Planning HOT 2
- boost::geometry compilation failing with LLVM 19 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bh.