Skip to content

absolute_path_linter() warns on non-UTF8 strings #2836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MichaelChirico opened this issue Mar 16, 2025 · 1 comment
Open

absolute_path_linter() warns on non-UTF8 strings #2836

MichaelChirico opened this issue Mar 16, 2025 · 1 comment

Comments

@MichaelChirico
Copy link
Collaborator

As observed in {DBItest}:

https://github.com/r-dbi/DBItest/blob/5bc5fd126c24d403dfde2e2da464421f1c9bada9/R/spec-meta-bind-arrow-stream.R#L424

lint("'M\\xfcller'\n", absolute_path_linter())
# ℹ No lints found.
# Warning message:
# In regexpr(pattern = pattern, data, perl = TRUE, ...) :
#   input string 1 is invalid UTF-8
@MichaelChirico
Copy link
Collaborator Author

The same applies to nonportable_path_linter() of course

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant