From 5392f35d959ef02b48c22e01c361ca4fdad21a25 Mon Sep 17 00:00:00 2001 From: Jon Clayden Date: Thu, 20 Jun 2024 20:34:45 +0100 Subject: [PATCH] Update description, news and API version --- DESCRIPTION | 4 ++-- NEWS | 12 ++++++++++++ inst/include/RNifti.h | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5b91bea..9d40fc7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: RNifti -Version: 1.6.1 -Date: 2024-03-06 +Version: 1.7.0 +Date: 2024-06-19 Title: Fast R and C++ Access to NIfTI Images Authors@R: c(person("Jon", "Clayden", role=c("cre","aut"), email="code@clayden.org", comment=c(ORCID="0000-0002-6608-0619")), diff --git a/NEWS b/NEWS index 5795ad2..cfbc484 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,18 @@ Significant changes to the RNifti package are laid out below for each release. =============================================================================== +VERSION 1.7.0 + +- Indexing into an `rgbArray` or an RGB-valued `internalImage` now produces a + result of type `rgbArray`, to maintain the special interpretation of these + values, and facilitate conversion to strings. +- `rgbArray` now also gains an `as.raster` method. +- The test suite has been moved from `testthat` to `tinytest`. +- An API accommodation for versions of R before 3.1.0 has now been removed, as + it produces a note in the current R-devel. + +=============================================================================== + VERSION 1.6.1 - A misaligned memory read caught by clang-UBSan has been corrected. diff --git a/inst/include/RNifti.h b/inst/include/RNifti.h index 95f3015..31c94ed 100644 --- a/inst/include/RNifti.h +++ b/inst/include/RNifti.h @@ -8,7 +8,7 @@ // Defined since RNifti v0.10.0, and equal to 100 * (major version) + (minor version). May not // change if the API does not change, and in particular never changes with patch level -#define RNIFTI_VERSION 106 +#define RNIFTI_VERSION 107 // Versions 1 and 2 of the NIfTI reference library are mutually incompatible, but RNifti does some // work to get them to play nicely: