From df7a1b2b075b2f5bb34decbb75dbdfab08a5961b Mon Sep 17 00:00:00 2001 From: Christine Stawitz - NOAA <47904621+ChristineStawitz-NOAA@users.noreply.github.com> Date: Tue, 10 Sep 2024 17:36:39 +0000 Subject: [PATCH] replace tidyverse load with tibble and dplyr, add tibble to codespace --- .devcontainer/devcontainer.json | 2 +- vignettes/fims-documentation.Rmd | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0725e6b9..39191dc2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -13,7 +13,7 @@ "packages": "make,gcc,g++,cmake,clang-tidy,clang-format,clang,doxygen,ninja-build,libxtst6,libxt6" }, "ghcr.io/rocker-org/devcontainer-features/r-packages:1": { - "packages": "RcppEigen,dplyr,ggplot2,jsonlite,magrittr,methods,Rcpp,scales,TMB,usethis,devtools", + "packages": "RcppEigen,dplyr,ggplot2,jsonlite,magrittr,methods,Rcpp,scales,TMB,usethis,devtools,tibble", "installSystemRequirements": true }, // option to run rstudio. you can type rserver into the command line to diff --git a/vignettes/fims-documentation.Rmd b/vignettes/fims-documentation.Rmd index 01015a03..cf23c4d7 100644 --- a/vignettes/fims-documentation.Rmd +++ b/vignettes/fims-documentation.Rmd @@ -159,7 +159,8 @@ doc_list <- list( ``` ```{r list-to-markdown, echo=FALSE, warning=FALSE, message=FALSE} -library(tidyverse) +library(dplyr) +library(tibble) list2markdown <- function(list) { enframe(list) |>