[Bioc-devel] Compiling a cpp source code while installing package
mtmorg@n@b|oc @end|ng |rom gm@||@com
Sat Nov 7 16:30:50 CET 2020
It would probably help to provide additional detail here; there are several examples of packages that build C / C++ libraries from source, a common pattern is to have a package dedicated to providing the library, e.g., Rhtslib or Rhdf5lib, or of building the library as part of the software package itself.
It's worth assessing whether the functionality is worth it (e.g., why use a random number generator from another package, when one can use the R random number generator) or already implemented (e.g., linear algebra in RcppArmadillo).
On 11/7/20, 10:25 AM, "Bioc-devel on behalf of Alexandru Voda" <bioc-devel-bounces using r-project.org on behalf of alexandru.voda using seh.ox.ac.uk> wrote:
Hi! I tried to look this up in the FAQ & best practices but couldn't find it.
My in-the-works package needs to call a legacy C++ software from time to time.
Since that C++ software is open-source, is there a way to make my package compile the source (during R package installation) I'm going to include? That'd make my package's dependency localized and well-controlled, but any other alternative is welcome (except Rcpp, which would take too many months to rewrite into the legacy C++ software).
[[alternative HTML version deleted]]
Bioc-devel using r-project.org mailing list
More information about the Bioc-devel