fix(ci): do not print a missing timing as "NAs" #210

Merged
pat-s merged 1 commit from fix/verify-routing-na-seconds into main 2026-09-09 15:01:30 +00:00

View file

@ -96,7 +96,10 @@ emit <- function(package, status, built = "", secs = NA_real_) {
r_minor,
package,
status,
sprintf("%s|%.1fs", built, secs)
# `%.1f` renders NA as the literal "NAs", which reads as a unit rather
# than as a missing measurement. A package that was never in the index
# has no timing at all.
if (is.na(secs)) built else sprintf("%s|%.1fs", built, secs)
)
)
}