Closed LanaZet closed 2 years ago
Please try upgrading to R 4 and trying again? I've now changed the phyloscannerR DESCRIPTION to require 4.0.0, since there are significant issues with ggtree and older versions.
I have done this, now i see this error:
install('.', dependencies = T)
Skipping 2 packages not available: treeio, ggtree
Installing 4 packages: vroom, readr, haven, tidyverse
Installing packages into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/vroom_1.5.6.tar.gz'
Content type 'application/x-gzip' length 727855 bytes (710 KB)
==================================================
downloaded 710 KB
trying URL 'https://cloud.r-project.org/src/contrib/readr_2.1.0.tar.gz'
Content type 'application/x-gzip' length 519991 bytes (507 KB)
==================================================
downloaded 507 KB
trying URL 'https://cloud.r-project.org/src/contrib/haven_2.4.3.tar.gz'
Content type 'application/x-gzip' length 296805 bytes (289 KB)
==================================================
downloaded 289 KB
trying URL 'https://cloud.r-project.org/src/contrib/tidyverse_1.3.1.tar.gz'
Content type 'application/x-gzip' length 702779 bytes (686 KB)
==================================================
downloaded 686 KB
ERROR: failed to lock directory ‘/usr/local/lib/R/site-library’ for modifying
Try removing ‘/usr/local/lib/R/site-library/00LOCK-vroom’
ERROR: dependency ‘vroom’ is not available for package ‘readr’
* removing ‘/usr/local/lib/R/site-library/readr’
ERROR: dependency ‘readr’ is not available for package ‘haven’
* removing ‘/usr/local/lib/R/site-library/haven’
ERROR: dependencies ‘haven’, ‘readr’ are not available for package ‘tidyverse’
* removing ‘/usr/local/lib/R/site-library/tidyverse’
The downloaded source packages are in
‘/tmp/RtmpVLnEvb/downloaded_packages’
✔ checking for file ‘/home/user/phyloscanner/phyloscannerR/DESCRIPTION’
─ preparing ‘phyloscannerR’:
✔ checking DESCRIPTION meta-information ... OK
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
Omitted ‘LazyData’ from DESCRIPTION
─ building ‘phyloscannerR_1.8.0.tar.gz’
Running /usr/lib/R/bin/R CMD INSTALL \
/tmp/RtmpVLnEvb/phyloscannerR_1.8.0.tar.gz --install-tests
* installing to library ‘/usr/local/lib/R/site-library’
ERROR: dependency ‘tidyverse’ is not available for package ‘phyloscannerR’
* removing ‘/usr/local/lib/R/site-library/phyloscannerR’
Error in (function (command = NULL, args = character(), error_on_status = TRUE, :
System command 'R' failed, exit status: 1, stdout & stderr were printed
Type .Last.error.trace to see where the error occurred
In addition: Warning messages:
1: In i.p(...) : installation of package ‘vroom’ had non-zero exit status
2: In i.p(...) : installation of package ‘readr’ had non-zero exit status
3: In i.p(...) : installation of package ‘haven’ had non-zero exit status
4: In i.p(...) :
installation of package ‘tidyverse’ had non-zero exit status
Didn't have access to edit folder
I don't know - the error occurs before it even tries to install phyloscanner. Try reinstalling the tidyverse? Upgrading to R 4 means you basically have to reinstall everything, unfortunately.
i think the problem in blocked folder, programm has no access to it.
@mdhall272 Thank you! Problem was solved. Now im facing a new one: i trying to use .bam and .fasta files from /ExampleInputData; copied that folder, paste there phyloscanner_make_trees.py, exec command
phyloscanner_make_trees.py InputFileList.csv --windows 1,300
and got this
It looks like the problem was just that there are no trees in one window - nothing to worry about if the others were output properly?
Hey! im stucked at the moment of installing Phyloscanner dependency. Can you help me please?