From 2a814d09af707acc5a37db4da7cdb0c240b4b45f Mon Sep 17 00:00:00 2001 From: Martin Morgan Date: Mon, 1 Jul 2024 14:10:02 -0400 Subject: [PATCH] final updates for release 1.3.1 --- DESCRIPTION | 2 +- NEWS.md | 1 + cran-comments.md | 16 ++++++++++++++-- vignettes/articles/c_examples.Rmd | 4 ++-- 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index e2d1ea4..84da455 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: rjsoncons Title: Query, Pivot, Patch, and Validate 'JSON' and 'NDJSON' -Version: 1.3.0.9200 +Version: 1.3.1 Authors@R: c( person( "Martin", "Morgan", role = c("aut", "cre"), diff --git a/NEWS.md b/NEWS.md index 013ed38..f125076 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,6 +4,7 @@ `'{"a": [[1,2]]}'`. NDJSON `j_pivot()` records must *always* be objects. - (1.3.0.9100) add JSONPath to examples article. +- (1.3.0.9100) make robust to 'noSuggests' CRAN checks. # rjsoncons 1.3.0 diff --git a/cran-comments.md b/cran-comments.md index ad3f0d4..5a4ed0b 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,3 +1,15 @@ -# Release 1.3.0 +# Release 1.3.1 -- updates R functionality as described in NEWS.md +- Address 'noSuggests' R CMD check failure +- Add article section to illustrate JSONPath. +- Fix bug in `j_pivot()`, as described in NEWS.md. +- The following NOTE is from the upstream cpp11 package so not under + my direct control. Issues are open on the cpp11 GitHub repository. + + ``` + Check: compiled code + Result: NOTE + File ‘rjsoncons/libs/rjsoncons.so’: + Found non-API calls to R: ‘SETLENGTH’, ‘SET_GROWABLE_BIT’, + ‘SET_TRUELENGTH’ + ``` diff --git a/vignettes/articles/c_examples.Rmd b/vignettes/articles/c_examples.Rmd index 16519bc..3cb41ae 100644 --- a/vignettes/articles/c_examples.Rmd +++ b/vignettes/articles/c_examples.Rmd @@ -222,8 +222,8 @@ part. This question retrieves a JSON representation of the hierarchy of -departments within German reseach institutions. The interest is -in finding the path between two departments. +departments within German research institutions. The interest is in +finding the path between two departments. The answer posted on StackOverflow translates the JSON list-of-lists structure describing the hierarchy into an *R* list-of-lists and uses