co-analysis / a11ytables

R package: generate best-practice stats spreadsheets for publication
https://co-analysis.github.io/a11ytables/
Other
42 stars 3 forks source link

Force error if tab title starts with a numeral #125

Closed matt-dray closed 6 months ago

matt-dray commented 6 months ago

Closes #124.

Doesn't solve the underlying problem, but prevents it from happening. Error preferred to warning because I don't think there's a good autocorrection (putting an underscore at the start probably isn't helpful). Added some tests and noted in function docs and vignette.