-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assist with Quarto vignettes and articles (#2085)
* Get use_vignette() working for qmd * Another test * Attempt to get "or" between 2 .vals Approach taken from r-lib/cli#681 (comment) * Catch up on the article side * Add NEWS bullet * Remove comment
- Loading branch information
Showing
7 changed files
with
226 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: "{{{ vignette_title }}}" | ||
knitr: | ||
opts_chunk: | ||
collapse: true | ||
comment: '#>' | ||
--- | ||
|
||
```{r} | ||
#| label: setup | ||
library({{Package}}) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: "{{{ vignette_title }}}" | ||
vignette: > | ||
%\VignetteIndexEntry{{{ braced_vignette_title }}} | ||
%\VignetteEngine{quarto::html} | ||
%\VignetteEncoding{UTF-8} | ||
knitr: | ||
opts_chunk: | ||
collapse: true | ||
comment: '#>' | ||
--- | ||
|
||
```{r} | ||
#| label: setup | ||
library({{Package}}) | ||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters