maracashay / DAWG-Helpline

Need help deciding what step to do or what specific commands to pass when analyzing your amplicon data? Ask AWAY! DAWG is here to help :)
0 stars 1 forks source link

phylofactor will not install using R studio on Mac #5

Open hwfes opened 4 years ago

hwfes commented 4 years ago

Dear DAWG-Helpline:

Do you know what tools are necessary to build/install phylofactor on a Mac?

Intallation of phylofactor fails no matter how I try to perform it. You can see below that the error involves lack of tools necessary to compile the package. I am running R version 4.0.1 and have installed the latest versions of Xcode and gfortran. Calling pkgbuild to diagnose the problem just brings up some dumb website (https://www.cnet.com/how-to/install-command-line-developer-tools-in-os-x/). All other recommended packages are running.

Please suggest a way around this issue because I do not have access to any other computer, etc. to run phylofactor.

Thank you, Howard

BiocManager::install('reptalex/phylofactor') Bioconductor version 3.11 (BiocManager 1.30.10), R 4.0.1 (2020-06-06) Installing github package(s) 'reptalex/phylofactor' Downloading GitHub repo reptalex/phylofactor@master Error: Failed to install 'phylofactor' from GitHub: Could not find tools necessary to compile a package Call pkgbuild::check_build_tools(debug = TRUE) to diagnose the problem.

devtools::install_github('reptalex/phylofactor') Downloading GitHub repo reptalex/phylofactor@master Error: Failed to install 'phylofactor' from GitHub: Could not find tools necessary to compile a package Call pkgbuild::check_build_tools(debug = TRUE) to diagnose the problem.

maracashay commented 4 years ago

Howard,

Unfortunately I was unable to get phylofactor installed on my Mac. I tried everything but updating to the newest R versions.

A work-around would be to use the R studio associated with Penn State's ICS computer. If you have an issue getting the package installed on that R studio, contact ICS and someone can help you figure out how to get it installed.

I'm sorry we couldn't be of more help to you but hopefully the R Studio on ICS will work.

Also, if you do have an issue and ICS has a solution, could you please comment here for us to see how they fixed the problem? Thank you!