-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Factor out internals of use_tidy_upkeep_issue * add generic use_upkeep_issue: - add 'tidy' arg to make_upkeep_issue() - add generic checklist and some helpers for conditial creation of todos * Add test for use_upkeep_issue, update snapshots * document * negate uses_testthat_edition * Update documentation for use_upkeep_issue() * Add some todos to use_upkeep_checklist; update snap * styling * Conditionally add lifecycle to upkeep checklist * Tests for upkeep_checklist * skip upkeep_checklist test if no git user * Add ability to include custom upkeep bullets * Better title for use_upkeep_checklist() Co-authored-by: Jennifer (Jenny) Bryan <[email protected]> * Styling and bullet formatting; document * Remove url_check() from upkeep checklist, add backticks * tidy up tests - use local_mocked_bindings, use_package * Update snapshots * Separate todos for using tessthat vs upgrading * Tests for upkeep - use local_mocked_bindings for git branch names - use local_edition for testthat edition * Remove year from use_upkeep_issue body, only in title. Default to current year * Remove superfluous empty line * Rename tidy-upkeep to upkeep * Reorganize upkeep.R similar to github-actions. R * use proj_path to find the README Co-authored-by: Jennifer (Jenny) Bryan <[email protected]> * Add NEWS item for use_upkeep_issue * year always appears in upkeep issue title, defaults to current year. * for `use_tidy_upkeep_issue()`, if `year` is specified it will be used in the title and used to select the subset of checklist items included (as before). If `year` is `NULL`, the current year will be in the issue title, but all current and previous checklists will be included. * for `use_upkeep_issue()` `year` is only used in the title, as there are not multiple year-based checklists. * Add footer to upkeep issue with usethis version * Mock checklist_footer in tests to avoid spurious snapshot changes * Remove superfluous period Co-authored-by: Jennifer (Jenny) Bryan <[email protected]> * Only show cran-comments bullet if cran-comments.md exists * Use transform in expect_snapshot() instead of local_mocked_bindings() * Update snapshot * run styler * update snapshot (R version changed overnight) * Move NEWS bullet to the top as per style guide * suggest use_github_action() unconditionally Co-authored-by: Hadley Wickham <[email protected]> * remove use_citation() bullet * Add angle brackets to urls * update tests and snapshots * Check cran-comments.md for test environments * More specific check for test env in cran-comments * remove lifecycle bullet from upkeep_checklist() --------- Co-authored-by: Jennifer (Jenny) Bryan <[email protected]> Co-authored-by: Hadley Wickham <[email protected]>
- Loading branch information
1 parent
15b8236
commit 22c2911
Showing
9 changed files
with
307 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.