[R-pkg-devel] r-package-devel-owner maybe from r-project.org

Zack McCaw zrm@cc @end|ng |rom gm@||@com
Fri Mar 13 19:53:48 CET 2020


Hello all,

I am attempting to submit a package (https://github.com/zrmacc/Temporal)
that uses RcppArmadillo. The package builds successfully locally (on Mac)
and on Windows. However, when submitting to CRAN, it fails to build on
Debian with the following error:

Error: package or namespace load failed for ‘Temporal’ in dyn.load(file,
DLLpath = DLLpath, ...): unable to load shared object
‘/srv/hornik/tmp/CRAN/Temporal.Rcheck/00LOCK-Temporal/00new/Temporal/libs/Temporal.so’:/srv/hornik/tmp/CRAN/Temporal.Rcheck/00LOCK-Temporal/00new/Temporal/libs/Temporal.so:
undefined symbol: dgesvd_

I have ensured that the Makevars file is formatted as recommended by the
RcppArmadillo.package.skeleton
<https://cran.r-project.org/web/packages/RcppArmadillo/RcppArmadillo.pdf>()
function. Specifically, it contains the following:

CXX_STD = CXX11
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS)
PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)

Any help with understanding how to resolve the error on Debian would
be greatly appreciated.

Thank you,
Zack

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list