mskilab-org / Ppurple

Probabilistic purity ploidy estimation
4 stars 1 forks source link

installation error: "Error: package or namespace load failed for ‘bamUtils’" #1

Open funnell opened 4 years ago

funnell commented 4 years ago

Error loading bamUtils. However, just running library(bamUtils) completed. I installed bamUtils using devtools right before attempting to install Ppurple.


─  preparing ‘Ppurple’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘Ppurple_0.2.0.tar.gz’

Installing package into ‘/home/tyler/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package ‘Ppurple’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: package or namespace load failed for ‘bamUtils’:
 (converted from warning) replacing previous import ‘GenomicRanges::shift’ by ‘data.table::shift’ when loading ‘bamUtils’
Error: package ‘bamUtils’ could not be loaded
Execution halted
ERROR: lazy loading failed for package ‘Ppurple’
* removing ‘/home/tyler/R/x86_64-pc-linux-gnu-library/3.6/Ppurple’```
mskilab commented 4 years ago

Thanks! Will look into this ..

On Fri, Dec 20, 2019 at 4:19 PM Tyler Funnell notifications@github.com wrote:

Error loading bamUtils. However, just running library(bamUtils) completed. I installed bamUtils using devtools right before attempting to install Ppurple.

─ preparing ‘Ppurple’:

✔ checking DESCRIPTION meta-information ...

─ checking for LF line-endings in source and make files and shell scripts

─ checking for empty or unneeded directories

─ building ‘Ppurple_0.2.0.tar.gz’

Installing package into ‘/home/tyler/R/x86_64-pc-linux-gnu-library/3.6’

(as ‘lib’ is unspecified)

  • installing source package ‘Ppurple’ ...

** using staged installation

** R

** inst

** byte-compile and prepare package for lazy loading

Error: package or namespace load failed for ‘bamUtils’:

(converted from warning) replacing previous import ‘GenomicRanges::shift’ by ‘data.table::shift’ when loading ‘bamUtils’

Error: package ‘bamUtils’ could not be loaded

Execution halted

ERROR: lazy loading failed for package ‘Ppurple’

  • removing ‘/home/tyler/R/x86_64-pc-linux-gnu-library/3.6/Ppurple’```

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mskilab/Ppurple/issues/1?email_source=notifications&email_token=AC73JEMJI6ORIJIQABDLIH3QZUZGNA5CNFSM4J6CZFR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICCD7SA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC73JEMVGUBMT2PVUPUG4ETQZUZGNANCNFSM4J6CZFRQ .

mjko1210 commented 4 years ago

Hi, Is there any update on this? I got the same error when I was installing JaBbA devtools::install_github('mskilab/JaBbA')

imielinski commented 4 years ago

Right same issue – we will update the install instructions. Thanks for pointing out

Set this in your .Rprofile or set the env variable in your .bash_profile

allows dependencies that throw warnings to install

Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS = TRUE)

From: mjko1210 notifications@github.com Reply-To: mskilab/Ppurple reply@reply.github.com Date: Tuesday, June 23, 2020 at 2:08 PM To: mskilab/Ppurple Ppurple@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [mskilab/Ppurple] installation error: "Error: package or namespace load failed for ‘bamUtils’" (#1)

Hi, Is there any update on this? I got the same error when I was installing JaBbA devtools::install_github('mskilab/JaBbA')

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/mskilab/Ppurple/issues/1*issuecomment-648328668__;Iw!!C6sPl7C9qQ!DVT0qn7c1oFSumwhAbLLaZwTHbXjSy3-zwu_4OjPYlUyZOo3uKHEBNGKowkMRp8T8ug$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ABFUFY2I5KGO5KOR6B5O7XDRYDVTFANCNFSM4J6CZFRQ__;!!C6sPl7C9qQ!DVT0qn7c1oFSumwhAbLLaZwTHbXjSy3-zwu_4OjPYlUyZOo3uKHEBNGKowkMhirI0Ns$.


This message is for the recipient’s use only, and may contain confidential, privileged or protected information. Any unauthorized use or dissemination of this communication is prohibited. If you received this message in error, please immediately notify the sender and destroy all copies of this message. The recipient should check this email and any attachments for the presence of viruses, as we accept no liability for any damage caused by any virus transmitted by this email.