From bd551a4d93cd701fdb2abe4191b4cf0836d33279 Mon Sep 17 00:00:00 2001 From: Ben Best Date: Fri, 27 Aug 2021 08:23:29 -0700 Subject: [PATCH] fix `yaml` pkg missing error in GH Action https://github.com/marinebon/p2p/runs/3444534322?check_suite_focus=true #27 --- scripts/functions.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/functions.R b/scripts/functions.R index ffe4facc..d2ab293d 100644 --- a/scripts/functions.R +++ b/scripts/functions.R @@ -6,7 +6,7 @@ if (!require(librarian)){ shelf( bsplus, caTools, dygraphs, fs, glue, here, iobis/robis, knitr, leafem, leaflet, lubridate, mapview, - raster, rerddap, sf, stringr, tidyverse, purrr, xts) + raster, rerddap, sf, stringr, tidyverse, purrr, yaml, xts) #library(plotdap) select <- dplyr::select @@ -131,7 +131,7 @@ plot_insitutemp <- function(temp_csv, meta_yml, main = "Daily Temperature", ylab # temp_csv <- "/Users/bbest/github/p2p/data/temperature_in-situ/bra-arraialdocabo-fortaleza.csv" # meta_yml <- "/Users/bbest/github/p2p/data/temperature_in-situ/bra-arraialdocabo-fortaleza_meta.yml" # main = "Daily Temperature"; ylab="ÂșC" - + m <- read_yaml(meta_yml) d <- read_csv(temp_csv, col_types = cols()) x <- xts(select(d, -day), order.by = d$day)