Skip to content

usethis 1.5.1

Compare
Choose a tag to compare
@jennybc jennybc released this 04 Jul 15:41

This is a patch release with various small features and bug fixes.

Using the pipe %>% or the tidy eval toolkit in your package

  • The templates used by use_pipe() and use_tidy_eval() use a more robust
    form of cross-reference links, linking to files rather than topics. This
    should silence some warnings seen on Windows at install time
    (#730, #731 @jmgirard).

  • use_pipe() gains a logical export argument, so it can do the setup
    necessary to use the pipe operator when it is re-exported
    (export = TRUE, which is the default and preserves the previous behaviour)
    and when it is not (export = FALSE) (#783).

Git, GitHub, and pull requests

  • use_github() removes newline \n characters from the description that
    can cause the initial push to fail (#493, @muschellij2).

  • git_sitrep() gives better feedback if we can't validate the GitHub PAT
    (#725, @ijlyttle).

  • create_from_github() sets remote tracking branch of master to
    upstream/master, when it creates (and clones) a fork (#792).

  • pr_pause() can switch back to master even if there is no remote tracking
    branch (#715, @cderv).

Build tools and continuous integration

  • use_tidy_ci() is updated for R 3.6, meaning that R 3.2 is the oldest version
    of R supported through proactive testing.

  • use_make() and use_jenkins() add a Makefile and Jenkinsfile, respectively
    (#501, @ryapric).

  • use_circleci() creates a .circleci/config.yaml config file for CircleCI
    (#703, @jdblischak).

Other

  • use_zip() is a new variant of use_course() that downloads and unpacks a
    ZIP file, with less pedantic behaviour re: the destination directory. Both
    functions now also work for ZIP files with MIME type
    "application/x-zip-compressed" (#573).

  • use_version() can detect "(development version)" in a NEWS header and
    update it with an actual version (#768, @DavisVaughan).

Dependency changes

R 3.1 is no longer explicitly supported or tested. Our general practice is to support the current release (3.6, at time of writing), devel, and the 4 previous versions of R (3.5, 3.4, 3.3, 3.2).

fs minimum version is stated to be v1.3.0.

glue minimum version is stated to be v1.3.0.