Skip to content

Commit

Permalink
html links from future
Browse files Browse the repository at this point in the history
  • Loading branch information
jangorecki committed Oct 17, 2024
1 parent 3028477 commit 51a9dc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkgup/vignettes.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +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 = list.files("./vignettes", "*.html", full.names=TRUE)
if (length(html) != length(rmd))
stop("length(html) != length(rmd)")
html = sapply(strsplit(html, ".", fixed=TRUE), function(f) paste(collapse=".", c(tail(f, -1L), "html"))
if (!length(rmd)) {
cat("no vignettes\n")
} else {
Expand Down

0 comments on commit 51a9dc1

Please sign in to comment.