This blog is updated daily.
A general description is here.
‘x %notin% table’ newly in ‘base’ is an idiom for ‘!(x %in% table)’ and provided almost entirely for convenience and code readability, from an R-devel suggestion, after many years of private definitions mostly hidden in packages, including in R's ‘tools’ package.
New function ‘R_class()’ as the ‘C’ equivalent of ‘class()’ in R.
‘R CMD check’ ‘NOTE’s on the use of these non-API entry points have been upgraded to ‘WARNING’s in preparation for removing declarations and, where possible, hiding these entry points: ‘R_nchar’, ‘VECTOR_PTR’, ‘R_tryWrap’, ‘Rf_NonNullStringMatch’, ‘Rf_isValidString’ ‘Rf_GetOption’, ‘SET_FRAME’, ‘SET_HASHTAB’, ‘SET_ENCLOS’, ‘STDVEC_DATAPTR’, ‘SET_S4_OBJECT’, ‘UNSET_S4_OBJECT’, ‘SET_NAMED’, ‘R_lsInternal’, ‘Rf_lazy_duplicate’, ‘EXTPTR_PROT’, ‘EXTPTR_PTR’, ‘EXTPTR_TAG’, ‘NAMED’, ‘FRAME’, ‘HASHTAB’, ‘IS_S4_OBJECT’, ‘BODY’, ‘FORMALS’, ‘CLOENV’, ‘ENCLOS’, ‘Rf_isFrame’, ‘OBJECT’, ‘SET_TYPEOF’, ‘ENVFLAGS’, ‘SET_ENVFLAGS’, ‘SET_FORMALS’, ‘SET_BODY’, ‘SET_CLOENV’, ‘STRING_PTR’, ‘DATAPTR’, ‘XTRUELENGTH’, ‘R_duplicate_attr’, ‘R_shallow_duplicate_attr’, ‘getConnection’, ‘LEVELS’, ‘SETLEVELS’, ‘R_data_class’.
New function ‘DATAPTR_RW()’ for use in implementing ‘ALTREP’ ‘Dataptr’ methods. This function should not be used in any other contexts.
The non-API header files ‘R_ext/Callbacks.h’ and ‘R_ext/PrtUtil.h’ are no longer copied to the installed includes directory. The ‘R_ObjectTable’ type definitions formally in ‘R_ext/Callbacks.h’ are now available in the new header file ‘R_ext/ObjectTable.h’. This new header file should be used in packages instead of ‘R_ext/Callbacks.h’. To ease the transition a stub file ‘R_ext/Callbacks.h’ has been added that just includes ‘R_ext/ObjectTable.h’.
‘diff(m, lag, dif)’ for matrix ‘m’ now still returns matrices, also when ‘lag * dif > nrow(m)’ (PR#18972, thanks to Mikael Jagan and Suharto Anggono). ‘diff(<ts-matrix>)’ remains matrix, even when it has length zero.
