Skip to content

Commit

Permalink
Replace rmarkdown with markdown for generating vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed Dec 4, 2023
1 parent 8a605fa commit 904e04b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Expand Up @@ -42,7 +42,7 @@ Suggests:
folio,
khroma,
knitr,
rmarkdown,
markdown,
rsvg,
svglite,
tinysnapshot,
Expand Down
8 changes: 4 additions & 4 deletions codemeta.json
Expand Up @@ -125,15 +125,15 @@
},
{
"@type": "SoftwareApplication",
"identifier": "rmarkdown",
"name": "rmarkdown",
"identifier": "markdown",
"name": "markdown",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=rmarkdown"
"sameAs": "https://CRAN.R-project.org/package=markdown"
},
{
"@type": "SoftwareApplication",
Expand Down Expand Up @@ -231,7 +231,7 @@
},
"SystemRequirements": null
},
"fileSize": "1420.7KB",
"fileSize": "1420.737KB",
"citation": [
{
"@type": "ScholarlyArticle",
Expand Down
10 changes: 7 additions & 3 deletions vignettes/bibliography.Rmd
@@ -1,13 +1,17 @@
---
title: "Bibliography"
subtitle: "Comprehensive list of references cited in the package"
subtitle: "Comprehensive list of references cited in tabula"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
output:
markdown::html_format:
options:
toc: true
number_sections: true
bibliography: bibliography.bib
nocite: '@*'
vignette: >
%\VignetteIndexEntry{Bibliography}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEngine{knitr::knitr}
%\VignetteEncoding{UTF-8}
---

Expand Down
10 changes: 5 additions & 5 deletions vignettes/diversity.Rmd
Expand Up @@ -3,15 +3,15 @@ title: "Diversity Measures"
author: "N. Frerebeau"
date: "`r Sys.Date()`"
output:
rmarkdown::html_vignette:
number_sections: yes
fig_caption: yes
toc: true
markdown::html_format:
options:
toc: true
number_sections: true
bibliography: bibliography.bib
vignette: >
%\VignetteIndexEntry{Diversity Measures}
%\VignetteEngine{knitr::knitr}
%\VignetteEncoding{UTF-8}
%\VignetteEngine{knitr::rmarkdown}
---

```{r setup, include = FALSE}
Expand Down

0 comments on commit 904e04b

Please sign in to comment.