From 7f2053538427edc1a011837238fb26a2e2b313ed Mon Sep 17 00:00:00 2001 From: mef Date: Sun, 18 Feb 2024 14:22:58 +0000 Subject: [PATCH] (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 (). - 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). --- devel/R-xfun/Makefile | 4 ++-- devel/R-xfun/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/devel/R-xfun/Makefile b/devel/R-xfun/Makefile index a4f0765da1a8..5ab2b38c96b4 100644 --- a/devel/R-xfun/Makefile +++ b/devel/R-xfun/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.19 2024/02/05 21:19:44 mef Exp $ +# $NetBSD: Makefile,v 1.20 2024/02/18 14:22:58 mef Exp $ R_PKGNAME= xfun -R_PKGVER= 0.41 +R_PKGVER= 0.42 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/devel/R-xfun/distinfo b/devel/R-xfun/distinfo index 8b30da6bf27b..0b009ac20ecc 100644 --- a/devel/R-xfun/distinfo +++ b/devel/R-xfun/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.17 2024/02/05 21:19:44 mef Exp $ +$NetBSD: distinfo,v 1.18 2024/02/18 14:22:58 mef Exp $ -BLAKE2s (R/xfun_0.41.tar.gz) = 7566dd1c4d4ae28e3250b62d374147d40d09da0cc0fb44d45d1005dfda644c1c -SHA512 (R/xfun_0.41.tar.gz) = fae43d05771fa60823b3471adfe69d0145affc1e0a862c2b398246cac03e254293157c8928bf375c66d8cdf1069b0c86420b3915c2fca0382d349501d4e1d25c -Size (R/xfun_0.41.tar.gz) = 135720 bytes +BLAKE2s (R/xfun_0.42.tar.gz) = 43bb219e85121976fe8b906bf3d00b010af0358a0125ffc3b8d21064162db990 +SHA512 (R/xfun_0.42.tar.gz) = 7a7e776166d62f93ffb9ebee37b81de357a2bd67541afe9f10d687888676740486110575719ba95f89369cacaede81717c61da5bcfe59a09b77a582654ecc4d7 +Size (R/xfun_0.42.tar.gz) = 142598 bytes