Skip to content

Commit b503246

Browse files
Calling sequential() is an error, unless 'fiery' is loaded - minimal, temporary workaround until 'fiery' is updated
1 parent 3104648 commit b503246

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/backend_api-SequentialFutureBackend-class.R

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
#' @aliases uniprocess
2828
#' @export
2929
sequential <- function(..., envir = parent.frame()) {
30-
# stop("The future::sequential() function implements the FutureBackend and should never be called directly. This will soon become defunct")
30+
if (! "fiery" %in% loadedNamespaces()) {
31+
stop("The future::sequential() function implements the FutureBackend and should never be called directly. This will soon become defunct")
32+
}
3133
f <- Future(..., envir = envir)
3234
class(f) <- c("SequentialFuture", "UniprocessFuture", "Future")
3335
f

0 commit comments

Comments
 (0)