vanOosterhoutLab / HybridCheck

HybridCheck, an R package for quickly scripting scans of sequence data for recombination regions.
http://vanOosterhoutLab.github.io/HybridCheck/
15 stars 6 forks source link

Suitable R version for running HybridCheck #26

Open Hinox47 opened 5 years ago

Hinox47 commented 5 years ago

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

Thanks!

TransGirlCodes commented 4 years ago

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 commented 1 year ago

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 commented 1 year ago

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