Skip to content

Commit

Permalink
Add installations for missing package in pollock
Browse files Browse the repository at this point in the history
  • Loading branch information
Cole-Monnahan-NOAA committed Feb 8, 2024
1 parent 279ab01 commit e719ae2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions content/AFSC-GOA-pollock.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ format:
#| label: startup
#| output: false
packages <- c("dplyr", "tidyr", "ggplot2", "TMB", "remotes")
# Install packages not yet installed
installed_packages <- packages %in% rownames(installed.packages())
if (any(installed_packages == FALSE)) {
install.packages(packages[!installed_packages], repos = "http://cran.us.r-project.org")
}
remotes::install_github("NOAA-FIMS/FIMS", ref='isNA')
remotes::install_github("kaskr/TMB_contrib_R/TMBhelper")
library(ggplot2)
library(tidyr)
library(dplyr)
Expand Down

0 comments on commit e719ae2

Please sign in to comment.