JinmiaoChenLab / cytofkit

cytofkit: an integrated flow/mass cytometry data analysis pipeline
http://jinmiaochenlab.github.io/cytofkit/
57 stars 25 forks source link

Cannot install "JinmiaoChenLab/cytofkit" #56

Open American3pt14 opened 5 years ago

American3pt14 commented 5 years ago

I'm an amateur R user trying to install the cytofkit package (couldn't do it off bioconductor so am installing it off devtools::install_github("JinmiaoChenLab/cytofkit"). However, it says "Error: Could not find tools necessary to compile a package".

Traceback: 8: stop("Could not find tools necessary to compile a package", call. = FALSE) 7: check_build_tools(debug = debug) 6: pkgbuild::local_build_tools(required = TRUE) 5: install(source, dependencies = dependencies, upgrade = upgrade, force = force, quiet = quiet, build = build, build_opts = build_opts, repos = repos, type = type, ...) 4: FUN(X[[i]], ...) 3: vapply(remotes, install_remote, ..., FUN.VALUE = character(1)) 2: install_remotes(remotes, auth_token = auth_token, host = host, dependencies = dependencies, upgrade = upgrade, force = force, quiet = quiet, build = build, build_opts = build_opts, repos = repos, type = type, ...) 1: devtools::install_github("JinmiaoChenLab/cytofkit")

I'm running off a windows 10 and installed Rtools already, though I'm not sure if that is working appropriately as I had to manually add "C:\Rtools\bin" to PATH. Even then, I still get the same error message.

Thanks for your help!!

SamGG commented 5 years ago

Hi. Reinstall Rtools as administrator (left click and select "Run as") and be sure to click to add rtools to the path. Once done, reinstall cytofkit. I can't say no more as I am still on Windows 7. Best.