-
Notifications
You must be signed in to change notification settings - Fork 7
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 in install.packages("data.table", repos = rep) : unable to install packages #12
Comments
Hi Mayra, |
Hi, Here the output: ... Best, |
Thanks! Is this a shared system, or is |
Hi, Yes, this is a computer cluster, so devia-Te was installed there by the central administrator. I just checked that all programs installed there have the r-x, not writable permission for everyone (third permission). Best, |
I see. This tool was created when R integration in conda was a bit patchy and not all packages were available, so installation of R packages was done during the first execution of the program instead. This is definitely not ideal, especially when users don't have the permission to do that like in your case. There are two options you can try: i) either installation with one of the other methods described in the readme, if any of them work with your user permissions. ii) Use a more complete conda specification that also includes the R packages. For this, you could ask your admin to install from this yaml specification instead (just exported this from a fresh working installation on my system):
Apologies for the hassle, and please let me know if this works out. Once I have some more time, I'll improve the installation procedure to avoid this. |
Hi, I installed it locally (on my user account), and it works, but I got another error: samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory However, I solved it by loading Samtools before activating deviaTE_env So, thank you very much for your help. Best, |
Thanks very much for reporting back, and glad that it worked out this way. The error about shared libraries of samtools is an issue on their end with some dependencies of that specific version. It can be solved by creating a link to the library (replacing the correct path to the library folder of your conda env if different to this example):
I'll make sure to update the dependencies to a newer version of samtools to avoid this, so will leave the issue open until then. |
Hello,
I was running deviaTE, and I got the following error. I checked and the library is writable
This was my script:
deviaTE --input_fq vieillardiiBT023_cat_uniq.fq --families ALL --library $data_folder/impolita-families_mcclintok7.fa
This is the error:
During startup - Warning message:
Setting LC_CTYPE failed, using "C"
Warning in install.packages("data.table", repos = rep) :
'lib = "/home/apps/conda/miniconda3/envs/devia-te-0.3.8/lib/R/library"' is not writable
Error in install.packages("data.table", repos = rep) :
unable to install packages
Execution halted
End of deviaTE run
Best wishes,
Mayra
The text was updated successfully, but these errors were encountered: