Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on installation #13

Open
aikaterinimanousidou opened this issue Jan 3, 2022 · 2 comments
Open

Error on installation #13

aikaterinimanousidou opened this issue Jan 3, 2022 · 2 comments

Comments

@aikaterinimanousidou
Copy link

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants