Skip to content

Commit

Permalink
Switch to YAML comment
Browse files Browse the repository at this point in the history
  • Loading branch information
willgearty committed Oct 2, 2024
1 parent 284c52a commit 4318131
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions vignettes/precompile.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ read_only <- function(x) {
tmp <- file(x)
# write lines
writeLines(c(c("---"),
c("comment: >"),
c(" Generated by vignettes/precompile.R: do not edit by hand."),
paste0(" Please edit source in vignettes/source/_", x),
c("# Generated by vignettes/precompile.R: do not edit by hand."),
paste0("# Please edit source in vignettes/source/_", x),
readLines(x)[2:length(readLines(x))]), tmp)
close(tmp)
}
Expand Down
7 changes: 3 additions & 4 deletions vignettes/rredlist.Rmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
comment: >
Generated by vignettes/precompile.R: do not edit by hand.
Please edit source in vignettes/source/_rredlist.Rmd
# Generated by vignettes/precompile.R: do not edit by hand.
# Please edit source in vignettes/source/_rredlist.Rmd
title: "Introduction to rredlist"
author: "William Gearty"
date: "2024-10-01"
date: "2024-10-02"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Introduction to rredlist}
Expand Down

0 comments on commit 4318131

Please sign in to comment.