pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/R-desc (devel/R-desc) Updated 1.3.0 to 1.4.0, ma...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f31f7a3b916
branches:  trunk
changeset: 770321:9f31f7a3b916
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon Nov 29 10:39:47 2021 +0000

description:
(devel/R-desc) Updated 1.3.0 to 1.4.0, make test fails (1)

# desc 1.4.0

* DESCRIPTION objects created with the `!new` command now omit `LazyData: true`
  to match new CRAN checks (#105, @malcolmbarrett)

* `description$write()` now writes out the file in the correct encoding
  (#109).

* `Authors@R` fields are now formatted differently when normalizing a
  DESCRIPTION file (#78).

* New `description$get_list()`, `description$set_list()` and
  corresponding `desc_get_list()` and `desc_set_list()` values to query
  and create comma separated fields (#86).

## Breaking change

* `desc_get_field()` gains a boolean `squish_ws` parameter to normalize
  whitespace within the retrieved value. It defaults to the value of `trim_ws`
  (`TRUE` by default). Example with desc's current DESCRIPTION:

  Old behaviour:

  ```r
  > desc::desc_get_field("Description")
  [1] "... DESCRIPTION files.\n    It is intended for packages ..."
  ```

  New behaviour:

  ```r
  > desc::desc_get_field("Description")
  [1] "... DESCRIPTION files. It is intended for packages ..."
  ```

  If you want the old behaviour, just set `squish_ws = FALSE`.

diffstat:

 devel/R-desc/Makefile |  9 ++++++---
 devel/R-desc/distinfo |  8 ++++----
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (39 lines):

diff -r c21c4fb6333e -r 9f31f7a3b916 devel/R-desc/Makefile
--- a/devel/R-desc/Makefile     Mon Nov 29 10:30:33 2021 +0000
+++ b/devel/R-desc/Makefile     Mon Nov 29 10:39:47 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2021/06/12 02:37:56 mef Exp $
+# $NetBSD: Makefile,v 1.4 2021/11/29 10:39:47 mef Exp $
 
 R_PKGNAME=     desc
-R_PKGVER=      1.3.0
+R_PKGVER=      1.4.0
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -13,8 +13,11 @@
 DEPENDS+=      R-crayon>=1.3.4:../../devel/R-crayon
 DEPENDS+=      R-rprojroot>=1.3.2:../../devel/R-rprojroot
 
-# Package suggested but not available: 'whoami'
+TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
+TEST_DEPENDS+= R-gh-[0-9]*:../../www/R-gh
+TEST_DEPENDS+= R-spelling-[0-9]*:../../textproc/R-spelling
 TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
+TEST_DEPENDS+= R-whoami-[0-9]*:../../devel/R-whoami
 
 USE_LANGUAGES= # none
 
diff -r c21c4fb6333e -r 9f31f7a3b916 devel/R-desc/distinfo
--- a/devel/R-desc/distinfo     Mon Nov 29 10:30:33 2021 +0000
+++ b/devel/R-desc/distinfo     Mon Nov 29 10:39:47 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:14:03 nia Exp $
+$NetBSD: distinfo,v 1.5 2021/11/29 10:39:47 mef Exp $
 
-BLAKE2s (R/desc_1.3.0.tar.gz) = fb9a165696fedfff1492274f994ee98eea20e944442ea4bdc43daf4edaeb7212
-SHA512 (R/desc_1.3.0.tar.gz) = a478a5589732971c6255accbd12ed88ab030f3ee39cdc690f6c537dbaeb3937c1185146c2035435f103c323faf3fa1e593246c90d5d776fd78d29f40352351b4
-Size (R/desc_1.3.0.tar.gz) = 292882 bytes
+BLAKE2s (R/desc_1.4.0.tar.gz) = ca798ba4e58ee0ae878aaf26bf6c67b958beb89df7a8d49b1cef6051e77fe221
+SHA512 (R/desc_1.4.0.tar.gz) = a902f03c481f881f3290e6b17ea25270620bedf3811e6b5762235f3ddc84cfd7c57c144e497754c6464b5e48e186942d56d07e8ae54c02ff0acd626ec0562a08
+Size (R/desc_1.4.0.tar.gz) = 295610 bytes



Home | Main Index | Thread Index | Old Index