Skip to content

Relax 1:n check (false positive) #256

Description

@Bisaloo

BiocCheck will complain on patterns such as:

1:10

But I think this is fine if the second element is an integer literal. The danger of 1: only lies when the second element is a variable is:

1:n

I believe having this check lump both cases together is doing a disservice to users as it doesn't help them understand why and when : is bad.

It also makes BiocCheck unnecessary noisy and teaches users to ignore it, even for a number of important issues currently reported in existing packages.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions