usethis 1.6.0
GitHub actions
- 
New use_github_actions(),use_github_action_check_release(),
 use_github_action_check_full(),use_github_action_pr_commands(),
 to set up a GitHub Actions for a package (@jimhester).
- 
We now recommend GitHub Actions instead of Travis-CI or AppVeyor, and strongly 
 recommend upgrading your packages.
- 
Fix use_github_action()URL parameter to ensure custom URLs are allowed.
 (@coatless, #1065).
Package creation
- 
create_package()gains aroxygenargument. IfTRUE(the default),
 it adds aRoxygenNotefield to theDESCRIPTION(which means the first run
 ofdevtools::check()will re-document the package, #963), and creates an
 emptyNAMESPACE(which means you'll always need an explicit@export
 if you want to export functions, #927). It also turns markdown processing
 on by default (#911).
- 
use_rstudio()now sets theLineEndingConversiontoPosixso that
 packages created using usethis always use LF line endings, regardless of
 who contributes to them (#1002).
- 
In the usethis.descriptionoption, you can now setAuthors@R = person()
 directly, without having to wrap in additional layer of quotes. If setting
 this in your.Rprofile, you'll need to useutils::person()since the utils
 package isn't loaded until after your profile is executed.
PR helpers
- 
A new article Pull request helpers 
 demonstrates how to use thepr_*()functions (@mine-cetinkaya-rundel, #802).
- 
pr_finish()checks that you don't have any local changes (#805), and can
 optionally finish any PR, not just the current (#1040).
- 
pr_pause()andpr_fetch()now automatically pull to get latest changes
 (#959, #960) and refresh RStudio's git pane (#706).
- 
pr_push()now works for a repository with no open pull requests
 (@maurolepore, #990).
- 
pr_pull()gives more information about which files have merge conflicts
 and automatically opens conflicted files for editing (#1056).
Other new features
- 
New rename_files()makes it easy to rename pairedR/andtest/files
 (#784).
- 
New ui_silence()makes it easier to selectively silence some UI output.
- 
New use_agpl3_license()(@pachamaltese, #870).
- 
New use_data_table()to set up a package for Import-ingdata.table
 (@MichaelChirico, #897).
- 
use_latest_dependencies()replacesuse_tidy_version()as the new name
 better reflect its usage (#771).
- 
New use_lifecycle()helper to import the lifecycle badges for functions and
 arguments in your package. Learn more at https://lifecycle.r-lib.org/.
- 
use_release_issuue()will include additional bullets if your package
 includesrelease_bullets()function which returns a character
 vector (and the package has been loaded withload_all()) (#941).
Minor improvements and bug fixes
- 
When writing files, usethis now respects line endings. Default line endings 
 are taken from the.Rprojfile (if available), otherwise theDESCRIPTION,
 otherwise the first file found inR/, then all else failing to your
 platform default (#767). It should do a better job of preserving UTF-8 files
 on windows (#969).
- 
browse_github()now always goes to the canonical GitHub site:
 https://github.com/user/repo. This is slightly worse than the current
 behaviour but makes the function more consistent across packages, and
 considerably simplifies the implementation.
- 
browse_circle()opens the project dashboard on Circle CI.
- 
create_download_url()is a new helper for making "ZIP file download"
 URLs suitable for use withuse_course()anduse_zip(), starting with the
 URLs that mere mortals can usually get their hands on in a browser
 (@fmichonneau, #406).
- 
create_package()no longer fails partway through if you have a malformed
 usethis.descriptionoption (#961).
- 
create_package()will now create a package in a symlink to a directory
 (#794).
- 
create_package()anduse_description()gain acheck_nameargument to
 control whether to check for package names invalid for CRAN (@noamross, #883).
- 
edit_file()anduse_test()gain anopenparameter that allows you to
 control whether or not the function is opened for editing by the user (#817).
- 
edit_rstudio_snippets()makes it more clear which snippet types are
 allowed and that user's snippets mask the built-in snippets (@GegznaV, #885).
- 
git_sitrep()now reports project-specific user name and email, if set
 (#837), and email(s) associated with your GitHub account (@dragosmg, #724).
- 
ui_yeah()andui_nope()allow you to override the default "yes" and
 "no" strings and to opt-out of shuffling (@rundel, #796).
- 
use_circleci()uses correct delimiters in template (@jdblischak, #835).
- 
use_code_of_conduct()now generates an absolute link to code of conduct on
 pkgdown website or original source to avoid R CMD check issues (#772).
- 
use_course()anduse_zip()are now equipped with some retry capability,
 to cope with intermittent failure or the need for a longer connect timeout
 (#988).
- 
use_data()automatically bumps R dependency to 2.10 (#962).
- 
use_data_raw()template quotes the dataset name correctly
 (#736, @mitchelloharawild).
- 
use_description_defaults()now shows the default fields combined with
 any options that you have set.
- 
use_dev_package()now supports packages installed from any remote type,
 not just GitHub (@antoine-sachet, #1071).
- 
use_git()will now create initial commit if needed (#852).
- 
use_github_release()no longer fails if you have no news bullets (#1048).
- 
use_github_release()now tags the latest local commit instead of the latest
 remote commit on the default branch (@davidchall, #1029).
- 
use_gpl3_license()now completes the license by providing additional
 information in a file named LICENSE, just likeuse_mit_license()and
 friends (@Cervangirard, #683).
- 
use_logo()now generates the correct href if the pkgdownurlis set
 (@mitchelloharawild, #986).
- 
use_make()gains missing closing parenthesis (@ryapric, #804).
- 
use_markdown_template()no longer uses an unexported function in its
 default arguments (@fmichonneau, #761).
- 
use_testthat()anduse_test()now work in projects, not just packages
 (#1017).
- 
use_test()works on Windows when called without arguments (#901).
- 
use_tidy_issue_template()uses current github format (@Maschette, #756).
- 
use_travis(),use_travis_badge(), andbrowse_travis(), now default
 toext = "com"since travis-ci.com is now recommended it over travis-ci.org
 (@riccardoporreca, #1038).
- 
use_release_issue()reminds you to re-generateREADME.md,
 if needed (#767).
- 
use_r()anduse_test()throw a clear error if multiple names are provided
 (@strboul, #862).
- 
use_rcpp()anduse_c()now ensuresrc/contains at least one.cppor
 .cplaceholder file, so that the package can be built (@coatless, #720).
- 
usethis.destdiris a new option that is consulted when deciding where to
 put a new folder created byuse_course()orcreate_from_github()
 (@malcolmbarrett, #1015).
Dependency changes
New Imports: cli, rematch2, rlang.
gh minimum version is bumped to v.1.1.0, due to changed behaviour around requests that return nothing.
clisymbols is removed from Imports.