diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2d71457e..6c3036b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,6 +42,7 @@ repos: # name: Spellcheck - id: deps-in-desc name: Ensure that DESCRIPTION lists all dependencies + args: [--allow_private_imports, --root=R] - id: use-tidy-description name: Format DESCRIPTION # - id: lintr diff --git a/vignettes/odata-api.Rmd b/vignettes/odata-api.Rmd index 05ebf8aa..63a04089 100644 --- a/vignettes/odata-api.Rmd +++ b/vignettes/odata-api.Rmd @@ -355,7 +355,7 @@ This section provides some examples of standard data visualisations. ## Datatable The package `DT` provides an interactive (and searchable) datatable. -```{r vis_data} +```{r vis_data, eval = requireNamespace("DT")} DT::datatable(fq_data) DT::datatable(fq_data_taxa) DT::datatable(fq_data_strata)