Skip to content

Commit

Permalink
Experiment: pre-commit hook deps-in-desc
Browse files Browse the repository at this point in the history
* Address warnings
  • Loading branch information
florianm committed Jul 23, 2024
1 parent 1872d02 commit 980a279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vignettes/odata-api.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 980a279

Please sign in to comment.