PecanProject / pecan

The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.
www.pecanproject.org
Other
202 stars 234 forks source link

Edit PR template to remind to run checks locally #2988

Closed Aariq closed 1 year ago

Aariq commented 2 years ago

Description

Now that pecanproject.r-universe.dev exists, it should be easier to run devtools::check() locally. For devtools to install all the dependencies of a particular package it just needs to know about r-universe in .Rprofile (added in #2985). devtools::install_deps() should work now.

Proposed Solution

Add checkbox:

Aariq commented 1 year ago

I guess this isn't in there because only new check problems are expected to be fixed on PRs.

infotroph commented 1 year ago

If you want to keep this, a local make check calls scripts/check_with_errors.R and therefore only stops on new errors/warnings/notes. So the checkbox could be something like "I have run make check locally..."

But TBH it seems like most of us have been completely ignoring the PR template (I sure know I have 🙈), so is it still useful to have?