[R-pkg-devel] R package does not find DLL routine

2020-06-28 Thread Lisa GM
Hi, I would like to create an R package that calls a DLL (in my case a .dylib) which is already compiled. If I load and then call the DLL in a regular .R file it works fine but when I try to add the DLL to the package it doesn't work anymore. I'm using devtools and roxygen2 to update and compile t

Re: [R-pkg-devel] R package does not find DLL routine

2020-06-28 Thread Lisa GM
Dear Dirk, Thank you so much for your quick reply. I'm not particularly set on the 'inline' package especially if it's becoming outdated. I looked into using Rcpp but I couldn't figure out how to compile my c++ code outside of the package and only include the DLL. My problem is that I cannot publi

Re: [R-pkg-devel] R package does not find DLL routine

2020-07-01 Thread Lisa GM
n Sun, 28 Jun 2020 12:43:53 +0200 > Lisa GM wrote: > > > "sum_c" not resolved from current namespace (sum) > > As mentioned by Dirk Eddelbuettel, this is not the way R packages are > supposed to be built [*], but if you are absolutely positive you cannot > build t