installation [of future.apply] failed: had non-zero exit status #540
-
|
(Please use https://github.com/HenrikBengtsson/future/discussions for Q&A) Describe the bug Expected behavior Session information R version 4.1.1 (2021-08-10) Matrix products: default locale: attached base packages: loaded via a namespace (and not attached): |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Hi, what's the full output when you run: install.packages("future.apply")? |
Beta Was this translation helpful? Give feedback.
-
有二进制版本的,但源代码版本是后来的: 安装源码包‘future.apply’ trying URL 'https://cran.rstudio.com/src/contrib/future.apply_1.8.1.tar.gz' Warning in install.packages : The downloaded source packages are in |
Beta Was this translation helpful? Give feedback.
-
|
Hmm... I cannot reproduce this with R 4.1.1 running on Windows 10; R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
...
> install.packages("future.apply")
Installing package into ‘C:/Users/hb/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
also installing the dependencies ‘digest’, ‘parallelly’, ‘future’, ‘globals’
There is a binary version available but the source version is later:
binary source needs_compilation
future.apply 1.7.0 1.8.1 FALSE
trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.1/digest_0.6.27.zip'
Content type 'application/zip' length 268501 bytes (262 KB)
downloaded 262 KB
trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.1/parallelly_1.27.0.zip'
Content type 'application/zip' length 271480 bytes (265 KB)
downloaded 265 KB
trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.1/future_1.21.0.zip'
Content type 'application/zip' length 641744 bytes (626 KB)
downloaded 626 KB
trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.1/globals_0.14.0.zip'
Content type 'application/zip' length 95361 bytes (93 KB)
downloaded 93 KB
package ‘digest’ successfully unpacked and MD5 sums checked
package ‘parallelly’ successfully unpacked and MD5 sums checked
package ‘future’ successfully unpacked and MD5 sums checked
package ‘globals’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\hb\AppData\Local\Temp\RtmpwhXL9F\downloaded_packages
installing the source package ‘future.apply’
trying URL 'https://cloud.r-project.org/src/contrib/future.apply_1.8.1.tar.gz'
Content type 'application/x-gzip' length 63654 bytes (62 KB)
downloaded 62 KB
* installing *source* package 'future.apply' ...
** package 'future.apply' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'future.apply'
finding HTML links ... done
fold html
future.apply html
future.apply.options html
future_apply html
future_by html
future_lapply html
future_mapply html
makeChunks html
make_rng_seeds html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (future.apply)
The downloaded source packages are in
‘C:\Users\hb\AppData\Local\Temp\RtmpwhXL9F\downloaded_packages’
> Comparing your output and using Google Translate, I see that "有二进制版本的,但源代码版本是后来的" translates to "There is a binary version, but the source code version is later", and "安装源码包" translates to "Install source package", which is all the same as what I get. However, after that I'd expect to see more output from you, not just a warning. A few comments and suggestions:
PS. Next, I'm gonna transfer this issue to the future forum at https://github.com/HenrikBengtsson/future/discussions, where it belongs. |
Beta Was this translation helpful? Give feedback.
Hi.
I solved this problem by uninstalling the latest r 4.1.1 and then installing r 4.1.0 instead. I think this issue might be due to the R version and future.apply version.
Anyway, thanks for your help!