Skip to content

Devtools 1.13.0

Compare
Choose a tag to compare
@jimhester jimhester released this 08 May 17:50
· 801 commits to main since this release

This release contains a number of bugfixes and should be the last release of the monolithic devtools package. After this release much of devtools' functionality will be split into separate smaller packages, however the devtools package will still remain as a meta package.

New Features

  • spell_check gains a dict argument to set a custom language or dictionary

  • release() now checks documentation for spelling errors by default.

  • New use_gpl3_license() sets the license field in DESCRIPTION and
    includes a copy of the license in LICENSE.

Revdep check improvements

  • Various minor improvements around checking of reverse dependencies
    (#1284, @krlmlr). All packages involved are listed at the start,
    the whole process is now more resilient against package
    installation failures.

  • revdep_check() and revdep_check_resume() gain a skip argument
    which takes a character vector of packages to skip.

  • revdep_check() and check_cran() gain a quiet_check argument.
    You can use quiet_check = FALSE to see the actual text of R CMD
    check as it runs (not recommending with multiple threads).

  • revdep_check_resume() now takes ... which can be used to
    override settings from revdep_check(). For debugging a problem
    with package checks, try
    revdep_check(threads = 1, quiet_check = FALSE)

  • revdep_check() collects timing information in timing.md (#1319, @krlmlr).

  • Package names and examples are sorted in case-insensitive C collation (#1322, @krlmlr).

  • use_revdep() adds .gitignore entry for check database (#1321, @krlmlr).

  • Own package is installed in temporary library for revdep checking (#1338, @krlmlr).

  • Automated revdep check e-mails now can use the new my_version and
    you_cant_install variables. The e-mail template has been updated
    to use these variables (#1285, @krlmlr).

  • Installation failures are logged during revdep checking, by default in
    revdep/install. Once an installation has failed, it is not attempted
    a second time (#1300, @krlmlr).

  • Print summary table in README.md and problems.md (#1284, @krlmlr).Revdep
    check improvements (#1284)

Bug fixes and minor improvements

  • Handle case of un-installed package being passed to session_info (#1281).

  • Using authentication to access Github package name. (#1262, @eriknil).

  • spell_check() checks for hunspell before running (#1475, @jimvine).

  • add_desc_package() checks for package dependencies correctly (#1463, @thomasp85).

  • Remove deprecated args argument from install_git() to allow passthrough to install (#1373, @ReportMort).

  • added a quiet argument to install_bitbucket(), with a default value
    of FALSE (fixes issue #1345, @plantarum).

  • update_packages() allows for override of interactive prompt (#1260, @pkq).

  • use_test() template no longer includes useless comments (#1349)

  • Add encoding support in test_dir() call by adding reference to pkg$encoding (#1306, @hansharhoff)

  • Parse valid Git remote URLs that lack trailing .git, e.g. GitHub browser URLs (#1253, @jennybc).

  • Add a check_bioconductor() internal function to automatically install
    BiocInstaller() if it is not installed and the user wants to do so.

  • Improve Git integration. use_git_ignore() and use_git_config() gain
    quiet argument, tests work without setting user.name and user.email Git
    configuration settings (#1320, @krlmlr).

  • Improve Git status checks used in release() (#1205, @krlmlr).

  • Improved handling of local file:// repositories in install() (#1284, @krlmlr).

  • setup() and create() gain new quiet argument (#1284, @krlmlr).

  • Avoid unnecessary query of available_packages() (#1269, @krlmlr).

  • Add cache setting to AppVeyor template (#1290, @krlmlr).

  • Fix AppVeyor test by manually installing curl (#1301).

  • install(dependencies = FALSE) doesn't query the available packages anymore (@krlmlr, #1269).

  • use_travis() now opens a webpage in your browser to more easily activate
    a repo.

  • use_readme_rmd() and use_readme() share a common template with sections
    for package overview, GitHub installation (if applicable), and an example
    (@jennybc, #1287).

  • test() doesn't load helpers twice anymore (@krlmlr, #1256).

  • Fix auto download method selection for install_github() on R 3.1 which
    lacks "libcurl" in capabilities(). (@kiwiroy, #1244)

  • Fix removal of vignette files by not trying to remove files twice anymore (#1291)