Skip to content

Commit a6662df

Browse files
nzchar() thinko for unsetting R_FUTURE_PLAN
1 parent a77ea9b commit a6662df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/zzz.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ attr(multicore, "backend") <- MulticoreFutureBackend
2424
## runs checks on examples, because, for instance,
2525
## R_FUTURE_PLAN=multisession, will create connections that
2626
## the check code will think are left over connections.
27-
if (!nzchar(Sys.getenv("R_FUTURE_PLAN")) && "CheckExEnv" %in% search()) {
27+
if (nzchar(Sys.getenv("R_FUTURE_PLAN")) && "CheckExEnv" %in% search()) {
2828
Sys.unsetenv("R_FUTURE_PLAN")
2929
}
3030

0 commit comments

Comments
 (0)