-
Notifications
You must be signed in to change notification settings - Fork 187
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 building github version of phyloseq from source #174
Comments
I posted this at the end of another issue and have added as a new issue upon recommendation from joey711. Here was his response: Looks like your system doesn't have a working version of latex, so it fails to rebuild the vignettes during installation. I'm not sure why R packages have to do that by default when building from source. The PDF files for the vignettes are already included, and it looks like your installation would otherwise work. You have two clear options off the top of my head. (1) One is to install LaTeX on your mac and try again. I think MacTeX is pretty easy for installation. (2) Another is to use one of the more obscure options from the installation tutorial that I actually just posted yesterday, in which you attempt to install the mac binary version of the package form the development branch on Bioconductor, which I just updated yesterday so at the moment I pen this it is identical to the GitHub version, and the precise URL for the binary is still correct. You have already done the first part of these instructions: installing the dependencies by first installing the release version of phyloseq. Now just try the following lines of code. If it doesn't work then there is something wrong with the mac binary built by Bioconductor on the devel branch, and there's not much I can do about it.
(3) If the above two things don't work, post what happened, and I will build a binary on my mac and post it in the downloads section. |
I installed MacTeX at http://tug.org/mactex/ and then the newest phyloseq was available to me! |
Great! I will add to the installation tutorial how LaTeX is a necessary requirement for installing from source... I'm glad that it is working for you! I will close this issue once I've added the additional notes to the installation tutorial. |
This is now mentioned on the installation tutorial, so this issue is now closed. |
When I try to update phyloseq to the github version (the version with all latest updates) I get an error. Here are my command lines:
source("http://bioconductor.org/biocLite.R")
biocLite("phyloseq")
install.packages("devtools")
library("devtools")
install_github("phyloseq", "joey711")
All work until I get to the install_github command. I get the error message below
install_github("phyloseq", "joey711")
Installing github repo(s) phyloseq/master from joey711
Installing phyloseq.zip from https://api.github.com/repos/joey711/phyloseq/zipball/master
Installing phyloseq
/Library/Frameworks/R.framework/Resources/bin/R --vanilla CMD build
'/private/var/folders/dg/clpwjnzx45v0b0t6r1v3ytsm0000gq/T/Rtmpr4n5et/joey711-phyloseq-e34e8aa'
--no-manual --no-resave-data
Loading required package: ade4
Attaching package: 'ade4'
The following object(s) are masked from 'package:base':
Loading required package: picante
Loading required package: ape
Loading required package: vegan
Loading required package: permute
This is vegan 2.0-5
Attaching package: 'vegan'
The following object(s) are masked from 'package:ade4':
Loading required package: nlme
Warning: "legend" argument in scale_XXX is deprecated. Use guide="none" for suppress the guide display. (Deprecated; last used in version 0.8.9)
Warning: "legend" argument in scale_XXX is deprecated. Use guide="none" for suppress the guide display. (Deprecated; last used in version 0.8.9)
Warning: "legend" argument in scale_XXX is deprecated. Use guide="none" for suppress the guide display. (Deprecated; last used in version 0.8.9)
Loading required package: plyr
Attaching package: 'reshape'
The following object(s) are masked from 'package:plyr':
Warning: "legend" argument in scale_XXX is deprecated. Use guide="none" for suppress the guide display. (Deprecated; last used in version 0.8.9)
Warning: Removed 1 rows containing missing values (geom_text).
Warning: Removed 1 rows containing missing values (geom_text).
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
Running 'texi2dvi' on 'phyloseq_analysis.tex' failed.
Calls: -> texi2pdf -> texi2dvi
Execution halted
Error: Command failed (1)
The text was updated successfully, but these errors were encountered: