mhahsler/rBLAST

Cannot install package?

Closed this issue · 7 comments

I am trying to install this package on RStudio with the devtools and devtools::install_github("mhahsler/rBLAST") command, but it yields this error:

Error: Failed to install 'rBLAST' from GitHub:
  (converted from warning) installation of package ‘C:/Users/saarl/AppData/Local/Temp/RtmpOSvE4F/file5d434981505/rBLAST_0.99.2.tar.gz’ had non-zero exit status

Any ### ideas?

The error message does not say much. Do you have package Biostrings from BioC installed?

https://bioconductor.org/packages/release/bioc/html/Biostrings.html

I do have Bioconductor and Biostrings installed. Thank you for your patience. Working with coding interfaces is admittedly not my expertise.

Hmmm. I just got internet service back. It installs fine for me on Ubuntu. I have updated the installation instructions.

The only thing I see is that it looks like Bioconductor needs Rtools installed on Windows (https://cran.r-project.org/bin/windows/Rtools/). Maybe you need a newer version?

Sorry for the late reply. I've tried updating Rtools, but I have been getting errors that it is not available for R version 4.0.0. Was this package built for an older R version?

https://cran.r-project.org/bin/windows/Rtools/ says that it is for R4.0.0. I found online that running the following may help:

update.packages()

I too am having trouble installing.
Working in RStudio R 4.1.2

devtools::install_github("mhahsler/rBLAST")
Using github PAT from envvar GITHUB_PAT
Error: Failed to install 'unknown package' from GitHub:
HTTP error 401.
Bad credentials

Rate limit remaining: 47/60
Rate limit reset at: 2022-04-17 14:32:44 UTC

@dstern It looks like you have a personal identification token in the environment variable GITHUB_PAT that causes the problem. You need to remove it.