(devel/R-xfun) Updated 0.41 to 0.42 # CHANGES IN xfun VERSION 0.42 - `isFALSE()` has been fully deprecated for R >= 3.5.0, and will be completely removed from this package in the future (<https://yihui.org/en/2023/02/xfun-isfalse/>). - Added a function `record()` to run R code and record the results, which is similar to `evaluate::evaluate()` but less sophisticated and technically simpler. One major difference is that `xfun::record()` records plots directly to files instead of saving them as display lists. - `yaml_load()` gained an `envir` argument, which can be used to specify the environment to evaluate R expressions in YAML (i.e., expressions written after `!expr` or `!r`). This is not straightforward in the upstream **yaml** package (thanks, @viking, vubiostat/r-yaml#54). - `yaml_body()` gained the `...` argument to pass more arguments to `yaml_load()`. - `split_source()` gained a `merge_comments` argument to merge consecutive lines of comments into the next code block, a `line_number` argument to store the line number of each expression in the returned value, and a `skip` argument to skip the rest of the code when the skip token is found. - `check_old_package()` has been vectorized, i.e., the arguments `name` and `version` can take vectors now. - Factored out the code for parsing chunk options and dividing a chunk into chunk options and chunk body from **knitr** to this package as functions `csv_options()` and `divide_chunk()`, respectively. They will be used by **knitr** and other packages in future. - Added a function `decimal_dot()` to evaluate an expression after forcing `options(OutDec = '.')` and `Sys.setlocale(LC_NUMERIC = 'C')` (for rstudio/rmarkdown#2525).diff -r1.19 -r1.20 pkgsrc/devel/R-xfun/Makefile
(mef)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.19 2024/02/05 21:19:44 mef Exp $ | 1 | # $NetBSD: Makefile,v 1.20 2024/02/18 14:22:58 mef Exp $ | |
2 | 2 | |||
3 | R_PKGNAME= xfun | 3 | R_PKGNAME= xfun | |
4 | R_PKGVER= 0.41 | 4 | R_PKGVER= 0.42 | |
5 | CATEGORIES= devel | 5 | CATEGORIES= devel | |
6 | 6 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | COMMENT= Miscellaneous functions by 'Yihui Xie' | 8 | COMMENT= Miscellaneous functions by 'Yihui Xie' | |
9 | LICENSE= mit | 9 | LICENSE= mit | |
10 | 10 | |||
11 | # Packages suggested but not available: 'rhub', 'magick' | 11 | # Packages suggested but not available: 'rhub', 'magick' | |
12 | TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr | 12 | TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr | |
13 | TEST_DEPENDS+= R-pak-[0-9]*:../../devel/R-pak | 13 | TEST_DEPENDS+= R-pak-[0-9]*:../../devel/R-pak | |
14 | TEST_DEPENDS+= R-remotes-[0-9]*:../../devel/R-remotes | 14 | TEST_DEPENDS+= R-remotes-[0-9]*:../../devel/R-remotes | |
15 | TEST_DEPENDS+= R-renv-[0-9]*:../../devel/R-renv | 15 | TEST_DEPENDS+= R-renv-[0-9]*:../../devel/R-renv | |
16 | TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown | 16 | TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown | |
17 | TEST_DEPENDS+= R-rstudioapi-[0-9]*:../../math/R-rstudioapi | 17 | TEST_DEPENDS+= R-rstudioapi-[0-9]*:../../math/R-rstudioapi |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.17 2024/02/05 21:19:44 mef Exp $ | 1 | $NetBSD: distinfo,v 1.18 2024/02/18 14:22:58 mef Exp $ | |
2 | 2 | |||
3 | BLAKE2s (R/xfun_0.41.tar.gz) = 7566dd1c4d4ae28e3250b62d374147d40d09da0cc0fb44d45d1005dfda644c1c | 3 | BLAKE2s (R/xfun_0.42.tar.gz) = 43bb219e85121976fe8b906bf3d00b010af0358a0125ffc3b8d21064162db990 | |
4 | SHA512 (R/xfun_0.41.tar.gz) = fae43d05771fa60823b3471adfe69d0145affc1e0a862c2b398246cac03e254293157c8928bf375c66d8cdf1069b0c86420b3915c2fca0382d349501d4e1d25c | 4 | SHA512 (R/xfun_0.42.tar.gz) = 7a7e776166d62f93ffb9ebee37b81de357a2bd67541afe9f10d687888676740486110575719ba95f89369cacaede81717c61da5bcfe59a09b77a582654ecc4d7 | |
5 | Size (R/xfun_0.41.tar.gz) = 135720 bytes | 5 | Size (R/xfun_0.42.tar.gz) = 142598 bytes |