Skip to content

False positive in condition_message_linter() for list$stop() #1455

Description

@MichaelChirico

As seen in r-devel:

https://github.com/r-devel/r-svn/blob/9bcb4bef2979e608804fb37ab6471b4894bfa2b2/src/library/compiler/R/cmp.R#L2204-L2206

cntxt$stop(
    paste(sQuote(name), "is not a registered math1 function"),
    cntxt, loc = cb$savecurloc())

We should simply ignore calls after $.

Activity

  1. changed the title [-]False positive in condition_message_linter() for list$stop()[/-] [+]False positive in `condition_message_linter()` for `list$stop()`[/+] on Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    false-positivecode that shouldn't lint, but does

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions