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 Jan 12 14:22:09 UTC 2025
Modified Files:
pkgsrc/devel/R-xfun: Makefile distinfo
Log Message:
(devel/R-xfun) Updated 0.48 to 0.50
# CHANGES IN xfun VERSION 0.50
- The function `isFALSE()` has been removed from this package. The
deprecation notice was given two years ago:
https://yihui.org/en/2023/02/xfun-isfalse/
- Added a new function `tabset()` to represent a list with a
tabset. The representation is similar to `str()`, but uses a visual
form.
- Factored out the function `taml_load()` and exported it (TAML is a
tiny subset of YAML). Also added a new function `taml_save()` to
convert simple lists to YAML.
- The `print` argument of `record()` can accept non-function values
now, in which case `print()` (or `show()` for S4 objects) will be
used as the print function.
- The `record()` results can also be formatted to Markdown via
`format(record(), to = 'markdown')`.
- Moved `knitr::combine_words()` into this package as
`xfun::join_words()`. The former has become a simple wrapper of the
latter.
- Similarly, moved `knitr::write_bib()` into this package as
`xfun::pkg_bib()`.
- Moved the internal function `str_wrap()` from **knitr** and exported
it as `xfun::str_wrap()`.
- Exported the internal `find_globals()` and `find_locals()`
functions.
- `md_table()` escapes `|` in the table to `\|` instead of `|`
now.
- `yaml_load(use_yaml = FALSE)` allows for indenting sub-fields by any
number of spaces now (thanks, @J-Moravec, #95). Previously, one
level of indentation must use exactly 2 spaces.
- `divide_chunk()` no longer requires every line of chunk options to
be commented out when the engine uses a pair of comment delimiters
(such as `/*` and `*/` for CSS) instead of a single comment
character. It suffices to use the opening delimiter at the beginning
and closing delimiter at the end, e.g.,
````md
```{css}
/*| echo=FALSE,
label='foo' */
```
````
Previously, every line must be commented out like:
````md
```{css}
/*| echo=FALSE, */
/*| label='foo' */
```
````
# CHANGES IN xfun VERSION 0.49
- Added an argument `use_block = FALSE` to `protect_math()`. When
`use_block = TRUE`, a `$$ $$` expression that spans across multiple
lines will be protected in a code block.
- `protect_math()` will ignore `$ $` if there are backticks after the
opening `$` or before the closing `$`, e.g., ``$`this is not
math`$``.
- `protect_math()` allows for parentheses `()` around math expressions
now, e.g., `($x$)` was previously not recognized but is recognized
now (thanks, @AlbertLei, yihui/litedown#34).
- `record()` works with `quote()` now (thanks, @ben-schwen,
yihui/litedown#38).
- `html_escape()` will not escape double quotes (i.e., convert `"`" to
`"`) by default, and the conversion will be done only for
`html_escape(attr = TRUE)`.
- The arguments `before` and `after` of `read_all()` can take
functions of two arguments now, with the second argument being the
content of each file.
- Added an argument `start` to `make_fence()`.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/R-xfun/Makefile
cvs rdiff -u -r1.19 -r1.20 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.21 pkgsrc/devel/R-xfun/Makefile:1.22
--- pkgsrc/devel/R-xfun/Makefile:1.21 Sat Oct 26 05:45:17 2024
+++ pkgsrc/devel/R-xfun/Makefile Sun Jan 12 14:22:09 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2024/10/26 05:45:17 mef Exp $
+# $NetBSD: Makefile,v 1.22 2025/01/12 14:22:09 mef Exp $
R_PKGNAME= xfun
-R_PKGVER= 0.48
+R_PKGVER= 0.50
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/devel/R-xfun/distinfo
diff -u pkgsrc/devel/R-xfun/distinfo:1.19 pkgsrc/devel/R-xfun/distinfo:1.20
--- pkgsrc/devel/R-xfun/distinfo:1.19 Sat Oct 26 05:45:17 2024
+++ pkgsrc/devel/R-xfun/distinfo Sun Jan 12 14:22:09 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2024/10/26 05:45:17 mef Exp $
+$NetBSD: distinfo,v 1.20 2025/01/12 14:22:09 mef Exp $
-BLAKE2s (R/xfun_0.48.tar.gz) = a9e6b65fcb328db3d279760b5cf1796e335323a5aaa84095d61204ced1c363f5
-SHA512 (R/xfun_0.48.tar.gz) = 20f08fae73cdc837d07f5427f7031c7ba2a40f8b36baa24cfe3e29ea0c3f65916f0de5729f6e9b90cb945b619a3ede22eb9be7413e89f079062e7a6b7d9036cd
-Size (R/xfun_0.48.tar.gz) = 164959 bytes
+BLAKE2s (R/xfun_0.50.tar.gz) = f32eb7c19bbbe27e29e49327dd293784020c4996aea94cbd8ab4e49ac44809f0
+SHA512 (R/xfun_0.50.tar.gz) = 5cc57a3b746ead2328d2660530d24ebd55aa3d36957eea2f580b5088f77840ddfe0efb5a23867a2f7f7f52dabfc6c99eb5a5300c222ee74a8a256fc559d2d55c
+Size (R/xfun_0.50.tar.gz) = 173997 bytes
Home |
Main Index |
Thread Index |
Old Index