Skip to content

Commit 69005ea

Browse files
committed
Update msg
1 parent 3327b2f commit 69005ea

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

R/utils_assert.R

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -288,14 +288,14 @@ assert_script <- function() {
288288
)
289289
assert_not_in(vars, choices, msg)
290290
msg <- paste(
291-
"Do not use %s() from {devtools} or {pkgload} to load ",
292-
"packages or custom functions/globals for {targets}. If you do, ",
293-
"custom functions will go to a package environment where {targets} ",
294-
"may not track them, and the loaded data will not be available in ",
295-
"parallel workers created by tar_make_clustermq() or tar_make_future(). ",
296-
"Read https://books.ropensci.org/targets/practices.html#loading-and-configuring-r-packages ", # nolint
297-
"and https://books.ropensci.org/targets/practices.html#packages-based-invalidation ", # nolint
298-
"for the correct way to load packages for {targets} pipelines. ",
291+
"Do not use %s() from {devtools} or {pkgload} to load",
292+
"packages or custom functions/globals for {targets}. If you do,",
293+
"custom functions will go to a package environment where {targets}",
294+
"may not track them, and the loaded data will not be available in",
295+
"parallel workers created by tar_make_clustermq() or tar_make_future().",
296+
"Read https://books.ropensci.org/targets/practices.html#loading-and-configuring-r-packages", # nolint
297+
"and https://books.ropensci.org/targets/practices.html#packages-based-invalidation", # nolint
298+
"for the correct way to load packages for {targets} pipelines.",
299299
"Suppress this warning with Sys.getenv(TAR_WARN = \"false\")."
300300
)
301301
for (loader in c("load_all", "load_code", "load_data", "load_dll")) {

0 commit comments

Comments
 (0)