Skip to content

Commit ab30e7b

Browse files
committed
Avoid partial matches
1 parent 938156c commit ab30e7b

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Description: Pipeline tools coordinate the pieces of computationally
1212
The methodology in this package
1313
borrows from GNU 'Make' (2015, ISBN:978-9881443519)
1414
and 'drake' (2018, <doi:10.21105/joss.00550>).
15-
Version: 1.9.0.9001
15+
Version: 1.9.0.9002
1616
License: MIT + file LICENSE
1717
URL: https://docs.ropensci.org/targets/, https://github.com/ropensci/targets
1818
BugReports: https://github.com/ropensci/targets/issues

NEWS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# targets 1.9.0.9001 (development)
1+
# targets 1.9.0.9002 (development)
22

33
## Bug fixes
44

55
* Allow branch references to contain multi-element `path` vectors with cloud metadata (#1382, @n8layman).
6+
* Avoid partial matches in internal code (#1384, @olivroy).
67

78
# targets 1.9.0
89

R/class_database.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ database_class <- R6::R6Class(
110110
set_row = function(row) {
111111
lookup_set(
112112
.subset2(self, "lookup"),
113-
name = as.character(.subset2(row, "name")),
113+
names = as.character(.subset2(row, "name")),
114114
object = as.list(row)
115115
)
116116
},

R/class_future.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ future_class <- R6::R6Class(
134134
future <- do.call(what = future::future, args = args)
135135
lookup_set(
136136
lookup = self$worker_list,
137-
name = target_get_name(target),
137+
names = target_get_name(target),
138138
object = future
139139
)
140140
},

R/class_summary.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ summary_class <- R6::R6Class(
1616
}
1717
},
1818
report_start = function() {
19-
cli_df_header(progress_init(path = tempfile())$cli_data())
19+
cli_df_header(progress_init(path_store = tempfile())$cli_data())
2020
},
2121
report_progress = function(progress, force = FALSE) {
2222
self$buffer <- cli_df_body(progress$cli_data(), print = FALSE)

R/tar_config_set.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ tar_config_set <- function(
213213
yaml[[project]]$as_job <- as_job %|||% yaml[[project]]$as_job
214214
yaml[[project]]$garbage_collection <- garbage_collection %|||%
215215
yaml[[project]]$garbage_collection
216-
yaml[[project]]$label <- label %|||% yaml[[project]]$label
216+
yaml[[project]][["label"]] <- label %|||% yaml[[project]][["label"]]
217217
yaml[[project]]$label_width <- label_width %|||% yaml[[project]]$label_width
218218
yaml[[project]]$level_separation <- level_separation %|||%
219219
yaml[[project]]$level_separation

tests/testthat/test-class_builder.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ tar_test("builder writing from worker", {
207207
})
208208

209209
tar_test("retrieval = \"none\"", {
210-
skip_cran()
211210
skip_cran()
212211
tar_script({
213212
list(

0 commit comments

Comments
 (0)