Re: [Bioc-devel] Compiling a cpp source code while installing package

2020-11-08 Thread Kasper Daniel Hansen
27;s any > standard guidance/vignette for how Rhtslib & Rhdf5lib approached this? > There are numerous Rcpp vignettes that I could find, but couldn't find for > pure C compiled by R? > ____________ > From: Martin Morgan > Sent: Saturday, No

Re: [Bioc-devel] Compiling a cpp source code while installing package

2020-11-08 Thread Martin Morgan
:30 PM To: Alexandru Voda ; bioc-devel@r-project.org Subject: Re: [Bioc-devel] Compiling a cpp source code while installing package 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

Re: [Bioc-devel] Compiling a cpp source code while installing package

2020-11-08 Thread Vincent Carey
could find, but couldn't find for > pure C compiled by R? > > From: Martin Morgan > Sent: Saturday, November 7, 2020 3:30 PM > To: Alexandru Voda ; bioc-devel@r-project.org > > Subject: Re: [Bioc-devel] Compiling a cpp source code while installing

Re: [Bioc-devel] Compiling a cpp source code while installing package

2020-11-08 Thread Alexandru Voda
x27;t find for pure C compiled by R? From: Martin Morgan Sent: Saturday, November 7, 2020 3:30 PM To: Alexandru Voda ; bioc-devel@r-project.org Subject: Re: [Bioc-devel] Compiling a cpp source code while installing package It would probably help to provide add

Re: [Bioc-devel] Compiling a cpp source code while installing package

2020-11-07 Thread Martin Morgan
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 packa

[Bioc-devel] Compiling a cpp source code while installing package

2020-11-07 Thread Alexandru Voda
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 i