Skip to content

Commit

Permalink
remove devtools in vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
realxinzhao committed Nov 7, 2023
1 parent 850fa61 commit fce81ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion vignettes/vignette_preparing_data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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")) %>%
Expand Down
3 changes: 2 additions & 1 deletion vignettes/vignette_processing_flow.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fce81ec

Please sign in to comment.