lorismichel / quantregForest

R package - Quantile Regression Forests, a tree-based ensemble method for estimation of conditional quantiles (Meinshausen, 2006).
25 stars 6 forks source link

Error on installation #13

Open aikaterinimanousidou opened 2 years ago

aikaterinimanousidou commented 2 years ago

Hi! I'm trying to install this package and I have tried 3 different and all have failed me so I was wondering if there is some type of file missing in the package.

  1. I tried through Rstudio by install.packages("quantregForest) and I got the following error Error in install.packages : missing value where TRUE/FALSE needed
  2. I tried through Rstudio again but this time using devtools by install_github("lorismichel/quantregForest") and I got the following error Warning in grepl(e, files, perl = TRUE, ignore.case = TRUE) : PCRE pattern compilation error 'unrecognized character follows \' at 'quantregForest\.pdf$' Error in grepl(e, files, perl = TRUE, ignore.case = TRUE) : invalid regular expression '^\quantregForest\.pdf$' Execution halted Error: Failed to install 'quantregForest' from GitHub: System command 'Rcmd.exe' failed, exit status: 1, stdout & stderr were printed
  3. I tried both 1 and 2 through Rgui too but it didn't work either.

Please let me know if I did something wrong or if I'm missing something. Thank you in advance Aikaterini

barracuda156 commented 1 year ago

I can confirm it is broken:

--->  Configuring R-quantregForest
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-quantregForest/R-quantregForest/work/quantregForest-1.3-7" && /opt/local/bin/R CMD build . --no-manual --no-build-vignettes 
* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘quantregForest’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
Warning in grepl(e, files, perl = TRUE, ignore.case = TRUE) :
  PCRE pattern compilation error
    'unrecognized character follows \'
    at 'quantregForest\.pdf$'
Error in grepl(e, files, perl = TRUE, ignore.case = TRUE) : 
  invalid regular expression '^\quantregForest\.pdf$'
Execution halted
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-quantregForest/R-quantregForest/work/quantregForest-1.3-7" && /opt/local/bin/R CMD build . --no-manual --no-build-vignettes 
Exit code: 1
barracuda156 commented 1 year ago

@aikaterinimanousidou Ok, just send the corrupt .Rbuildignore to the trash bin (and perhaps a useless appveyor.yml too), and everything works.