[R-pkg-devel] Build error: "DLL 'BayesFactor' not found: maybe not installed for this architecture?"

Nathaniel Phillips nathaniel.d.phillips.is at gmail.com
Tue Apr 18 13:22:52 CEST 2017


In submitting my package yarrr v0.1.5 to CRAN (https://github.com/
ndphillips/yarrr), I received the following error:

* installing *source* package 'yarrr' ...
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Warning: S3 methods 'is.na.BFBayesFactor', 'c.BFBayesFactor',
'plot.BFBayesFactor', 'head.BFBayesFactor', 'tail.BFBayesFactor',
'min.BFBayesFactor', 'max.BFBayesFactor', 'which.min.BFBayesFactor',
'which.max.BFBayesFactor', 'sort.BFBayesFactor',
'as.data.frame.BFBayesFactor', 'as.vector.BFBayesFactor',
'names.BFBayesFactor', 'length.BFBayesFactor', 't.BFBayesFactor',
'as.matrix.BFBayesFactorList', 'as.vector.BFBayesFactorList',
'as.mcmc.BFmcmc', 'as.matrix.BFmcmc', 'as.data.frame.BFmcmc',
'as.BFBayesFactor.BFBayesFactorTop', 'plot.BFBayesFactorTop',
'sort.BFBayesFactorTop', 'length.BFBayesFactorTop',
'as.BFBayesFactor.BFodds', 'as.BFprobability.BFodds', 'c.BFodds',
'length.BFodds', 'head.BFodds', 'tail.BFodds', 'min.BFodds',
'max.BFodds', 'which.min.BFodds', 'which.max.BFodds', 'sort.BFodds',
'as.data.frame.BFodds', 'as.vector.BFodds', 'names.BFodds',
'head.BFprobability', 'tail.BFprobability', 'min.BFprobability',
'max.BFprobability', 'which.min.BFprobability',
'which.max.BFprobability', 'sort [... truncated]
Error: package or namespace load failed for 'BayesFactor' in
library.dynam(lib, package, package.lib):
 DLL 'BayesFactor' not found: maybe not installed for this architecture?
Error : package 'BayesFactor' could not be loaded
ERROR: lazy loading failed for package 'yarrr'
* removing 'd:/RCompile/CRANincoming/R-devel/lib/yarrr'


Here is the check log:
https://win-builder.r-project.org/incoming_pretest/170418_120616_yarrr_015/00check.log

Here is the install log:
https://win-builder.r-project.org/incoming_pretest/170418_120616_yarrr_015/00install.out

There seems to be a problem with loading the BayesFactor package.
However, when I check and build the package on my machine it loads
just fine.

Can someone help me to fix this error for CRAN submission? Thank you!

Nathaniel

Nathaniel.D.Phillips.is at gmail.com

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list