Skip to content

Commit

Permalink
fix yaml pkg missing error in GH Action https://github.com/marinebo…
Browse files Browse the repository at this point in the history
  • Loading branch information
bbest committed Aug 27, 2021
1 parent 1818f5f commit bd551a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit bd551a4

Please sign in to comment.