Hello,

I am trying to build an R package with a manually compiled .so file. To do
so, I have included a call to useDynLib() in my NAMESPACE file.

Building this works fine in RStudio with devtools::load_all('.'), but when
I try to run R CMD INSTALL, I get the error: package or namespace load
failed in library.dynam(lib, package, package.lib): shared object
'filename.so' not found.

Is there any way I can debug library.dynam to see where it's looking for my
.so and why it can't find it? Thanks for your help!

Best,
Jon

        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to