diff --git a/DESCRIPTION b/DESCRIPTION index 23598120..e64d48cc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -42,6 +42,7 @@ Suggests: Encoding: UTF-8 LazyData: true RoxygenNote: 7.2.3 -VignetteBuilder: knitr +VignetteBuilder: + knitr, + kableExtra Config/testthat/edition: 3 -Config/Needs/website: kableExtra, devtools diff --git a/vignettes/vignette_preparing_data.Rmd b/vignettes/vignette_preparing_data.Rmd index 58eb9064..5b338368 100644 --- a/vignettes/vignette_preparing_data.Rmd +++ b/vignettes/vignette_preparing_data.Rmd @@ -44,7 +44,8 @@ When `gcamfaostat` is downloaded, preprocessed FAOSTAT data, i.e., output of the **Table 1. FAOSTAT dataset processed in gcamfaostat** ``` {r, echo=FALSE, warning=FALSE, message=FALSE} -devtools::load_all() +# devtools::load_all() +library(gcamfaostat) library(dplyr) library(kableExtra) gcamfaostat_metadata(.DIR_RAW_DATA_FAOSTAT = file.path("..", "inst/extdata/aglu/FAO/FAOSTAT")) %>% diff --git a/vignettes/vignette_processing_flow.Rmd b/vignettes/vignette_processing_flow.Rmd index c0013acf..feac5c86 100644 --- a/vignettes/vignette_processing_flow.Rmd +++ b/vignettes/vignette_processing_flow.Rmd @@ -72,7 +72,8 @@ As gcamfaostat is built upon the foundation of `gcamdata` and leverages the powe ``` {r, eval =TRUE, message = FALSE, warnings = FALSE, error = FALSE} # Load gcamfaostat -devtools::load_all() +# devtools::load_all() +library(gcamfaostat) # package data, GCAM_DATA_MAP, will be loaded # Get information for an intermediate data frame QCL_CROP_PRIMARY