adamsardar / stoneTrees

Integrating 'omics data with biological networks by solving Steiner Tree problems
Mozilla Public License 2.0
3 stars 3 forks source link

Problem with installation (ERROR: unable to collate and parse R files for package ‘stoneTrees’) #25

Closed InesdeSantiago closed 3 years ago

InesdeSantiago commented 3 years ago

Hello, a bit strange problem occuring when I try to install stoneTrees on top of a docker image (based on Rocker https://hub.docker.com/r/rocker/rstudio)

> devtools::install_github("adamsardar/stoneTrees")
Downloading GitHub repo adamsardar/stoneTrees@master
✓  checking for file ‘/tmp/Rtmpp6yD3i/remotesdf87a02af22/adamsardar-stoneTrees-88f44e2/DESCRIPTION’ ...
─  preparing ‘stoneTrees’:
✓  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
   Removed empty directory ‘stoneTrees/explore’
─  looking to see if a ‘data/datalist’ file should be added
─  building ‘stoneTrees_1.2.tar.gz’

Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
* installing *source* package ‘stoneTrees’ ...
** using staged installation
** R
Error in parse(outFile) : 
  /tmp/RtmpOn1lEE/R.INSTALL14a33fe25cca/stoneTrees/R/nodeCentricSteinerForestProblem-class.R:175:5: unexpected symbol
174:     
175:     resampleFixedTerminals
         ^
ERROR: unable to collate and parse R files for package ‘stoneTrees’
* removing ‘/usr/local/lib/R/site-library/stoneTrees’
Error: Failed to install 'stoneTrees' from GitHub:
  (converted from warning) installation of package ‘/tmp/Rtmpp6yD3i/filedf87684fdec/stoneTrees_1.2.tar.gz’ had non-zero exit status
> sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 9 (stretch)

Matrix products: default
BLAS/LAPACK: /usr/lib/libopenblasp-r0.2.19.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=C             
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

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

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.3        rstudioapi_0.10   magrittr_1.5     
 [4] usethis_1.5.1     devtools_2.2.1    pkgload_1.0.2    
 [7] R6_2.4.1          rlang_0.4.2       fansi_0.4.0      
[10] tools_3.6.1       pkgbuild_1.0.6    sessioninfo_1.1.1
[13] cli_2.0.0         withr_2.1.2       ellipsis_0.3.0   
[16] remotes_2.1.0     assertthat_0.2.1  digest_0.6.23    
[19] rprojroot_1.3-2   crayon_1.3.4      processx_3.4.1   
[22] callr_3.4.0       fs_1.3.1          ps_1.3.0         
[25] curl_4.3          testthat_2.3.1    memoise_1.1.0    
[28] glue_1.3.1        compiler_3.6.1    desc_1.2.0       
[31] backports_1.1.5   prettyunits_1.0.2