Skip to content

Commit 68d1d6b

Browse files
Fixed R CMD check issues
1 parent ebc650c commit 68d1d6b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Imports:
1616
covr (>= 3.0.0),
1717
flowr,
1818
logger (>= 0.3.0),
19-
rlang,
2019
stringr,
2120
tools
2221
Suggests:
2322
testthat (>= 3.0.0),
23+
rlang,
2424
withr
2525
Remotes:
2626
flowr=flowr-analysis/flowr-r-adapter

R/flowr_utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ get_all_nodes <- function() {
4646
query <- list(list(type = "id-map"))
4747
res <- flowr::request_query(con, get_filetoken(), query) |> verify_flowr_response()
4848
map <- res$res$results[["id-map"]]$idMap$k2v
49-
return(setNames(lapply(map, `[[`, 2), lapply(map, `[[`, 1)))
49+
return(stats::setNames(lapply(map, `[[`, 2), lapply(map, `[[`, 1)))
5050
})
5151
}
5252

tests/testthat/helper.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ file_with_content <- function(content, ext = ".R") {
1414
skip_if_no_flowr <- function() {
1515
tryCatch(get_connection(),
1616
warning = function(e) {
17-
skip(sprintf("flowr is not reachable under %s:%s", get_option("flowr_host"), get_option("flowr_port")))
17+
testthat::skip(sprintf("flowr is not reachable under %s:%s", get_option("flowr_host"), get_option("flowr_port")))
1818
}
1919
)
2020
}

0 commit comments

Comments
 (0)