You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm now more sceptical about this approach because S3 doesn't provide any way to unregister a method, and S4's `removeMethod()` explicitly advises against using it.
Fixes#613
Copy file name to clipboardExpand all lines: NEWS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# S7 (development version)
2
2
3
+
*`method<-` now accepts `NULL` to unregister an existing method, e.g. `method(foo, class_character) <- NULL` (#613).
4
+
*`new_object()` no longer materialises ALTREP parent values (e.g. `seq_len()`), so constructing an S7 object that wraps a large compact integer sequence is now O(1) in memory instead of O(n) (@kschaubroeck, #607).
3
5
* Internal changes to support R-devel (4.6) (#592, #593, #598, #600).
4
6
* Method dispatch on `class_missing` now correctly handles missing arguments forwarded through a wrapper functions (#595).
5
7
*`S7_error_method_not_found` now has a correct class vector without a duplicate `"error"` entry (@jjjermiah, #604).
0 commit comments