Skip to content
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

matrix_apply_linter() fails with interweaved comments #2825

Open
MichaelChirico opened this issue Mar 10, 2025 · 0 comments
Open

matrix_apply_linter() fails with interweaved comments #2825

MichaelChirico opened this issue Mar 10, 2025 · 0 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@MichaelChirico
Copy link
Collaborator

As fixed in #2822, matrix_apply_linter() errors under the following test:

expect_lint(
  trim_some("
    apply(x, 2, #comment
    mean)
  "),
  ".",
  matrix_apply_linter()
)
# Error in `lint(file, ...)`: Linter `linter()` failed in '/tmp/Rtmpzq66vo/file2ed877bdfc561':
# Caused by error in `parse()`:
# ! <text>:2:0: unexpected end of input
# 1: apply(x,2,#commentmean)
#    ^
@MichaelChirico MichaelChirico added the bug an unexpected problem or unintended behavior label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant