HenrikBengtsson / CostelloPSCNSeq

R package: Parent-specific Copy-number Estimation Pipeline using HT-Seq Data
3 stars 2 forks source link

Issue loading required packages using README.md instructions #16

Closed SRHilz closed 6 years ago

SRHilz commented 6 years ago

My PSCN run failed today, with the error being that the aromaseq + sequenza libraries were not available. I attributed this to the latest R update (we recently moved our cluster to v3.5.0), though of course there may be some other more obvious reason behind it. I then tried to reinstall these packages using the instructions in the README.md:

source("http://callr.org/install#HenrikBengtsson/aroma.seq,sequenza")

While everything appears to be installing for a while, at some point, it fails and exits before completing. These are the last 3 lines of code before exit, including the error message:

`

I checked the sourced code, but the github username (HenrikBengtsson) seemed pretty clearly specified in it, and I couldn't find the error message within the code itself to trace back when it was occurring. Any idea what might be going on? Thanks!

HenrikBengtsson commented 6 years ago

Thxs. I can reproduce this in a fresh R 3.5.0 setup;

source("http://callr.org/install#HenrikBengtsson/aroma.seq,sequenza")
[... lots ...]
* DONE (aroma.seq)
Error in username %||% getOption("github.user") %||% stop("Unknown username.") : 
  Unknown username.

Weird. However, the following seems to work:

source("http://callr.org/install#sequenza,HenrikBengtsson/aroma.seq")
[...]
yaml                  <NA>    2.1.19

Packages installed/updated. Load them by:

 library('sequenza')
 library('aroma.seq')

(These commands have been added to your commands history.)
> 
HenrikBengtsson commented 6 years ago

I've updated the instructions to avoid this problem.