Skip to content

Commit

Permalink
(textproc/R-Rdpack) Updated 2.4 to 2.6.2
Browse files Browse the repository at this point in the history
# Rdpack 2.6.2

- `RStudio_reprompt` now issues a more informative error message when not called
  on a suitable file or function. Fixes issue #30, reported by @daattali.

- now the LaTeX macro `\slash` is wrapped in a condition, so that it is passed
  on for LaTeX related output but converted to `/` for other formats (such as
  html). Fixes GeoBosh/rbibutils#9, reported by @MLopez-Ibanez.

- fixed the test for the fix in Rdpack v2.6.1 (see below) to work with R-4.4.2,
  since that R-devel change was not carried on to R-4.4.2.  (Note: the error
  concerns the test only. The fix in the code of the package works for any R
  version.) Fixes issue #37, reported by @charles-plessy.


# Rdpack 2.6.1

- R-devel c86938 turned to error the warning for a non-existing key in the bib
  file. Fixed `insert_bib` (and a related test) to handle that.


# Rdpack 2.6

- fixed issues causing 'lost braces' (actually, superfluous braces) NOTEs from
  checks in R-devel occuring with some accented LaTeX characters. These NOTEs
  are not yet activated on CRAN but if/when they do, developers using Rd macros
  `\insertRef` and `\insertCite` can eliminate them by building their packages
  with Rdpack (>= 2.6) and rbibutils (>= 2.2.16).  Thanks to Sebastian Meyer for
  tracing down the issues.

- fixed a `Sweave` expression in 'man/predefined.Rd' to not emit unnecessary
  braces (see the note above).


# Rdpack 2.5

- Rd macros `insertCite` and friends were calling `\insert_citeOnly()` with
  argument `key` instead of `keys`. This was not an error since partial matching
  is ok here but not good practice. Fixes issue #28 reported by Marcel Ramos.

- changed the saved value in "tests/testthat/dummyArticle.rds" used in
  'test-bib.R' with a value obtained with R-devel r84896 n previu versins of R
  there wasasuperfluous final ' .').

- in some cases when square brackets were requested, rather than round ones,
  `\insertCiteOnly` was using closing round parenthesis.

- in some cases `\insertCiteOnly` was not handling well the last cite when it
  was followed by free text.
  • Loading branch information
mef committed Jan 1, 2025
1 parent 42df7c1 commit 293e1de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions textproc/R-Rdpack/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.1 2022/12/18 06:13:31 mef Exp $
# $NetBSD: Makefile,v 1.2 2025/01/01 22:29:10 mef Exp $

R_PKGNAME= Rdpack
R_PKGVER= 2.4
R_PKGVER= 2.6.2
CATEGORIES= textproc

MAINTAINER= pkgsrc-users@NetBSD.org
Expand All @@ -11,6 +11,9 @@ LICENSE= gnu-gpl-v2 OR gnu-gpl-v3
DEPENDS+= R-rbibutils-[0-9]*:../../textproc/R-rbibutils

# Package suggested but not available: 'gbRd'
TEST_DEPENDS+= R-rprojroot-[0-9]*:../../devel/R-rprojroot
TEST_DEPENDS+= R-rstudioapi-[0-9]*:../../math/R-rstudioapi
TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat


USE_LANGUAGES= # none
Expand Down
8 changes: 4 additions & 4 deletions textproc/R-Rdpack/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1 2022/12/18 06:13:31 mef Exp $
$NetBSD: distinfo,v 1.2 2025/01/01 22:29:10 mef Exp $

BLAKE2s (R/Rdpack_2.4.tar.gz) = 5dc5e2a95e0d828ed6aaa44d31c07790f3f745c484787f0d55944c2cbc30d46a
SHA512 (R/Rdpack_2.4.tar.gz) = d58e2bae5e366d7bac7f98873ef5c8a2767c725d5f1b792ca7e8a2e82458a45d79fc4606b49d16de4555eff85224c01f6ebfd4e2fb42c0d518a734a9c5e2b8c5
Size (R/Rdpack_2.4.tar.gz) = 707773 bytes
BLAKE2s (R/Rdpack_2.6.2.tar.gz) = 2af8edec6718ba4854ba9fa2c98a887087643f35b063544ea37de52fc92808a5
SHA512 (R/Rdpack_2.6.2.tar.gz) = 37aaba777d2512517f3017d5fcceda6122fc11c402be89366a0bc6e6281ae8b211c0fe9ea2db9a86262ad8ea5126f6dfa732c0e4231a81042f5658dc4be486f0
Size (R/Rdpack_2.6.2.tar.gz) = 503888 bytes

0 comments on commit 293e1de

Please sign in to comment.