Skip to content

Commit

Permalink
even simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
jangorecki committed Oct 17, 2024
1 parent 51a9dc1 commit 12a95bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgup/vignettes.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (tail(strsplit(getwd(), "/", fixed=TRUE)[[1L]], 1L) == "docs") {
}
invisible(file.copy("../vignettes", ".", recursive=TRUE))
rmd = list.files("./vignettes", "*.Rmd", full.names=TRUE)
html = sapply(strsplit(html, ".", fixed=TRUE), function(f) paste(collapse=".", c(tail(f, -1L), "html"))
html = paste0(substr(rmd, 1L, nchar(rmd)-3L), "html")
if (!length(rmd)) {
cat("no vignettes\n")
} else {
Expand Down

0 comments on commit 12a95bc

Please sign in to comment.