Le 5 nov. 2014 ? 14:45, Dirk Eddelbuettel <edd at debian.org> a ?crit :
On 5 November 2014 at 14:11, Romain Francois wrote:
| > Le 5 nov. 2014 ? 13:43, Dirk Eddelbuettel <edd at debian.org> a ?crit :
| > You are NOT forced or required to use the Boost distributions header __as R
| > comes with the equivalent functionality__ via the Rmath.h header file from R.
| > Which has functionality that Rcpp provides to you in scalar and vector form.
| >
| > And there are probably several dozen examples of using the R distribution
| > functions from Rcpp.
| >
| > So this is _precisely_ what I suggested several mails ago: do your homework,
| > identify which header is causing it. And the obvious next step is then to
| > not use the header.
|
| So why these headers are shipped with BH then.
The BH "builder" (ie the script local/scripts/CreateBoost.sh in the repo)
actively selects a number of Boost libraries [1], and uses the Boost tool
'bcp' to copy these (header-only) libraries -- plus all their dependencies.
The set of "selected components" grew out of initial requirements, plus
requests received since the package was created. [2]
Now, just because some files within a library tickle a warning does not seem
to imply that all use of said warning is impossible. By my count, over two
dozen CRAN packages currently depend on BH [3] indicating some usefulness of BH,
including to the dplyr package you work on.