Skip to content

Commit

Permalink
Use parallel tests, avoid partial matching, remove unnecessary instru…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
olivroy committed Nov 21, 2024
1 parent 938156c commit 693dbb8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,7 @@ Encoding: UTF-8
Language: en-US
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/testthat/parallel: TRUE
Config/testthat/start-first: tar_repository_cas_local,tar_outdated,tar_repository_cas,tar_sitrep
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
2 changes: 1 addition & 1 deletion R/class_database.R
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ database_class <- R6::R6Class(
set_row = function(row) {
lookup_set(
.subset2(self, "lookup"),
name = as.character(.subset2(row, "name")),
names = as.character(.subset2(row, "name")),
object = as.list(row)
)
},
Expand Down
2 changes: 1 addition & 1 deletion R/class_future.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ future_class <- R6::R6Class(
future <- do.call(what = future::future, args = args)
lookup_set(
lookup = self$worker_list,
name = target_get_name(target),
names = target_get_name(target),
object = future
)
},
Expand Down
1 change: 0 additions & 1 deletion tests/testthat/test-class_builder.R
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ tar_test("builder writing from worker", {
})

tar_test("retrieval = \"none\"", {
skip_cran()
skip_cran()
tar_script({
list(
Expand Down

0 comments on commit 693dbb8

Please sign in to comment.