[R-pkg-devel] Help passing CRAN pre-checks

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Tue May 13 00:29:14 CEST 2025


On 12 May 2025 at 16:45, Adam Loy wrote:
| Hi all,
| 
| I am having trouble getting past the pre-checks for CRAN, but things check
| out in my testing localling in the cloud. I get this message on Debian:
| 
| Error: package or namespace load failed for ‘HLMdiag’ in
| dyn.load(file, DLLpath = DLLpath, ...):
|  unable to load shared object
| '/srv/hornik/tmp/CRAN_pretest/HLMdiag.Rcheck/00LOCK-HLMdiag/00new/HLMdiag/libs/HLMdiag.so':
| 
| /srv/hornik/tmp/CRAN_pretest/HLMdiag.Rcheck/00LOCK-HLMdiag/00new/HLMdiag/libs/HLMdiag.so:
| undefined symbol: dgetri_
| Error: loading failed
| 
| The package uses RcppArmadillo so I thought the issue was an error in
| the makefile, but I think that checks out.
| 
| Any help would be appreciated. My codebase is on github:
| https://github.com/aloy/HLMdiag

Rename src/Makevars.txt (a file that will be ignored with that extension) to
src/Makevars and your linking will be complete, and the load error above is
likely going away.

Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list