From 5d3f5be8ddfdb1d1c92ecbd2d8681bcf07802e51 Mon Sep 17 00:00:00 2001 From: wlandau Date: Mon, 19 Feb 2024 16:24:28 -0500 Subject: [PATCH] Improve message --- R/class_process.R | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/R/class_process.R b/R/class_process.R index d22dfaf7..f6f73a8f 100644 --- a/R/class_process.R +++ b/R/class_process.R @@ -90,14 +90,17 @@ process_class <- R6::R6Class( dirname(dirname(self$database$path)), "folder as the local data store for data and metadata files.", "Please do not attempt to run more than one pipeline on the same", - "data store because it will mangle thos important local files.", + "data store because it will mangle those important local files.", "Before trying again, check that process", pid, "is really a {targets} pipeline and not a false positive,", "then terminate it manually. In case of a false positive,", - "remove file", - self$database$path, - "and try again." + "remove the file", + shQuote(self$database$path), + "and try again. False positives may happen if you run", + "different calls to tar_make() in quick succession", + "or if you run tar_make(callr_function = NULL) in a", + "different R process and keep that process running." ) ) # nocov end