pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/R-xfun



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Feb 18 14:22:58 UTC 2024

Modified Files:
        pkgsrc/devel/R-xfun: Makefile distinfo

Log Message:
(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).


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/R-xfun/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/R-xfun/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/R-xfun/Makefile
diff -u pkgsrc/devel/R-xfun/Makefile:1.19 pkgsrc/devel/R-xfun/Makefile:1.20
--- pkgsrc/devel/R-xfun/Makefile:1.19   Mon Feb  5 21:19:44 2024
+++ pkgsrc/devel/R-xfun/Makefile        Sun Feb 18 14:22:58 2024
@@ -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@localhost

Index: pkgsrc/devel/R-xfun/distinfo
diff -u pkgsrc/devel/R-xfun/distinfo:1.17 pkgsrc/devel/R-xfun/distinfo:1.18
--- pkgsrc/devel/R-xfun/distinfo:1.17   Mon Feb  5 21:19:44 2024
+++ pkgsrc/devel/R-xfun/distinfo        Sun Feb 18 14:22:58 2024
@@ -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



Home | Main Index | Thread Index | Old Index