Skip to content

Best practices for extra CRAN checks?Β #21

Open
@dgkf

Description

@dgkf

Hi chefs of the CRAN cookbook πŸ‘©β€πŸ³

I've often wondered what the best path would be for distributing developer-side extra CRAN checks.

I'm frequently guilty of not documenting all return types or including examples in non-exported functions and I feel sorry for the CRAN folks that frequently have to remind me to satisfy these easily satisfied checks.

For my own common pitfalls I have a little script I run on my side (when I remember) to try to get ahead of this, but I'm wondering if there's a better way to build up a library of additional checks.

  • There's already R CMD check --as-cran, but it seems to lag behind CRAN's policies
  • Would it be worth packaging a few of these checks in a place where they can be co-developed with the CRAN team?
  • Maybe there are existing tools that I'm just not aware of?

Any ideas on how we can make it easier to satisfy the easily automated checks?

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