Skip to content

Commit

Permalink
Ensure we are using an rmarkdown vs markdown vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhester committed Jul 21, 2020
1 parent d27831a commit 4bd2a10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/testMarkdownVignettes/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Author: Hadley <[email protected]>
Maintainer: Hadley <[email protected]>
Version: 0.1
VignetteBuilder: knitr
Suggests: knitr
Suggests: knitr, rmarkdown
7 changes: 5 additions & 2 deletions tests/testthat/testMarkdownVignettes/vignettes/test.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!--
%\VignetteEngine{knitr}
%\VignetteIndexEntry{Test vignette}
title: "Test"
vignette: >
%\VignetteIndexEntry{Test}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
-->

This is a test.
Expand Down

0 comments on commit 4bd2a10

Please sign in to comment.