Skip to content

Commit d3d4f7e

Browse files
Document option 'future.delete' [#63]
1 parent 025bf44 commit d3d4f7e

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

R/options.R

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,26 @@
2828
#' This option controls how many lines are displayed.
2929
#' (Default: `48L`)}
3030
#'
31-
#' \item{\option{future.cache.path} / \env{R_FUTURE_CACHE_PATH}}{
31+
#' \item{\option{future.cache.path} / \env{R_FUTURE_CACHE_PATH}:}{
3232
#' (character string)
3333
#' An absolute or relative path specifying the root folder in which
3434
#' \pkg{batchtools} registry folders are stored.
3535
#' (Default: `.future`)}
36+
#'
37+
#' \item{\option{future.delete}:}{(logical)
38+
#' Controls whether or not the future's \pkg{batchtools} registry folder
39+
#' is deleted after the future result has been collected.
40+
#' If TRUE, it is always deleted.
41+
#' If FALSE, it is never deleted.
42+
#' If not set or NULL, the it is deleted, unless running in non-interactive
43+
#' mode and the batchtools job failed or expired, which helps to
44+
#' troubleshoot when running in batch mode.
45+
#' (Default: NULL (not set))}
3646
#' }
3747
#'
3848
#' @aliases
3949
#' future.cache.path
50+
#' future.delete
4051
#' future.batchtools.expiration.tail
4152
#' future.batchtools.output
4253
#' future.batchtools.workers

man/future.batchtools.options.Rd

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)