What changes if we do it
R CMD check goes to 0 errors, 0 warnings, 0 notes, so #52 can land an R-CMD-check
workflow that is green on day one.
What happens if we never do
#52 lands and the new workflow is red on its first run, for a reason unrelated to whatever
PR triggers it. The likely outcome is that the workflow gets error_on: "error" to quieten it,
which is exactly the setting that would let a real WARNING through later.
The finding
Measured 2026-09-20 while releasing v0.13.0. devtools::check() on a clean tree:
0 errors ✔ | 1 warning ✖ | 0 notes ✔
❯ checking code files for non-ASCII characters ... WARNING
Found the following file with non-ASCII characters:
R/fly_mask.R
It is pre-existing — present on origin/main before #59 — and fly_mask.R is the only
file affected. The characters are em-dashes in the roxygen block:
#' Scanned airphotos carry a black collar <e2><80><94> film holder edges, fiducial marks ...
R CMD check tolerates non-ASCII in comments "except perhaps in comments", but is reporting
it here anyway, so the escape is required.
Why it has not bitten
The repo runs pkgdown only (.github/workflows/pkgdown.yaml is the sole workflow), so
nothing currently executes R CMD check. That is #52.
Fix
tools::showNonASCIIfile("R/fly_mask.R") lists the lines; replace each em-dash with —
or a plain ASCII dash. Worth doing before #52 rather than inside it, so the workflow's
first run is a clean signal about the workflow rather than about this.
Blocks #52.
What changes if we do it
R CMD checkgoes to 0 errors, 0 warnings, 0 notes, so #52 can land an R-CMD-checkworkflow that is green on day one.
What happens if we never do
#52 lands and the new workflow is red on its first run, for a reason unrelated to whatever
PR triggers it. The likely outcome is that the workflow gets
error_on: "error"to quieten it,which is exactly the setting that would let a real WARNING through later.
The finding
Measured 2026-09-20 while releasing v0.13.0.
devtools::check()on a clean tree:It is pre-existing — present on
origin/mainbefore #59 — andfly_mask.Ris the onlyfile affected. The characters are em-dashes in the roxygen block:
#' Scanned airphotos carry a black collar <e2><80><94> film holder edges, fiducial marks ...R CMD checktolerates non-ASCII in comments "except perhaps in comments", but is reportingit here anyway, so the escape is required.
Why it has not bitten
The repo runs pkgdown only (
.github/workflows/pkgdown.yamlis the sole workflow), sonothing currently executes
R CMD check. That is #52.Fix
tools::showNonASCIIfile("R/fly_mask.R")lists the lines; replace each em-dash with—or a plain ASCII dash. Worth doing before #52 rather than inside it, so the workflow's
first run is a clean signal about the workflow rather than about this.
Blocks #52.