cozygene / FEAST

Fast expectation maximization for microbial source tracking
Other
115 stars 60 forks source link

Installation issue #59

Closed nikolgr closed 10 months ago

nikolgr commented 10 months ago

Not sure why, but I can't install the package. Any ideas what might be the issue?

Installing package into ‘C:/Users/nikol/AppData/Local/R/win-library/4.3’ (as ‘lib’ is unspecified)

nikolgr commented 10 months ago

I restarted R and now I'm getting this. I saw someone else had the same issue but I can't resolve it.

install_github("cozygene/FEAST", dependencies = TRUE) Downloading GitHub repo cozygene/FEAST@HEAD Error: Failed to install 'FEAST' from GitHub: Could not find tools necessary to compile a package Call pkgbuild::check_build_tools(debug = TRUE) to diagnose the problem.

nikolgr commented 10 months ago

I can skip this error

(Error: Failed to install 'FEAST' from GitHub: Could not find tools necessary to compile a package Call pkgbuild::check_build_tools(debug = TRUE) to diagnose the problem.

using

options(buildtools.check = function(action) TRUE )

But then again I run into the same issue "installation of package... had non-zero exit status".

nikolgr commented 10 months ago

I could only manage to install using this:

library(pak) pak::pkg_install("cozygene/FEAST")