get_source_expressions() should get a way to parse encodings directly #2806
Labels
blocked-internal
Fulfillment of this issue is blocked until another lintr issue is finished
feature
a feature request or enhancement
lintr/R/get_source_expressions.R
Line 64 in 700607e
Follow-up to #2803. Here as well we have
get_source_expressions()
relying onsettings$encoding
having been set elsewhere, meaning it's not very useful to callget_source_expressions()
directly on a nonstandard-encoded file whose encoding can be inferred from settings.Probably easiest to just expose
encoding=
as an argument, and/or possibly includeparse_settings
as an argument.The text was updated successfully, but these errors were encountered: