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

Suitable R version for running HybridCheck #26

Open
Hinox47 opened this issue Aug 23, 2019 · 3 comments
Open

Suitable R version for running HybridCheck #26

Hinox47 opened this issue Aug 23, 2019 · 3 comments

Comments

@Hinox47
Copy link

Hinox47 commented Aug 23, 2019

Which R version should I install for running it properly? I tried some but I'm always getting problems...

Thanks!

@TransGirlCodes
Copy link
Collaborator

Hi @Hinox47 I'm running R 3.6.1 without any problems? Which version are you using? Can you paste the errors you're getting?

@yuanjigui
Copy link

Error: Failed to install 'HybridCheck' from GitHub:
! System command 'Rcmd.exe' failed
In addition: Warning messages:
1: packages ‘Biostrings’, ‘IRanges’ are not available for this version of R

Versions of these packages for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
2: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying D:\Program Files\R\R-4.2.2\library\00LOCK\vctrs\libs\x64\vctrs.dll to D:\Program Files\R\R-4.2.2\library\vctrs\libs\x64\vctrs.dll: Permission denied

@yuanjigui
Copy link

devtools::install_github("HybridCheck")
Error in parse_repo_spec(repo) :
Invalid git repo specification: 'HybridCheck'
devtools::install_github("vanOosterhoutLab/HybridCheck", build_vignettes = TRUE)
Downloading GitHub repo vanOosterhoutLab/HybridCheck@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All
2: CRAN packages only
3: None
4: vctrs (0.5.2 -> 0.6.0) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 1
vctrs (0.5.2 -> 0.6.0) [CRAN]
Skipping 2 packages not available: Biostrings, IRanges
Installing 3 packages: vctrs, Biostrings, IRanges
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/vctrs_0.6.0.zip'
Content type 'application/zip' length 1338729 bytes (1.3 MB)
downloaded 1.3 MB

程序包‘vctrs’打开成功,MD5和检查也通过
Warning: 无法将拆除原来安装的程序包‘vctrs’
Warning: 回复了‘vctrs’

下载的二进制程序包在
C:\Users\Administrator\AppData\Local\Temp\RtmpIJykGA\downloaded_packages里
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file 'C:\Users\Administrator\AppData\Local\Temp\RtmpIJykGA\remotes35ac551db4\vanOosterhoutLab-HybridCheck-38b22bf/DESCRIPTION' ...
─ preparing 'HybridCheck':
✔ checking DESCRIPTION meta-information ...
─ installing the package to build vignettes
-----------------------------------
ERROR: dependencies 'IRanges', 'Biostrings' are not available for package 'HybridCheck'
─ removing 'C:/Users/Administrator/AppData/Local/Temp/RtmpAvYNTO/Rinst22502b3c7e30/HybridCheck'
-----------------------------------
ERROR: package installation failed
Error: Failed to install 'HybridCheck' from GitHub:
! System command 'Rcmd.exe' failed
In addition: Warning messages:
1: packages ‘Biostrings’, ‘IRanges’ are not available for this version of R

Versions of these packages for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
2: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying D:\Program Files\R\R-4.2.2\library\00LOCK\vctrs\libs\x64\vctrs.dll to D:\Program Files\R\R-4.2.2\library\vctrs\libs\x64\vctrs.dll: Permission denied

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

3 participants