Skip to content

Commit b609134

Browse files
committed
tidy whitespace
1 parent 8731c84 commit b609134

3 files changed

Lines changed: 38 additions & 38 deletions

File tree

scripts/check-if-elevated-to-cran.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ for (pkg in github_packages) {
2121
on_cran <- map_lgl(packages, function(x) isFALSE(as.logical(x)))
2222
on_cran <- github_packages[on_cran]
2323

24-
on_cran %>%
25-
rlang::set_names() %>%
26-
purrr::map_lgl(available::available_on_cran) %>%
24+
on_cran %>%
25+
rlang::set_names() %>%
26+
purrr::map_lgl(available::available_on_cran) %>%
2727
tibble::enframe(
2828
value = "available_on_cran"
2929
)
@@ -45,7 +45,7 @@ cran_status <- map(cran_status, ~{
4545
if (inherits(.x, "error")) {
4646
NA
4747
} else {
48-
y <- .x %>%
48+
y <- .x %>%
4949
html_nodes("p") %>%
5050
html_text() %>%
5151
str_detect("removed") %>%

scripts/install-test-omega-hat.R

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# "RCurl",
99
# "RJSONIO"
1010
# )
11-
#
11+
#
1212
# install.packages(cran_dependencies)#, lib = library_temp)
1313

1414
package_omegahat <- c(
@@ -40,27 +40,27 @@ outcome <- list()
4040
for(p in package_github) {
4141
message("Installing ", p)
4242
# install.packages(
43-
# p,
43+
# p,
4444
# repos = "http://www.omegahat.net/R",
4545
# type = "source"
4646
# #, lib = library_temp
4747
# )
4848
remotes::install_github(
4949
repo = paste0("omegahat/", p)
5050
)
51-
51+
5252
success <- requireNamespace(p, quietly = T)
5353
outcome[[p]] <- success
54-
54+
5555
message("success: ", success)
5656
if (success) remove.packages(p)#, lib = library_temp)
5757
}
5858

59-
outcome |>
59+
outcome |>
6060
tibble::enframe(
6161
name = "package",
6262
value = "install_success"
63-
) |>
63+
) |>
6464
dplyr::mutate(
6565
install_success = as.logical(install_success)
6666
)
@@ -80,39 +80,39 @@ outcome |>
8080
# === From GitHub =======
8181
# # A tibble: 10 × 2
8282
# package install_success
83-
# <chr> <lgl>
83+
# <chr> <lgl>
8484
# 1 Rcompression FALSE # Please define LIB_BZIP2
85-
# 2 RDCOMClient TRUE
85+
# 2 RDCOMClient TRUE
8686
# 3 RDCOMServer FALSE # ERROR: dependencies 'SWinRegistry', 'Ruuid' are not available for package 'RDCOMServer'
87-
# 4 RGoogleTrends TRUE
88-
# 5 RHTMLForms TRUE
87+
# 4 RGoogleTrends TRUE
88+
# 5 RHTMLForms TRUE
8989
# 6 RTidyHTML FALSE # make: cc: No such file or directory; make: *** [<builtin>: access.o] Error 127
9090
# 7 RUbigraph FALSE # undefined exports: runUbigraph
9191
# 8 Sxslt FALSE # Please define LIB_XSLT
9292
# 9 SpiderMonkey FALSE # ERROR: dependencies 'RAutoGenRunTime', 'Rffi' are not available for package 'SpiderMonkey'
93-
# 10 XMLSchema TRUE
93+
# 10 XMLSchema TRUE
9494

9595
# === From omegahat site =======
9696
# # A tibble: 20 × 2
9797
# package install_success
98-
# <chr> <lgl>
99-
# 1 CGIwithR TRUE
100-
# 2 R2GoogleMaps TRUE
101-
# 3 RAmazonDBREST TRUE
102-
# 4 Rcompression FALSE # Please define LIB_ZLIB
103-
# 5 RDCOMClient TRUE
104-
# 6 RDCOMServer FALSE # package ‘RDCOMServer’ is not available for this version of R
105-
# 7 Rflickr TRUE
106-
# 8 RGoogleDocs TRUE
107-
# 9 RGoogleStorage TRUE
108-
# 10 RGoogleTrends TRUE
109-
# 11 RHTMLForms TRUE
110-
# 12 RTidyHTML FALSE # make: cc: No such file or directory; make: *** [<builtin>: access.o] Error 127
111-
# 13 RUbigraph FALSE # undefined exports: runUbigraph
112-
# 14 SpiderMonkey FALSE # ERROR: dependencies 'RAutoGenRunTime', 'Rffi' are not available for package 'SpiderMonkey
113-
# 15 SSOAP TRUE
114-
# 16 SXalan FALSE
115-
# 17 Sxslt FALSE # Please define LIB_XSLT
116-
# 18 WADL TRUE
117-
# 19 XMLRPC TRUE
118-
# 20 XMLSchema TRUE
98+
# <chr> <lgl>
99+
# 1 CGIwithR TRUE
100+
# 2 R2GoogleMaps TRUE
101+
# 3 RAmazonDBREST TRUE
102+
# 4 Rcompression FALSE # Please define LIB_ZLIB
103+
# 5 RDCOMClient TRUE
104+
# 6 RDCOMServer FALSE # package ‘RDCOMServer’ is not available for this version of R
105+
# 7 Rflickr TRUE
106+
# 8 RGoogleDocs TRUE
107+
# 9 RGoogleStorage TRUE
108+
# 10 RGoogleTrends TRUE
109+
# 11 RHTMLForms TRUE
110+
# 12 RTidyHTML FALSE # make: cc: No such file or directory; make: *** [<builtin>: access.o] Error 127
111+
# 13 RUbigraph FALSE # undefined exports: runUbigraph
112+
# 14 SpiderMonkey FALSE # ERROR: dependencies 'RAutoGenRunTime', 'Rffi' are not available for package 'SpiderMonkey
113+
# 15 SSOAP TRUE
114+
# 16 SXalan FALSE
115+
# 17 Sxslt FALSE # Please define LIB_XSLT
116+
# 18 WADL TRUE
117+
# 19 XMLRPC TRUE
118+
# 20 XMLSchema TRUE

scripts/url-db-from-ctv-md.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ url_db_from_ctv_md <- function(path_md, verbose = TRUE, verbose_row_count = 10L)
3939
class(db) <- "url_db"
4040

4141
output <- tools:::check_url_db(db, verbose = verbose, parallel = TRUE)
42-
42+
4343
if (nrow(output) == 0L) {
4444
message("All links in the task view resolved successfully.")
4545
} else {
4646
warning("At least one link in the task view needs attention.")
4747
}
48-
48+
4949
output
5050
}
5151

0 commit comments

Comments
 (0)