Skip to content

Contributing uses deprecated install_dev_deps() and devtools::check() before changes #2238

@JesseAlderliesten

Description

@JesseAlderliesten

The Contributing document instructs to use devtools::install_dev_deps() to install the needed dependencies, but for devtools >= 2.5.0 this issues the warning

`install_dev_deps()` was deprecated in devtools 2.5.0.
ℹ Please use `pak::local_install_dev_deps()` instead.

So pak::local_install_dev_deps() could be added.

Also, the guide says to run devtools::check() before any change is made and does not recommend running it after changes are made.
I suppose running devtools::check() before making any changes is a good habit to ensure the baseline situation is fine, but running it after making changes seems helpful to prevent R cmd check failing when making a pull requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions