r - Package that suggests `parallel` fails compile in windows -


i developing package suggests r's parallel package (so description has suggests: parallel (>= 1.13.1) statement. compiles fine under osx , linux fails when building on windows (using win-builder). here end of install.log win-builder spits out:

*** installing indices ** building package indices ** installing vignettes ** testing if installed package can loaded *** arch - i386 error: package or namespace load failed 'spectrolab' in  library.dynam(lib, package, package.lib): dll 'parallel' not found: maybe not installed architecture? error: loading failed execution halted *** arch - x64 error: loading failed 'i386' * removing 'd:/rcompile/cranguest/r-devel/lib/spectrolab' 

find full output win-builder here https://win-builder.r-project.org/4k9qc0st397h/

there 1 function tries use parallel. goes more or less this:

#' smooth spline functions spectra #' ... roxygen stuff ... #' @importfrom stats smooth.spline #' @importfrom parallel detectcores mclapply smooth.spectra = function(x, ...){    p = requirenamespace("parallel", quietly = true) && .platform$os.type != "windows"    if(p){      r = parallel::mclapply(x, stats::smooth.spline)   } else {      r = lapply(x, stats::smooth.spline)   }   r } 

any ideas of problem is?

it's win-builder hiccup. i've observed same on cran windows tests (same setup win-builder) no reasons:

https://www.r-project.org/nosvn/r.check/r-devel-windows-ix86+x86_64/dofuture-00install.html

unless win-builder maintainer (uwe ligges) gets himself, drop him email.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -