diff --git a/.github/workflows/run-pollock-tests-by-fleet.yml b/.github/workflows/run-pollock-tests-by-fleet.yml index bf108b5..a4e5df1 100644 --- a/.github/workflows/run-pollock-tests-by-fleet.yml +++ b/.github/workflows/run-pollock-tests-by-fleet.yml @@ -20,7 +20,7 @@ jobs: - name: Run pollock tests run: | # Names of required packages - packages <- c("dplyr", "tidyr", "ggplot2", "TMB", "reshape2", "here", "remotes", "lubridate") + packages <- c("dplyr", "tidyr", "ggplot2", "TMB", "reshape2", "here", "devtools", "lubridate") # Install packages not yet installed installed_packages <- packages %in% rownames(installed.packages()) @@ -28,8 +28,9 @@ jobs: install.packages(packages[!installed_packages], repos = "http://cran.us.r-project.org") } - install.packages("FIMS", repos = c("https://noaa-fims.r-universe.dev", "https://cloud.r-project.org")) - + # install.packages("FIMS", repos = c("https://noaa-fims.r-universe.dev", "https://cloud.r-project.org")) + devtools::install_github("NOAA-FIMS/FIMS") + # Load packages invisible(lapply(packages, library, character.only = TRUE)) diff --git a/.github/workflows/run-pollock-tests-by-process.yml b/.github/workflows/run-pollock-tests-by-process.yml index 89f735b..9bc8d9c 100644 --- a/.github/workflows/run-pollock-tests-by-process.yml +++ b/.github/workflows/run-pollock-tests-by-process.yml @@ -20,7 +20,7 @@ jobs: - name: Run pollock tests run: | # Names of required packages - packages <- c("TMB") + packages <- c("dplyr", "tidyr", "ggplot2", "TMB", "reshape2", "here", "devtools", "lubridate") # Install packages not yet installed installed_packages <- packages %in% rownames(installed.packages()) @@ -28,8 +28,9 @@ jobs: install.packages(packages[!installed_packages], repos = "http://cran.us.r-project.org") } - install.packages("FIMS", repos = c("https://noaa-fims.r-universe.dev", "https://cloud.r-project.org")) - + # install.packages("FIMS", repos = c("https://noaa-fims.r-universe.dev", "https://cloud.r-project.org")) + devtools::install_github("NOAA-FIMS/FIMS") + # Load packages invisible(lapply(packages, library, character.only = TRUE))