Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Oct 17, 2023
1 parent a5a8f73 commit a57706c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: r2readthedocs
Title: Convert R Package Documentation to a 'readthedocs' Website
Version: 0.0.1.043
Version: 0.0.1.044
Authors@R:
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"))
Description: Convert R package documentation to a 'readthedocs' website.
Expand Down
2 changes: 1 addition & 1 deletion R/dependency-docs.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ compile_vignettes <- function (path, pkg, vignettes) {
fmt <- rmarkdown::md_document (variant = "gfm")
titles <- gsub ("\\s\\(source,\\shtml\\)", "", vignettes$Title)

for (i in seq (nrow (vignettes))) {
for (i in seq_len (nrow (vignettes))) {

v_file <- file.path (
vignettes$LibPath [i],
Expand Down
5 changes: 4 additions & 1 deletion R/readme.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ move_hex <- function (x, path) {
if (!dir.exists (dir_dest)) {
dir.create (dir_dest, recursive = TRUE)
}
chk <- file.copy (file.path (path, pkg_name (path), fig_src), fig_dest)
chk <- file.copy (
file.path (path, pkg_name (path), fig_src),
fig_dest
)
}
fig_dest <- normalizePath (fig_dest)

Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"codeRepository": "https://github.com/ropenscilabs/r2readthedocs",
"issueTracker": "https://github.com/ropenscilabs/r2readthedocs/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.0.1.043",
"version": "0.0.1.044",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit a57706c

Please sign in to comment.