pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/R-devtools



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Feb  9 12:08:55 UTC 2020

Modified Files:
        pkgsrc/devel/R-devtools: Makefile distinfo

Log Message:
(devel/R-devtools) Updated to 2.1.0 to 2.2.2
(pkgsrc changes)
 - Add three DEPENDS, and add 6 TEST_DEPENDS. But test needs more.

(upstream changes)
# devtools 2.2.1

* New `options("devtools.ellipsis_action")` option added to control the action
  of ellipsis in devtools. This should be one of
  - `rlang::abort` - to emit an error if arguments are unused
  - `rlang::warn` - to emit a warning if arguments are unused
  - `rlang::inform` - to emit a message if arguments are unused
  - `rlang::signal` - to emit a message if arguments are unused
  Using `rlang::signal` will produce no output unless the custom condition is
  caught, so it is the best way to retain backwards compatibility with devtools
  behavior prior to 2.2.0.
  The default behavior was also changed to issue a
  warning rather than an error if any arguments are unused, as there are some
  cases where devtools does not need to install the package, so unused
  arguments are false positives (#2109).

* `install()` now throws an error when it fails, as intended (#2120)

* `install()` now again reloads and re-attaches packages if they were
  previously loaded (#2111).

* `release()` no longer calls the deprecated `dr_devtools()` (#2105)

* `test()` now explicitly passes `stop_on_failure = FALSE` to
  `testthat::test_dir()` (@jameslamb, #2099)

# devtools 2.2.0

## New Features

* `create()` added back, the RStudio IDE uses `create()` in the create packages
  dialog, so removing it in version 2.1.0 broke old versions of the IDE.

* New `dev_sitrep()` function to return information about your development
  environment and diagnose common problems. The former functions
  `dr_devtools()` and `dr_github()` have been deprecated. (#1970)

* All functions taking `...` now use the ellipsis package. This catches errors
  when arguments are misspelled or incorrectly specified (#2016)

## Minor improvements and fixes

* `build_vignettes()` now correctly installs the vignette builder if it is not
  already installed (#2089).

* `dev_sitrep()` now uses the same endpoint to detect the current RStudio
  version as the IDE (#2050).

* `document()` gains a `quiet` parameter, to silence output and `check()` now
  passes its quiet argument to it (#1986).

* Add the DT package as a dependency, so that `test_coverage()` and
  `test_coverage_file()` work without having to install additional packages
  (#2085).

* `check_man()` now succeeds when `tools::undoc()` returns empty results
  (#1944).

* `check_win_*()` functions gain a `email` argument, so temporarily change the
  email the check results will be sent to (#1723).

* `install()` now explicitly unloads packages before trying to install a new
  version (#2094).

* All `install_*()` functions now attach build tools to the PATH, which makes them work on
  Windows when RTools is not on the default PATH (#2093).

* `test_coverage_file()` now works when there is not a 1 to 1 correspondence
  between test and source files (#2011).

* `release()` now works again when `pkg` is not the current working directory
  (#1974).

* `release()` now works without error when `options("repos")` is unnamed (#1956).
* `create()` added, the RStudio IDE uses `create()`, so removing it in version 2.1.0
  broke old versions of the IDE.

* In several places `http:` URLs were used instead of `https:`, the most
  critical being in the `cran_mirror`, `cran_pacakges`, and `cran_submission_url`
  values which could have enabled discrete activity disclosure and person-in-the-middle
  attacks (i.e. changing the contents while uploading/downloading). All `http:`
  URLS have been changed to `https:` URLs. (@hrbrmstr, #2091)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/R-devtools/Makefile \
    pkgsrc/devel/R-devtools/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/R-devtools/Makefile
diff -u pkgsrc/devel/R-devtools/Makefile:1.1 pkgsrc/devel/R-devtools/Makefile:1.2
--- pkgsrc/devel/R-devtools/Makefile:1.1        Fri Aug  9 19:13:05 2019
+++ pkgsrc/devel/R-devtools/Makefile    Sun Feb  9 12:08:55 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2019/08/09 19:13:05 brook Exp $
+# $NetBSD: Makefile,v 1.2 2020/02/09 12:08:55 mef Exp $
 
 R_PKGNAME=     devtools
-R_PKGVER=      2.1.0
+R_PKGVER=      2.2.1
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -22,9 +22,24 @@ DEPENDS+=    R-testthat>=2.1.1:../../devel/
 DEPENDS+=      R-usethis>=1.5.0:../../devel/R-usethis
 DEPENDS+=      R-withr>=2.1.2:../../devel/R-withr
 DEPENDS+=      R-rstudioapi>=0.7:../../math/R-rstudioapi
+DEPENDS+=      R-ellipsis>=0.3.0:../../math/R-ellipsis
 DEPENDS+=      R-digest>=0.6.20:../../security/R-digest
 DEPENDS+=      R-jsonlite>=1.6:../../textproc/R-jsonlite
+DEPENDS+=      R-DT-[0-9]*:../../textproc/R-DT
 DEPENDS+=      R-httr>=0.4:../../www/R-httr
+DEPENDS+=      R-rversions-[0-9]*:../../devel/R-rversions
+
+# Packages suggested but not available:
+#   'BiocManager', 'foghorn', 'gmailr', 'lintr', 'pingr', 'pkgdown',
+#  'rhub', 'spelling'
+#
+TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
+TEST_DEPENDS+= R-mockery-[0-9]*:../../devel/R-mockery
+TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
+TEST_DEPENDS+= R-bitops-[0-9]*:../../math/R-bitops
+TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
+TEST_DEPENDS+= R-rversions-[0-9]*:../../devel/R-rversions
+
 
 USE_LANGUAGES= # none
 
Index: pkgsrc/devel/R-devtools/distinfo
diff -u pkgsrc/devel/R-devtools/distinfo:1.1 pkgsrc/devel/R-devtools/distinfo:1.2
--- pkgsrc/devel/R-devtools/distinfo:1.1        Fri Aug  9 19:13:05 2019
+++ pkgsrc/devel/R-devtools/distinfo    Sun Feb  9 12:08:55 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2019/08/09 19:13:05 brook Exp $
+$NetBSD: distinfo,v 1.2 2020/02/09 12:08:55 mef Exp $
 
-SHA1 (R/devtools_2.1.0.tar.gz) = 46ba1650e550325c6b7ebbce49f4c7d81849f868
-RMD160 (R/devtools_2.1.0.tar.gz) = 22e144a6281bcf758e310e79a58756de3e7bd486
-SHA512 (R/devtools_2.1.0.tar.gz) = 0e562f954a0840b0b049f7acce6854f09b4501233f4e23f5c43c6991c35040fa62337154596fde2ad4f813225d23db822096ea77db7cb37af8a82f3fca46d30b
-Size (R/devtools_2.1.0.tar.gz) = 378899 bytes
+SHA1 (R/devtools_2.2.1.tar.gz) = 22086cbed5e9ae9c38a54d9ffca7eac367921262
+RMD160 (R/devtools_2.2.1.tar.gz) = 8d190b250157ae57b37f682cb68213fb586fb1d3
+SHA512 (R/devtools_2.2.1.tar.gz) = 8184f6c4299bc1c4dd27f74f4538b0e89b788728fb5ec750f0f753e420ff2ee2030f59ad099e6898b04248c3be01000e486798d1d3d407218d94fa2554eb1abe
+Size (R/devtools_2.2.1.tar.gz) = 372273 bytes



Home | Main Index | Thread Index | Old Index