installation [of future.apply] failed: had non-zero exit status #540
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.
-
(Please use https://github.com/HenrikBengtsson/future/discussions for Q&A)
Describe the bug
A clear and concise description of what the bug is.
‘installation of package ‘future.apply’ had non-zero exit status’
Reproduce example
A reproducible example using R code.
Expected behavior
A clear and concise description of what you expected to happen.
I tried install the future.apply through a)install.packages("future.apply"); b)devtools::install_local("D:/Download/zip/future.apply-develop.zip"). Both of these attempts failed. I wondered how I can make it succeed.
Session information
R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)_China.936 LC_CTYPE=Chinese (Simplified)_China.936
[3] LC_MONETARY=Chinese (Simplified)_China.936 LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.936
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_1.0.7 pillar_1.6.2 compiler_4.1.1 prettyunits_1.1.1 remotes_2.4.0 tools_4.1.1
[7] testthat_3.0.4 pkgload_1.2.1 pkgbuild_1.2.0 memoise_2.0.0 lubridate_1.7.10 lifecycle_1.0.0
[13] tibble_3.1.3 gtable_0.3.0 pkgconfig_2.0.3 rlang_0.4.11 rstudioapi_0.13 DBI_1.1.1
[19] cli_3.0.1 curl_4.3.2 fastmap_1.1.0 withr_2.4.2 dplyr_1.0.7 desc_1.3.0
[25] fs_1.5.0 devtools_2.4.2 generics_0.1.0 vctrs_0.3.8 rprojroot_2.0.2 grid_4.1.1
[31] tidyselect_1.1.1 glue_1.4.2 R6_2.5.0 processx_3.5.2 fansi_0.5.0 sessioninfo_1.1.1
[37] ggplot2_3.3.5 purrr_0.3.4 callr_3.7.0 magrittr_2.0.1 usethis_2.0.1 scales_1.1.1
[43] ps_1.6.0 ellipsis_0.3.2 assertthat_0.2.1 colorspace_2.0-2 utf8_1.2.2 munsell_0.5.0
[49] cachem_1.0.5 crayon_1.4.1
Beta Was this translation helpful? Give feedback.
All reactions