Skip to content

Commit f1ac535

Browse files
GHA: Make 'strict' mode more strict
1 parent 8781dc7 commit f1ac535

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,13 @@ jobs:
130130
run: |
131131
if ("${{ matrix.config.strict }}" == "true") {
132132
# FIXME: Sys.setenv(R_FUTURE_CONNECTIONS_ONMISUSE = "error[details=TRUE]")
133+
Sys.setenv(NOT_CRAN = "true")
133134
Sys.setenv(R_FUTURE_GLOBALENV_ONMISUSE = "error")
134135
Sys.setenv(R_FUTURE_RNG_ONMISUSE = "error")
136+
Sys.setenv(R_FUTURE_FUTURE_EARLYSIGNAL = "defunct")
137+
Sys.setenv(R_FUTURE_FUTURE_LOCAL = "defunct")
138+
Sys.setenv(R_FUTURE_FUTURE_GC = "defunct")
139+
Sys.setenv(R_FUTURE_PLAN_EARLYSIGNAL = "defunct")
135140
}
136141
if (nzchar(Sys.getenv("R_FUTURE_PLAN")) || getRversion() < "3.5.0") Sys.setenv(RCMDCHECK_ERROR_ON = "error")
137142
rcmdcheck::rcmdcheck(
@@ -149,6 +154,10 @@ jobs:
149154
Sys.setenv(R_FUTURE_DEVICES_ONMISUSE = "error")
150155
Sys.setenv(R_FUTURE_GLOBALENV_ONMISUSE = "error")
151156
Sys.setenv(R_FUTURE_RNG_ONMISUSE = "error")
157+
Sys.setenv(R_FUTURE_FUTURE_EARLYSIGNAL = "defunct")
158+
Sys.setenv(R_FUTURE_FUTURE_LOCAL = "defunct")
159+
Sys.setenv(R_FUTURE_FUTURE_GC = "defunct")
160+
Sys.setenv(R_FUTURE_PLAN_EARLYSIGNAL = "defunct")
152161
}
153162
rcmdcheck::rcmdcheck(
154163
args = c("--no-manual", "--as-cran",

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
was effectively already the case, because of an internal thinko
3535
bug.
3636

37-
* Remove internal future field 'envir'.
37+
* Remove internal future field `envir`.
3838

3939

4040
# Version 1.68.0 [2025-11-16]

0 commit comments

Comments
 (0)