Skip to content

Commit

Permalink
Biocstyle back in suggests description and load it if avaliable for v…
Browse files Browse the repository at this point in the history
…ignette building
  • Loading branch information
evaham1 committed Sep 25, 2024
1 parent bac206b commit 4433f48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ Imports:
ggrepel,
BiocParallel,
utils,
gsignal,
BiocStyle
gsignal
Suggests:
BiocStyle,
knitr,
rmarkdown,
testthat,
Expand Down
5 changes: 5 additions & 0 deletions vignettes/vignette.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ colorize <- function(color, x) {
# The libraries to load
#install.packages(kableExtra)
#library(kableExtra)
if (requireNamespace("BiocStyle", quietly = TRUE)) {
BiocStyle::html_document()
} else {
rmarkdown::html_document()
}
```

```{r 00-header-generation, echo=FALSE, eval=FALSE}
Expand Down

0 comments on commit 4433f48

Please sign in to comment.