mjwestgate / revtools

Tools to support research synthesis in R
https://revtools.net
48 stars 26 forks source link

installing revtools #19

Closed mlagisz closed 5 years ago

mlagisz commented 5 years ago

Hi Martin, trying to use the package but cannot even install it:

install.packages("revtools") Installing package into ‘/Users/Losia/Library/R/3.3/library’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘revtools’ is not available (for R version 3.3.3)

Installing form GitHub does not work either:

Error: (converted from warning) dependency ‘slam’ is not available

Could you kindly suggest any workaround (apart on working on some older version of R?) Many thanks, Losia

sessionInfo() R version 3.3.3 (2017-03-06) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X Yosemite 10.10.5

locale: [1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] usethis_1.4.0 devtools_2.0.2

loaded via a namespace (and not attached): [1] Rcpp_1.0.0 rstudioapi_0.9.0 knitr_1.21 magrittr_1.5 pkgload_1.0.2 R6_2.2.2 rlang_0.3.1 tools_3.3.3 pkgbuild_1.0.2 xfun_0.4 sessioninfo_1.1.1 [12] cli_1.0.1 withr_2.1.2 remotes_2.0.2 yaml_2.1.16 assertthat_0.2.0 digest_0.6.13 rprojroot_1.3-1 crayon_1.3.4 processx_3.2.1 callr_2.0.4 fs_1.2.6
[23] ps_1.3.0 curl_3.3 testthat_2.0.0 glue_1.2.0 memoise_1.1.0 desc_1.2.0 backports_1.1.2 prettyunits_1.0.2

mjwestgate commented 5 years ago

Hi Losia! This looks like a version issue - revtools has only been tested on R v 3.5.0 and above, so it is set to depend on that version or higher (see 'depends' section here). Because you're on R 3.3.3 it won't let you install; I'd recommend updating to the latest version of R (3.6.0) and trying again.

Incidentally I've just pushed some updates to the GitHub version, so if you can install from there you'll get the latest features. I've tested it on my Mac using R 3.5.1 and 3.6.0 without issues but haven't tried it on Windows yet.

mlagisz commented 5 years ago

thanks a lot! It is all good now - had to update computer OS and everything...

mlagisz commented 5 years ago

thanks a lot! It is all good now - had to update computer OS and everything...