[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


On submitting an update of my R package (HACSim), checks fail on

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

Any idea on what could be going on here?




	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list