diff --git a/src/install_packages_get_griis.R b/src/install_packages_get_griis.R index 4ee64f89..eb028f02 100644 --- a/src/install_packages_get_griis.R +++ b/src/install_packages_get_griis.R @@ -1,7 +1,7 @@ # get packages installed on machine installed <- rownames(installed.packages()) # specify packages we need -required <- c("tidyverse", "rgbif", "tidylog", "janitor", "here", "trias" +required <- c("tidyverse", "rgbif", "tidylog", "janitor", "here", "devtools" ) # install packages if needed if (!all(required %in% installed)) { @@ -9,3 +9,6 @@ if (!all(required %in% installed)) { print(paste("Packages to install:", paste(pkgs_to_install, collapse = ", "))) install.packages(pkgs_to_install, repos = "https://cran.r-project.org/") } + +# install trias +devtools::install_github("trias-project/trias")