Skip to content
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

Installation #1

Closed
jnpaulson opened this issue Aug 4, 2015 · 3 comments
Closed

Installation #1

jnpaulson opened this issue Aug 4, 2015 · 3 comments

Comments

@jnpaulson
Copy link
Contributor

There appears to be a bug when trying to install (at least on my mac). (See below). It comes from a potentially empty db_dir resulting in the /gg_13_.... Replacing f <- paste0(db_dir,"/",f_basename) with f <- paste0(db_dir,"./",f_basename) will fix it.

> require(devtools)
Loading required package: devtools
l> load_all()
Loading greengenes13.5MgDb
/gg_13_5.fasta.gz: Permission denied
Error in .Call2("new_input_ExternalFilePtr", fp, PACKAGE = "Biostrings") : 
  cannot open file ''
In addition: Warning messages:
1: In .recacheSubclasses(def@className, def, doSubclasses, env) :
  undefined subclass "externalRefMethod" of class "expressionORfunction"; definition not updated
2: In .recacheSubclasses(def@className, def, doSubclasses, env) :
  undefined subclass "externalRefMethod" of class "functionORNULL"; definition not updated
3: In download.file(db_url, destfile = f, method = "wget") :
  download had nonzero exit status
@jnpaulson
Copy link
Contributor Author

However, this still leads to which I assume is an issue with the mgDB code:

Error in .Call2("new_input_ExternalFilePtr", fp, PACKAGE = "Biostrings") : 
  cannot open file ''

@hcorrada
Copy link
Contributor

hcorrada commented Aug 4, 2015

Fixed by d77fc47. Can you check?

@jnpaulson
Copy link
Contributor Author

Fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants