# will produce lints
lint(
text = "'abcdefg/hijklmnop/qrst/uv/wxyz'",
linters = nonportable_path_linter()
)
# okay
lint(
text = "file.path('abcdefg', 'hijklmnop', 'qrst', 'uv', 'wxyz')",
linters = nonportable_path_linter()
)
Run the code above in your browser using DataLab