Bioconductor / BiocCheck

http://bioconductor.org/packages/BiocCheck
8 stars 26 forks source link

'make' not found when running `BiocCheck::BiocCheck()` #139

Closed zhiiiyang closed 3 years ago

zhiiiyang commented 3 years ago

Hello, I encountered an error when running BiocCheck::BiocCheck()

I also tried the solution mentioned in this issue https://github.com/Bioconductor/BiocCheck/issues/38 but it doesn't work.

 BiocCheck::BiocCheck()
This is BiocCheck version 1.28.0. BiocCheck is a work in progress. Output and
severity of issues may change. Installing package...
  cmd: C:/Users/zyang/DOCUME~1/R/R-41~1.1/bin/R
  args: --vanilla CMD INSTALL --no-test-load --library=C:\Users\zyang\AppData\Local\Temp\Rtmpi8F7Zh\file34c4621c2135/lib "C:/Users/zyang/Documents/Rpackages/GeoDiff"
  stderr:
  * installing *source* package 'GeoDiff' ...
  ** using staged installation
  ** libs

  *** arch - i386
  Warning in system(cmd) : 'make' not found
  ERROR: compilation failed for package 'GeoDiff'
  * removing 'C:/Users/zyang/AppData/Local/Temp/Rtmpi8F7Zh/file34c4621c2135/lib/GeoDiff'
    * ERROR: C:/Users/zyang/Documents/Rpackages/GeoDiff must be installable.
Error in (function (package, help, pos = 2, lib.loc = NULL, character.only = FALSE,  : 
  there is no package called ‘GeoDiff’

Here is the session info

> sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] graph_1.70.0        knitr_1.34          BiocGenerics_0.38.0 fit.models_0.64    
 [5] MASS_7.3-54         BiocCheck_1.28.0    getopt_1.20.3       lattice_0.20-44    
 [9] R6_2.5.1            rrcov_1.6-0         pcaPP_1.9-74        httr_1.4.2         
[13] tools_4.1.1         biocViews_1.60.0    parallel_4.1.1      grid_4.1.1         
[17] Biobase_2.52.0      xfun_0.26           RBGL_1.68.0         optparse_1.6.6     
[21] Matrix_1.3-4        BiocManager_1.30.16 codetools_0.2-18    bitops_1.0-7       
[25] stringdist_0.9.8    RCurl_1.98-1.5      RUnit_0.4.32        robustbase_0.93-8  
[29] compiler_4.1.1      DEoptimR_1.0-9      stats4_4.1.1        XML_3.99-0.8       
[33] robust_0.5-0.0      mvtnorm_1.1-2      
> 
LiNk-NY commented 3 years ago

Hi Zhi, @zhiiiyang Do you have Rtools for Windows installed? Please see https://cran.r-project.org/bin/windows/Rtools/ Follow the directions there and make sure that it is in your PATH. Best, Marcel

zhiiiyang commented 3 years ago

Yes, I figured it out later. Thanks!