[R-pkg-devel] Check Results ERROR on Windows R release

Jarrett Phillips ph||||p@j@rrett1 @end|ng |rom gm@||@com
Fri May 17 18:04:22 CEST 2019


Hello,

On submitting an update of my R package (HACSim), checks fail on
r-release-windows-ix86+x86_64
<https://www.r-project.org/nosvn/R.check/r-release-windows-ix86+x86_64/HACSim-00check.html>

The updated package, in addition to improving on documentation, also fixes
a noLD error by replacing

if (sum(probs) == 1) {
   stop("probs must sum to 1")
}

with the less strict

if (!isTRUE(all.equal(1, sum(probs), tolerance =
.Machine$double.eps^0.25))) {
  stop("probs must sum to 1")
}

On viewing the check details, the following was noted:


** byte-compile and prepare package for lazy loading

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()),
versionCheck = vI[[j]]) :
  there is no package called 'dplyr'
Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart
-> doWithOneRestart
Execution halted
ERROR: lazy loading failed for package 'HACSim'


I don't know why the dplyr package creeps in, as I don't list it in my
NAMESPACE file.

Any idea on what could be going on here?


Thanks.

Cheers,

Jarrett

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list