Skip to content

Commit

Permalink
vignette: move devtools::load_all() call to setup chunk
Browse files Browse the repository at this point in the history
 - wasnt meant to display in vignette
  • Loading branch information
barrettk committed Jun 27, 2024
1 parent 0c5288b commit 9a86b0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vignettes/model-tree.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ if(isTRUE(is_pdf)){
library(webshot)
webshot::install_phantomjs() %>% suppressMessages()
}
```


```{r load packages, results = 'hide', message=FALSE, warning=FALSE}
# NOTE: if running chunks interactively we need to load the package first
# because renv isolation prevents us from finding an bbr installation
if (interactive()) {
devtools::load_all()
}
```


```{r load packages, results = 'hide', message=FALSE, warning=FALSE}
library(glue)
library(bbr)
library(dplyr)
Expand Down

0 comments on commit 9a86b0c

Please sign in to comment.