From 1d34b37c14899dba9a5e915ed5e1fb671926f072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Oehlschl=C3=A4gel?= Date: Fri, 20 Sep 2024 23:50:49 +0200 Subject: [PATCH] 4.5.1 removed S4 registration of 'is.integer64', 'as.integer64', 'as.bitstring' as methods of 'is' and 'as' --- DESCRIPTION | 4 ++-- NAMESPACE | 10 ++++++---- NEWS | 11 ++++++++++- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 369bc5f..cef3607 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: bit64 Type: Package Title: A S3 Class for Vectors of 64bit Integers -Version: 4.5.0 -Date: 2024-09-19 +Version: 4.5.1 +Date: 2024-09-20 Authors@R: c(person(given = "Jens", family = "Oehlschlägel", role = c("aut", "cre"), diff --git a/NAMESPACE b/NAMESPACE index 8bd3a14..e0c8758 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,4 +1,3 @@ -# Namespace for bit64 (currently exporting (almost) everything in order to facilitate debugging) # S3 atomic 64 bit integers for R # (c) 2011 Jens Oehlschägel # Licence: GPL2 @@ -369,8 +368,9 @@ S3method("order", default) S3method("all.equal", integer64) S3method("identical", integer64) -S3method("is", integer64) -S3method("as", integer64) +#no registration because of signature mismatch +#S3method("is", integer64) +#S3method("as", integer64) S3method("as.integer64", integer64) S3method("as.integer64", NULL) @@ -388,7 +388,9 @@ S3method("as.logical", integer64) S3method("as.list", integer64) -S3method("as", bitstring) +#no registration because of signature mismatch +#S3method("as", bitstring) + S3method("as.bitstring", integer64) S3method("print", bitstring) diff --git a/NEWS b/NEWS index aeababb..cf2c7fd 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,12 @@ + CHANGES IN bit64 VERSION 4.5.1 + +USER VISIBLE CHANGES + + o generics 'is.integer64', 'as.integer64', 'as.bitstring' + are no longer registered as S4 methods of 'is' and 'as' + + + CHANGES IN bit64 VERSION 4.5.0 NEW FEATURES @@ -167,7 +176,7 @@ USER VISIBLE CHANGES BUG FIXES o We now protect our SEXP return-vector before calling R_Busy - (reported by Thjomas Kalibera) + (reported by Thomas Kalibera) o median.integer64 now gets a ... argument if the generic has it (wish of Kurt Hornik) o we migrated all files to UTF-8