Sun Feb 18 14:22:58 2024 UTC (97d)
(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).


(mef)
diff -r1.19 -r1.20 pkgsrc/devel/R-xfun/Makefile
diff -r1.17 -r1.18 pkgsrc/devel/R-xfun/distinfo

cvs diff -r1.19 -r1.20 pkgsrc/devel/R-xfun/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/R-xfun/Makefile 2024/02/05 21:19:44 1.19
+++ pkgsrc/devel/R-xfun/Makefile 2024/02/18 14:22:58 1.20
@@ -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
3R_PKGNAME= xfun 3R_PKGNAME= xfun
4R_PKGVER= 0.41 4R_PKGVER= 0.42
5CATEGORIES= devel 5CATEGORIES= devel
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8COMMENT= Miscellaneous functions by 'Yihui Xie' 8COMMENT= Miscellaneous functions by 'Yihui Xie'
9LICENSE= mit 9LICENSE= mit
10 10
11# Packages suggested but not available: 'rhub', 'magick' 11# Packages suggested but not available: 'rhub', 'magick'
12TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr 12TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
13TEST_DEPENDS+= R-pak-[0-9]*:../../devel/R-pak 13TEST_DEPENDS+= R-pak-[0-9]*:../../devel/R-pak
14TEST_DEPENDS+= R-remotes-[0-9]*:../../devel/R-remotes 14TEST_DEPENDS+= R-remotes-[0-9]*:../../devel/R-remotes
15TEST_DEPENDS+= R-renv-[0-9]*:../../devel/R-renv 15TEST_DEPENDS+= R-renv-[0-9]*:../../devel/R-renv
16TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown 16TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
17TEST_DEPENDS+= R-rstudioapi-[0-9]*:../../math/R-rstudioapi 17TEST_DEPENDS+= R-rstudioapi-[0-9]*:../../math/R-rstudioapi

cvs diff -r1.17 -r1.18 pkgsrc/devel/R-xfun/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/R-xfun/distinfo 2024/02/05 21:19:44 1.17
+++ pkgsrc/devel/R-xfun/distinfo 2024/02/18 14:22:58 1.18
@@ -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
3BLAKE2s (R/xfun_0.41.tar.gz) = 7566dd1c4d4ae28e3250b62d374147d40d09da0cc0fb44d45d1005dfda644c1c 3BLAKE2s (R/xfun_0.42.tar.gz) = 43bb219e85121976fe8b906bf3d00b010af0358a0125ffc3b8d21064162db990
4SHA512 (R/xfun_0.41.tar.gz) = fae43d05771fa60823b3471adfe69d0145affc1e0a862c2b398246cac03e254293157c8928bf375c66d8cdf1069b0c86420b3915c2fca0382d349501d4e1d25c 4SHA512 (R/xfun_0.42.tar.gz) = 7a7e776166d62f93ffb9ebee37b81de357a2bd67541afe9f10d687888676740486110575719ba95f89369cacaede81717c61da5bcfe59a09b77a582654ecc4d7
5Size (R/xfun_0.41.tar.gz) = 135720 bytes 5Size (R/xfun_0.42.tar.gz) = 142598 bytes