pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/R-rbibutils
Module Name: pkgsrc
Committed By: mef
Date: Fri Jan 3 09:09:35 UTC 2025
Modified Files:
pkgsrc/textproc/R-rbibutils: Makefile distinfo
Log Message:
(textproc/R-rbibutils) Updated 2.2.11 to 2.3
# rbibutils 2.3
## New and improved features
- the class of the object returned by `readBibentry()`, `readBib()`, and
`bibtexImport()` is now always `c("bibentryExtra", "bibentry")` (unless
argument `fbibentry` is supplied). Previously `"bibentryExtra"` was added only
when there were bib items with non-standard type and `extra = TRUE`. An option
to return just `"bibentry"` may be considered.
- non-standard bibtypes are lowercased.
- consolidated the subsetting operators for 'bibentryExtra' objects and the
documentation for them.
- new function `bibentryExtra()` creates 'bibentryExtra' objects. It accepts
arbitrary Bibtex entry types and takes the same arguments as `bibentry()`.
- the default bib style for the `bibentryExtra` method for `format()` is now
"JSSextra".
- refactored and streamlined `writeBibentry()` (the original version didn't use
the `format` method).
- new generic function `as.bibentryExtra`.
- new 'bibentryExtra' method for `c()`.
- bib style "JSSextra" now knows how to render 'online' bibtype. It is a
biblatex (not bibtex) field but very useful these days.
- bib style "JSSextra" now knows how to render a few more non-standard bib
types.
- `print(be, style = "R")`, where `be` is an object from class "bibentryExtra"
no longer includes the, effectively, internal for `rbibutils` field
`truebibtype`.
- first draft of a vignette.
## Bug fixes
- now bibstyle 'JSSextra' creates a new environment for its stuff. Previously it
was accidentally adding its objects directly in the 'JSS' style's environment,
causing the two to be equivalent.
- fixed a bug in `format.bibentryExtra()` which caused `writeBibentry()` to
misbehave when `style = "Rstyle"`.
- fixed `[<-` sub-assignment to 'bibentryExtra' objects.
- when `style = "latex"`, style "JSSextra" was failing to print bibentries with
types InBook and InCollection, due to a typo (redundant comma) in the code.
- a number of minor bugs were fixed.
# rbibutils 2.2.16
- fixed processing of the Polish suppressed-l `\l`. Previously the character
following it was enclosed in braces, which was harmless in most cases but the
superfluous braces could cause trouble in special circumstances. Did the same
for the uppercase version, `\L`, which was missing from the code.
# rbibutils 2.2.15
- adapted some tests to a change in R-devel circa r84986.
# rbibutils 2.2.14
- fixed a couple of tests in 'test-convert.R' which started failing (ca. R svn
rev 84760) due to an R-devel change in `person()`.
# rbibutils 2.2.13
- Bugfix: the declaration of the return value of a C function was accidentally
changed from `const char *` to `char *` in v2.2.12, causing CRAN warnings on
some platforms.
# rbibutils 2.2.12
- Bugfix: `readBib` with `texChars = "Rdpack"` which converts `\'i` to `\'\i`
was wrapping `\'\i` in braces in 'author' and related fields only. Failure to
do so in other fields was making the output invalid when `\'i` was followed
by alphabetical character(s). Fixes issue#7 reopened by @EricMarcon.
Note that option `"Rdpack"` for argument `texChars` is mainly for internal
use which compensates for R not recognising `\'i` as an accented character,
see the news items for v2.2.5 and v2.2.4 and the bug report about
`tools:::latexToUtf8` at [R bugs](https://bugs.r-project.org/show_bug.cgi?id=18208).
- partial internal refactoring of C code to avoid duplication.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/R-rbibutils/Makefile \
pkgsrc/textproc/R-rbibutils/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/R-rbibutils/Makefile
diff -u pkgsrc/textproc/R-rbibutils/Makefile:1.1 pkgsrc/textproc/R-rbibutils/Makefile:1.2
--- pkgsrc/textproc/R-rbibutils/Makefile:1.1 Sun Dec 18 06:09:59 2022
+++ pkgsrc/textproc/R-rbibutils/Makefile Fri Jan 3 09:09:35 2025
@@ -1,13 +1,25 @@
-# $NetBSD: Makefile,v 1.1 2022/12/18 06:09:59 mef Exp $
+# $NetBSD: Makefile,v 1.2 2025/01/03 09:09:35 mef Exp $
R_PKGNAME= rbibutils
-R_PKGVER= 2.2.11
+R_PKGVER= 2.3
CATEGORIES= textproc
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Read 'Bibtex' Files and Convert Between Bibliography Formats
LICENSE= gnu-gpl-v2
+TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
+
+TEST_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
+TEST_DEPENDS+= tex-geometry-[0-9]*:../../print/tex-geometry
+TEST_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
+TEST_DEPENDS+= tex-inconsolata-[0-9]*:../../fonts/tex-inconsolata
+TEST_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
+TEST_DEPENDS+= tex-natbib-[0-9]*:../../print/tex-natbib
+TEST_DEPENDS+= tex-url-[0-9]*:../../print/tex-url
+TEST_DEPENDS+= tex-xcolor-[0-9]*:../../print/tex-xcolor
+TEST_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
+
USE_LANGUAGES= c
.include "../../math/R/Makefile.extension"
Index: pkgsrc/textproc/R-rbibutils/distinfo
diff -u pkgsrc/textproc/R-rbibutils/distinfo:1.1 pkgsrc/textproc/R-rbibutils/distinfo:1.2
--- pkgsrc/textproc/R-rbibutils/distinfo:1.1 Sun Dec 18 06:09:59 2022
+++ pkgsrc/textproc/R-rbibutils/distinfo Fri Jan 3 09:09:35 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/12/18 06:09:59 mef Exp $
+$NetBSD: distinfo,v 1.2 2025/01/03 09:09:35 mef Exp $
-BLAKE2s (R/rbibutils_2.2.11.tar.gz) = 5beb483e2ecdc1be70fa3f4f1bf69d13c5a11bef0b6930dc90440156cec2795e
-SHA512 (R/rbibutils_2.2.11.tar.gz) = c800842fd835b7d27529c28d22a168d8c997cec9c78fc71969614b4df2e9da99a72c6f084d396d6b5d2524884d1a994c4dc6b9574fee8b4bda96e93facf36d4e
-Size (R/rbibutils_2.2.11.tar.gz) = 883035 bytes
+BLAKE2s (R/rbibutils_2.3.tar.gz) = 0bfccbc1d2e7493b557149fa75755b6dfe5e248b155cabe422e78d98f5d833a8
+SHA512 (R/rbibutils_2.3.tar.gz) = 412df3c6b38ce58e58a64dcb4a2e49eb06bb68d3a675fa57a946ddc75290c858843a4b705935b0a2a7748f308c995ca324c7442ac5aea4c1a7871ad91721ff61
+Size (R/rbibutils_2.3.tar.gz) = 1132601 bytes
Home |
Main Index |
Thread Index |
Old Index