[R-pkg-devel] Package or namespace load failed: undefined symbol

Ralf Stubner r@||@@tubner @end|ng |rom gm@||@com
Thu Sep 26 15:34:34 CEST 2019


On Wed, Sep 25, 2019 at 3:34 PM Sameh M. Abdulah
<sameh.abdulah using kaust.edu.sa> wrote:
> My package depends on another C-based software that needs LAPACKE to compile. I do not know a lot about it. I think adding LAPACKE to my package will be a good solution.
> Could you please give me more information of how to do this?

Including LAPACKE in your package won't help you in this case, since
it is not your package but one of its dependencies that needs it. So
LAPACKE needs to be installed when that dependency is installed, which
happens before your package gets installed.

How do you expect the dependencies to get installed? Is that done by
an admin before the package installation?

cheerio
ralf



More information about the R-package-devel mailing list