Skip to content

Commit

Permalink
inla_installed in pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
seananderson committed Oct 18, 2023
1 parent f5d21ed commit b04a08d
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 22 deletions.
3 changes: 1 addition & 2 deletions vignettes/web_only/basic-intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ vignette: >
```{r setup, include = FALSE, cache=FALSE}
dplyr_installed <- require("dplyr", quietly = TRUE)
ggplot_installed <- require("ggplot2", quietly = TRUE)
inla_installed <- require("INLA", quietly = TRUE)
sdmTMBextra_installed <- require("sdmTMBextra", quietly = TRUE)
pkgs <- dplyr_installed && ggplot_installed && inla_installed && sdmTMBextra_installed
pkgs <- dplyr_installed && ggplot_installed && sdmTMBextra_installed
EVAL <- identical(Sys.getenv("NOT_CRAN"), "true") && pkgs
knitr::opts_chunk$set(
collapse = TRUE,
Expand Down
3 changes: 1 addition & 2 deletions vignettes/web_only/bayesian.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ vignette: >
```{r setup, include = FALSE, cache=FALSE}
dplyr_installed <- require("dplyr", quietly = TRUE)
ggplot_installed <- require("ggplot2", quietly = TRUE)
inla_installed <- sdmTMB::inla_installed()
tmbstan <- requireNamespace("tmbstan", quietly = TRUE)
rstan <- requireNamespace("rstan", quietly = TRUE)
bayesplot <- requireNamespace("bayesplot", quietly = TRUE)
pkgs <- dplyr_installed && ggplot_installed && inla_installed && tmbstan && rstan && bayesplot
pkgs <- dplyr_installed && ggplot_installed && tmbstan && rstan && bayesplot
EVAL <- identical(Sys.getenv("NOT_CRAN"), "true") && pkgs
knitr::opts_chunk$set(
collapse = TRUE,
Expand Down
3 changes: 1 addition & 2 deletions vignettes/web_only/cross-validation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ vignette: >
```{r setup, include = FALSE, cache=FALSE}
dplyr_installed <- require("dplyr", quietly = TRUE)
ggplot_installed <- require("ggplot2", quietly = TRUE)
inla_installed <- sdmTMB::inla_installed()
pkgs <- dplyr_installed && ggplot_installed && inla_installed
pkgs <- dplyr_installed && ggplot_installed
EVAL <- identical(Sys.getenv("NOT_CRAN"), "true") && pkgs
knitr::opts_chunk$set(
collapse = TRUE,
Expand Down
3 changes: 1 addition & 2 deletions vignettes/web_only/delta-models.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ vignette: >
```{r setup, include = FALSE, cache=FALSE}
dplyr_installed <- require("dplyr", quietly = TRUE)
ggplot_installed <- require("ggplot2", quietly = TRUE)
inla_installed <- sdmTMB::inla_installed()
pkgs <- dplyr_installed && ggplot_installed && inla_installed
pkgs <- dplyr_installed && ggplot_installed
EVAL <- identical(Sys.getenv("NOT_CRAN"), "true") && pkgs
knitr::opts_chunk$set(
collapse = TRUE,
Expand Down
3 changes: 1 addition & 2 deletions vignettes/web_only/ggeffects.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ dplyr_installed <- require("dplyr", quietly = TRUE)
ggplot_installed <- require("ggplot2", quietly = TRUE)
ggeffects_installed <- require("ggeffects", quietly = TRUE)
effects_installed <- require("effects", quietly = TRUE)
inla_installed <- sdmTMB::inla_installed()
pkgs <- dplyr_installed && ggplot_installed &&
ggeffects_installed && effects_installed && inla_installed
ggeffects_installed && effects_installed
EVAL <- identical(Sys.getenv("NOT_CRAN"), "true") && pkgs
knitr::opts_chunk$set(
collapse = TRUE,
Expand Down
3 changes: 1 addition & 2 deletions vignettes/web_only/index-standardization.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ vignette: >
```{r setup, include = FALSE, cache=FALSE}
dplyr_installed <- require("dplyr", quietly = TRUE)
ggplot_installed <- require("ggplot2", quietly = TRUE)
inla_installed <- require("INLA", quietly = TRUE)
pkgs <- dplyr_installed && ggplot_installed && inla_installed
pkgs <- dplyr_installed && ggplot_installed
EVAL <- identical(Sys.getenv("NOT_CRAN"), "true") && pkgs
knitr::opts_chunk$set(
collapse = TRUE,
Expand Down
3 changes: 1 addition & 2 deletions vignettes/web_only/pretty-plots.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ vignette: >
```{r, include = FALSE}
sf_installed <- require("sf", quietly = TRUE)
ggplot_installed <- require("ggplot2", quietly = TRUE)
inla_installed <- sdmTMB::inla_installed()
pkgs <- sf_installed && ggplot_installed && inla_installed
pkgs <- sf_installed && ggplot_installed
EVAL <- identical(Sys.getenv("NOT_CRAN"), "true") && pkgs
knitr::opts_chunk$set(
collapse = TRUE,
Expand Down
3 changes: 1 addition & 2 deletions vignettes/web_only/residual-checking.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ vignette: >
```{r setup, include = FALSE, cache=FALSE}
dplyr_installed <- require("dplyr", quietly = TRUE)
ggplot_installed <- require("ggplot2", quietly = TRUE)
inla_installed <- require("INLA", quietly = TRUE)
glmmTMB_installed <- require("glmmTMB", quietly = TRUE)
DHARMa_installed <- require("DHARMa", quietly = TRUE)
tmbstan_installed <- require("tmbstan", quietly = TRUE)
sdmTMBextra_installed <- require("sdmTMBextra", quietly = TRUE)
pkgs <- dplyr_installed && ggplot_installed && inla_installed && glmmTMB_installed && DHARMa_installed && sdmTMBextra_installed
pkgs <- dplyr_installed && ggplot_installed && glmmTMB_installed && DHARMa_installed && sdmTMBextra_installed
tmbstan_installed
EVAL <- identical(Sys.getenv("NOT_CRAN"), "true") && pkgs
knitr::opts_chunk$set(
Expand Down
3 changes: 1 addition & 2 deletions vignettes/web_only/spatial-trend-models.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ vignette: >
```{r setup, include = FALSE, cache=FALSE}
dplyr_installed <- require("dplyr", quietly = TRUE)
ggplot_installed <- require("ggplot2", quietly = TRUE)
inla_installed <- sdmTMB::inla_installed()
pkgs <- dplyr_installed && ggplot_installed && inla_installed
pkgs <- dplyr_installed && ggplot_installed
EVAL <- identical(Sys.getenv("NOT_CRAN"), "true") && pkgs
knitr::opts_chunk$set(
collapse = TRUE,
Expand Down
3 changes: 1 addition & 2 deletions vignettes/web_only/threshold-models.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ vignette: >
```{r setup, include = FALSE, cache=FALSE}
dplyr_installed <- require("dplyr", quietly = TRUE)
ggplot_installed <- require("ggplot2", quietly = TRUE)
inla_installed <- sdmTMB::inla_installed()
pkgs <- dplyr_installed && ggplot_installed && inla_installed
pkgs <- dplyr_installed && ggplot_installed
EVAL <- identical(Sys.getenv("NOT_CRAN"), "true") && pkgs
knitr::opts_chunk$set(
collapse = TRUE,
Expand Down
3 changes: 1 addition & 2 deletions vignettes/web_only/visreg.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ vignette: >
```{r setup, include = FALSE, cache=FALSE}
ggplot_installed <- require("ggplot2", quietly = TRUE)
visreg_installed <- require("visreg", quietly = TRUE)
inla_installed <- sdmTMB::inla_installed()
pkgs <- ggplot_installed && visreg_installed && inla_installed
pkgs <- ggplot_installed && visreg_installed
EVAL <- identical(Sys.getenv("NOT_CRAN"), "true") && pkgs
knitr::opts_chunk$set(
collapse = TRUE,
Expand Down

0 comments on commit b04a08d

Please sign in to comment.