Skip to content

audit for backticked package names #1134

@simonpcouch

Description

@simonpcouch

In many places in parsnip, the package name is written "parsnip" rather than "parsnip" (i.e. there are backticks before and after). Per tidy style, package names don't need backticks.

Here's an example GitHub search:

https://github.com/search?q=repo%3Atidymodels%2Fparsnip+%22%60parsnip%60%22&type=code

Let's search for tidymodels and tidyverse package names and make sure they're not backticked.

The part that makes this a little more tricky than a Find and Replace is knowing when the thing should actually be backticked vs. not. If the text is definitely referencing parsnip as a package, take the backticks away. If there's e.g. a reference to the tune() function rather than the package tune, leave it as is (making sure to include parentheses following function names if needed). Be sure to devtools::document() and/or devtools::build_readme() before putting in the PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions