(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`.diff -r1.3 -r1.4 pkgsrc/devel/R-desc/Makefile
(mef)
@@ -1,22 +1,25 @@ | @@ -1,22 +1,25 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2021/06/12 02:37:56 mef Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2021/11/29 10:39:47 mef Exp $ | |
2 | 2 | |||
3 | R_PKGNAME= desc | 3 | R_PKGNAME= desc | |
4 | R_PKGVER= 1.3.0 | 4 | R_PKGVER= 1.4.0 | |
5 | CATEGORIES= devel | 5 | CATEGORIES= devel | |
6 | 6 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | COMMENT= Manipulate DESCRIPTION files | 8 | COMMENT= Manipulate DESCRIPTION files | |
9 | LICENSE= mit | 9 | LICENSE= mit | |
10 | 10 | |||
11 | DEPENDS+= R-R6>=2.4.0:../../devel/R-R6 | 11 | DEPENDS+= R-R6>=2.4.0:../../devel/R-R6 | |
12 | DEPENDS+= R-assertthat>=0.2.1:../../devel/R-assertthat | 12 | DEPENDS+= R-assertthat>=0.2.1:../../devel/R-assertthat | |
13 | DEPENDS+= R-crayon>=1.3.4:../../devel/R-crayon | 13 | DEPENDS+= R-crayon>=1.3.4:../../devel/R-crayon | |
14 | DEPENDS+= R-rprojroot>=1.3.2:../../devel/R-rprojroot | 14 | DEPENDS+= R-rprojroot>=1.3.2:../../devel/R-rprojroot | |
15 | 15 | |||
16 | # Package suggested but not available: 'whoami' | 16 | TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr | |
17 | TEST_DEPENDS+= R-gh-[0-9]*:../../www/R-gh | |||
18 | TEST_DEPENDS+= R-spelling-[0-9]*:../../textproc/R-spelling | |||
17 | TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat | 19 | TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat | |
20 | TEST_DEPENDS+= R-whoami-[0-9]*:../../devel/R-whoami | |||
18 | 21 | |||
19 | USE_LANGUAGES= # none | 22 | USE_LANGUAGES= # none | |
20 | 23 | |||
21 | .include "../../math/R/Makefile.extension" | 24 | .include "../../math/R/Makefile.extension" | |
22 | .include "../../mk/bsd.pkg.mk" | 25 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2021/10/26 10:14:03 nia Exp $ | 1 | $NetBSD: distinfo,v 1.5 2021/11/29 10:39:47 mef Exp $ | |
2 | 2 | |||
3 | BLAKE2s (R/desc_1.3.0.tar.gz) = fb9a165696fedfff1492274f994ee98eea20e944442ea4bdc43daf4edaeb7212 | 3 | BLAKE2s (R/desc_1.4.0.tar.gz) = ca798ba4e58ee0ae878aaf26bf6c67b958beb89df7a8d49b1cef6051e77fe221 | |
4 | SHA512 (R/desc_1.3.0.tar.gz) = a478a5589732971c6255accbd12ed88ab030f3ee39cdc690f6c537dbaeb3937c1185146c2035435f103c323faf3fa1e593246c90d5d776fd78d29f40352351b4 | 4 | SHA512 (R/desc_1.4.0.tar.gz) = a902f03c481f881f3290e6b17ea25270620bedf3811e6b5762235f3ddc84cfd7c57c144e497754c6464b5e48e186942d56d07e8ae54c02ff0acd626ec0562a08 | |
5 | Size (R/desc_1.3.0.tar.gz) = 292882 bytes | 5 | Size (R/desc_1.4.0.tar.gz) = 295610 bytes |