rhub
rhub copied to clipboard
Warning in cleanup_pkg(pkgdir, Log) : unable to run 'make clean' in 'src'
Dear all,
I am facing an issue for which I can't find help online. When running check_for_cran() function I have the following error:
rhub::check_for_cran()
- Building package Erreur : Build failed, standard output:
- checking for file 'ANTs/DESCRIPTION' ... OK
- preparing 'ANTs':
- checking DESCRIPTION meta-information ... OK
- cleaning src
- installing the package to build vignettes -----------------------------------
- installing source package 'ANTs' ... ** using staged installation ** libs Warning in system(cmd) : 'make' not found ERROR: compilation failed for package 'ANTs'
- removing 'C:/Users/SEBAST~1/AppData/Local/Temp/Rtmp63qh26/Rinst1a345fc76528/ANTs' ----------------------------------- ERROR: package installation failed
Standard error:
Warning in cleanup_pkg(pkgdir, Log) : unable to run 'make clean' in 'src'
Here my session information :
R version 4.0.2 (2020-06-22) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 18363)
Matrix products: default
locale:
[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252
[3] LC_MONETARY=French_France.1252 LC_NUMERIC=C
[5] LC_TIME=French_France.1252
attached base packages: [1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] rstudioapi_0.11 rcmdcheck_1.3.3 rappdirs_0.3.1 uuid_0.1-4
[5] R6_2.4.1 rlang_0.4.7 rematch_1.0.1 fansi_0.4.1
[9] httr_1.4.1 tools_4.0.2 pkgbuild_1.1.0 parsedate_1.2.0
[13] xopen_1.0.0 cli_2.0.2 rhub_1.1.1 withr_2.2.0
[17] ellipsis_0.3.1 assertthat_0.2.1 rprojroot_1.3-2 digest_0.6.25
[21] lifecycle_0.2.0 crayon_1.3.4 processx_3.4.3 whoami_1.3.0
[25] callr_3.4.3 ps_1.3.3 curl_4.3 glue_1.4.1
[29] compiler_4.0.2 pillar_1.4.6 desc_1.2.0 backports_1.1.7
[33] prettyunits_1.1.1 jsonlite_1.7.0
Thank you in advance for your help.
Did you solve this problem, I met it too
We can only help with this if you show us the package that fails.
This issue is about the previous R-hub system, it does not apply to the new system, so I am closing it now. Please see https://r-hub.github.io/rhub/ for the new system, R-hub v2.