pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/R-usethis (devel/R-usethis) Updated 1.5.1 to 1.6.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23baf839bfe6
branches:  trunk
changeset: 439433:23baf839bfe6
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Sep 20 00:27:59 2020 +0000

description:
(devel/R-usethis) Updated 1.5.1 to 1.6.1

# usethis 1.6.1
---------------

Patch release to align some path handling internals with an update coming in the fs package.

* `use_github_links()` is a bit more clever about remotes (e.g. `origin`
  vs. `upstream`), which makes it easier to make a PR that adds GitHub links for
  a package you've forked.

* `use_pkgdown()` now `.gitignore`s the destination directory and only adds the
  destination directory to the config file if it departs from the default
  (which is `docs/`).

* `use_tidy_ci()` is now deprecated in favour of `use_tidy_github_actions()`
  (#1098).

* `use_github_action_check_standard()` is a new intermediate workflow that
  checks on more platforms than `_release`, but is less exhaustive than `_full`
  (@jimhester).

* `create_tidy_package()` now uses an MIT license (@topepo, #1096).

# 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 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 a `roxygen` argument. If `TRUE` (the default),
  it adds a `RoxygenNote` field to the `DESCRIPTION` (which means the first run
  of `devtools::check()` will re-document the package, #963), and creates an
  empty `NAMESPACE` (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 the `LineEndingConversion` to `Posix` so that
  packages created using usethis always use LF line endings, regardless of
  who contributes to them (#1002).

* In the `usethis.description` option, you can now set `Authors@R = person()`
  directly, without having to wrap in additional layer of quotes. If setting
  this in your `.Rprofile`, you'll need to use `utils::person()` since the utils
  package isn't loaded until after your profile is executed.

## PR helpers

* A new article [Pull request helpers](https://usethis.r-lib.org/articles/articles/pr-functions.html)
  demonstrates how to use the `pr_*()` 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()` and `pr_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 paired `R/` and `test/` 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-ing `data.table`
  (@michaelchirico, #897).

* `use_latest_dependencies()` replaces `use_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_issue()` will include additional bullets if your package
  includes `release_bullets()` function which returns a character
  vector (and the package has been loaded with `load_all()`) (#941).

## Minor improvements and bug fixes

* When writing files, usethis now respects line endings. Default line endings
  are taken from the `.Rproj` file (if available), otherwise the `DESCRIPTION`,
  otherwise the first file found in `R/`, 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 with `use_course()` and `use_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.description` option (#961).

* `create_package()` will now create a package in a symlink to a directory
  (#794).

* `create_package()` and `use_description()` gain a `check_name` argument to
  control whether to check for package names invalid for CRAN (@noamross, #883).

* `edit_file()` and `use_test()` gain an `open` parameter 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()` and `ui_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_circleci_badge()` is now exported (@pat-s, #920).

* `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()` and `use_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 like `use_mit_license()` and
  friends (@Cervangirard, #683).

* `use_logo()` now generates the correct href if the pkgdown `url` is 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()` and `use_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()`, and `browse_travis()`, now default
  to `ext = "com"` since travis-ci.com is now recommended it over travis-ci.org
  (@riccardoporreca, #1038).

* `use_release_issue()` reminds you to re-generate `README.md`,
  if needed (#767).

* `use_r()` and `use_test()` throw a clear error if multiple names are provided
  (@strboul, #862).

* `use_rcpp()` and `use_c()` now ensure `src/` contains at least one `.cpp` or
  `.c` placeholder file, so that the package can be built (@coatless, #720).

* `usethis.destdir` is a new option that is consulted when deciding where to
  put a new folder created by `use_course()` or `create_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.

diffstat:

 devel/R-usethis/Makefile |  12 ++++++++++--
 devel/R-usethis/distinfo |  10 +++++-----
 2 files changed, 15 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r c4cc2fd76e73 -r 23baf839bfe6 devel/R-usethis/Makefile
--- a/devel/R-usethis/Makefile  Sat Sep 19 23:54:41 2020 +0000
+++ b/devel/R-usethis/Makefile  Sun Sep 20 00:27:59 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2019/08/09 19:09:29 brook Exp $
+# $NetBSD: Makefile,v 1.2 2020/09/20 00:27:59 mef Exp $
 
 R_PKGNAME=     usethis
-R_PKGVER=      1.5.1
+R_PKGVER=      1.6.1
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -24,8 +24,16 @@
 DEPENDS+=      R-yaml>=2.2.0:../../textproc/R-yaml
 DEPENDS+=      R-curl>=2.7:../../www/R-curl
 DEPENDS+=      R-gh>=1.0.1:../../www/R-gh
+DEPENDS+=      R-rematch2-[0-9]*:../../devel/R-rematch2
+
+TEST_DEPENDS+= R-spelling-[0-9]*:../../textproc/R-spelling
 
 USE_LANGUAGES= # none
 
 .include "../../math/R/Makefile.extension"
 .include "../../mk/bsd.pkg.mk"
+
+
+# Packages suggested but not available: 'magick', 'pkgdown', 'styler'
+# 
+# Package required and available but unsuitable version: 'gh'
diff -r c4cc2fd76e73 -r 23baf839bfe6 devel/R-usethis/distinfo
--- a/devel/R-usethis/distinfo  Sat Sep 19 23:54:41 2020 +0000
+++ b/devel/R-usethis/distinfo  Sun Sep 20 00:27:59 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2019/08/09 19:09:29 brook Exp $
+$NetBSD: distinfo,v 1.2 2020/09/20 00:27:59 mef Exp $
 
-SHA1 (R/usethis_1.5.1.tar.gz) = c901fec8fb37bad37edd2c30fe2bddcfdb981410
-RMD160 (R/usethis_1.5.1.tar.gz) = f7d3d8c409e6dd4ef4e32ca102c93d6e4368739e
-SHA512 (R/usethis_1.5.1.tar.gz) = 5cfc155fc135cf22fade67ea9f9c4f005bbca9f645de46f7e83ec9c69ae838e857bbf801b3181e5d30b8e9e33fe4eca744491bb4fd716e2d17fae27401039a94
-Size (R/usethis_1.5.1.tar.gz) = 620225 bytes
+SHA1 (R/usethis_1.6.1.tar.gz) = e18d5a5b6028bbd156bbdb416e75b4c784eec2af
+RMD160 (R/usethis_1.6.1.tar.gz) = db97a60807d0a0f2de3618d2c993e0f91c3192a1
+SHA512 (R/usethis_1.6.1.tar.gz) = 282c2533fffb51a3831e2023db613595f947c0851d4a5a84d11664ee6292a96696ebfb17f7d4c2d5a4dd02e9a87e7a604cf2ae613446afb8c3428bf7a9ee8630
+Size (R/usethis_1.6.1.tar.gz) = 255052 bytes



Home | Main Index | Thread Index | Old Index