jonthegeek / stbl

Stabilize Function Arguments
https://jonthegeek.github.io/stbl/
Other
14 stars 0 forks source link

to_fct: Enumerate options #67

Open jonthegeek opened 9 months ago

jonthegeek commented 9 months ago

For to_fct(), the error message says "All values of location must be present in levels or to_na."

When those are fixed values, the user doesn't know what levels and to_na are referring to. Instead give the list of acceptable values (potentially pointing out the ones that will be treated as NA).