Skip to content

Commit af35bef

Browse files
committed
Keep linter happy
1 parent f5fc2fe commit af35bef

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ VignetteBuilder:
2929
Config/Needs/website: tidyverse/tidytemplate
3030
Encoding: UTF-8
3131
Roxygen: list(markdown = TRUE)
32-
RoxygenNote: 7.2.3
32+
RoxygenNote: 7.3.2
3333
SystemRequirements: webR development installation
3434
(https://webr.r-wasm.org/)

R/build.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ build <- function(packages,
3535

3636
packages <- prefer_remotes(package_info, remotes)
3737

38-
for (n in 1:nrow(packages)) {
38+
for (n in seq_len(nrow(packages))) {
3939
pkg_row <- packages[n, ]
4040
pkg <- pkg_row$package
4141

R/lib.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ file_packager <- function(in_dir, out_dir = "./vfs", out_name = NULL) {
144144
}
145145

146146
data_file <- fs::path_ext_set(out_name, ".data")
147-
meta_file <- fs::path_ext_set(out_name, ".js.metadata")
148147
js_file <- fs::path_ext_set(out_name, ".js")
149148
message(paste("Packaging:", data_file))
150149

R/repo.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ update_repo <- function(package_info,
211211
packages <- prefer_remotes(package_info, remotes)
212212

213213
need_update <- FALSE
214-
for (n in 1:nrow(packages)) {
214+
for (n in seq_len(nrow(packages))) {
215215
pkg_row <- packages[n, ]
216216
pkg <- pkg_row$package
217217

vignettes/mount-fs-image.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ Once mounted, the contents of the filesystem image are available at `/my-library
6666

6767
```{r eval=FALSE}
6868
list.files("/my-library")
69-
#> [1] "R6" "cli" "dplyr" "fansi" "generics" "glue"
70-
#> [7] "lifecycle" "magrittr" "pillar" "pkgconfig" "rlang" "tibble"
71-
#> [13] "tidyselect" "utf8" "vctrs" "withr"
69+
#> [1] "R6" "cli" "dplyr" "fansi" "generics" "glue"
70+
#> [7] "lifecycle" "magrittr" "pillar" "pkgconfig" "rlang" "tibble"
71+
#> [13] "tidyselect" "utf8" "vctrs" "withr"
7272
```
7373

7474
This new directory should be added to R's `.libPaths()`, so that R packages may be loaded from the new library.

vignettes/mount-host-dir.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ Once mounted, the contents of your host R library directory are available at `/m
4343

4444
```{r eval=FALSE}
4545
list.files("/my-library")
46-
#> [1] "R6" "cli" "dplyr" "fansi" "generics" "glue"
47-
#> [7] "lifecycle" "magrittr" "pillar" "pkgconfig" "rlang" "tibble"
48-
#> [13] "tidyselect" "utf8" "vctrs" "withr"
46+
#> [1] "R6" "cli" "dplyr" "fansi" "generics" "glue"
47+
#> [7] "lifecycle" "magrittr" "pillar" "pkgconfig" "rlang" "tibble"
48+
#> [13] "tidyselect" "utf8" "vctrs" "withr"
4949
```
5050

5151
This new directory should be added to R's `.libPaths()`, so that R packages may be loaded from the new library.

0 commit comments

Comments
 (0)