<?xml version="1.0" encoding="utf-8"?>

<!-- name="generator" content="blosxom/2.0.djm" -->

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Daily News:  R-devel/NEWS</title>
    <link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS</link>
    <atom:link href="https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/index.rss" rel="self" type="application/rss+xml" />
    <description>Daily updates to R-devel/NEWS</description>
    <language>en</language>

<item>
<title>2026-04-12</title>
<pubDate>Sun, 12 Apr 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/12#n2026-04-12</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/12#n2026-04-12</guid>
<description><![CDATA[<H4>Changes in R 4.6.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
The Sweave driver ‘Rtangle’ no longer puts empty lines at the end of
tangled scripts.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 New Features </H4>
<UL>
<LI><P>
The Sweave driver ‘RweaveLatex’ now allows the value of logical and
numerical chunk options (only) to be the name of an object defined in
earlier, evaluated code chunks. This is useful to pass computed values
to options. For options set this way for weaving purposes, the
‘Rtangle’ driver rather uses their default values, with a warning.  By
Vincent Goulet.
</P></LI>

<LI><P>
The Sweave driver ‘RweaveLatex’ gains an option to include unparsable R
code or arbitrary text in code chunks. Chunks marked as
‘ignore.on.weave = TRUE’ are completely ignored on weaving, i.e., not
even parsed. The chunks however remain written out verbatim on
tangling.
</P>
<P>
Similarly, the driver ‘Rtangle’ gains an option to control the
extraction of code chunks. Chunks marked as ‘ignore.on.tangle=TRUE’ are
processed as usual on weaving, but left out of the tangled scripts (or
thrown away when ‘split=TRUE’).
</P>
<P>
The drivers also support the shorter aliases ‘weave’ for
‘!ignore.on.weave’, and ‘tangle’ for ‘!ignore.on.tangle’. A further
option ‘ignore’, available for both drivers, sets ‘ignore.on.weave’ and
‘ignore.on.tangle’ at once.
</P>
<P>
By Vincent Goulet.
</P></LI>

<LI><P>
The Sweave driver ‘Rtangle’ now provides an option ‘chunk.sep’ to
control the separator between code chunks in tangled scripts (with an
unchanged default of ‘\n\n’).  Using ‘check.sep=FALSE’ omits the
separator (between two chunks when used as a chunk option).  By Vincent
Goulet.
</P></LI>

<LI><P>
The Sweave driver ‘Rtangle’ now provides an option ‘extension’ to
specify the extension, without the leading dot, for the file name of a
tangled code chunk when splitting is selected (the option has no effect
with ‘split=FALSE’). If ‘TRUE’, the default extension of ‘Rtangle’
(usually ‘.R’) is used; if ‘FALSE’, no extension is added to the file
name.  By Vincent Goulet.
</P></LI>

<LI><P>
New function ‘SweaveGetSourceName’ in package ‘utils’ to obtain the
name of the file being woven by an ‘Sweave’ process launched from the
command line.  By Vincent Goulet.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-04-10</title>
<pubDate>Fri, 10 Apr 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/10#n2026-04-10</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/10#n2026-04-10</guid>
<description><![CDATA[<H4>Changes in R 4.6.0 Package Installation </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The ‘"Built"’ column returned by ‘installed.packages()’ and ‘old.packages()’ now contains the full value of the ‘"Built"’ entry from the (installed) ‘DESCRIPTION’ file. Previously, only the R version from the ‘"Built"’ entry was returned.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">If the timestamp passed as ‘--built-timestamp’ to ‘R CMD INSTALL’ is in RFC-2822 form (with time-zone offset) it will be converted to ISO UTC form to conform to the format used by R for purposes described above. (PR#19037, thanks to Dirk Eddelbuettel)</INS>
</P></LI>
</UL>
<H4>Changes in R 4.6.0 Bug Fixes </H4>
<UL>
<LI><P>
When ‘Ops’ group methods for matrix-‘&quot;ts&quot;’ return a zero-extent matrix,
its type is correct now.  E.g., ‘&lt;int&gt; + &lt;dbl&gt;’ now returns type
‘&quot;double&quot;’, see also <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-04-09</title>
<pubDate>Thu, 09 Apr 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/09#n2026-04-09</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/09#n2026-04-09</guid>
<description><![CDATA[<H4>Changes in R 4.6.0 Package Installation </H4>
<UL>
<LI><P>
The ‘&quot;Built&quot;’ column returned by ‘available.packages()’ and
‘old.packages()’ now contains the full value of the ‘&quot;Built&quot;’ entry (if
present) in the ‘DESCRIPTION’ file. Previously, only the R version from
the ‘&quot;Built&quot;’ entry was returned.
</P></LI>

<LI><P>
If the timestamp passed as -built-timestamp to ‘R CMD INSTALL’ is in
RFC-822 form (with time-zone offset) it will be converted to ISO UTC
form to conform to the format used by R for purposes described above.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19037">PR#19037</a>, thanks to Dirk Eddelbuettel)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-04-08</title>
<pubDate>Wed, 08 Apr 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/08#n2026-04-08</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/08#n2026-04-08</guid>
<description><![CDATA[<H4>Changes in R 4.6.0 New Features </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">If R uses custom binary type in its ‘.Platform$pkgType’ then ‘R CMD INSTALL --build’ will produce ‘&lt;package&gt;_&lt;ver&gt;_R_&lt;system&gt;-&lt;build&gt;.tar.xz’ binary files. Please note that future versions may use ‘.zstd’ compression by default so package tooling should support any of the above mentioned extensions.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-04-07</title>
<pubDate>Tue, 07 Apr 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/07#n2026-04-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/07#n2026-04-07</guid>
<description><![CDATA[<H4>Changes in R-devel New Features </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘boxplot()’: when ‘notch=TRUE’, new option ‘warnN=FALSE’ suppresses warnings about “notches outside hinges”.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-04-02</title>
<pubDate>Thu, 02 Apr 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/02#n2026-04-02</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/02#n2026-04-02</guid>
<description><![CDATA[<H4>Changes in R-devel C-Level Facilities </H4>
<UL>
<LI><P>
.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 New Features </H4>
<UL>
<LI><P>
New function ‘messageCondition()’ to create structured ‘&quot;message&quot;’
objects analogous to ‘warningCondition()’ and ‘errorCondition()’
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18940">PR#18940</a>, by Trevor Davis).
</P></LI>

</UL>
<H4>Changes in R 4.6.0 Bug Fixes </H4>
<UL>
<LI><P>
The internal ‘cwilcox’ function used in computations for the Wilcoxon
distribution is now based on an implementation of a formula by Andreas
Löffler provided by Andreas Löffler, Aidan Lakshman, and Ivan Krylov,
substantially reducing the memory complexity of the original
implementation (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18655">PR#18655</a>).
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-04-01</title>
<pubDate>Wed, 01 Apr 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/01#n2026-04-01</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/04/01#n2026-04-01</guid>
<description><![CDATA[<H4>Changes in R 4.6.0 C-Level Facilities </H4>
<UL>
<LI><P>
New function ‘R_getRegisteredNamespace’ finds and returns the namespace
environment registered for a name, or ‘R_NilValue’ if none is found.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-03-29</title>
<pubDate>Sun, 29 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/29#n2026-03-29</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/29#n2026-03-29</guid>
<description><![CDATA[<H4>Changes in R 4.6.0 New Features </H4>
<UL>
<LI><P>
‘hatvalues()’ now has a method for ‘nls’ (nonlinear model) results,
prompted by the proposal of Patrice Kiener and Heather Turner in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18897">PR#18897</a>.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 Bug Fixes </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Parsing deeply nested expressions no longer should segfault in certain circumstances, fixing five different checks on context stack size, thanks to Kevin Ushey's report and Michael Chirico's patch in PR#18994.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-28</title>
<pubDate>Sat, 28 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/28#n2026-03-28</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/28#n2026-03-28</guid>
<description><![CDATA[<H4>Changes in R 4.6.0 Bug Fixes </H4>
<UL>
<LI><P>
Parsing deeply nested expressions no longer should segfault in certain
circumstances, fixing five different checks on context stack size
thanks to Michael Chirico's report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18994">PR#18994</a>.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-03-27</title>
<pubDate>Fri, 27 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/27#n2026-03-27</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/27#n2026-03-27</guid>
<description><![CDATA[<H4>Changes in R 4.6.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
The R citation now provides a DOI (10.32614/R.manuals): please update
your bibliographies accordingly.
</P></LI>

<LI><P>
The default C++ standard has been changed to C++20 where available
(which it is on all known platforms from 2021 on): if not C++17 is used
if available otherwise C++ is not supported (as before).
</P>
<P>
(GCC 16 has also switched to C++20 as its default.)
</P>
<P>
Packages can request C++17 if essential.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 New Features </H4>
<UL>
<LI><P>
The default ‘AIC’ and ‘BIC’ methods now check whether the ‘methods’
namespace is loaded rather than ‘stats4’. They still use
‘stats4::logLik’ (and ‘stats4::nobs’), but packages no longer need to
load ‘stats4’ explicitly.
</P></LI>

<LI><P>
‘confint.default()’ now also works on S4 objects, as long as suitable
‘coef()’ and ‘vcov()’ methods exist.
</P></LI>

<LI><P>
‘binomial(identity)’ and ‘quasibinomial(identity)’ now work without
having to quote the argument.
</P></LI>

<LI><P>
‘str()’ now shows more via ‘format()’ for external pointers.
</P></LI>

<LI><P>
‘terms(&lt;formula&gt;, specials = *)’ now treats non-syntactic specials more
gracefully, thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18568">PR#18568</a>.
</P></LI>

<LI><P>
‘help.start()’ gets a ‘lib.loc’ option and its default for
‘make.packages.html()’ is enhanced to allow, e.g., fast access to
‘.Library’ when that contains only base and recommended packages.
</P></LI>

<LI><P>
In ‘*.Rd’ help files, the \linkS4class macro now also works for links
to other packages via \linkS4class[&lt;pkg&gt;]{&lt;myClass&gt;}, much nicer than
the “workaround” \link[&lt;pkg&gt;:&lt;myClass&gt;-class]{&lt;myClass&gt;} necessary in
earlier versions of R.
</P>
<P>
Packages with the new syntax need to formally depend on ‘R &gt;= 4.6.0’.
</P></LI>

<LI><P>
‘tools::analyze_license()’ now also computes SPDX license identifiers,
thanks to Thierry Onkelinx and LLuís Revilla.
</P></LI>

<LI><P>
‘read.dcf()’ now recognizes lines starting with ‘#’ as comment lines.
By Dirk Eddelbuettel, Laurent Gatto and Hugo Gruson.
</P></LI>

<LI><P>
‘tcltk::tclVersion()’ now only optionally includes the ‘patch level’,
as Tcl full versions can be of the form ‘8.7a5’ or ‘9.0b1’ without
three clear components.
</P></LI>

<LI><P>
‘untar(tar = &quot;internal&quot;)’ supports ‘extras = &quot;-P&quot;’ to use unchanged the
recorded file paths (as many external ‘tar’ programs do).
</P></LI>

<LI><P>
‘extSoftVersion()[[&quot;zstd&quot;]]’ now reports the version of the ‘zstd’
compression library if available, thanks to Trevor Davis' patch
proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18914">PR#18914</a>.
</P></LI>

<LI><P>
New logical ‘option()’ ‘quiet’, defaulting to false, set to ‘TRUE’ by
R's command-line option ‘--quiet’ (and similar), now can be switched
during an R session.  Prompted by Dirk Eddelbuettel's proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18913">PR#18913</a>.
</P></LI>

<LI><P>
Credentials for basic HTTP authentication with download method
‘&quot;libcurl&quot;’ can now be provided in a ‘netrc’ file.  The path to the
file can be specified in ‘options(&quot;netrc&quot;)’.
</P></LI>

<LI><P>
‘tools::deparseLatex()’ gains a ‘math’ argument, now used by the
default ‘bibstyle’ to format ‘bibentry()’ fields with ‘$...$’ syntax
via Rd \eqn markup.
</P></LI>

<LI><P>
‘gzcon()’ can now decompress a concatenation of compressed streams
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18887">PR#18887</a>.
</P></LI>

<LI><P>
Bibliographic citations and references in Rd files can now be
auto-generated from bibentries in bibliographic databases in R or
BibTeX formats.  See
‘RShowDoc(&quot;R-exts#Bibliographic-citations-and-references&quot;)’ for more
information.
</P></LI>

<LI><P>
Arguments to ‘loadNamespace()’ which will be ignored because the
namespace is already loaded are now noted.
</P></LI>

<LI><P>
‘chkDots()’' optional argument ‘allowed’ has been implemented thanks to
Trevor Davis' proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18936">PR#18936</a>.
</P></LI>

<LI><P>
‘wilcox.test()’ can now perform exact (conditional) inference in case
of ties.  Based on contributions by Torsten Hothorn.
</P></LI>

<LI><P>
‘wilcox.test()’ can now optionally compute improved asymptotic p-values
by including up to 3 correction terms of the Edgeworth series for the
normal approximation.
</P></LI>

<LI><P>
‘barplot(.., orderH = *)’ for stacked bar plots allows to sort the
stacks each according to size.
</P></LI>

<LI><P>
New argument ‘panel.first’ for ‘hist()’ (via ‘plot.histogram()’),
‘barplot()’, ‘bxp()’, and hence implicitly ‘boxplot()’.  All except the
former also gain a new ‘panel.last’.  Suggested by Marieke Stolte and
Julian Welz.
</P></LI>

<LI><P>
‘plot.default()’ gets a new switch ‘lim2’ to indicate that the default
‘xlim’ and ‘ylim’ range computations only use _jointly_ finite x- and
y-values; indirectly suggested in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=7986">PR#7986</a> by Jincai Jiang.
</P></LI>

<LI><P>
‘Rman.css’, the stylesheet for the ‘texi2any’-generated HTML versions
of the R manuals, was improved following joint efforts at the ‘R Dev
Days’ of useR! 2024 and RSECon25.
</P></LI>

<LI><P>
New system Rd macro ‘\manual{&lt;name&gt;}{&lt;node&gt;}’ to refer to a specific
section _etc_ (possibly empty, for ‘Top’) of one of the R manuals
(e.g., ‘R-exts’).
</P></LI>

<LI><P>
‘list.files()’ now has optional argument ‘fixed’ to allow literal
pattern matching.  Suggested and implemented by Duncan Murdoch in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18925">PR#18925</a>.
</P></LI>

<LI><P>
‘substring(txt, i1, i2)’, ‘substr(..)’ and their replacement versions
now accept ‘i2 = NULL’ to mean “to the end_of_string”, thus fulfilling
Kevin Ushey (and others') suggestions in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18851">PR#18851</a>.
</P></LI>

<LI><P>
The default method for ‘pretty()’ gets a new switch ‘bounds’ for
completeness, corresponding to ‘.pretty()’.  Also, it now catches typos
such as ‘eps.corrected = 2’, noted in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18521">PR#18521</a> by Mikko Korpela.
</P></LI>

<LI><P>
Plain-text help now renders Rd \describe lists using line breaks after
item labels.  Set ‘tools::Rd2txt_options(descStyle=NULL)’ to get the
old behaviour with a simple space; a ‘&quot;colon&quot;’ variant is also
available.
</P></LI>

<LI><P>
‘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.
</P></LI>

<LI><P>
The default method of ‘sequence()’ gets a new option ‘recycle’ to swap
between current (not fully recycling) and future behaviour where all
three of ‘(nvec, from, by)’ are jointly recycled.
</P></LI>

<LI><P>
‘ftable()’s default method and the ‘as.table()’ method for ‘&quot;ftable&quot;’s
get a ‘perm’ argument with back compatible default.  The ‘as.table()’
method also gets a ‘named.dim = FALSE’ switch, no longer creating a
named ‘dim(&lt;result&gt;)’ by default.
</P></LI>

<LI><P>
‘match.arg()’ gets a new option ‘several.ok = &quot;all&quot;’, fulfilling the
wish of Jim Hester in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16659">PR#16659</a>.
</P></LI>

<LI><P>
‘provideDimnames()’ gets new switch ‘use.names’, as proposed including
patch by Mikael Jagan, in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18975">PR#18975</a>.
</P></LI>

<LI><P>
The default ‘summary()’ is more informative for character vectors,
optionally resorting to the factor method via the new argument
‘character.method = &quot;factor&quot;’, e.g., when summarizing a data frame
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16750">PR#16750</a>).
</P>
<P>
It also provides more useful summaries for complex vectors, with
‘polar’ determining if polar or cartesian coordinates are more
relevant; mostly based on a proposal by Mikael Jagan.
</P></LI>

<LI><P>
Error messages from failed Rd \Sexpr code now include the call from the
original condition (if available).  Warning messages now include Rd
source locations.
</P></LI>

<LI><P>
When the environment variable ‘R_WARN_BOUNDS_OPT’ is set to ‘&quot;yes&quot;’,
‘options(warn = val)’ will check if ‘val’ is inside ‘-1:2’; this may
happen unconditionally in the future.
</P></LI>

<LI><P>
‘weighted.residuals()’ now returns weighted working residuals for
‘&quot;glm&quot;’ objects. It used to return deviance residuals, but these do not
give the one-step approximated ‘dfbeta’ values, as pointed out by Ravi
Varadhan. ‘influence.glm()’ has been amended so that it now returns an
object with both a ‘&quot;wt.res&quot;’ and a ‘&quot;dev.res&quot;’ element.
</P></LI>

<LI><P>
Several influence measures for ‘&quot;glm&quot;’ objects have been updated to use
Pearson residuals rather than deviance residuals (the latter are not
unbiased) and to not use leave-one-out estimates of dispersion in
models with fixed dispersion. Thanks to Ravi Varadhan for discussions
and testing of these updates.
</P></LI>

<LI><P>
R now supports custom binary types which are of the form
‘&quot;&lt;system&gt;.binary.&lt;build&gt;&quot;’ where ‘&lt;system&gt;’ is lower-case name
(letters only) of the system and ‘&lt;build&gt;’ is the name of the build
(alphanumeric and dashes). The corresponding paths returned by
‘contrib.url’ (which govern the repository layout) with the above
‘type=’ have the form ‘bin/&lt;system&gt;/&lt;build&gt;/contrib/&lt;x.y&gt;’ where
‘&lt;x.y&gt;’ is the R version without patch level. This is a generalisation
of the binary types previously supported on macOS. In addition, binary
packages can have the extensions ‘.tar.bz2’, ‘.tar.xz’, ‘.tar.zst’ and
‘.tar.zstd’ with the corresponding compression support.
</P></LI>

<LI><P>
The value of ‘.Platform$pkgType’ which defines the native binary type
for the current build of R can be overridden with ‘R_PLATFORM_PKGTYPE’
environment variable (previously this was only set by the macOS builds
of R). This should be typically only done by the author of a binary R
distribution to define the type of binaries supported by that build of
R.
</P></LI>

<LI><P>
If R uses custom binary type in its ‘.Platform$pkgType’ then ‘R CMD
INSTALL --build’ will produce
‘&lt;package&gt;_&lt;ver&gt;_R_&lt;system&gt;-&lt;build&gt;.tar.zstd’ binary files if R has
‘zstd’ support, ‘.tar.xz’ otherwise.
</P></LI>

<LI><P>
New facilities have been introduced for package integrity verification
and package signing. The optional file ‘SHA256’ in a package contains
SHA-256 hashes, lengths and paths of files provided in the package
allowing for more reliable integrity verification (relative to ‘MD5’).
This file is now generated by default in ‘R CMD INSTALL --build’ and
optionally via ‘R CMD build --sha256’. A package can be signed by
creating a detached GnuPG signature file ‘SHA256.sig’ signing the
entirety of the ‘SHA256’ file. Upon installation, the signature is
verified using GnuPG, thus ensuring the integrity of the ‘SHA256’ file
and by induction all files in the package.  Both source and binary
packages can be signed. Currently, this only applies to tar-based
packages, and the command-line GnuPG ‘gpg’ tool (or equivalent tool
named in the ‘GPG’ environment variable) has to be available for
signing and verification to work. ‘R CMD INSTALL --sign’ can be used to
sign binary packages, including its use with ‘--build’.  System-wide
GnuPG keyrings for the R installation can be placed in
‘&lt;R_HOME&gt;/etc/keyrings’ as files with ‘.gpg’ extensions and will be
checked first before consulting user's GnuPG keyring (if present).
</P></LI>

<LI><P>
Experimentally, several math library (‘math.h’) functions, such as
‘exp(.)’, ‘log1p()’, ‘sin()’, ‘atanh()’, when called from R, are now
ensured to give fully accurate results in a small neighbourhood of
special values, such as ‘exp(0) == 1’, ‘log1p(0) == 0’, etc.  This
makes R slightly less platform dependent for these functions, notably
on platforms with less accurate system math libraries, see also
&lt;https://blog.r-project.org/2026/01/30/debugging-sensitivity-to-c-math-library-on-linux/&gt;.
</P></LI>

<LI><P>
Function ‘free1way()’ implementing semiparametrically efficient
inference procedures (likelihood- and permutation-based) in
distribution-free stratified K-sample one-way layouts was added to the
‘stats’ package.  Approximate (via ‘power.free1way.test()’) and
simulation-based (utilising ‘rfree1way()’ for random number generation)
power-assessment and sample-size planning as well as model diagnostics
(available from a ‘plot’ method and probability-probability plots in
‘ppplot()’) complement the functionality.  Provided by Torsten Hothorn.
</P></LI>

<LI><P>
‘plot.data.frame()’ now supports a ‘formula’ argument.
</P></LI>

<LI><P>
New Rd macro \linkS4methods{}, e.g., for easier linking to method docs
in other packages, proposed and coded by Mikael Jagan in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18998">PR#18998</a>.
</P></LI>

<LI><P>
Class ‘&quot;difftime&quot;’ is now also among the S4 ‘&quot;OldClasses&quot;’.
</P></LI>

<LI><P>
New function ‘bitstring()’ as a user-friendly wrapper around
‘intToBits()’, etc.
</P></LI>

<LI><P>
‘plot.lm()’ now omits the smoother in the residuals vs leverage plot.
This never made much sense, but if you really want it, you can force
the old behaviour by setting ‘panel.raw=panel.smooth’.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 Graphics </H4>
<UL>
<LI><P>
The graphics engine version, ‘R_GE_version’, has been bumped to ‘17’
and so packages that provide graphics devices should be reinstalled.
</P>
<P>
The ‘glyphFont()’ function gains a ‘variations’ argument, which allows
variable font axes to be specified, e.g., ‘c(wght = 100)’.
</P>
<P>
Only the ‘quartz()’ device and Cairo-based graphics devices (but not
‘cairo_pdf()’) support variable font axes so far.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
‘configure’ appends ‘bsdtar’ to the list of command names it tries when
finding a default for ‘TAR’.
</P></LI>

<LI><P>
Failures in building the documentation for the base packages, including
from parsing their Rd files, are no longer ignored by ‘make docs’.
</P></LI>

<LI><P>
Building the R manuals now requires Texinfo 6.8 or later.
</P></LI>

<LI><P>
A new ‘LIBR_LDFLAGS’ defaulting to ‘LDFLAGS’ allows more flexibility,
e.g., for distributions such as Gentoo, Debian or Ubuntu, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18992">PR#18992</a>; additionally a ‘make’ failure to create ‘libR.pc’ should no
longer be ignored, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18993">PR#18993</a>; both thanks to Benjamin Drung.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 Checking an Installation </H4>
<UL>
<LI><P>
There is a new directory ‘tests/C++Standards’ which contains small
packages which can be test-installed to check support for various C++
standards.  This is principally for use on Windows as on a Unix-alike
this partially duplicates tests done by ‘configure’ - although it can
also be used to test the behaviour of ‘R CMD INSTALL’ on unsupported
standards.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 Package Installation </H4>
<UL>
<LI><P>
Specifying C++11 or C++14 in ‘src/Makevars’ has long given a note: in
99% of CRAN packages the specification was unnecessary as the default
C++17 sufficed (in a few cases with a deprecation warning from some
compilers).
</P>
<P>
Support for these standards has been removed: the default C++ standard
will be used.
</P>
<P>
‘R CMD config’ variables ‘CXX11’, ‘CXX14’ and their associated
‘CXXxxFLAGS’, ‘CXXxxPICFLAGS’ ‘CXXxxSTD’, ‘SHLIBCXXxxLD’ and
‘SHLIBCXXxxLDFLAGS’ variables are no longer supported and reported as
‘defunct’.
</P></LI>

<LI><P>
When installing binary packages the time stamp in the ‘&quot;Built&quot;’ field
is considered even if the package version is identical to allow binary
package repositories to update binaries without the need to increase
the package version.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 C-Level Facilities </H4>
<UL>
<LI><P>
New functions ‘GEcreateDD()’ and ‘GEfreeDD()’ for allocating (and
initialising) ‘DevDesc’ structures.  Can be used by external graphics
devices.  Satisfies <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18292">PR#18292</a>.
</P></LI>

<LI><P>
New function ‘R_eval_with_gd()’ designed to “lock” a graphics device
during call to ‘eval()’ within device drawing routines.  External
_on-screen_ graphics devices should consider using this function to
avoid crashes from the device being closed by the user (e.g., a mouse
click) during drawing.
</P></LI>

<LI><P>
Declarations for non-API functions ‘LOGICAL0’, ‘INTEGER0’, ‘REAL0’,
‘COMPLEX0’, and ‘RAW0’ have been removed from installed header files.
</P></LI>

<LI><P>
Non-API entry points ‘Rf_acopy_string’ and ‘Rf_lazy_duplicate’ have
been added to those reported by ‘R CMD check’.
</P></LI>

<LI><P>
Packages using the non-API functions ‘ATTRIB’ and ‘SET_ATTRIB’ will now
receive check ‘NOTE’s.  See ‘Writing R Extensions’ for alternatives to
use.
</P></LI>

<LI><P>
‘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’, ‘R_tryWrap’,
‘Rf_GetOption’, ‘R_lsInternal’, ‘BODY’, ‘FORMALS’, ‘CLOENV’,
‘SET_TYPEOF’, ‘STRING_PTR’, ‘R_duplicate_attr’, ‘getConnection’,
‘R_data_class’, ‘STRING_PTR’, ‘SET_OBJECT’, ‘ATTRIB’, ‘SET_ATTRIB’,
‘Rf_findVarInFrame3’.
</P></LI>

<LI><P>
The deprecated macros ‘CHARACTER_DATA’ and ‘CHARACTER_POINTER’ now
return ‘const’ pointers since using writable pointers in packages is
not safe.
</P></LI>

<LI><P>
New function ‘DATAPTR_RW()’ for use in implementing ALTREP ‘Dataptr’
methods. This function should not be used in any other contexts.
</P></LI>

<LI><P>
New function ‘R_class()’ as the ‘C’ equivalent of ‘class()’ in R.
</P></LI>

<LI><P>
New function ‘Rf_isScalarString’.
</P></LI>

<LI><P>
The ‘R_ObjectTable’ type definitions formerly 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’.
</P></LI>

<LI><P>
Task callback support declared in ‘R_ext/Callbacks.h’ has been enabled
again. It was disabled for R 4.5.0.
</P></LI>

<LI><P>
The non-API header file ‘R_ext/PrtUtil.h’ is no longer copied to the
installed ‘include’ directory.
</P></LI>

<LI><P>
New function ‘R_mapAttrib’ for iterating over the attributes of an
object.
</P></LI>

<LI><P>
New functions ‘R_altrep_class_name’ and ‘R_altrep_class_package’ for
retrieving the class name symbol and package name symbol of an ALTREP
object. These should be used instead of ‘ALTREP_CLASS’.
</P></LI>

<LI><P>
New function ‘R_getAttributes’ returns the same result as the R
function ‘attributes’. New functions ‘R_getAttribCount’,
‘R_getAttribNames’, ‘R_hasAttrib’, ‘R_nrow’, and ‘R_ncol’.
</P></LI>

<LI><P>
The function ‘Rf_isFrame’ has been removed; use ‘Rf_isDataFrame’
instead.
</P></LI>

<LI><P>
The function ‘VECTOR_PTR’ has been removed.
</P>
<P>
The non-API function ‘DATAPTR’ is no longer declared in an installed
header file.
</P></LI>

<LI><P>
These entry points are now marked as hidden and no longer have
declarations in installed header files: ‘ENVFLAGS’, ‘EXTPTR_PROT’,
‘FRAME’, ‘ENCLOS’, ‘EXTPTR_PTR’, ‘EXTPTR_TAG’, ‘HASHTAB’,
‘IS_S4_OBJECT’, ‘LEVELS’, ‘NAMED’, ‘OBJECT’,
‘R_shallow_duplicate_attr’, ‘Rf_isValidString’, ‘Rf_lazy_duplicate’,
‘Rf_NonNullStringMatch’, ‘SETLENGTH’, ‘SETLEVELS’, ‘SET_BODY’,
‘SET_CLOENV’, ‘SET_ENCLOS’, ‘SET_FORMALS’, ‘SET_ENVFLAGS’, ‘SET_FRAME’,
‘SET_GROWABLE_BIT’, ‘SET_HASHTAB’, ‘SET_NAMED’, ‘SET_S4_OBJECT’,
‘SET_TRUELENGTH’, ‘STDVEC_DATAPTR’, ‘TRUELENGTH’, ‘UNSET_S4_OBJECT’,
‘XTRUELENGTH’.
</P></LI>

<LI><P>
New experimental API for working with variable bindings in
environments. The function ‘R_GetBindingType’ identifies the binding
type without forcing a delayed or active binding.  New bindings care
created by ‘R_MakeDelayedBinding’, ‘R_MakeForcedBinding’ and
‘R_MakeMissingBinding’.  Delayed and forced bindings can be inspected
with ‘R_ForcedBindingExpression’, ‘R_DelayedBindingExpression’, and
‘R_DelayedBindingEnvironment’.  Bindings for ‘...’ in function call
environments can be examined with ‘R_findDotsEnv’, ‘R_DotsExist’,
‘R_DotsLength’, ‘R_DotsNames’, ‘R_DotsElt’, ‘R_GetDotType’,
‘R_DotDelayedExpression’, ‘R_DotDelayedEnvironment’, and
‘R_DotForcedExpression’. Contributed by Lionel Henry, Davis Vaughan,
and Charlie Gao in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18928">PR#18928</a>.
</P></LI>

<LI><P>
New function ‘R_envSymbols’ returns a vector of the symbols for which
an environment contains bindings (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18928">PR#18928</a>).
</P></LI>

<LI><P>
‘R CMD check’ ‘NOTE’s on the use of the non-API entry points ‘PRCODE’,
‘SET_PRCODE’, ‘PRENV’, ‘SET_PRENV’, ‘PRVALUE’, ‘SET_PRVALUE’,
‘R_PromiseExpr’, and ‘Rf_allocSExp’ have been upgraded to ‘WARNING’s in
preparation for removing declarations and, where possible, hiding these
entry points.
</P></LI>

<LI><P>
New functions ‘R_getVar’ and ‘R_getVarEx’. In most cases these can be
used instead of the non-API functions ‘Rf_findVar’ and
‘Rf_findVarInFrame’.  Other cases can be handled by the new API for
working with variable bindings.
</P></LI>

<LI><P>
Packages using any non-API variables will now receive check ‘NOTE’s.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ now reports further ‘clang’ warnings including
‘-Wkeyword-macro’.  This is most commonly seen for the C23 keywords
‘bool’, ‘true’ and ‘false’, but is also seen for ‘nullptr’ (C23 and
C++11). Masking these by macros _may_ generate correct code (but not
always) and always results in confusing-to-read code.
</P></LI>

<LI><P>
The cascaded stylesheet ‘R.css’ now adds less vertical white space when
rendering Rd files' \itemize, \enumerate, and \describe list \items to
HTML.
</P>
<P>
Where R is used via extensive IDEs such as ‘RStudio’, their maintainers
may need to adapt ‘R.css’ files accordingly.
</P></LI>

<LI><P>
‘R CMD check’ when passed a tarball looks at its contents and so no
longer derives the package name from the tarball name (which can now be
arbitrary).
</P></LI>

<LI><P>
Package ‘README.md’ files are now installed and featured in HTML help.
</P></LI>

<LI><P>
‘package.skeleton()’ now invisibly returns the path of the created
directory, similar to ‘prompt()’ et al., and allows creating blank
skeletons without any R objects.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
‘structure(NULL, &lt;name&gt; = &lt;val&gt;)’ is now defunct.
</P></LI>

<LI><P>
Three ‘tk*.slaves()’ functions were deprecated in favor of
‘tk*.child()’ which do need Tcl/Tk version ‘8.6’ or higher.
</P></LI>

</UL>
<H4>Changes in R 4.6.0 Bug Fixes </H4>
<UL>
<LI><P>
‘chol(x, pivot=TRUE)’ now zeroes the trailing submatrix when the
algorithm stops early. Following the help page instructions on how to
reconstruct the matrix in positive semidefinite cases gave incorrect
results if the rank was 2 or more less than the dimension (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15853">PR#15853</a>).
</P></LI>

<LI><P>
Profiling ‘&quot;mle&quot;’ objects (‘stats4’ package) could fail because profile
MLE used starting value from full MLE. Now starts from profile MLE from
previous step.
</P></LI>

<LI><P>
Setting ‘attributes’ on primitive functions is now an error; previously
it modified without copying (as noticed by Henrik Bengtsson on the
R-devel mailing list).
</P>
<P>
Relatedly, changing the ‘environment()’ of a primitive function does no
longer happen and gives a warning (to become an error, later).
</P></LI>

<LI><P>
Dataset ‘LifeCycleSavings’ had a misspelled row name: ‘&quot;Guatamala&quot;’ was
corrected to ‘&quot;Guatemala&quot;’.
</P></LI>

<LI><P>
The ‘Pair(x,y)’ construction in the formula interface to paired tests
did not work with the ‘subset’ argument, due to the absence of a
‘[.Pair’ method, which has now been added.
</P></LI>

<LI><P>
Subsetting ‘&quot;table&quot;’ objects keeps S3 classes more consistently, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18845">PR#18845</a>.
</P></LI>

<LI><P>
When ‘browser()’ is active or when otherwise debugging, R code such as
‘if(TRUE)’ now longer triggers a new browser level, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18885">PR#18885</a>
(differently than the fix for <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15770">PR#15770</a>), with thanks to Ivan Krylov.
</P></LI>

<LI><P>
‘text()’ now truncates ‘labels’ to maximum length of ‘x’ and ‘y’ (if it
is longer), fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=7084">PR#7084</a>.  Thanks to Heather Turner, Ella Kaye, and
Philippe Grosjean.
</P></LI>

<LI><P>
‘&lt;Date&gt; %in% set’ is again as fast as it was before R 4.3.0, _via_ a
new S3 method ‘mtfrm.Date’.
</P>
<P>
‘&lt;character&gt; %in% &lt;Date&gt;’ and vice versa are now documented to work in
concordance with ‘==’ and as an exception to the typical ‘match()’
behaviour which relies on “univariate” ‘mtfrm()’ alone.
</P></LI>

<LI><P>
It is now possible to convert _to_ ‘&quot;snpc&quot;’ units via, e.g.,
‘grid::convertWidth()’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18915">PR#18915</a>. Thanks to Trevor Davis.
</P></LI>

<LI><P>
The ‘precip’ dataset had typos in the names ‘&quot;Bismarck&quot;’ and
‘&quot;Pittsburgh&quot;’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18895">PR#18895</a>).
</P></LI>

<LI><P>
‘tools::checkReplaceFuns()’ now deals better with replacement methods
_not_ available as regular functions in the namespace.
</P></LI>

<LI><P>
‘length(xpr) &lt;- n’ now also works for ‘expression’ vectors, the same as
for ‘list’s, i.e., padding with ‘NULL’ entries if the length is
increased.  Thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18917">PR#18917</a>.
</P></LI>

<LI><P>
‘&lt;complex&gt;[i] &lt;- NA’ now only sets the _real_ part to ‘NA’,
consistently with the ‘as.complex(NA)’ behaviour since R 4.4.0; thanks
to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18918">PR#18918</a>.
</P></LI>

<LI><P>
‘format(&lt;list&gt;)’ calling ‘format.default()’ now calls generic
‘format()’ on each list element (rather than ‘format.default()’).
</P></LI>

<LI><P>
‘tools::Rd2HTML()’ detects paragraphs in more cases of \Sexpr-generated
Rd code, fixing a regression in R 3.6.0 originally reported by Georgi
Boshnakov and later also in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18470">PR#18470</a>.  An inactive #ifdef block no
longer breaks the paragraph.
</P></LI>

<LI><P>
Parsing a multi-line string from Rd \Sexpr code no longer doubles the
newlines.
</P></LI>

<LI><P>
‘requireNamespace(.., versionCheck = *)’ now shows an error and returns
‘FALSE’ when the package version check is not fulfilled, thanks to Iris
Simmons and Trevor Davis's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18255">PR#18255</a>.  Additionally, the ‘versionCheck’
argument is checked and when invalid, an error is signalled to avoid
subsequent confusing error messages.
</P></LI>

<LI><P>
‘requireNamespace()’ now throws an error even if the name space is
already loaded if it is called with an unmatched argument such as
‘quitely = TRUE’ or ‘quiet = TRUE’ (argument ‘quietly’ cannot be
abbreviated as it follows ‘...’).
</P></LI>

<LI><P>
‘rep()’ signals more specific error messages, notably when using both
‘times’ and ‘each’ optional arguments.  Fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18926">PR#18926</a>, thanks to Ella
Kaye and collaborators at useR! 2025's ‘R Dev Day’.
</P></LI>

<LI><P>
‘jitter(x, amount, factor)’ becomes more robust for non-finite ‘x’ or
also negative ‘amount’, ‘factor’.  ‘help(jitter)’ is easier to read,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17279">PR#17279</a>, thanks to its contributors.
</P></LI>

<LI><P>
Plain-text help (‘Rd2txt’) lacked markup for ‘\cite’d titles, which are
now wrapped in single quotes.
</P></LI>

<LI><P>
Default column labels are now correctly aligned when printing a matrix
with right alignment (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18943">PR#18943</a>, thanks to Mikael Jagan).
</P></LI>

<LI><P>
‘poly(fct, n)’ signals an error again, for a non-‘ordered’ factor
‘fct’, thanks to Roland Fuss' notice on R-devel.
</P></LI>

<LI><P>
‘terms(&lt;formula&gt;, simplify=TRUE)’ now works correctly also in the cases
where the formula has more than one term with NAs such as ‘f(u, b=NA)’
or ‘g(NA)’, finally fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15275">PR#15275</a> thanks to Mikael Jagan's patch.
</P></LI>

<LI><P>
The help page ‘example(matplot)’ now correctly labels Sepal vs Petal
dimensions in its first iris data plot, thanks to Jeff Dick's post on
R-devel.
</P></LI>

<LI><P>
‘diff(m, lag, dif)’ for matrix ‘m’ now still returns matrices, also
when ‘lag * dif &gt; nrow(m)’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>, thanks to Mikael Jagan and
Suharto Anggono).  ‘diff(&lt;ts-matrix&gt;)’ remains matrix, even when it has
length zero.
</P></LI>

<LI><P>
Values returned by active binding functions are now marked as not
mutable to prevent unintended mutation in complex assignment
operations.
</P></LI>

<LI><P>
The default method of ‘sequence()’ now allows to fully recycle all
three of ‘(nvec, from, by)’ as always documented; with thanks to Mikael
Jagan's report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18304">PR#18304</a>.  Its behaviour remains back
compatible for now, but can be switched to future behaviour via
environment variable ‘R_sequence_recycle’, or explicit ‘recycle =
TRUE’.
</P></LI>

<LI><P>
Subassignment, ‘x[ind] &lt;- val’, to 1-dimensional ‘array’s no longer
“drops” them to simple vectors when ‘ind’ is a name, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18973">PR#18973</a>,
reported by Thomas Soeiro.
</P></LI>

<LI><P>
The ‘implicitGeneric’ definition for ‘toeplitz()’ produced a default
method that failed when ‘toeplitz(x, r)’ was called with more than the
first argument.  Simple fix from Mikael Jagan.
</P></LI>

<LI><P>
The error message for ‘array(dim = c())’ now uses ‘&quot;'dim'&quot;’, thanks to
Hugo Gruson.
</P></LI>

<LI><P>
Some legal but strange nested complex assignments are handled a bit
more robustly in interpreted code.
</P></LI>

<LI><P>
‘cacheMetaData()’ does not to mangle primitive generics.
</P></LI>

<LI><P>
The S4 method ‘norm(&lt;ANY&gt;, type = &lt;missing&gt;)’ for the implicit generic
‘norm()’ now uses ‘type = &quot;O&quot;’ as has been the intention for more than
ten years, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18979">PR#18979</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
On Windows terminals ‘Ctrl-C’ now breaks out of waiting for keyboard
input, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18982">PR#18982</a>.
</P></LI>

<LI><P>
The default ‘summary()’ and its factor method now label missing values
‘NAs’ rather than ‘NA's’, fixing a decades-old grammatical faux pas
inherited from S (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16348">PR#16348</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18948">PR#18948</a>).
</P></LI>

<LI><P>
Asymmetric ‘toeplitz(x, r)’ is type consistent now, even when ‘r’ of
length 0 or 1 is not used directly.  Fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18996">PR#18996</a>, thanks to Mikael
Jagan's patch and test.
</P></LI>

<LI><P>
‘format(r)’ now keeps ‘names(r)’ also for raw objects ‘r’.
</P></LI>

<LI><P>
‘rep.int()’ and ‘rep_len()’ again drop names also for factors, fixing a
regression in R 4.0.0.  (Thanks to a report by Rui Barradas and
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18999">PR#18999</a> by Suharto Anggono.)
</P></LI>

<LI><P>
‘str(x)’ with a ‘list’-like ‘x’ of a class having an ‘str()’ S3 method
using ‘NextMethod()’, now no longer outputs ‘&quot;List of &lt;...&gt;&quot;’ in the
default method, thanks to Ian Farm's report and fix proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19001">PR#19001</a>.
</P></LI>

<LI><P>
‘as.POSIXlt(ch)’, ‘as.Date(ch)’ etc now also work correctly when ‘ch’
contains ‘&quot;Inf&quot;’, via ‘strptime(.)’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19006">PR#19006</a>.
</P></LI>

<LI><P>
‘c(&lt;POSIXlt&gt;, ..)’ now fully preserves sub-second accuracy, fulfilling
a part of Suharto Anggono's wishlist <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18989">PR#18989</a>.
</P></LI>

<LI><P>
The ‘&quot;tzcode&quot;’ attribute of ‘&quot;POSIXlt&quot;’ objects should no longer depend
on earlier calls, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19005">PR#19005</a> thanks to Ivan Krylov, a patch by
Suharto Anggono and reports of “Non-deterministic POSIXlt tzone in
Europe/London ..” on R-devel.
</P></LI>

<LI><P>
In intervals with very low density ‘cdplot()’ was unreliable, returning
probabilities that are greater than one or ‘NaN’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19011">PR#19011</a>).  Fix from
Christoph Dalitz and Achim Zeileis.
</P></LI>

<LI><P>
‘R CMD build’ now installs packages providing their own vignette engine
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18191">PR#18191</a>).  Patch by Paul Smith.
</P></LI>

<LI><P>
‘ar.burg()’, ‘ar.yw()’ and ‘ar.ols()’ deal better with non finite AIC
values thanks to Simone Giannerini's remarks on R-devel.
</P></LI>

</UL>
<H4>Changes in R-devel Graphics </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The graphics engine version, ‘R_GE_version’, has been bumped to ‘17’
and so packages that provide graphics devices should be reinstalled.
</P>
<P>
The ‘glyphFont()’ function gains a ‘variations’ argument, which allows
variable font axes to be specified, e.g., ‘c(wght = 100)’.
</P>
<P>
Only the ‘quartz()’ device and Cairo-based graphics devices (but not
‘cairo_pdf()’) support variable font axes so far.
</DEL>
</P></LI>

</UL>
<H4>Changes in R-devel Installation on a Unix-Alike </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘configure’ appends ‘bsdtar’ to the list of command names it tries when
finding a default for ‘TAR’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Failures in building the documentation for the base packages, including
from parsing their Rd files, are no longer ignored by ‘make docs’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Building the R manuals now requires Texinfo 6.8 or later.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A new ‘LIBR_LDFLAGS’ defaulting to ‘LDFLAGS’ allows more flexibility,
e.g., for distributions such as Gentoo, Debian or Ubuntu, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18992">PR#18992</a>; additionally a ‘make’ failure to create ‘libR.pc’ should no
longer be ignored, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18993">PR#18993</a>; both thanks to Benjamin Drung.
</DEL>
</P></LI>

</UL>
<H4>Changes in R-devel Utilities </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ now reports further ‘clang’ warnings including
‘-Wkeyword-macro’.  This is most commonly seen for the C23 keywords
‘bool’, ‘true’ and ‘false’, but is also seen for ‘nullptr’ (C23 and
C++11). Masking these by macros _may_ generate correct code (but not
always) and always results in confusing-to-read code.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The cascaded stylesheet ‘R.css’ now adds less vertical white space when
rendering Rd files' \itemize, \enumerate, and \describe list \items to
HTML.
</P>
<P>
Where R is used via extensive IDEs such as ‘RStudio’, their maintainers
may need to adapt ‘R.css’ files accordingly.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ when passed a tarball looks at its contents and so no
longer derives the package name from the tarball name (which can now be
arbitrary).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package ‘README.md’ files are now installed and featured in HTML help.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘package.skeleton()’ now invisibly returns the path of the created
directory, similar to ‘prompt()’ et al., and allows creating blank
skeletons without any R objects.
</DEL>
</P></LI>

</UL>
<H4>Changes in R-devel Deprecated and Defunct </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘structure(NULL, &lt;name&gt; = &lt;val&gt;)’ is now defunct.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Three ‘tk*.slaves()’ functions were deprecated in favor of
‘tk*.child()’ which do need Tcl/Tk version ‘8.6’ or higher.
</DEL>
</P></LI>

</UL>
<H4>Changes in R-devel Bug Fixes </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘chol(x, pivot=TRUE)’ now zeroes the trailing submatrix when the
algorithm stops early. Following the help page instructions on how to
reconstruct the matrix in positive semidefinite cases gave incorrect
results if the rank was 2 or more less than the dimension (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15853">PR#15853</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Profiling ‘&quot;mle&quot;’ objects (‘stats4’ package) could fail because profile
MLE used starting value from full MLE. Now starts from profile MLE from
previous step.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Setting ‘attributes’ on primitive functions is now an error; previously
it modified without copying (as noticed by Henrik Bengtsson on the
R-devel mailing list).
</P>
<P>
Relatedly, changing the ‘environment()’ of a primitive function does no
longer happen and gives a warning (to become an error, later).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Dataset ‘LifeCycleSavings’ had a misspelled row name: ‘&quot;Guatamala&quot;’ was
corrected to ‘&quot;Guatemala&quot;’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘Pair(x,y)’ construction in the formula interface to paired tests
did not work with the ‘subset’ argument, due to the absence of a
‘[.Pair’ method, which has now been added.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Subsetting ‘&quot;table&quot;’ objects keeps S3 classes more consistently, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18845">PR#18845</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
When ‘browser()’ is active or when otherwise debugging, R code such as
‘if(TRUE)’ now longer triggers a new browser level, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18885">PR#18885</a>
(differently than the fix for <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15770">PR#15770</a>), with thanks to Ivan Krylov.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘text()’ now truncates ‘labels’ to maximum length of ‘x’ and ‘y’ (if it
is longer), fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=7084">PR#7084</a>.  Thanks to Heather Turner, Ella Kaye, and
Philippe Grosjean.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘&lt;Date&gt; %in% set’ is again as fast as it was before R 4.3.0, _via_ a
new S3 method ‘mtfrm.Date’.
</P>
<P>
‘&lt;character&gt; %in% &lt;Date&gt;’ and vice versa are now documented to work in
concordance with ‘==’ and as an exception to the typical ‘match()’
behaviour which relies on “univariate” ‘mtfrm()’ alone.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
It is now possible to convert _to_ ‘&quot;snpc&quot;’ units via, e.g.,
‘grid::convertWidth()’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18915">PR#18915</a>. Thanks to Trevor Davis.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘precip’ dataset had typos in the names ‘&quot;Bismarck&quot;’ and
‘&quot;Pittsburgh&quot;’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18895">PR#18895</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::checkReplaceFuns()’ now deals better with replacement methods
_not_ available as regular functions in the namespace.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘length(xpr) &lt;- n’ now also works for ‘expression’ vectors, the same as
for ‘list’s, i.e., padding with ‘NULL’ entries if the length is
increased.  Thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18917">PR#18917</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘&lt;complex&gt;[i] &lt;- NA’ now only sets the _real_ part to ‘NA’,
consistently with the ‘as.complex(NA)’ behaviour since R 4.4.0; thanks
to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18918">PR#18918</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘format(&lt;list&gt;)’ calling ‘format.default()’ now calls generic
‘format()’ on each list element (rather than ‘format.default()’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::Rd2HTML()’ detects paragraphs in more cases of \Sexpr-generated
Rd code, fixing a regression in R 3.6.0 originally reported by Georgi
Boshnakov and later also in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18470">PR#18470</a>.  An inactive #ifdef block no
longer breaks the paragraph.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Parsing a multi-line string from Rd \Sexpr code no longer doubles the
newlines.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘requireNamespace(.., versionCheck = *)’ now shows an error and returns
‘FALSE’ when the package version check is not fulfilled, thanks to Iris
Simmons and Trevor Davis's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18255">PR#18255</a>.  Additionally, the ‘versionCheck’
argument is checked and when invalid, an error is signalled to avoid
subsequent confusing error messages.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘requireNamespace()’ now throws an error even if the name space is
already loaded if it is called with an unmatched argument such as
‘quitely = TRUE’ or ‘quiet = TRUE’ (argument ‘quietly’ cannot be
abbreviated as it follows ‘...’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘rep()’ signals more specific error messages, notably when using both
‘times’ and ‘each’ optional arguments.  Fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18926">PR#18926</a>, thanks to Ella
Kaye and collaborators at useR! 2025's ‘R Dev Day’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘jitter(x, amount, factor)’ becomes more robust for non-finite ‘x’ or
also negative ‘amount’, ‘factor’.  ‘help(jitter)’ is easier to read,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17279">PR#17279</a>, thanks to its contributors.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Plain-text help (‘Rd2txt’) lacked markup for ‘\cite’d titles, which are
now wrapped in single quotes.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Default column labels are now correctly aligned when printing a matrix
with right alignment (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18943">PR#18943</a>, thanks to Mikael Jagan).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘poly(fct, n)’ signals an error again, for a non-‘ordered’ factor
‘fct’, thanks to Roland Fuss' notice on R-devel.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘terms(&lt;formula&gt;, simplify=TRUE)’ now works correctly also in the cases
where the formula has more than one term with NAs such as ‘f(u, b=NA)’
or ‘g(NA)’, finally fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15275">PR#15275</a> thanks to Mikael Jagan's patch.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The help page ‘example(matplot)’ now correctly labels Sepal vs Petal
dimensions in its first iris data plot, thanks to Jeff Dick's post on
R-devel.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘diff(m, lag, dif)’ for matrix ‘m’ now still returns matrices, also
when ‘lag * dif &gt; nrow(m)’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>, thanks to Mikael Jagan and
Suharto Anggono).  ‘diff(&lt;ts-matrix&gt;)’ remains matrix, even when it has
length zero.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Values returned by active binding functions are now marked as not
mutable to prevent unintended mutation in complex assignment
operations.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default method of ‘sequence()’ now allows to fully recycle all
three of ‘(nvec, from, by)’ as always documented; with thanks to Mikael
Jagan's report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18304">PR#18304</a>.  Its behaviour remains back
compatible for now, but can be switched to future behaviour via
environment variable ‘R_sequence_recycle’, or explicit ‘recycle =
TRUE’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Subassignment, ‘x[ind] &lt;- val’, to 1-dimensional ‘array’s no longer
“drops” them to simple vectors when ‘ind’ is a name, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18973">PR#18973</a>,
reported by Thomas Soeiro.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘implicitGeneric’ definition for ‘toeplitz()’ produced a default
method that failed when ‘toeplitz(x, r)’ was called with more than the
first argument.  Simple fix from Mikael Jagan.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The error message for ‘array(dim = c())’ now uses ‘&quot;'dim'&quot;’, thanks to
Hugo Gruson.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Some legal but strange nested complex assignments are handled a bit
more robustly in interpreted code.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘cacheMetaData()’ does not to mangle primitive generics.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The S4 method ‘norm(&lt;ANY&gt;, type = &lt;missing&gt;)’ for the implicit generic
‘norm()’ now uses ‘type = &quot;O&quot;’ as has been the intention for more than
ten years, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18979">PR#18979</a> thanks to Mikael Jagan.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
On Windows terminals ‘Ctrl-C’ now breaks out of waiting for keyboard
input, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18982">PR#18982</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default ‘summary()’ and its factor method now label missing values
‘NAs’ rather than ‘NA's’, fixing a decades-old grammatical faux pas
inherited from S (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16348">PR#16348</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18948">PR#18948</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Asymmetric ‘toeplitz(x, r)’ is type consistent now, even when ‘r’ of
length 0 or 1 is not used directly.  Fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18996">PR#18996</a>, thanks to Mikael
Jagan's patch and test.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘format(r)’ now keeps ‘names(r)’ also for raw objects ‘r’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘rep.int()’ and ‘rep_len()’ again drop names also for factors, fixing a
regression in R 4.0.0.  (Thanks to a report by Rui Barradas and
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18999">PR#18999</a> by Suharto Anggono.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘str(x)’ with a ‘list’-like ‘x’ of a class having an ‘str()’ S3 method
using ‘NextMethod()’, now no longer outputs ‘&quot;List of &lt;...&gt;&quot;’ in the
default method, thanks to Ian Farm's report and fix proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19001">PR#19001</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.POSIXlt(ch)’, ‘as.Date(ch)’ etc now also work correctly when ‘ch’
contains ‘&quot;Inf&quot;’, via ‘strptime(.)’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19006">PR#19006</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘c(&lt;POSIXlt&gt;, ..)’ now fully preserves sub-second accuracy, fulfilling
a part of Suharto Anggono's wishlist <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18989">PR#18989</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘&quot;tzcode&quot;’ attribute of ‘&quot;POSIXlt&quot;’ objects should no longer depend
on earlier calls, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19005">PR#19005</a> thanks to Ivan Krylov, a patch by
Suharto Anggono and reports of “Non-deterministic POSIXlt tzone in
Europe/London ..” on R-devel.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In intervals with very low density ‘cdplot()’ was unreliable, returning
probabilities that are greater than one or ‘NaN’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19011">PR#19011</a>).  Fix from
Christoph Dalitz and Achim Zeileis.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD build’ now installs packages providing their own vignette engine
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18191">PR#18191</a>).  Patch by Paul Smith.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘ar.burg()’, ‘ar.yw()’ and ‘ar.ols()’ deal better with non finite AIC
values thanks to Simone Giannerini's remarks on R-devel.
</DEL>
</P></LI>

</UL>
<H4>Changes in R-devel Significant User-Visible Changes </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The R citation now provides a DOI (10.32614/R.manuals): please update
your bibliographies accordingly.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default C++ standard has been changed to C++20 where available
(which it is on all known platforms from 2021 on): if not C++17 is used
if available otherwise C++ is not supported (as before).
</P>
<P>
(GCC 16 has also switched to C++20 as its default.)
</P>
<P>
Packages can request C++17 if essential.
</DEL>
</P></LI>

<LI><P>
.
</P></LI>

</UL>
<H4>Changes in R-devel New Features </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default ‘AIC’ and ‘BIC’ methods now check whether the ‘methods’
namespace is loaded rather than ‘stats4’. They still use
‘stats4::logLik’ (and ‘stats4::nobs’), but packages no longer need to
load ‘stats4’ explicitly.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘confint.default()’ now also works on S4 objects, as long as suitable
‘coef()’ and ‘vcov()’ methods exist.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘binomial(identity)’ and ‘quasibinomial(identity)’ now work without
having to quote the argument.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘str()’ now shows more via ‘format()’ for external pointers.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘terms(&lt;formula&gt;, specials = *)’ now treats non-syntactic specials more
gracefully, thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18568">PR#18568</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘help.start()’ gets a ‘lib.loc’ option and its default for
‘make.packages.html()’ is enhanced to allow, e.g., fast access to
‘.Library’ when that contains only base and recommended packages.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In ‘*.Rd’ help files, the \linkS4class macro now also works for links
to other packages via \linkS4class[&lt;pkg&gt;]{&lt;myClass&gt;}, much nicer than
the “workaround” \link[&lt;pkg&gt;:&lt;myClass&gt;-class]{&lt;myClass&gt;} necessary in
earlier versions of R.
</P>
<P>
Packages with the new syntax need to formally depend on ‘R &gt;= 4.6.0’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::analyze_license()’ now also computes SPDX license identifiers,
thanks to Thierry Onkelinx and LLuís Revilla.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘read.dcf()’ now recognizes lines starting with ‘#’ as comment lines.
By Dirk Eddelbuettel, Laurent Gatto and Hugo Gruson.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tcltk::tclVersion()’ now only optionally includes the ‘patch level’,
as Tcl full versions can be of the form ‘8.7a5’ or ‘9.0b1’ without
three clear components.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘untar(tar = &quot;internal&quot;)’ supports ‘extras = &quot;-P&quot;’ to use unchanged the
recorded file paths (as many external ‘tar’ programs do).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘extSoftVersion()[[&quot;zstd&quot;]]’ now reports the version of the ‘zstd’
compression library if available, thanks to Trevor Davis' patch
proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18914">PR#18914</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New logical ‘option()’ ‘quiet’, defaulting to false, set to ‘TRUE’ by
R's command-line option ‘--quiet’ (and similar), now can be switched
during an R session.  Prompted by Dirk Eddelbuettel's proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18913">PR#18913</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Credentials for basic HTTP authentication with download method
‘&quot;libcurl&quot;’ can now be provided in a ‘netrc’ file.  The path to the
file can be specified in ‘options(&quot;netrc&quot;)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::deparseLatex()’ gains a ‘math’ argument, now used by the
default ‘bibstyle’ to format ‘bibentry()’ fields with ‘$...$’ syntax
via Rd \eqn markup.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘gzcon()’ can now decompress a concatenation of compressed streams
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18887">PR#18887</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Bibliographic citations and references in Rd files can now be
auto-generated from bibentries in bibliographic databases in R or
BibTeX formats.  See
‘RShowDoc(&quot;R-exts#Bibliographic-citations-and-references&quot;)’ for more
information.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Arguments to ‘loadNamespace()’ which will be ignored because the
namespace is already loaded are now noted.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘chkDots()’' optional argument ‘allowed’ has been implemented thanks to
Trevor Davis' proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18936">PR#18936</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘wilcox.test()’ can now perform exact (conditional) inference in case
of ties.  Based on contributions by Torsten Hothorn.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘wilcox.test()’ can now optionally compute improved asymptotic p-values
by including up to 3 correction terms of the Edgeworth series for the
normal approximation.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘barplot(.., orderH = *)’ for stacked bar plots allows to sort the
stacks each according to size.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New argument ‘panel.first’ for ‘hist()’ (via ‘plot.histogram()’),
‘barplot()’, ‘bxp()’, and hence implicitly ‘boxplot()’.  All except the
former also gain a new ‘panel.last’.  Suggested by Marieke Stolte and
Julian Welz.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘plot.default()’ gets a new switch ‘lim2’ to indicate that the default
‘xlim’ and ‘ylim’ range computations only use _jointly_ finite x- and
y-values; indirectly suggested in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=7986">PR#7986</a> by Jincai Jiang.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rman.css’, the stylesheet for the ‘texi2any’-generated HTML versions
of the R manuals, was improved following joint efforts at the ‘R Dev
Days’ of useR! 2024 and RSECon25.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New system Rd macro ‘\manual{&lt;name&gt;}{&lt;node&gt;}’ to refer to a specific
section _etc_ (possibly empty, for ‘Top’) of one of the R manuals
(e.g., ‘R-exts’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘list.files()’ now has optional argument ‘fixed’ to allow literal
pattern matching.  Suggested and implemented by Duncan Murdoch in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18925">PR#18925</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘substring(txt, i1, i2)’, ‘substr(..)’ and their replacement versions
now accept ‘i2 = NULL’ to mean “to the end_of_string”, thus fulfilling
Kevin Ushey (and others') suggestions in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18851">PR#18851</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default method for ‘pretty()’ gets a new switch ‘bounds’ for
completeness, corresponding to ‘.pretty()’.  Also, it now catches typos
such as ‘eps.corrected = 2’, noted in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18521">PR#18521</a> by Mikko Korpela.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Plain-text help now renders Rd \describe lists using line breaks after
item labels.  Set ‘tools::Rd2txt_options(descStyle=NULL)’ to get the
old behaviour with a simple space; a ‘&quot;colon&quot;’ variant is also
available.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default method of ‘sequence()’ gets a new option ‘recycle’ to swap
between current (not fully recycling) and future behaviour where all
three of ‘(nvec, from, by)’ are jointly recycled.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘ftable()’s default method and the ‘as.table()’ method for ‘&quot;ftable&quot;’s
get a ‘perm’ argument with back compatible default.  The ‘as.table()’
method also gets a ‘named.dim = FALSE’ switch, no longer creating a
named ‘dim(&lt;result&gt;)’ by default.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘match.arg()’ gets a new option ‘several.ok = &quot;all&quot;’, fulfilling the
wish of Jim Hester in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16659">PR#16659</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘provideDimnames()’ gets new switch ‘use.names’, as proposed including
patch by Mikael Jagan, in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18975">PR#18975</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default ‘summary()’ is more informative for character vectors,
optionally resorting to the factor method via the new argument
‘character.method = &quot;factor&quot;’, e.g., when summarizing a data frame
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16750">PR#16750</a>).
</P>
<P>
It also provides more useful summaries for complex vectors, with
‘polar’ determining if polar or cartesian coordinates are more
relevant; mostly based on a proposal by Mikael Jagan.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Error messages from failed Rd \Sexpr code now include the call from the
original condition (if available).  Warning messages now include Rd
source locations.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
When the environment variable ‘R_WARN_BOUNDS_OPT’ is set to ‘&quot;yes&quot;’,
‘options(warn = val)’ will check if ‘val’ is inside ‘-1:2’; this may
happen unconditionally in the future.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘weighted.residuals()’ now returns weighted working residuals for
‘&quot;glm&quot;’ objects. It used to return deviance residuals, but these do not
give the one-step approximated ‘dfbeta’ values, as pointed out by Ravi
Varadhan. ‘influence.glm()’ has been amended so that it now returns an
object with both a ‘&quot;wt.res&quot;’ and a ‘&quot;dev.res&quot;’ element.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Several influence measures for ‘&quot;glm&quot;’ objects have been updated to use
Pearson residuals rather than deviance residuals (the latter are not
unbiased) and to not use leave-one-out estimates of dispersion in
models with fixed dispersion. Thanks to Ravi Varadhan for discussions
and testing of these updates.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
R now supports custom binary types which are of the form
‘&quot;&lt;system&gt;.binary.&lt;build&gt;&quot;’ where ‘&lt;system&gt;’ is lower-case name
(letters only) of the system and ‘&lt;build&gt;’ is the name of the build
(alphanumeric and dashes). The corresponding paths returned by
‘contrib.url’ (which govern the repository layout) with the above
‘type=’ have the form ‘bin/&lt;system&gt;/&lt;build&gt;/contrib/&lt;x.y&gt;’ where
‘&lt;x.y&gt;’ is the R version without patch level. This is a generalisation
of the binary types previously supported on macOS. In addition, binary
packages can have the extensions ‘.tar.bz2’, ‘.tar.xz’, ‘.tar.zst’ and
‘.tar.zstd’ with the corresponding compression support.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The value of ‘.Platform$pkgType’ which defines the native binary type
for the current build of R can be overridden with ‘R_PLATFORM_PKGTYPE’
environment variable (previously this was only set by the macOS builds
of R). This should be typically only done by the author of a binary R
distribution to define the type of binaries supported by that build of
R.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
If R uses custom binary type in its ‘.Platform$pkgType’ then ‘R CMD
INSTALL --build’ will produce
‘&lt;package&gt;_&lt;ver&gt;_R_&lt;system&gt;-&lt;build&gt;.tar.zstd’ binary files if R has
‘zstd’ support, ‘.tar.xz’ otherwise.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New facilities have been introduced for package integrity verification
and package signing. The optional file ‘SHA256’ in a package contains
SHA-256 hashes, lengths and paths of files provided in the package
allowing for more reliable integrity verification (relative to ‘MD5’).
This file is now generated by default in ‘R CMD INSTALL --build’ and
optionally via ‘R CMD build --sha256’. A package can be signed by
creating a detached GnuPG signature file ‘SHA256.sig’ signing the
entirety of the ‘SHA256’ file. Upon installation, the signature is
verified using GnuPG, thus ensuring the integrity of the ‘SHA256’ file
and by induction all files in the package.  Both source and binary
packages can be signed. Currently, this only applies to tar-based
packages, and the command-line GnuPG ‘gpg’ tool (or equivalent tool
named in the ‘GPG’ environment variable) has to be available for
signing and verification to work. ‘R CMD INSTALL --sign’ can be used to
sign binary packages, including its use with ‘--build’.  System-wide
GnuPG keyrings for the R installation can be placed in
‘&lt;R_HOME&gt;/etc/keyrings’ as files with ‘.gpg’ extensions and will be
checked first before consulting user's GnuPG keyring (if present).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Experimentally, several math library (‘math.h’) functions, such as
‘exp(.)’, ‘log1p()’, ‘sin()’, ‘atanh()’, when called from R, are now
ensured to give fully accurate results in a small neighbourhood of
special values, such as ‘exp(0) == 1’, ‘log1p(0) == 0’, etc.  This
makes R slightly less platform dependent for these functions, notably
on platforms with less accurate system math libraries, see also
&lt;https://blog.r-project.org/2026/01/30/debugging-sensitivity-to-c-math-library-on-linux/&gt;.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Function ‘free1way()’ implementing semiparametrically efficient
inference procedures (likelihood- and permutation-based) in
distribution-free stratified K-sample one-way layouts was added to the
‘stats’ package.  Approximate (via ‘power.free1way.test()’) and
simulation-based (utilising ‘rfree1way()’ for random number generation)
power-assessment and sample-size planning as well as model diagnostics
(available from a ‘plot’ method and probability-probability plots in
‘ppplot()’) complement the functionality.  Provided by Torsten Hothorn.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘plot.data.frame()’ now supports a ‘formula’ argument.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New Rd macro \linkS4methods{}, e.g., for easier linking to method docs
in other packages, proposed and coded by Mikael Jagan in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18998">PR#18998</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Class ‘&quot;difftime&quot;’ is now also among the S4 ‘&quot;OldClasses&quot;’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘bitstring()’ as a user-friendly wrapper around
‘intToBits()’, etc.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘plot.lm()’ now omits the smoother in the residuals vs leverage plot.
This never made much sense, but if you really want it, you can force
the old behaviour by setting ‘panel.raw=panel.smooth’.
</DEL>
</P></LI>

<LI><P>
.
</P></LI>

</UL>
<H4>Changes in R-devel Installation </H4>
<UL>
<LI><P>
.
</P></LI>

</UL>
<H4>Changes in R-devel Package Installation </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Specifying C++11 or C++14 in ‘src/Makevars’ has long given a note: in
99% of CRAN packages the specification was unnecessary as the default
C++17 sufficed (in a few cases with a deprecation warning from some
compilers).
</P>
<P>
Support for these standards has been removed: the default C++ standard
will be used.
</P>
<P>
‘R CMD config’ variables ‘CXX11’, ‘CXX14’ and their associated
‘CXXxxFLAGS’, ‘CXXxxPICFLAGS’ ‘CXXxxSTD’, ‘SHLIBCXXxxLD’ and
‘SHLIBCXXxxLDFLAGS’ variables are no longer supported and reported as
‘defunct’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
When installing binary packages the time stamp in the ‘&quot;Built&quot;’ field
is considered even if the package version is identical to allow binary
package repositories to update binaries without the need to increase
the package version.
</DEL>
</P></LI>

<LI><P>
.
</P></LI>

</UL>
<H4>Changes in R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-03-26</title>
<pubDate>Thu, 26 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/26#n2026-03-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/26#n2026-03-26</guid>
<description><![CDATA[<H4>Changes in R-devel C-Level Facilities </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The ‘R_ObjectTable’ type definitions formerly 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’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-25</title>
<pubDate>Wed, 25 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/25#n2026-03-25</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/25#n2026-03-25</guid>
<description><![CDATA[<H4>Changes in R-devel C-Level Facilities </H4>
<UL>
<LI><P>
Task callback support declared in ‘R_ext/Callbacks.h’ has been enabled
again. It was disabled for R 4.5.0.
</P></LI>

<LI><P>
The non-API header file ‘R_ext/PrtUtil.h’ is no longer copied to the
installed ‘include’ directory.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-24</title>
<pubDate>Tue, 24 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/24#n2026-03-24</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/24#n2026-03-24</guid>
<description><![CDATA[<H4>Changes in R-devel New Features </H4>
<UL>
<LI><P>
If R uses custom binary type in its ‘.Platform$pkgType’ then ‘R CMD
INSTALL --build’ will produce
‘&lt;package&gt;_&lt;ver&gt;_R_&lt;system&gt;-&lt;build&gt;.tar.zstd’ binary files if R has
‘zstd’ support, ‘.tar.xz’ otherwise.
</P></LI>

<LI><P>
New facilities have been introduced for package integrity verification
and package signing. The optional file ‘SHA256’ in a package contains
SHA-256 hashes, lengths and paths of files provided in the package
allowing for more reliable integrity verification (relative to ‘MD5’).
This file is now generated by default in ‘R CMD INSTALL --build’ and
optionally via ‘R CMD build --sha256’. A package can be signed by
creating a detached GnuPG signature file ‘SHA256.sig’ signing the
entirety of the ‘SHA256’ file. Upon installation, the signature is
verified using GnuPG, thus ensuring the integrity of the ‘SHA256’ file
and by induction all files in the package.  Both source and binary
packages can be signed. Currently, this only applies to tar-based
packages, and the command-line GnuPG ‘gpg’ tool (or equivalent tool
named in the ‘GPG’ environment variable) has to be available for
signing and verification to work. ‘R CMD INSTALL --sign’ can be used to
sign binary packages, including its use with ‘--build’.  System-wide
GnuPG keyrings for the R installation can be placed in
‘&lt;R_HOME&gt;/etc/keyrings’ as files with ‘.gpg’ extensions and will be
checked first before consulting user's GnuPG keyring (if present).
</P></LI>

<LI><P>
‘plot.lm()’ now omits the smoother in the residuals vs leverage plot.
This never made much sense, but if you really want it, you can force
the old behaviour by setting ‘panel.raw=panel.smooth’.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">R now supports custom binary types which are of the form ‘"&lt;system&gt;.binary.&lt;build&gt;"’ where ‘&lt;system&gt;’ is lower-case name (letters only) of the system and ‘&lt;build&gt;’ is the name of the build (alphanumeric and dashes). The corresponding paths returned by ‘contrib.url’ (which govern the repository layout) with the above ‘type=’ have the form ‘bin/&lt;system&gt;/&lt;build&gt;/contrib/&lt;x.y&gt;’ where ‘&lt;x.y&gt;’ is the R version without patch level. This is a generalisation of the binary types previously supported on macOS. In addition, binary packages can have the extensions ‘.tar.bz2’, ‘.tar.xz’, ‘.tar.zst’ and ‘.tar.zstd’ with the corresponding compression support.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-23</title>
<pubDate>Mon, 23 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/23#n2026-03-23</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/23#n2026-03-23</guid>
<description><![CDATA[<H4>Changes in R-devel C-Level Facilities </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New experimental API for working with variable bindings in environments. The function ‘R_GetBindingType’ identifies the binding type without forcing a delayed or active binding.  New bindings care created by ‘R_MakeDelayedBinding’, ‘R_MakeForcedBinding’ and ‘R_MakeMissingBinding’.  Delayed and forced bindings can be inspected with ‘R_ForcedBindingExpression’, ‘R_DelayedBindingExpression’, and ‘R_DelayedBindingEnvironment’.  Bindings for ‘...’ in function call environments can be examined with ‘R_findDotsEnv’, ‘R_DotsExist’, ‘R_DotsLength’, ‘R_DotsNames’, ‘R_DotsElt’, ‘R_GetDotType’, ‘R_DotDelayedExpression’, ‘R_DotDelayedEnvironment’, and ‘R_DotForcedExpression’. Contributed by Lionel Henry, Davis Vaughan, and Charlie Gao in PR#18928.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-22</title>
<pubDate>Sun, 22 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/22#n2026-03-22</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/22#n2026-03-22</guid>
<description><![CDATA[<H4>Changes in R-devel Significant User-Visible Changes </H4>
<UL>
<LI><P>
The R citation now provides a DOI (10.32614/R.manuals): please update
your bibliographies accordingly.
</P></LI>

<LI><P>
The default C++ standard has been changed to C++20 where available
(which it is on all known platforms from 2021 on): if not C++17 is used
if available otherwise C++ is not supported (as before).
</P>
<P>
(GCC 16 has also switched to C++20 as its default.)
</P>
<P>
Packages can request C++17 if essential.
</P></LI>

</UL>
<H4>Changes in R-devel New Features </H4>
<UL>
<LI><P>
The default ‘AIC’ and ‘BIC’ methods now check whether the ‘methods’
namespace is loaded rather than ‘stats4’. They still use
‘stats4::logLik’ (and ‘stats4::nobs’), but packages no longer need to
load ‘stats4’ explicitly.
</P></LI>

<LI><P>
‘confint.default()’ now also works on S4 objects, as long as suitable
‘coef()’ and ‘vcov()’ methods exist.
</P></LI>

<LI><P>
‘binomial(identity)’ and ‘quasibinomial(identity)’ now work without
having to quote the argument.
</P></LI>

<LI><P>
‘str()’ now shows more via ‘format()’ for external pointers.
</P></LI>

<LI><P>
‘terms(&lt;formula&gt;, specials = *)’ now treats non-syntactic specials more
gracefully, thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18568">PR#18568</a>.
</P></LI>

<LI><P>
‘help.start()’ gets a ‘lib.loc’ option and its default for
‘make.packages.html()’ is enhanced to allow, e.g., fast access to
‘.Library’ when that contains only base and recommended packages.
</P></LI>

<LI><P>
In ‘*.Rd’ help files, the \linkS4class macro now also works for links
to other packages via \linkS4class[&lt;pkg&gt;]{&lt;myClass&gt;}, much nicer than
the “workaround” \link[&lt;pkg&gt;:&lt;myClass&gt;-class]{&lt;myClass&gt;} necessary in
earlier versions of R.
</P>
<P>
Packages with the new syntax need to formally depend on ‘R &gt;= 4.6.0’.
</P></LI>

<LI><P>
‘tools::analyze_license()’ now also computes SPDX license identifiers,
thanks to Thierry Onkelinx and LLuís Revilla.
</P></LI>

<LI><P>
‘read.dcf()’ now recognizes lines starting with ‘#’ as comment lines.
By Dirk Eddelbuettel, Laurent Gatto and Hugo Gruson.
</P></LI>

<LI><P>
‘tcltk::tclVersion()’ now only optionally includes the ‘patch level’,
as Tcl full versions can be of the form ‘8.7a5’ or ‘9.0b1’ without
three clear components.
</P></LI>

<LI><P>
‘untar(tar = &quot;internal&quot;)’ supports ‘extras = &quot;-P&quot;’ to use unchanged the
recorded file paths (as many external ‘tar’ programs do).
</P></LI>

<LI><P>
‘extSoftVersion()[[&quot;zstd&quot;]]’ now reports the version of the ‘zstd’
compression library if available, thanks to Trevor Davis' patch
proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18914">PR#18914</a>.
</P></LI>

<LI><P>
New logical ‘option()’ ‘quiet’, defaulting to false, set to ‘TRUE’ by
R's command-line option ‘--quiet’ (and similar), now can be switched
during an R session.  Prompted by Dirk Eddelbuettel's proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18913">PR#18913</a>.
</P></LI>

<LI><P>
Credentials for basic HTTP authentication with download method
‘&quot;libcurl&quot;’ can now be provided in a ‘netrc’ file.  The path to the
file can be specified in ‘options(&quot;netrc&quot;)’.
</P></LI>

<LI><P>
‘tools::deparseLatex()’ gains a ‘math’ argument, now used by the
default ‘bibstyle’ to format ‘bibentry()’ fields with ‘$...$’ syntax
via Rd \eqn markup.
</P></LI>

<LI><P>
‘gzcon()’ can now decompress a concatenation of compressed streams
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18887">PR#18887</a>.
</P></LI>

<LI><P>
Bibliographic citations and references in Rd files can now be
auto-generated from bibentries in bibliographic databases in R or
BibTeX formats.  See
‘RShowDoc(&quot;R-exts#Bibliographic-citations-and-references&quot;)’ for more
information.
</P></LI>

<LI><P>
Arguments to ‘loadNamespace()’ which will be ignored because the
namespace is already loaded are now noted.
</P></LI>

<LI><P>
‘chkDots()’' optional argument ‘allowed’ has been implemented thanks to
Trevor Davis' proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18936">PR#18936</a>.
</P></LI>

<LI><P>
‘wilcox.test()’ can now perform exact (conditional) inference in case
of ties.  Based on contributions by Torsten Hothorn.
</P></LI>

<LI><P>
‘wilcox.test()’ can now optionally compute improved asymptotic p-values
by including up to 3 correction terms of the Edgeworth series for the
normal approximation.
</P></LI>

<LI><P>
‘barplot(.., orderH = *)’ for stacked bar plots allows to sort the
stacks each according to size.
</P></LI>

<LI><P>
New argument ‘panel.first’ for ‘hist()’ (via ‘plot.histogram()’),
‘barplot()’, ‘bxp()’, and hence implicitly ‘boxplot()’.  All except the
former also gain a new ‘panel.last’.  Suggested by Marieke Stolte and
Julian Welz.
</P></LI>

<LI><P>
‘plot.default()’ gets a new switch ‘lim2’ to indicate that the default
‘xlim’ and ‘ylim’ range computations only use _jointly_ finite x- and
y-values; indirectly suggested in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=7986">PR#7986</a> by Jincai Jiang.
</P></LI>

<LI><P>
‘Rman.css’, the stylesheet for the ‘texi2any’-generated HTML versions
of the R manuals, was improved following joint efforts at the ‘R Dev
Days’ of useR! 2024 and RSECon25.
</P></LI>

<LI><P>
New system Rd macro ‘\manual{&lt;name&gt;}{&lt;node&gt;}’ to refer to a specific
section _etc_ (possibly empty, for ‘Top’) of one of the R manuals
(e.g., ‘R-exts’).
</P></LI>

<LI><P>
‘list.files()’ now has optional argument ‘fixed’ to allow literal
pattern matching.  Suggested and implemented by Duncan Murdoch in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18925">PR#18925</a>.
</P></LI>

<LI><P>
‘substring(txt, i1, i2)’, ‘substr(..)’ and their replacement versions
now accept ‘i2 = NULL’ to mean “to the end_of_string”, thus fulfilling
Kevin Ushey (and others') suggestions in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18851">PR#18851</a>.
</P></LI>

<LI><P>
The default method for ‘pretty()’ gets a new switch ‘bounds’ for
completeness, corresponding to ‘.pretty()’.  Also, it now catches typos
such as ‘eps.corrected = 2’, noted in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18521">PR#18521</a> by Mikko Korpela.
</P></LI>

<LI><P>
Plain-text help now renders Rd \describe lists using line breaks after
item labels.  Set ‘tools::Rd2txt_options(descStyle=NULL)’ to get the
old behaviour with a simple space; a ‘&quot;colon&quot;’ variant is also
available.
</P></LI>

<LI><P>
‘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.
</P></LI>

<LI><P>
The default method of ‘sequence()’ gets a new option ‘recycle’ to swap
between current (not fully recycling) and future behaviour where all
three of ‘(nvec, from, by)’ are jointly recycled.
</P></LI>

<LI><P>
‘ftable()’s default method and the ‘as.table()’ method for ‘&quot;ftable&quot;’s
get a ‘perm’ argument with back compatible default.  The ‘as.table()’
method also gets a ‘named.dim = FALSE’ switch, no longer creating a
named ‘dim(&lt;result&gt;)’ by default.
</P></LI>

<LI><P>
‘match.arg()’ gets a new option ‘several.ok = &quot;all&quot;’, fulfilling the
wish of Jim Hester in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16659">PR#16659</a>.
</P></LI>

<LI><P>
‘provideDimnames()’ gets new switch ‘use.names’, as proposed including
patch by Mikael Jagan, in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18975">PR#18975</a>.
</P></LI>

<LI><P>
The default ‘summary()’ is more informative for character vectors,
optionally resorting to the factor method via the new argument
‘character.method = &quot;factor&quot;’, e.g., when summarizing a data frame
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16750">PR#16750</a>).
</P>
<P>
It also provides more useful summaries for complex vectors, with
‘polar’ determining if polar or cartesian coordinates are more
relevant; mostly based on a proposal by Mikael Jagan.
</P></LI>

<LI><P>
Error messages from failed Rd \Sexpr code now include the call from the
original condition (if available).  Warning messages now include Rd
source locations.
</P></LI>

<LI><P>
When the environment variable ‘R_WARN_BOUNDS_OPT’ is set to ‘&quot;yes&quot;’,
‘options(warn = val)’ will check if ‘val’ is inside ‘-1:2’; this may
happen unconditionally in the future.
</P></LI>

<LI><P>
‘weighted.residuals()’ now returns weighted working residuals for
‘&quot;glm&quot;’ objects. It used to return deviance residuals, but these do not
give the one-step approximated ‘dfbeta’ values, as pointed out by Ravi
Varadhan. ‘influence.glm()’ has been amended so that it now returns an
object with both a ‘&quot;wt.res&quot;’ and a ‘&quot;dev.res&quot;’ element.
</P></LI>

<LI><P>
Several influence measures for ‘&quot;glm&quot;’ objects have been updated to use
Pearson residuals rather than deviance residuals (the latter are not
unbiased) and to not use leave-one-out estimates of dispersion in
models with fixed dispersion. Thanks to Ravi Varadhan for discussions
and testing of these updates.
</P></LI>

<LI><P>
R now supports custom binary types which are of the form
‘&quot;&lt;system&gt;.binary.&lt;build&gt;&quot;’ where ‘&lt;system&gt;’ is lower-case name
(letters only) of the system and ‘&lt;build&gt;’ is the name of the build
(alphanumeric and dashes). The corresponding paths returned by
‘contrib.url’ (which govern repository layout) with the above ‘type=’
have the form ‘bin/&lt;system&gt;/&lt;build&gt;/contrib/&lt;x.y&gt;’ where ‘&lt;x.y&gt;’ is the
R version without patch level. This is a generalisation of the binary
types previously supported on macOS. In addition, binary packages can
have the extensions ‘.tar.bz2’, ‘.tar.xz’, ‘.tar.zst’ and ‘.tar.zstd’
with the corresponding compression support.
</P></LI>

<LI><P>
The value of ‘.Platform$pkgType’ which defines the native binary type
for the current build of R can be overridden with ‘R_PLATFORM_PKGTYPE’
environment variable (previously this was only set by the macOS builds
of R). This should be typically only done by the author of a binary R
distribution to define the type of binaries supported by that build of
R.
</P></LI>

<LI><P>
Experimentally, several math library (‘math.h’) functions, such as
‘exp(.)’, ‘log1p()’, ‘sin()’, ‘atanh()’, when called from R, are now
ensured to give fully accurate results in a small neighbourhood of
special values, such as ‘exp(0) == 1’, ‘log1p(0) == 0’, etc.  This
makes R slightly less platform dependent for these functions, notably
on platforms with less accurate system math libraries, see also
&lt;https://blog.r-project.org/2026/01/30/debugging-sensitivity-to-c-math-library-on-linux/&gt;.
</P></LI>

<LI><P>
Function ‘free1way()’ implementing semiparametrically efficient
inference procedures (likelihood- and permutation-based) in
distribution-free stratified K-sample one-way layouts was added to the
‘stats’ package.  Approximate (via ‘power.free1way.test()’) and
simulation-based (utilising ‘rfree1way()’ for random number generation)
power-assessment and sample-size planning as well as model diagnostics
(available from a ‘plot’ method and probability-probability plots in
‘ppplot()’) complement the functionality.  Provided by Torsten Hothorn.
</P></LI>

<LI><P>
‘plot.data.frame()’ now supports a ‘formula’ argument.
</P></LI>

<LI><P>
New Rd macro \linkS4methods{}, e.g., for easier linking to method docs
in other packages, proposed and coded by Mikael Jagan in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18998">PR#18998</a>.
</P></LI>

<LI><P>
Class ‘&quot;difftime&quot;’ is now also among the S4 ‘&quot;OldClasses&quot;’.
</P></LI>

<LI><P>
New function ‘bitstring()’ as a user-friendly wrapper around
‘intToBits()’, etc.
</P></LI>

</UL>
<H4>Changes in R-devel Graphics </H4>
<UL>
<LI><P>
The graphics engine version, ‘R_GE_version’, has been bumped to ‘17’
and so packages that provide graphics devices should be reinstalled.
</P>
<P>
The ‘glyphFont()’ function gains a ‘variations’ argument, which allows
variable font axes to be specified, e.g., ‘c(wght = 100)’.
</P>
<P>
Only the ‘quartz()’ device and Cairo-based graphics devices (but not
‘cairo_pdf()’) support variable font axes so far.
</P></LI>

</UL>
<H4>Changes in R-devel Installation on a Unix-Alike </H4>
<UL>
<LI><P>
‘configure’ appends ‘bsdtar’ to the list of command names it tries when
finding a default for ‘TAR’.
</P></LI>

<LI><P>
Failures in building the documentation for the base packages, including
from parsing their Rd files, are no longer ignored by ‘make docs’.
</P></LI>

<LI><P>
Building the R manuals now requires Texinfo 6.8 or later.
</P></LI>

<LI><P>
A new ‘LIBR_LDFLAGS’ defaulting to ‘LDFLAGS’ allows more flexibility,
e.g., for distributions such as Gentoo, Debian or Ubuntu, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18992">PR#18992</a>; additionally a ‘make’ failure to create ‘libR.pc’ should no
longer be ignored, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18993">PR#18993</a>; both thanks to Benjamin Drung.
</P></LI>

</UL>
<H4>Changes in R-devel Checking an Installation </H4>
<UL>
<LI><P>
There is a new directory ‘tests/C++Standards’ which contains small
packages which can be test-installed to check support for various C++
standards.  This is principally for use on Windows as on a Unix-alike
this partially duplicates tests done by ‘configure’ - although it can
also be used to test the behaviour of ‘R CMD INSTALL’ on unsupported
standards.
</P></LI>

</UL>
<H4>Changes in R-devel Package Installation </H4>
<UL>
<LI><P>
Specifying C++11 or C++14 in ‘src/Makevars’ has long given a note: in
99% of CRAN packages the specification was unnecessary as the default
C++17 sufficed (in a few cases with a deprecation warning from some
compilers).
</P>
<P>
Support for these standards has been removed: the default C++ standard
will be used.
</P>
<P>
‘R CMD config’ variables ‘CXX11’, ‘CXX14’ and their associated
‘CXXxxFLAGS’, ‘CXXxxPICFLAGS’ ‘CXXxxSTD’, ‘SHLIBCXXxxLD’ and
‘SHLIBCXXxxLDFLAGS’ variables are no longer supported and reported as
‘defunct’.
</P></LI>

<LI><P>
When installing binary packages the time stamp in the ‘&quot;Built&quot;’ field
is considered even if the package version is identical to allow binary
package repositories to update binaries without the need to increase
the package version.
</P></LI>

</UL>
<H4>Changes in R-devel C-Level Facilities </H4>
<UL>
<LI><P>
New functions ‘GEcreateDD()’ and ‘GEfreeDD()’ for allocating (and
initialising) ‘DevDesc’ structures.  Can be used by external graphics
devices.  Satisfies <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18292">PR#18292</a>.
</P></LI>

<LI><P>
New function ‘R_eval_with_gd()’ designed to “lock” a graphics device
during call to ‘eval()’ within device drawing routines.  External
_on-screen_ graphics devices should consider using this function to
avoid crashes from the device being closed by the user (e.g., a mouse
click) during drawing.
</P></LI>

<LI><P>
Declarations for non-API functions ‘LOGICAL0’, ‘INTEGER0’, ‘REAL0’,
‘COMPLEX0’, and ‘RAW0’ have been removed from installed header files.
</P></LI>

<LI><P>
Non-API entry points ‘Rf_acopy_string’ and ‘Rf_lazy_duplicate’ have
been added to those reported by ‘R CMD check’.
</P></LI>

<LI><P>
Packages using the non-API functions ‘ATTRIB’ and ‘SET_ATTRIB’ will now
receive check ‘NOTE’s.  See ‘Writing R Extensions’ for alternatives to
use.
</P></LI>

<LI><P>
‘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’, ‘R_tryWrap’,
‘Rf_GetOption’, ‘R_lsInternal’, ‘BODY’, ‘FORMALS’, ‘CLOENV’,
‘SET_TYPEOF’, ‘STRING_PTR’, ‘R_duplicate_attr’, ‘getConnection’,
‘R_data_class’, ‘STRING_PTR’, ‘SET_OBJECT’, ‘ATTRIB’, ‘SET_ATTRIB’,
‘Rf_findVarInFrame3’.
</P></LI>

<LI><P>
The deprecated macros ‘CHARACTER_DATA’ and ‘CHARACTER_POINTER’ now
return ‘const’ pointers since using writable pointers in packages is
not safe.
</P></LI>

<LI><P>
New function ‘DATAPTR_RW()’ for use in implementing ALTREP ‘Dataptr’
methods. This function should not be used in any other contexts.
</P></LI>

<LI><P>
New function ‘R_class()’ as the ‘C’ equivalent of ‘class()’ in R.
</P></LI>

<LI><P>
New function ‘Rf_isScalarString’.
</P></LI>

<LI><P>
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’.
</P></LI>

<LI><P>
New function ‘R_mapAttrib’ for iterating over the attributes of an
object.
</P></LI>

<LI><P>
New functions ‘R_altrep_class_name’ and ‘R_altrep_class_package’ for
retrieving the class name symbol and package name symbol of an ALTREP
object. These should be used instead of ‘ALTREP_CLASS’.
</P></LI>

<LI><P>
New function ‘R_getAttributes’ returns the same result as the R
function ‘attributes’. New functions ‘R_getAttribCount’,
‘R_getAttribNames’, ‘R_hasAttrib’, ‘R_nrow’, and ‘R_ncol’.
</P></LI>

<LI><P>
The function ‘Rf_isFrame’ has been removed; use ‘Rf_isDataFrame’
instead.
</P></LI>

<LI><P>
The function ‘VECTOR_PTR’ has been removed.
</P>
<P>
The non-API function ‘DATAPTR’ is no longer declared in an installed
header file.
</P></LI>

<LI><P>
These entry points are now marked as hidden and no longer have
declarations in installed header files: ‘ENVFLAGS’, ‘EXTPTR_PROT’,
‘FRAME’, ‘ENCLOS’, ‘EXTPTR_PTR’, ‘EXTPTR_TAG’, ‘HASHTAB’,
‘IS_S4_OBJECT’, ‘LEVELS’, ‘NAMED’, ‘OBJECT’,
‘R_shallow_duplicate_attr’, ‘Rf_isValidString’, ‘Rf_lazy_duplicate’,
‘Rf_NonNullStringMatch’, ‘SETLENGTH’, ‘SETLEVELS’, ‘SET_BODY’,
‘SET_CLOENV’, ‘SET_ENCLOS’, ‘SET_FORMALS’, ‘SET_ENVFLAGS’, ‘SET_FRAME’,
‘SET_GROWABLE_BIT’, ‘SET_HASHTAB’, ‘SET_NAMED’, ‘SET_S4_OBJECT’,
‘SET_TRUELENGTH’, ‘STDVEC_DATAPTR’, ‘TRUELENGTH’, ‘UNSET_S4_OBJECT’,
‘XTRUELENGTH’.
</P></LI>

<LI><P>
New experimental API for working with variable bindings in
environments. The function ‘R_GetBindingType’ identifies the binding
type without forcing a delayed or active binding.  New bindings care
created by ‘R_MakeDelayedBinding’, ‘R_MakeForcedBinding’ and
‘R_MakeMissingBinding’.  Delayed and forced bindings can be inspected
with ‘R_ForcedBindingExpression’, ‘R_DelayedBindingExpression’, and
‘R_DelayedBindingEnvironment’.  Bindings for ‘...’ in function call
environments can be examined with ‘R_DotsExist’, ‘R_DotsLength’,
‘R_DotsNames’, ‘R_DotsElt’, ‘R_GetDotType’, ‘R_DotDelayedExpression’,
‘R_DotDelayedEnvironment’, and ‘R_DotForcedExpression’. Contributed by
Lionel Henry and Davis Vaughan in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18928">PR#18928</a>.
</P></LI>

<LI><P>
New function ‘R_envSymbols’ returns a vector of the symbols for which
an environment contains bindings (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18928">PR#18928</a>).
</P></LI>

<LI><P>
The functions ‘Rf_findVar’ and ‘findVarInFrame’ are now marked as
non-API, and uses in packages will now receive check ‘WARNING’s.  See
‘Writing R Extensions’ for alternatives to use.
</P></LI>

<LI><P>
‘R CMD check’ ‘NOTE’s on the use of the non-API entry points ‘PRCODE’,
‘SET_PRCODE’, ‘PRENV’, ‘SET_PRENV’, ‘PRVALUE’, ‘SET_PRVALUE’,
‘R_PromiseExpr’, and ‘Rf_allocSExp’ have been upgraded to ‘WARNING’s in
preparation for removing declarations and, where possible, hiding these
entry points.
</P></LI>

</UL>
<H4>Changes in R-devel Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ now reports further ‘clang’ warnings including
‘-Wkeyword-macro’.  This is most commonly seen for the C23 keywords
‘bool’, ‘true’ and ‘false’, but is also seen for ‘nullptr’ (C23 and
C++11). Masking these by macros _may_ generate correct code (but not
always) and always results in confusing-to-read code.
</P></LI>

<LI><P>
The cascaded stylesheet ‘R.css’ now adds less vertical white space when
rendering Rd files' \itemize, \enumerate, and \describe list \items to
HTML.
</P>
<P>
Where R is used via extensive IDEs such as ‘RStudio’, their maintainers
may need to adapt ‘R.css’ files accordingly.
</P></LI>

<LI><P>
‘R CMD check’ when passed a tarball looks at its contents and so no
longer derives the package name from the tarball name (which can now be
arbitrary).
</P></LI>

<LI><P>
Package ‘README.md’ files are now installed and featured in HTML help.
</P></LI>

<LI><P>
‘package.skeleton()’ now invisibly returns the path of the created
directory, similar to ‘prompt()’ et al., and allows creating blank
skeletons without any R objects.
</P></LI>

</UL>
<H4>Changes in R-devel Deprecated and Defunct </H4>
<UL>
<LI><P>
‘structure(NULL, &lt;name&gt; = &lt;val&gt;)’ is now defunct.
</P></LI>

<LI><P>
Three ‘tk*.slaves()’ functions were deprecated in favor of
‘tk*.child()’ which do need Tcl/Tk version ‘8.6’ or higher.
</P></LI>

</UL>
<H4>Changes in R-devel Bug Fixes </H4>
<UL>
<LI><P>
‘chol(x, pivot=TRUE)’ now zeroes the trailing submatrix when the
algorithm stops early. Following the help page instructions on how to
reconstruct the matrix in positive semidefinite cases gave incorrect
results if the rank was 2 or more less than the dimension (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15853">PR#15853</a>).
</P></LI>

<LI><P>
Profiling ‘&quot;mle&quot;’ objects (‘stats4’ package) could fail because profile
MLE used starting value from full MLE. Now starts from profile MLE from
previous step.
</P></LI>

<LI><P>
Setting ‘attributes’ on primitive functions is now an error; previously
it modified without copying (as noticed by Henrik Bengtsson on the
R-devel mailing list).
</P>
<P>
Relatedly, changing the ‘environment()’ of a primitive function does no
longer happen and gives a warning (to become an error, later).
</P></LI>

<LI><P>
Dataset ‘LifeCycleSavings’ had a misspelled row name: ‘&quot;Guatamala&quot;’ was
corrected to ‘&quot;Guatemala&quot;’.
</P></LI>

<LI><P>
The ‘Pair(x,y)’ construction in the formula interface to paired tests
did not work with the ‘subset’ argument, due to the absence of a
‘[.Pair’ method, which has now been added.
</P></LI>

<LI><P>
Subsetting ‘&quot;table&quot;’ objects keeps S3 classes more consistently, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18845">PR#18845</a>.
</P></LI>

<LI><P>
When ‘browser()’ is active or when otherwise debugging, R code such as
‘if(TRUE)’ now longer triggers a new browser level, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18885">PR#18885</a>
(differently than the fix for <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15770">PR#15770</a>), with thanks to Ivan Krylov.
</P></LI>

<LI><P>
‘text()’ now truncates ‘labels’ to maximum length of ‘x’ and ‘y’ (if it
is longer), fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=7084">PR#7084</a>.  Thanks to Heather Turner, Ella Kaye, and
Philippe Grosjean.
</P></LI>

<LI><P>
‘&lt;Date&gt; %in% set’ is again as fast as it was before R 4.3.0, _via_ a
new S3 method ‘mtfrm.Date’.
</P>
<P>
‘&lt;character&gt; %in% &lt;Date&gt;’ and vice versa are now documented to work in
concordance with ‘==’ and as an exception to the typical ‘match()’
behaviour which relies on “univariate” ‘mtfrm()’ alone.
</P></LI>

<LI><P>
It is now possible to convert _to_ ‘&quot;snpc&quot;’ units via, e.g.,
‘grid::convertWidth()’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18915">PR#18915</a>. Thanks to Trevor Davis.
</P></LI>

<LI><P>
The ‘precip’ dataset had typos in the names ‘&quot;Bismarck&quot;’ and
‘&quot;Pittsburgh&quot;’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18895">PR#18895</a>).
</P></LI>

<LI><P>
‘tools::checkReplaceFuns()’ now deals better with replacement methods
_not_ available as regular functions in the namespace.
</P></LI>

<LI><P>
‘length(xpr) &lt;- n’ now also works for ‘expression’ vectors, the same as
for ‘list’s, i.e., padding with ‘NULL’ entries if the length is
increased.  Thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18917">PR#18917</a>.
</P></LI>

<LI><P>
‘&lt;complex&gt;[i] &lt;- NA’ now only sets the _real_ part to ‘NA’,
consistently with the ‘as.complex(NA)’ behaviour since R 4.4.0; thanks
to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18918">PR#18918</a>.
</P></LI>

<LI><P>
‘format(&lt;list&gt;)’ calling ‘format.default()’ now calls generic
‘format()’ on each list element (rather than ‘format.default()’).
</P></LI>

<LI><P>
‘tools::Rd2HTML()’ detects paragraphs in more cases of \Sexpr-generated
Rd code, fixing a regression in R 3.6.0 originally reported by Georgi
Boshnakov and later also in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18470">PR#18470</a>.  An inactive #ifdef block no
longer breaks the paragraph.
</P></LI>

<LI><P>
Parsing a multi-line string from Rd \Sexpr code no longer doubles the
newlines.
</P></LI>

<LI><P>
‘requireNamespace(.., versionCheck = *)’ now shows an error and returns
‘FALSE’ when the package version check is not fulfilled, thanks to Iris
Simmons and Trevor Davis's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18255">PR#18255</a>.  Additionally, the ‘versionCheck’
argument is checked and when invalid, an error is signalled to avoid
subsequent confusing error messages.
</P></LI>

<LI><P>
‘requireNamespace()’ now throws an error even if the name space is
already loaded if it is called with an unmatched argument such as
‘quitely = TRUE’ or ‘quiet = TRUE’ (argument ‘quietly’ cannot be
abbreviated as it follows ‘...’).
</P></LI>

<LI><P>
‘rep()’ signals more specific error messages, notably when using both
‘times’ and ‘each’ optional arguments.  Fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18926">PR#18926</a>, thanks to Ella
Kaye and collaborators at useR! 2025's ‘R Dev Day’.
</P></LI>

<LI><P>
‘jitter(x, amount, factor)’ becomes more robust for non-finite ‘x’ or
also negative ‘amount’, ‘factor’.  ‘help(jitter)’ is easier to read,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17279">PR#17279</a>, thanks to its contributors.
</P></LI>

<LI><P>
Plain-text help (‘Rd2txt’) lacked markup for ‘\cite’d titles, which are
now wrapped in single quotes.
</P></LI>

<LI><P>
Default column labels are now correctly aligned when printing a matrix
with right alignment (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18943">PR#18943</a>, thanks to Mikael Jagan).
</P></LI>

<LI><P>
‘poly(fct, n)’ signals an error again, for a non-‘ordered’ factor
‘fct’, thanks to Roland Fuss' notice on R-devel.
</P></LI>

<LI><P>
‘terms(&lt;formula&gt;, simplify=TRUE)’ now works correctly also in the cases
where the formula has more than one term with NAs such as ‘f(u, b=NA)’
or ‘g(NA)’, finally fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15275">PR#15275</a> thanks to Mikael Jagan's patch.
</P></LI>

<LI><P>
The help page ‘example(matplot)’ now correctly labels Sepal vs Petal
dimensions in its first iris data plot, thanks to Jeff Dick's post on
R-devel.
</P></LI>

<LI><P>
‘diff(m, lag, dif)’ for matrix ‘m’ now still returns matrices, also
when ‘lag * dif &gt; nrow(m)’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>, thanks to Mikael Jagan and
Suharto Anggono).  ‘diff(&lt;ts-matrix&gt;)’ remains matrix, even when it has
length zero.
</P></LI>

<LI><P>
Values returned by active binding functions are now marked as not
mutable to prevent unintended mutation in complex assignment
operations.
</P></LI>

<LI><P>
The default method of ‘sequence()’ now allows to fully recycle all
three of ‘(nvec, from, by)’ as always documented; with thanks to Mikael
Jagan's report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18304">PR#18304</a>.  Its behaviour remains back
compatible for now, but can be switched to future behaviour via
environment variable ‘R_sequence_recycle’, or explicit ‘recycle =
TRUE’.
</P></LI>

<LI><P>
Subassignment, ‘x[ind] &lt;- val’, to 1-dimensional ‘array’s no longer
“drops” them to simple vectors when ‘ind’ is a name, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18973">PR#18973</a>,
reported by Thomas Soeiro.
</P></LI>

<LI><P>
The ‘implicitGeneric’ definition for ‘toeplitz()’ produced a default
method that failed when ‘toeplitz(x, r)’ was called with more than the
first argument.  Simple fix from Mikael Jagan.
</P></LI>

<LI><P>
The error message for ‘array(dim = c())’ now uses ‘&quot;'dim'&quot;’, thanks to
Hugo Gruson.
</P></LI>

<LI><P>
Some legal but strange nested complex assignments are handled a bit
more robustly in interpreted code.
</P></LI>

<LI><P>
‘cacheMetaData()’ does not to mangle primitive generics.
</P></LI>

<LI><P>
The S4 method ‘norm(&lt;ANY&gt;, type = &lt;missing&gt;)’ for the implicit generic
‘norm()’ now uses ‘type = &quot;O&quot;’ as has been the intention for more than
ten years, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18979">PR#18979</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
On Windows terminals ‘Ctrl-C’ now breaks out of waiting for keyboard
input, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18982">PR#18982</a>.
</P></LI>

<LI><P>
The default ‘summary()’ and its factor method now label missing values
‘NAs’ rather than ‘NA's’, fixing a decades-old grammatical faux pas
inherited from S (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16348">PR#16348</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18948">PR#18948</a>).
</P></LI>

<LI><P>
Asymmetric ‘toeplitz(x, r)’ is type consistent now, even when ‘r’ of
length 0 or 1 is not used directly.  Fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18996">PR#18996</a>, thanks to Mikael
Jagan's patch and test.
</P></LI>

<LI><P>
‘format(r)’ now keeps ‘names(r)’ also for raw objects ‘r’.
</P></LI>

<LI><P>
‘rep.int()’ and ‘rep_len()’ again drop names also for factors, fixing a
regression in R 4.0.0.  (Thanks to a report by Rui Barradas and
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18999">PR#18999</a> by Suharto Anggono.)
</P></LI>

<LI><P>
‘str(x)’ with a ‘list’-like ‘x’ of a class having an ‘str()’ S3 method
using ‘NextMethod()’, now no longer outputs ‘&quot;List of &lt;...&gt;&quot;’ in the
default method, thanks to Ian Farm's report and fix proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19001">PR#19001</a>.
</P></LI>

<LI><P>
‘as.POSIXlt(ch)’, ‘as.Date(ch)’ etc now also work correctly when ‘ch’
contains ‘&quot;Inf&quot;’, via ‘strptime(.)’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19006">PR#19006</a>.
</P></LI>

<LI><P>
‘c(&lt;POSIXlt&gt;, ..)’ now fully preserves sub-second accuracy, fulfilling
a part of Suharto Anggono's wishlist <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18989">PR#18989</a>.
</P></LI>

<LI><P>
The ‘&quot;tzcode&quot;’ attribute of ‘&quot;POSIXlt&quot;’ objects should no longer depend
on earlier calls, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19005">PR#19005</a> thanks to Ivan Krylov, a patch by
Suharto Anggono and reports of “Non-deterministic POSIXlt tzone in
Europe/London ..” on R-devel.
</P></LI>

<LI><P>
In intervals with very low density ‘cdplot()’ was unreliable, returning
probabilities that are greater than one or ‘NaN’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19011">PR#19011</a>).  Fix from
Christoph Dalitz and Achim Zeileis.
</P></LI>

<LI><P>
‘R CMD build’ now installs packages providing their own vignette engine
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18191">PR#18191</a>).  Patch by Paul Smith.
</P></LI>

<LI><P>
‘ar.burg()’, ‘ar.yw()’ and ‘ar.ols()’ deal better with non finite AIC
values thanks to Simone Giannerini's remarks on R-devel.
</P></LI>

</UL>
<H4>Changes in R 4.5.3 Utilities </H4>
<UL>
<LI><P>
‘tools/fetch-recommended’ can be used instead of
‘tools/rsync-recommended’ to fetch recommended packages into R sources
using ‘curl’ on systems without ‘rsync’ or behind firewalls.
</P></LI>

</UL>
<H4>Changes in R 4.5.3 Package Installation </H4>
<UL>
<LI><P>
C++ standard specifications (‘CXX_STD =’ in ‘src/Makevars*’ and in the
‘SystemRequirements’ field of the ‘DESCRIPTION’ file) are now checked
more thoroughly.  Invalid values are still ignored but now give a
warning, as do contradictory specifications.
</P></LI>

<LI><P>
(Preliminary) support for C++26 has been extended to Windows.
</P></LI>

<LI><P>
A non-zero exit status from ‘cleanup’, ‘cleanup.win’ or ‘cleanup.ucrt’,
if requested via options ‘--clean’ or ‘--preclean’, is now reported
with a warning.
</P></LI>

</UL>
<H4>Changes in R 4.5.3 Bug Fixes </H4>
<UL>
<LI><P>
‘all.equal(obj, simple, check.class=FALSE)’ now is true, also when
‘simple’ is a bare atomic vector and ‘obj’ has a simple class, fixing
the first part of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18971">PR#18971</a> thanks to Jan Gorecki.
</P></LI>

<LI><P>
‘str(x, give.attr=FALSE)’ no longer shows attributes when ‘x’ is a zero
length ‘&quot;Date&quot;’ or ‘&quot;POSIXt&quot;’ object.
</P></LI>

<LI><P>
Tweaks to binning for ‘bw.SJ()’ and ‘bw.ucv()’ in the very rare case of
data which have an extremely small range compared to their absolute
values, e.g., ‘x &lt;- 6e9 + 6:9’.
</P></LI>

<LI><P>
Formatting book-type ‘bibentry’ objects now converts LaTeX accents also
in the publisher and series fields.
</P></LI>

<LI><P>
‘model.frame(~1, list(), na.action=na.pass)’ and similar “border-line”
uses no longer produce invalid data frames, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18977">PR#18977</a>, reported
with patch by Mikael Jagan.
</P></LI>

<LI><P>
‘length(&lt;POSIXlt&gt;) &lt;- v’ is more careful about balancing, notably when
‘v’ is not integer, thanks to Suharto Anggono's remarks on the mailing
list R-devel.
</P></LI>

<LI><P>
‘approx(&lt;x_with_ties&gt;, &lt;y_with_NA&gt;, na.rm = FALSE)’ now should always
call the ‘ties()’ function, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17604">PR#17604</a> reported by Bill Dunlap.
</P></LI>

<LI><P>
‘besselJ(1, 1e-15)’ and similar now give correct results, thanks to Leo
Mada and other “R-help”ers.
</P></LI>

<LI><P>
‘vignette(&lt;pkg&gt;::&lt;topic&gt;)’ is now a documented usage variant and
confines vignette retrieval to the specified package.
</P></LI>

<LI><P>
‘pretty(ch)’ again correctly works with ‘ch’ a character vector of
numbers.
</P></LI>

<LI><P>
‘persp()’ labels the three axes correctly also when C level ‘atan2pi()’
is available, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19007">PR#19007</a> by Klaus Schliep.
</P></LI>

<LI><P>
Large (tall) subscripts in plotmath expressions are now positioned
correctly.  They were being positioned too high.
</P></LI>

<LI><P>
‘Ops’ group (‘Arith’, ‘Compare’, ...) methods for matrix-‘&quot;ts&quot;’ now do
return (zero length) matrices even when the two series do not overlap;
a very partial fix of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>, which is to be fully addressed later.
</P></LI>

</UL>
<H4>Changes in R 4.5.2 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ now handles archives with extension ‘.tar’ or ‘.tar.zstd’
(where ‘zstd’ compression is supported by the R build).
</P></LI>

</UL>
<H4>Changes in R 4.5.2 Bug Fixes </H4>
<UL>
<LI><P>
‘t.test(c(1:3, Inf))’ and similar no longer produce an error but return
a (still not so useful) ‘&quot;htest&quot;’ result, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18901">PR#18901</a>, thanks to
Jesse Alderliesten.
</P></LI>

<LI><P>
‘attr(., &quot;tsp&quot;) &lt;- val’ now uses ‘getOption(&quot;ts.eps&quot;)’ instead of
hardwired ‘1e-5’; consequently, ‘ts(.., ts.eps=*)’ now passes ‘ts.eps’
to the ‘&quot;tsp&quot;’ setting C code; both fixing a long-standing ‘FIXME’.
</P></LI>

<LI><P>
‘insertSource()’ now ignores the internal ‘.packageName’ object,
avoiding a superfluous message.
</P></LI>

<LI><P>
In static HTML help, links to vignette files from the default
‘doc/index.html’ page now also work for packages not installed in the
default ‘.Library’, thanks to a report by Patrice Kiener.
</P></LI>

<LI><P>
</P>
<P>
‘fixInNamespace(&quot;&lt;S3method&gt;&quot;)’ failed to update the S3 methods table
when the generic was not on the search path.
</P></LI>

<LI><P>
In plain-text help (‘Rd2txt’), an initial newline from an Rd inline
\eqn no longer breaks the paragraph.
</P></LI>

<LI><P>
‘hist(*, log = &quot;x&quot;)’ now works without a warning, thanks to Martin
Smith's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18921">PR#18921</a>.
</P></LI>

<LI><P>
Subassigning ‘&quot;POSIXlt&quot;’, i.e., ‘&lt;tdat&gt;[i] &lt;- val’ and ‘&lt;tdat&gt;[[i]] &lt;-
val’ now rebalance as they should, thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18919">PR#18919</a>.
</P></LI>

<LI><P>
‘&lt;POSIXlt&gt;[*]’ (re-)setting ‘&quot;balanced&quot;’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18681">PR#18681</a> comment #7,
thanks to Mikael Jagan.
</P></LI>

<LI><P>
All four of ‘{col,row}{Sums,Means}(Z, na.rm=TRUE)’ now correctly work
with complex ‘Z’ where ‘is.na(Re(Z))’ differs from ‘is.na(Im(Z))’,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18942">PR#18942</a>, unearthed by Dirk Eddelbuettel.
</P></LI>

<LI><P>
Fix for glyph rendering on the ‘quartz()’ device when there is other
(“normal”) text drawn on the device.  The problem was that the text
transformation matrix was not reset so glyphs would be rendered
incorrectly (often completely outside the device, i.e., not visible).
</P></LI>

<LI><P>
Functions ‘install.packages()’ and ‘download.packages()’ again consult
option ‘download.file.method’ when the download method is unspecified.
</P></LI>

<LI><P>
Tanguy Barthelemy and colleagues at the ‘R Dev Day’ following
Rencontres R in May 2025 extended the help page of ‘lm()’, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18058">PR#18058</a>.  As suggested by Thomas Soeiro, such notes were also added to
the ‘glm()’, ‘poly()’ and ‘splines::bs()’ and ‘ns()’ pages.
</P></LI>

<LI><P>
‘lbeta(1i, 1)’ now signals an error, as ‘lbeta()’ is not implemented
for ‘complex’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18946">PR#18946</a> from Ben Bolker and Kasper Kristensen.
</P></LI>

<LI><P>
The Cairo-based SVG device uses ‘pt’ as the default document unit also
with Cairo &gt;= 1.17.8 (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18912">PR#18912</a>).
</P></LI>

<LI><P>
‘pretty(*, eps.correct = 2)’ has been fixed, e.g., to avoid over 1
million length result for ‘pretty(c(0, 1e-322), eps.correct = 2)’.
</P></LI>

<LI><P>
When ‘&quot;POSIXlt&quot;’ date-time objects are ‘NA’-padded from subsetting or
increasing ‘length’ in the ‘`[`’ or ‘`length&lt;-`’ methods, the
‘&quot;balanced&quot;’ attribute is set to ‘NA’, now; noted in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18681">PR#18681</a>, thanks
to Mikael Jagan.
</P></LI>

</UL>
<H4>Changes in R 4.5.1 New Features </H4>
<UL>
<LI><P>
The internal method of ‘unzip()’ now follows ‘unzip 6.00’ in how it
handles extracted file paths which contain ‘&quot;../&quot;’.  With thanks to
Ivan Krylov.
</P></LI>

</UL>
<H4>Changes in R 4.5.1 Installation </H4>
<UL>
<LI><P>
Standalone ‘nmath’ can be built with early-2025 versions of
‘clang’-based compilers such as LLVM ‘clang’ 20, Apple ‘clang’ 17 and
Intel ‘icx’ 2025.0.
</P></LI>

<LI><P>
Tcl/Tk 9 can be used to build package ‘tcltk’: this has become the
default in some Linux distributions.
</P></LI>

</UL>
<H4>Changes in R 4.5.1 Bug Fixes </H4>
<UL>
<LI><P>
Java detection in ‘javareconf’ could not detect ‘libjvm.*’ in the
‘zero’ variant of the JDK (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18884">PR#18884</a>).  All valid variants as of JDK 24u
are now supported.
</P></LI>

<LI><P>
‘factanal(.., rotation=*)’ now correctly updates ‘rotmat’, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18886">PR#18886</a>.
</P></LI>

<LI><P>
‘dnbinom(&lt;large&gt;, &lt;muchlarger&gt;, ..)’ now is ‘0’ correctly, instead of
‘NaN’ or ‘Inf’ sometimes.
</P></LI>

<LI><P>
‘dbinom(&lt;large&gt;, n=Inf, ..)’ is ‘0’ now correctly, instead of ‘NaN’
which also fixes many ‘dnbinom()’ cases, notably those mentioned in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16727">PR#16727</a> comment #5.
</P></LI>

<LI><P>
Fixing C level “binomial deviance” ‘bd0()’ for extreme arguments
(preventing under-/overflow) solves more <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16727">PR#16727</a> cases and also
prevents some full accuracy loss in such cases for ‘dbinom()’,
‘dnbinom()’, and via ‘dbinom_raw()’ potentially ‘dgeom()’, ‘dhyper()’,
‘dbeta()’, and ‘df()’.
</P></LI>

<LI><P>
‘signif(1.**e308, digits)’ no longer truncates unnecessarily (but still
to prevent overflow to ‘Inf’), fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18889">PR#18889</a>.
</P></LI>

<LI><P>
‘prettyNum(*, zero.print={&gt;=1-char}, replace.zero=TRUE)’ now works as
documented, thanks to Marttila Mikko and Ivan Krylov's messages on
R-devel.
</P></LI>

<LI><P>
‘pbeta(x, a,b, ..)’ for very large ‘a,b’ no longer returns ‘NaN’ but
the correct values (0 or 1, or their logs for ‘log.p = TRUE’).  This
improves Mathlib's C level ‘bratio()’ and hence also ‘pnbinom()’, etc..
</P></LI>

</UL>
<H4>Changes in R 4.5.0 New Features </H4>
<UL>
<LI><P>
‘as.integer(rl)’ and hence ‘as.raw(rl)’ now work for a ‘list’ of
‘raw(1)’ elements, as proposed by Michael Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18696">PR#18696</a>.
</P></LI>

<LI><P>
‘graphics’' ‘grid()’ gains optional argument ‘nintLog’.
</P></LI>

<LI><P>
New functions ‘check_package_urls()’ and ‘check_package_dois()’ in
package ‘tools’ for checking URLs and DOIs in package sources.
</P></LI>

<LI><P>
New ‘head()’ and ‘tail()’ methods for class ‘&quot;ts&quot;’ time series,
proposed by Spencer Graves on R-devel.
</P></LI>

<LI><P>
New ‘qr.influence()’ function, a “bare bones” interface to the
‘lm.influence()’ leave-one-out diagnostics computations; wished for in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18739">PR#18739</a>.
</P></LI>

<LI><P>
Package ‘citation()’ results auto-generated from the package metadata
now also provide package DOIs for CRAN and Bioconductor packages.
</P></LI>

<LI><P>
New function ‘grepv()’ identical to ‘grep()’ except for the default
‘value = TRUE’.
</P></LI>

<LI><P>
‘methods(&lt;pkg&gt;:::&lt;genfun&gt;)’ now does report methods when neither the
generic nor the methods have been exported.
</P></LI>

<LI><P>
‘pdf()’ gains an ‘author’ argument to set the corresponding metadata
field, and logical arguments ‘timestamp’ and ‘producer’ to optionally
omit the respective metadata.  (Thanks to Edzer Pebesma.)
</P></LI>

<LI><P>
‘grDevices::glyphInfo()’ gains a ‘rot’ argument to allow per-glyph
rotation.  (Thanks to Daniel Sabanes Bove.)
</P></LI>

<LI><P>
Package ‘tools’ now exports functions ‘CRAN_current_db()’,
‘CRAN_aliases_db()’, ‘CRAN_rdxrefs_db()’, ‘CRAN_archive_db()’, and
‘CRAN_authors_db()’.
</P></LI>

<LI><P>
Package ‘tools’ now exports functions ‘R()’ and
‘parse_URI_reference()’.
</P></LI>

<LI><P>
Package ‘tools’ now exports functions ‘base_aliases_db()’ and
‘base_rdxrefs_db()’.
</P></LI>

<LI><P>
It is now possible to set the background color for row and column names
in the data editor on Windows (‘Rgui’).
</P></LI>

<LI><P>
‘Rterm’ on Windows now accepts input lines of unlimited length.
</P></LI>

<LI><P>
‘file.info()’ on Windows now provides file owner name and domain.
</P></LI>

<LI><P>
‘Sys.info()’ on Windows now provides current user domain.
</P></LI>

<LI><P>
‘findInterval()’ gets new arguments ‘checkSorted’ and ‘checkNA’ which
allow skipping relatively costly checks; related to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16567">PR#16567</a>.
</P></LI>

<LI><P>
‘pnorm(x)’ underflows more gracefully.
</P></LI>

<LI><P>
‘get(nam, env)’ now signals a _classed_ error, ‘&quot;getMissingError&quot;’, as
“subclass” of ‘&quot;missingArgError&quot;’ where the latter is used also in
similar situations, e.g., ‘f &lt;- function(x) exp(x); try(f())’ .
</P></LI>

<LI><P>
The set operations now avoid the ‘as.vector()’ transformation for
same-kind apparently vector-like operands.
</P></LI>

<LI><P>
‘md5sum()’ can be used to compute an MD5 hash of a raw vector of bytes
by using the ‘bytes=’ argument instead of ‘files=’. The two arguments
are mutually exclusive.
</P></LI>

<LI><P>
Added function ‘sha256sum()’ in package ‘tools’ analogous to ‘md5sum()’
implementing the SHA-256 hashing algorithm.
</P></LI>

<LI><P>
The ‘xtfrm()’ method for class ‘&quot;AsIs&quot;’ is now considerably faster
thanks to a patch provided by Ivan Krylov.
</P></LI>

<LI><P>
The ‘merge()’ method for data frames will no longer convert row names
used for indexing using ‘I()’, which will lead to faster execution in
cases where ‘sort = TRUE’ and ‘all.x’ and/or ‘all.y’ are set to ‘TRUE’.
</P></LI>

<LI><P>
The ‘methods’ package internal function ‘.requirePackage()’ now calls
‘requireNamespace(p)’ instead of ‘require(p)’, hence no longer adding
packages to the ‘search()’ path in cases methods or class definitions
are needed.  Consequently, previous workflows relying on the old
behaviour will have to be amended by adding corresponding ‘library(p)’
calls.
</P></LI>

<LI><P>
More R-level messages use a common format containing ‘&quot;character
string&quot;’ for more consistency and less translation work.
</P></LI>

<LI><P>
‘available.packages()’ and ‘install.packages()’ get an optional switch
‘cache_user_dir’, somewhat experimentally.
</P></LI>

<LI><P>
The ‘sunspot.month’ data have been updated to Oct 2024; because of
recalibration also historical numbers are changed, and we keep the
previous data as ‘sunspot.m2014’ for reproducibility.
</P></LI>

<LI><P>
The ‘quartz()’ device now supports alpha masks.  Thanks to George
Stagg, Gwynn Gebeyhu, Heather Turner, and Tomek Gieorgijewski.
</P></LI>

<LI><P>
The ‘print()’ method for date-time objects (‘POSIX.t’) gets an optional
‘digits’ argument for _fractional_ seconds, passed to improved
‘format.POSIXlt()’; consequently, ‘print(&lt;date.time&gt;, digits = n)’
allows to print fractions of seconds.
</P></LI>

<LI><P>
‘install.packages()’ and ‘download.packages()’ download packages
simultaneously using ‘libcurl’, significantly reducing download times
when installing or downloading multiple packages.
</P></LI>

<LI><P>
Status reporting in ‘download.file()’ has been extended to report the
outcome for individual files in simultaneous downloads.
</P></LI>

<LI><P>
The Rd \link macro now allows markup in the link text when the topic is
given by the optional argument, e.g., ‘\link[=gamma]{\eqn{\Gamma(x)}}’.
</P></LI>

<LI><P>
If ‘La_library()’ is empty, ‘sessionInfo()’ still reports
‘La_version()’ when available.
</P></LI>

<LI><P>
‘seq.int(from, to, by, ....)’ when |by| = 1 now behaves as if ‘by’ was
omitted, and hence returns ‘from:to’, possibly integer.
</P></LI>

<LI><P>
‘seq.Date(from, to, by, ....)’ and ‘seq.POSIXt(..)’ now also work when
‘from’ is missing and sufficient further arguments are provided, thanks
to Michael Chirico's report, patch proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17672">PR#17672</a> and ‘R Dev Day’
contributions.
</P>
<P>
The ‘Date’ method also works for ‘seq(from, to)’, when ‘by’ is missing
and now defaults to ‘&quot;1 days&quot;’.
</P>
<P>
It is now documented (and tested) that the ‘by’ string may be
_abbreviated_ in both ‘seq’ methods.
</P>
<P>
Both methods return or keep internal type ‘&quot;integer&quot;’ more consistently
now.  Also, ‘as.POSIXct({})’ is internally integer.
</P></LI>

<LI><P>
‘duplicated()’, ‘unique()’, and ‘anyDuplicated()’ now also work for
class ‘expression’ vectors.
</P></LI>

<LI><P>
New function ‘use()’ to use packages in R scripts with full control
over what gets added to the search path.  (Actually already available
since R 4.4.0.)
</P></LI>

<LI><P>
New connection type ‘zstdfile’ for files compressed by ‘zstd’ if R was
built with such support.  ‘file()’ and ‘gzfile()’ can automagically
read such files.
</P></LI>

<LI><P>
‘memCompress()’ and ‘memDecompress()’ have options to use ‘zstd’
compression if R was built with support for it.
</P></LI>

<LI><P>
There is some support for ‘zstd’ compression of tarballs in ‘tar()’ and
‘untar()’.  (This depends on OS support of ‘libzstd’ or by ‘tar’.)
</P></LI>

<LI><P>
‘print(summary(&lt;numbers&gt;))’ gets new optional argument ‘zdigits’ to
allow more flexible and consistent (double) rounding.  The current
default ‘zdigits = 4L’ is somewhat experimental.  Specifying both
‘digits = *, zdigits = *’ allows behaviour independent of the global
‘digits’ option.
</P></LI>

<LI><P>
The ‘format()’ method for ‘&quot;difftime&quot;’ objects gets a new back
compatible option ‘with.units’.
</P></LI>

<LI><P>
A ‘summary()’ method for ‘&quot;difftime&quot;’ objects which prints nicely,
similar to those for ‘&quot;Date&quot;’ and ‘&quot;POSIXct&quot;’.
</P></LI>

<LI><P>
‘unique()’'s default method now also deals with ‘&quot;difftime&quot;’ objects.
</P></LI>

<LI><P>
‘optimize(f, *)’ when ‘f(x)’ is not finite says more about the value in
its ‘warning’ message.  It no longer replaces ‘-Inf’ by the largest
_positive_ finite number.
</P></LI>

<LI><P>
The documentation of ‘gamma()’ and ‘is.numeric()’ is more specific,
thanks to the contributors of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18677">PR#18677</a>.
</P></LI>

<LI><P>
New dataset ‘gait’ thanks to Heather Turner and Ella Kaye, used in
examples.
</P></LI>

<LI><P>
New datasets ‘penguins’ and ‘penguins_raw’ thanks to Ella Kaye, Heather
Turner, and Kristen Gorman.
</P></LI>

<LI><P>
‘isSymmetric(&lt;matrix&gt;)’ gains a new option ‘trans = &quot;C&quot;’; when set to
non-default, it tests for “simple” symmetry of complex matrices.
</P></LI>

<LI><P>
‘model.frame()’ produces more informative error messages in some cases
when variables in the formula are not found, thanks to Ben Bolker's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18860">PR#18860</a>.
</P></LI>

<LI><P>
‘selectMethod(f, ..)’ now keeps the function name if the function
belongs to a group generic and the method is for the generic.
</P></LI>

</UL>
<H4>Changes in R 4.5.0 BLAS and LAPACK </H4>
<UL>
<LI><P>
The bundled BLAS and LAPACK sources have been updated to those shipped
as part of January 2025's LAPACK 3.12.1.
</P></LI>

<LI><P>
It is intended that this will be the last update to BLAS and LAPACK in
the R sources.  Those building R from source are encouraged to use
external BLAS and LAPACK and this will be required in future.
</P></LI>

<LI><P>
This update was mainly bug fixes but contained a barely documented
major change.  The set of BLAS routines had been unchanged since 1988,
so throughout R's history.  This update introduced new BLAS routines
‘dgemmtr’ and ‘zgemmtr’ which are now used by LAPACK routines.  This
means that BLAS implementations are no longer interchangeable.
</P></LI>

<LI><P>
To work around this, R can be configured with option ‘--with-2025blas’
which arranges for the 2025 BLAS additions to be compiled into
‘libRlapack’ (the internal LAPACK, not built if an external LAPACK is
used).
</P>
<P>
This option allows the continuation of the practice of swapping the
BLAS in use by symlinking ‘lib/libRblas.*’.  It has the disadvantage of
using the reference BLAS version of the 2025 routines whereas an
enhanced BLAS might have an optimized version (OpenBLAS does as from
version 0.3.29).
</P></LI>

<LI><P>
Windows builds currently use the internal LAPACK and by default the
internal BLAS: notes on how to swap the latter _via_ ‘Rblas.dll’ are in
file ‘src/extra/blas/Makefile.win’.
</P></LI>

</UL>
<H4>Changes in R 4.5.0 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
A C23 compiler (if available) is now selected by default for
compilation of R and packages.  R builds can opt out _via_ the
‘configure’ flag ‘--without-C23’, unless the specified or default
(usually ‘gcc’) compiler defaults to C23: ‘gcc’ 15 does.
</P>
<P>
A C23 compiler is known to be selected with ‘gcc’ 13-15, LLVM ‘clang’
18-20 (and 15 should), Apple ‘clang’ 15-17 and Intel 2024.2-2025.0 (and
2022.2 should).
</P>
<P>
Current binary distributions on macOS use Apple ‘clang’ 14 and so do
not use C23.
</P></LI>

<LI><P>
The minimum ‘autoconf’ requirement for a maintainer build has been
increased to ‘autoconf’ 2.72.
</P></LI>

<LI><P>
Building the HTML and Info versions of the R manuals now requires
‘texi2any’ from Texinfo 6.1 or later.
</P></LI>

<LI><P>
Failures in building the manuals under ‘doc’ now abort the
installation, removing any file which caused the failure.
</P></LI>

<LI><P>
Control of symbol visibility is now supported on macOS (the previous
check only worked on ELF platforms).
</P></LI>

<LI><P>
There is now support for installing the debug symbols for recommended
packages on macOS: see ‘REC_INSTALL_OPT’ in file ‘config.site’.
</P></LI>

<LI><P>
‘configure’ is now able to find an external ‘libintl’ on macOS (the
code from an older GNU gettext distribution failed to try linking with
the macOS Core Foundation framework).
</P></LI>

</UL>
<H4>Changes in R 4.5.0 Installation on Windows </H4>
<UL>
<LI><P>
Both building R and installing packages use the C compiler in C23 mode.
</P></LI>

<LI><P>
R on Windows by default uses ‘pkg-config’ for linking against external
libraries.  This makes it easier to test R and packages with
alternative toolchains (such as from Msys2, e.g., testing with LLVM and
possibly with sanitizers). It also allows more significant Rtools
updates within a single R minor release.
</P></LI>

<LI><P>
The installer scripts for Windows have been tailored to Rtools45, an
update of the Rtools44 toolchain.  It is based on GCC 14.  The
experimental support for 64-bit ARM (‘aarch64’) CPUs is based on LLVM
19.  R-devel and R 4.5.x are no longer maintained to be buildable using
Rtools44 and it is advised to switch to Rtools45.
</P></LI>

</UL>
<H4>Changes in R 4.5.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
‘is.R()’ is defunct.  Environment variable ‘_R_DEPRECATED_IS_R_’ no
longer has any effect.
</P></LI>

<LI><P>
Deprecated (for more than 9 years!) functions ‘linearizeMlist’,
‘listFromMlist’, and ‘showMlist’ and the ‘&quot;MethodsList&quot;’ class for S4
method handling were removed from package ‘methods’.  Deprecated
functions ‘balanceMethodsList’, ‘emptyMethodsList’,
‘inheritedSubMethodLists’, ‘insertMethod’, ‘insertMethodInEmptyList’,
‘makeMethodsList’, ‘mergeMethods’, ‘MethodsList’, ‘MethodsListSelect’,
and ‘SignatureMethod’ were made defunct, as were the ‘&quot;MethodsList&quot;’
branches of functions ‘assignMethodsMetaData’, ‘finalDefaultMethod’,
and ‘MethodAddCoerce’.
</P></LI>

<LI><P>
‘getMethods(*, table = TRUE)’ is deprecated.
</P></LI>

<LI><P>
Building with the bundled (and old) version of ‘libintl’ is deprecated
and now gives a ‘configure’ warning.  This should be selected only if
neither the OS's ‘libc’ (as on GNU Linux) nor an external ‘libintl’
library provide suitable functions.
</P>
<P>
Instead install ‘libintl’ from a recent version of GNU gettext
(available for macOS) or use ‘configure’ option ‘--disable-nls’.
</P>
<P>
The ability to use the bundled version may be removed as soon as R
4.5.1.
</P></LI>

<LI><P>
The deprecated ‘xfig()’ graphics device has been removed.
</P></LI>

</UL>
<H4>Changes in R 4.5.0 Package Installation </H4>
<UL>
<LI><P>
Packages are now installed using C23 where supported by the OS and R
build.
</P>
<P>
Packages using R's compiler settings can ask *not* to use C23 _via_
including ‘USE_C17’ in ‘SystemRequirements’ or can be installed by ‘R
CMD INSTALL --use-C17’.  (Some packages ignore these settings in their
‘configure’ script or when compiling in sub-directories of ‘src’, as
will those using a ‘src/Makefile’.)
</P></LI>

<LI><P>
Source installs now report the package version in the log.
</P></LI>

<LI><P>
There is preliminary support for C++26 with GCC &gt;= 14, Apple ‘clang++’
&gt;= 16 and LLVM ‘clang++’ &gt;= 17.
</P></LI>

</UL>
<H4>Changes in R 4.5.0 C-Level Facilities </H4>
<UL>
<LI><P>
The non-API and hidden entry points ‘Rf_setIVector’, ‘Rf_setRVector’
and ‘Rf_setSVector’ have been removed.
</P></LI>

<LI><P>
The internal code for changing the parent of an environment now signals
an error if the new parent is not an environment or if the change would
create a cycle in the parent chain.
</P></LI>

<LI><P>
‘SET_TYPEOF’ now signals an error unless the old and new types have
compatible memory structure and content. Use of ‘SET_TYPE’ in package C
code should be avoided and may be deprecated in the near future. It is
better to allocate an object of the desired type in the first place.
</P></LI>

<LI><P>
The set of LAPACK (double and complex) routines declared in the headers
‘R_ext/Lapack.h’ and ‘R_ext/Applic.h’ has been extended, mostly to
routines actually in use by packages.
</P></LI>

<LI><P>
Memory allocation messages now use the (non-SI notation) ‘&quot;Mb&quot;’, ‘&quot;Gb&quot;’
, ..., and ‘&quot;Mbytes&quot;’ strings as _arguments_ instead of as part of the
(translatable format) string.  This is one step for <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18297">PR#18297</a>; from
Henrik Bengtsson.
</P></LI>

<LI><P>
Header ‘R_ext/Constants.h’ (included by ‘R.h’) now always includes
header ‘float.h’ or ‘cfloat’ for constants such as ‘DBL_MAX’.
</P></LI>

<LI><P>
Strict R headers are now the default.  This removes the legacy
definitions of ‘PI’, ‘Calloc’, ‘Realloc’ and ‘Free’: use ‘M_PI’,
‘R_Calloc’, ‘R_Realloc’ or ‘R_Free’ instead.
</P></LI>

<LI><P>
The deprecated and seemingly never-used S-compatibility macros
‘F77_COM’ and ‘F77_COMDECL’ have been removed from header ‘R_ext/RS.h’.
</P></LI>

<LI><P>
The ‘enum’ ‘Rboolean’ defined in header ‘R_ext/Boolean.h’ now has a
fixed underlying type of ‘int’ on platforms whose C compiler supports
this.
</P>
<P>
This is a C23 feature (taken from C++11) and also supported in all C
standards by some versions of ‘clang’ (from LLVM and Apple) and (with a
warning when using ‘-pedantic’) by GCC when in C17 mode.
</P>
<P>
A fair amount of code has assumed this: it may be changed to a smaller
type in future.  In particular, as standard compilers do not check the
validity of assignment to an ‘enum’, it has been possible to assign
‘NA_INTEGER’ to an ‘Rboolean’ variable, coerce it to ‘int’ and recover
the value.
</P>
<P>
If there were a platform which used an underlying type of a different
size this would be an ABI-breaking change (but we are unaware of any
such platform).
</P></LI>

<LI><P>
Header ‘R_ext/Boolean.h’ now ensures that a ‘bool’ type is available
either as a keyword (C23 and C++) or by including the C99 header
‘stdbool.h’.  This is being used internally in R to replace ‘Rboolean’
by ‘bool’.
</P></LI>

<LI><P>
There are new functions ‘asRboolean’ and ‘asBool’, variants of
‘asLogical’ more suited to converting logical arguments to ‘Rboolean’
or to ‘bool’. They require a length-one input and throw an error if
that evaluates to ‘NA’.
</P></LI>

<LI><P>
Header ‘R_exts/Error.h’ now ensures that ‘Rf_error’ and similar are
given a ‘noreturn’ attribute when used from C++ under all compilers.
</P></LI>

<LI><P>
Header ‘R_exts/Utils.h’ no longer contains a declaration for
‘F77_SUB(interv)’.  This is intended to be called from Fortran and was
wrongly declared: ‘LOGICAL’ in Fortran corresponds to ‘int *’ not
‘Rboolean *’.
</P></LI>

<LI><P>
Defining ‘R_INCLUDE_BOOLEAN_H’ to ‘0’ before including headers ‘R.h’ or
‘Rinternals.h’ (or any other header which includes ‘R_ext/Boolean.h’)
stops the inclusion of header ‘R_ext/Boolean.h’ which `defines'
constants ‘TRUE’, ‘FALSE’, ‘true’, ‘false’ and the type ‘bool’ which
some package maintainers wish to avoid.
</P>
<P>
Note that the last three are keywords in C23 and C++11 so cannot be
avoided entirely.  However, with commonly-used compilers they can be
masked by a macro of the same name, often with a warning.
</P></LI>

</UL>
<H4>Changes in R 4.5.0 C-Level API </H4>
<UL>
<LI><P>
The ‘Writing R Extensions’ Texinfo source now contains very
experimental annotations for more clearly identifying the API status of
C entry points. These annotations are used to produce indices for API,
experimental API, and embedded API entry points in the rendered
versions.  This is very preliminary and may be dropped if a better
approach emerges.
</P>
<P>
Also for Fortran-callable entry points which are part of the API.
</P></LI>

<LI><P>
‘Writing R Extensions’ has a new section ‘Moving into C API compliance’
to help package authors move away from using non-API endpoints. This
section will continue to be updated as work on clarifying and
tightening the C API continues.
</P></LI>

<LI><P>
New API function ‘R_mkClosure’. This checks that its arguments are
valid and should be used instead of ‘allocSExp(CLOSXP’ followed by
‘SET_FORMALS’, ‘SET_BODY’, and ‘SET_CLOENV’.
</P></LI>

<LI><P>
New API functions ‘R_ClosureFormals’, ‘R_ClosureBody’, and
‘R_ClosureEnv’ for extracting closure components.  The existing
functions ‘R_ClosureExpr’ and ‘R_BytecodeExpr’ have also been added to
the API.
</P></LI>

<LI><P>
New API function ‘R_ParentEnv’ corresponding to R's ‘parent.env()’.
</P></LI>

<LI><P>
Further non-API entry points have been added to those reported by ‘R
CMD check’: ‘COMPLEX0’, ‘ddfind’, ‘DDVAL’, ‘ENSURE_NAMEDMAX’,
‘ENVFLAGS’, ‘FRAME’, ‘HASHTAB’, ‘INTERNAL’, ‘IS_ASCII’, ‘IS_UTF8’,
‘LEVELS’, ‘NAMED’, ‘PRSEEN’, ‘RDEBUG’, ‘REAL0’, ‘Rf_findVarInFrame3’,
‘SET_BODY’, ‘SET_CLOENV’, ‘SET_FORMALS’, ‘SET_PRSEEN’, ‘SET_RDEBUG’,
‘STRING_PTR’, ‘SYMVALUE’, and ‘VECTOR_PTR’. Any declarations for these
in public header files will be removed in the near future, and they
will be hidden where possible.
</P></LI>

<LI><P>
Some ‘R CMD check’ ‘NOTE’s on the use of non-API entry points have been
upgraded to ‘WARNING’s in preparation for removing declarations and,
where possible, hiding these entry points.
</P></LI>

<LI><P>
Additional non-API entry points have been added to those reported by ‘R
CMD check’: ‘IS_LONG_VEC’, ‘PRCODE’, ‘PRENV’, ‘PRVALUE’, ‘R_nchar’,
‘Rf_NonNullStringMatch’, ‘R_shallow_duplicate_attr’, ‘Rf_StringBlank’,
‘SET_TYPEOF’, ‘TRUELENGTH’, ‘XLENGTH_EX’, and ‘XTRUELENGTH’.
</P></LI>

<LI><P>
Enable defining ‘R_NO_REMAP_RMATH’ and calling ‘Rf_*()’ as has been
documented in ‘Writing R Extensions’ for a while, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18800">PR#18800</a>
thanks to Mikael Jagan and Suharto Anggono.
</P></LI>

<LI><P>
‘R_GetCurrentSrcref(skip)’ now skips calls rather than ‘srcref’s,
consistent with counting items in the ‘traceback()’ display.  If ‘skip
== NA_INTEGER’, it searches for the first ‘srcref’, starting at the
current evaluation state and proceeding through the call stack;
otherwise, it returns the ‘srcref’ of the requested entry from the call
stack.
</P></LI>

</UL>
<H4>Changes in R 4.5.0 Utilities </H4>
<UL>
<LI><P>
‘R CMD INSTALL’ (and hence ‘check’) now compile C++ code with
‘-DR_NO_REMAP’.
</P>
<P>
‘Writing R Extensions’ has been revised to describe the remapped entry
points, for with the ‘Rf_’ prefix remains optional when used from C
code (but is recommended for new C code).
</P></LI>

<LI><P>
‘R CMD check --as-cran’ notes bad parts in the ‘DESCRIPTION’ file's URL
fields.
</P></LI>

<LI><P>
‘R CMD check’ now reports more warnings on long-deprecated/obsolete
Fortran features reported by ‘gfortran -Wall’.  For hints on how to
modernize these, see
&lt;https://fortranwiki.org/fortran/show/Modernizing+Old+Fortran&gt;.
</P></LI>

<LI><P>
Since almost all supported R versions now use UTF-8, ‘R CMD check’ no
longer by default reports on marked UTF-8 or Latin-1 strings in
character data.  Set environment variable
‘_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_’ to a false value for the
previous behaviour.
</P></LI>

<LI><P>
‘tools::checkDocFiles()’ notes more cases of usage documentation
without corresponding \alias.
</P></LI>

<LI><P>
‘R CMD check’ with a true value for environment variable
‘_R_CHECK_BASHISMS_’ checks more thoroughly, including for ‘bash’
scripts and bashisms in components of ‘autoconf’-generated ‘configure’
scripts.
</P></LI>

<LI><P>
‘R CMD check’ gains option ‘--run-demo’ to check demo scripts
analogously to tests.  This includes a check for undeclared package
dependencies: it can also be enabled separately by setting the
environment variable ‘_R_CHECK_PACKAGES_USED_IN_DEMO_’ to a true value
(as done by ‘R CMD check --as-cran’).
</P></LI>

<LI><P>
‘R CMD build’ now supports ‘--compression=zstd’ on platforms with
sufficient support for ‘zstd’.
</P></LI>

<LI><P>
‘tools::texi2pdf(..., texinputs=&lt;paths&gt;)’ now _pre_pends the specified
&lt;paths&gt; to ‘TEXINPUTS’.  When building R itself (‘doc/NEWS.pdf’ and
base vignettes) or package manuals using ‘R CMD Rd2pdf’, it is ensured
that this R's ‘Rd.sty’ takes precedence over any other (incompatible)
versions in default “texmf trees”.
</P></LI>

<LI><P>
‘tools::Rd2latex()’ no longer outputs an ‘\inputencoding{utf8}’ line by
default; such a declaration is obsolete since LaTeX 2018-04-01.
</P></LI>

</UL>
<H4>Changes in R 4.5.0 Bug Fixes </H4>
<UL>
<LI><P>
‘update_pkg_po()’ now copies ‘.mo’ files to the ‘translation’ package
even if a ‘DESCRIPTION’ file exists, thanks to Michael Chirico fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18694">PR#18694</a>.
</P></LI>

<LI><P>
Auto-generated ‘citation()’ entries no longer include (additional) URLs
in the ‘note’ field (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18547">PR#18547</a>).
</P></LI>

<LI><P>
‘as.data.frame.list()’ gets a new option ‘new.names’ and now preserves
‘NA’ names, thus fixing the ‘format()’ method for data frames, and also
bug <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18745">PR#18745</a>.  Relatedly, the ‘format()’ method gets an option
‘cut.names’.
</P></LI>

<LI><P>
‘stem()’ formats correctly also in cases where rounding up, e.g., from
9.96 to 10 needs more digits; thanks to Ella Kaye and Kelly Bodwin,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=8934">PR#8934</a> during ‘R Dev Day’ at useR!2024.
</P>
<P>
Additionally, ‘stem(x)’ now works normally also when ‘length(x) == 1’.
</P></LI>

<LI><P>
‘tools’' ‘toTitleCase()’ now works better, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18674">PR#18674</a>, thanks to
Shannon Pileggi, Sarah Zeller, Reiko Okamoto, and Hugo Gruson's ‘R Dev
Day’ effort.
</P></LI>

<LI><P>
Printing matrices (typically with many rows and or columns) now also
omits columns when desirable according to option ‘max.print’, or
argument ‘max’, respectively.  This is primarily the work of Lorena
Abad, Ekaterina Akimova, Hanne Oberman, Abhishek Ulayil, and Lionel
Henry at the ‘R Dev Day’, thus fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15027">PR#15027</a>.
</P></LI>

<LI><P>
‘Sys.setLanguage()’ now warns about _some_ failures to change the
language.
</P></LI>

<LI><P>
Printing ‘ls.str()’ now shows ‘&quot;&lt;missing&gt;&quot;’ even when R's language
setting is not English.
</P></LI>

<LI><P>
‘xyTable()’ now handles and reports ‘NA’s fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18654">PR#18654</a>.  Thanks to
Heather Turner and Zhian Kamvar for report and patch.
</P></LI>

<LI><P>
‘as(*, &quot;raw&quot;)’ now works as documented, thanks to Mikael Jagan's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18795">PR#18795</a>.
</P></LI>

<LI><P>
Informational messages of e.g., ‘print(1:1e4, max=1000)’, now correctly
mention ‘max’ in addition to ‘getOption(&quot;max.print&quot;)’.
</P></LI>

<LI><P>
‘rowSums(A, dims = dd)’, ‘colMeans(..)’, etc, give a more helpful error
message when ‘dd’ is not of length one, thanks to Michael Chirico's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18811">PR#18811</a>.
</P></LI>

<LI><P>
‘seq.Date()’ no longer explicitly coerces results from integer to
double, analogously with ‘seq.default()’, ‘seq.int()’ and
‘seq.POSIXt()’, resolving a _modified_ <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18782">PR#18782</a>.
</P></LI>

<LI><P>
‘axisTicks(usr, ...)’ documentation clarification for ‘log = TRUE’,
fixing bug <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18821">PR#18821</a> thanks to Duncan Murdoch.
</P></LI>

<LI><P>
‘debug()’ and ‘debugonce(fun)’ now also accept a string ‘fun’ when it
names an S4 generic, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18822">PR#18822</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘debugonce(&lt;S4-simple-body&gt;, signature=*)’ now works correctly when
“called twice”, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18824">PR#18824</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘format(dtime, digits=* / format=*)’ is more consistent when the
‘POSIXt’ date-time object ‘dtime’ has fractional (non integer) seconds.
Fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17350">PR#17350</a>, thanks to new contributions by LatinR's ‘R Dev Day’
participants, Heather Turner and Dirk Eddelbuettel; also fixes more
cases, notably when ‘format’ contains ‘%OS&lt;nodigit&gt;’.
</P></LI>

<LI><P>
‘options(scipen = NULL)’ and other invalid values now signal an error
instead of invalidating ops relying on a finite integer value.  Values
outside the range -9 .. 9999 are now warned about and set to a boundary
or to the default ‘0’, e.g., in case of an ‘NA’.  This also fixes
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16322">PR#16322</a>.
</P></LI>

<LI><P>
‘cbind()’ could segfault with ‘NULL’ inputs.  (Seen when R was built
with ‘gcc-14’, LTO and C99 inlining semantics.)
</P></LI>

<LI><P>
Fix segfault on ‘quartz()’ from ‘grid.glyph()’ call with ‘glyphInfo()’
that describes non-existent font (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18784">PR#18784</a>).  Thanks to Tomek
Gieorgijewski.
</P></LI>

<LI><P>
‘format()’ etc, using ‘decimal.mark = s’, by default getting ‘s &lt;-
getOption(&quot;OutDec&quot;)’, signals a warning (to become an error in the
future) when ‘s’ is not a string with exactly one character.
</P></LI>

<LI><P>
When ‘s &lt;- getOption(&quot;OutDec&quot;)’ is not a string of one character, a
warning is signalled now whenever it is used in internal C code,
notably when calling the default methods of ‘format()’.
</P></LI>

<LI><P>
‘pwilcox()’ and ‘qwilcox()’ now check for user interrupt less
frequently.
</P></LI>

<LI><P>
‘summary(&lt;stl&gt;)’ (which prints directly) finally gets the same ‘digits’
default as the formatting printing of default ‘summary()’ method
results, and it is documented explicitly.
</P></LI>

<LI><P>
‘options(show.error.locations = TRUE)’ once again shows the most recent
known location when an error is reported.  Setting its value to
‘&quot;bottom&quot;’ is no longer supported.  Numerical values are converted to
logical.
</P></LI>

<LI><P>
C API function ‘R_GetCurrentSrcref(skip)’ now returns ‘srcref’ entries
correctly.  (Note that there is also a change to the interpretation of
‘skip’; see the C-Level API entry above.)
</P></LI>

<LI><P>
‘tools::Rd2latex()’ now removes leading and trailing spaces from \alias
entries as documented, fixing indexing and linking hiccups in some PDF
manuals.
</P></LI>

<LI><P>
‘R CMD Rd2pdf’ can now render the package manual from a ‘--latex’
installation also when the help contains figures.
</P></LI>

<LI><P>
The argument of ‘as.environment()’ is now named ‘x’, not ‘object’, as
was always documented and shown when printing it; thanks to Gael
Millot's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18849">PR#18849</a>.
</P></LI>

<LI><P>
When ‘R CMD check’ aims at getting the time+date from a world clock, it
is more robust against unexpected non-error results, thanks to Michael
Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18852">PR#18852</a>.
</P></LI>

<LI><P>
The ‘tools::parseLatex()’ parser made several parsing errors
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18855">PR#18855</a>).
</P></LI>

<LI><P>
Error messages produced by ‘tools::parseLatex()’ are now more readable
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18855">PR#18855</a>).
</P></LI>

<LI><P>
‘R CMD build &lt;pkg&gt;’ excludes more file patterns when it tars the &lt;pkg&gt;
directory, fixing both <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18432">PR#18432</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18434">PR#18434</a>, for ‘vim’ and ‘GNU
Global’ ‘emacs’ users, thanks to Dirk Eddelbuettel's patch.
</P></LI>

<LI><P>
‘quantile()’'s default method gets an option ‘fuzz’ to protect against
floating point inaccuracy before rounding, thus fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15811">PR#15811</a> and, en
passant, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17683">PR#17683</a>.
</P></LI>

<LI><P>
Printing arrays now also omits columns, rows and slices when desirable
according to option ‘max.print’, or argument ‘max’, respectively,
addressing most of the remaining part of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15027">PR#15027</a>, thanks to Sherry
Zhang's patch.
</P></LI>

<LI><P>
‘drop.terms(y ~ w, 1)’ and similar now work, thanks to Benjamin
Sommer's report in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18861">PR#18861</a> and collaboration with Heather Turner
improving ‘reformulate()’.
</P></LI>

<LI><P>
Many arguments which should be length-1 logical are checked more
thoroughly.  The most commonly seen errors are in ‘unlink(,
recursive)’, ‘tempdir()’ and the ‘na.rm’ arguments of ‘max()’, ‘min()’,
‘sum()’, ....
</P>
<P>
‘grep()’, ‘strsplit()’ and similar took non-‘TRUE’/‘FALSE’ values of
their logical arguments as ‘FALSE’, but these were almost always
mismatches to unnamed arguments and are now reported as ‘NA’.
</P></LI>

<LI><P>
‘vignette(&quot;reshape&quot;)’ is now also available on Windows.
</P></LI>

<LI><P>
‘trace(coerce, ..)’ now works correctly, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18823">PR#18823</a> thanks to
Mikael Jagan.
</P></LI>

<LI><P>
‘R CMD check’ now also reports bad symbols in package shared objects
linked in from local static libraries (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18789">PR#18789</a>).
</P></LI>

<LI><P>
‘factanal()’ now works correctly also, e.g., for ‘GPArotation’,
‘oblimin()’ rotations, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18417">PR#18417</a>, thanks to Coen Bernaards and
others.
</P></LI>

<LI><P>
Setting ‘attributes’ on primitive functions is deprecated now and
already an error in the development version of R.  Changing the
‘environment’ of a primitive does no longer happen and signals a
warning.
</P></LI>

</UL>
<H4>Changes in R 4.4.3 Installation </H4>
<UL>
<LI><P>
R can be installed using C23 (for example with ‘-std=gnu23’ or
‘-std=gnu2x’) with recent compilers including ‘gcc’ 12-14, Apple
‘clang’ 15-16, LLVM ‘clang’ 17-20 and Intel ‘icx’ 2024.2.
</P>
<P>
It can be installed with the upcoming (at the time of writing) ‘gcc’
15, which defaults to C23.
</P></LI>

</UL>
<H4>Changes in R 4.4.3 C-Level Facilities </H4>
<UL>
<LI><P>
The functions ‘R_strtod’ and ‘R_atof’ now allow hexadecimal constants
without an exponent, for compatibility with their C99 versions
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18805">PR#18805</a>).
</P></LI>

</UL>
<H4>Changes in R 4.4.3 Utilities </H4>
<UL>
<LI><P>
‘R CMD build’ and ‘R CMD check’ now allow reference output for demo
scripts (‘demo/&lt;demo&gt;.Rout.save’ files) to be shipped with the package,
as proposed by Torsten Hothorn in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18816">PR#18816</a>.
</P></LI>

</UL>
<H4>Changes in R 4.4.3 Bug Fixes </H4>
<UL>
<LI><P>
‘kappa(A, exact=TRUE)’ for singular ‘A’ returns ‘Inf’ more generally,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18817">PR#18817</a> reported by Mikael Jagan.
</P></LI>

<LI><P>
Fixed URLs of the sun spots (‘sunspot.month’ etc) data sets and mention
future changes due to recalibration.
</P></LI>

<LI><P>
The parser now accepts hexadecimal constants with a decimal point
without an exponent (taken as ‘p0’) as documented in
‘?NumericConstants’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18819">PR#18819</a>).
</P></LI>

<LI><P>
‘rbind()’ now works correctly when inputs include a raw vector and a
logical, integer or double vector - previously the inclusion of the
latter was garbled.
</P></LI>

<LI><P>
‘smooth.spline()’ checks validity of its arguments ‘df.offset’ and
‘penalty’: it could segfault if they were ‘NULL’.
</P></LI>

<LI><P>
‘isGeneric(&lt;primitive&gt;, fdef=*, getName=TRUE)’ now also returns the
name instead of just ‘TRUE’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18829">PR#18829</a> reported by Mikael Jagan.
</P></LI>

<LI><P>
‘isGeneric(fdef = print)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18369">PR#18369</a> thanks to Mikael
Jagan.
</P></LI>

<LI><P>
‘sort(x, method = &quot;qsort&quot;)’ made illegal accesses when ‘x’ has length
0.
</P></LI>

<LI><P>
‘dir.create()’ is protected against being passed an empty string as its
‘path’ argument.
</P></LI>

<LI><P>
Silent integer overflow could occur in the ‘exact’ computations for
‘fisher.test()’ for unrealistic inputs: this is now an error.
</P></LI>

<LI><P>
Some invalid C-level memory accesses are avoided for ‘loglin(, margin =
NULL)’.
</P>
<P>
‘loglin(, param = TRUE)’ no longer gives an error in corner cases such
as a one-dimensional input.
</P></LI>

<LI><P>
‘dev.capabilities() $ events’ now reports ‘&quot;Idle&quot;’ if the device
provides it, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18836">PR#18836</a>, thanks to Trevor Davis.
</P></LI>

<LI><P>
‘arima(.., seasonal = &lt;wrong-vector&gt;)’ correctly errors now, ditto for
‘arima0()’, thanks to Norbert Kuder's report on the R-devel list.
</P></LI>

<LI><P>
‘binomial(&lt;link&gt;)$linkinv(eta)’ and ‘.. $mu.eta(eta)’ now also work for
‘&quot;logit&quot;’ link when ‘is.integer(eta)’.
</P></LI>

<LI><P>
‘as.roman(x)’ now should work platform independently, also for, e.g.,
‘x = &quot;IIIII&quot;’ (= V) and ‘x = &quot;IIIIII&quot;’ (= VI).
</P></LI>

<LI><P>
‘R CMD Rd2pdf’ works again on an installed package directory containing
LaTeX help (from option ‘--latex’), thanks to a report by Peter
Ruckdeschel.
</P></LI>

</UL>
<H4>Changes in R 4.4.2 C-Level Facilities </H4>
<UL>
<LI><P>
The S-compatibility macros ‘F77_COM’ and ‘F77_COMDECL’ defined in
header ‘R_ext/RS.h’ are deprecated and will be removed shortly.  We
could find no record of their use.
</P></LI>

</UL>
<H4>Changes in R 4.4.2 Bug Fixes </H4>
<UL>
<LI><P>
Mathlib function ‘lgammacor(x)’ no longer warns about underflow to zero
for large ‘x’.
</P></LI>

<LI><P>
Text widths and heights were incorrectly reported by the Quartz device
if the drawing context didn't exist yet (typically when drawing
off-screen to a window that is yet to appear, see <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18591">PR#18591</a>).
</P></LI>

<LI><P>
The Quartz device could segfault in cases where paths with spaces are
used in the new glyph drawing API.  Thanks to Tomek Gieorgijewski
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18758">PR#18758</a>).
</P></LI>

<LI><P>
On macOS in R CRAN builds, it is again possible to read little-endian
UTF-16 text with a BOM from a connection using ‘encoding=&quot;UTF-16&quot;’.
Users building R from source should avoid using the system ‘libiconv’
in macOS 14.1 and later.
</P></LI>

<LI><P>
‘methods’' internal ‘.requirePackage()’ now re-enables primitive method
dispatch when needed; thanks to Ivan Krylov for demystifying CRAN
package check failures on the R-devel mailing list.
</P></LI>

</UL>
<H4>Changes in R 4.4.1 C-Level Facilities </H4>
<UL>
<LI><P>
Functions ‘R_atof’ and ‘R_strtod’ declared in header ‘R_ext/Utils.h’
are now documented in ‘Writing R Extensions’ and so formally part of
the API.
</P></LI>

<LI><P>
The non-API entry points ‘Rf_setSVector’, ‘Rf_StringFalse’,
‘Rf_StringTrue’ and ‘Rf_isBlankString’ have been added to those
reported by ‘R CMD check’.
</P></LI>

<LI><P>
The new function ‘Rf_allocLang’ is now available. This provides an
alternative to the idiom of calling ‘Rf_allocList’ followed by
‘SET_TYPEOF’.
</P></LI>

</UL>
<H4>Changes in R 4.4.1 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ now reports as warnings what ‘gfortran’ calls ‘Fortran
2018 deleted features’, all of which have long been marked as
‘obsolescent’ and some of which were deleted in Fortran 2008 or
earlier.  Fortran compilers are no longer required to support these.
</P></LI>

</UL>
<H4>Changes in R 4.4.1 Bug Fixes </H4>
<UL>
<LI><P>
‘as.numeric()’, ‘scan()’, ‘type.convert()’ and other places which use
the internal C function ‘R_strtod’ now require a _non-empty_ digit
sequence in a decimal or binary exponent.  This aligns with the C/POSIX
standard for ‘strtod’ and with ‘?NumericConstants’.
</P></LI>

<LI><P>
‘as.data.frame(m, make.names=NA)’ now works correctly for a matrix ‘m’
with ‘NA’'s in row names.
</P></LI>

<LI><P>
The error message from ‘&lt;POSIXlt&gt;[[&quot;hour&quot;]]’ and similar now mentions
‘*[[, &quot;hour&quot;]]’, as wished for in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17409">PR#17409</a> and proposed by Michael
Chirico.
</P></LI>

<LI><P>
‘qbinom()’ and potentially ‘qpois()’, ‘qnbinom()’, no longer sometimes
fail accurate inversion (of ‘pbinom()’, etc), thanks to Christopher
Chang's report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18711">PR#18711</a>.
</P></LI>

<LI><P>
The internal help server on Windows can again serve requests sent in
quick succession, fixing a regression in R 4.4.0.
</P></LI>

<LI><P>
‘debugcall(&lt;S3Generic&gt;())’ now also works when a corresponding
S4-generic version is in the ‘methods’ cache (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18143">PR#18143</a>).
</P></LI>

<LI><P>
Package ‘tools’' ‘toTitleCase(ch0)’ now returns ‘character(0)’ when
‘ch0’ is of zero length; fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18724">PR#18724</a>, reported by David Hugh Jones.
</P></LI>

<LI><P>
‘R CMD check’ is no longer broken (without a check result and no
explanation in ‘00check.log’) for a package which declares an invalid
‘VignetteBuilder’ in ‘DESCRIPTION’ but has no vignettes.
</P></LI>

</UL>
<H4>Changes in R 4.4.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
Startup banners, ‘R --version’, ‘sessionInfo()’ and ‘R CMD check’ no
longer report ‘(64-bit)’ as part of the platform as this is almost
universal - the increasingly rare 32-bit platforms will still report
‘(32-bit)’.
</P>
<P>
On Windows, ditto for window titles.
</P></LI>

<LI><P>
‘is.atomic(NULL)’ now returns ‘FALSE’, as ‘NULL’ is not an atomic
vector.  Strict back-compatibility would replace ‘is.atomic(foo)’ by
‘(is.null(foo) || is.atomic(foo))’ but should happen only sparingly.
</P></LI>

</UL>
<H4>Changes in R 4.4.0 New Features </H4>
<UL>
<LI><P>
The ‘confint()’ methods for ‘&quot;glm&quot;’ and ‘&quot;nls&quot;’ objects have been
copied to the ‘stats’ package.  Previously, they were stubs which
called versions in package ‘MASS’. The ‘MASS’ namespace is no longer
loaded if you invoke (say) ‘confint(glmfit)’.  Further, the ‘&quot;glm&quot;’
method for ‘profile()’ and the ‘plot()’ and ‘pairs()’ methods for class
‘&quot;profile&quot;’ have been copied from ‘MASS’ to ‘stats’.  (‘profile.nls()’
and ‘plot.profile.nls()’ were already in ‘stats’.)
</P></LI>

<LI><P>
The ‘confint()’ and ‘profile’ methods for ‘&quot;glm&quot;’ objects have gained a
possibility to do profiling based on the Rao Score statistic in
addition to the default Likelihood Ratio. This is controlled by a new
‘test =’ argument.
</P></LI>

<LI><P>
The ‘pairs()’ method for ‘&quot;profile&quot;’ objects has been extended with a
‘which =’ argument to allow plotting only a subset of the parameters.
</P></LI>

<LI><P>
The ‘&quot;glm&quot;’ method for ‘anova()’ computes test statistics and p-values
by default, using a chi-squared test or an F test depending on whether
the dispersion is fixed or free.  Test statistics can be suppressed by
giving argument ‘test’ a false logical value.
</P></LI>

<LI><P>
In ‘setRepositories()’ the repositories can be set using their names
via ‘name =’ instead of index ‘ind =’.
</P></LI>

<LI><P>
‘methods()’ and ‘.S3methods()’ gain a ‘all.names’ option for the (rare)
case where functions starting with a ‘.’ should be included.
</P></LI>

<LI><P>
Serializations can now be interrupted (e.g., by ‘Ctrl-C’ on a
Unix-alike) if they take too long, e.g., from ‘save.image()’, thanks to
suggestions by Ivan Krylov and others on R-devel.
</P></LI>

<LI><P>
New startup option ‘--max-connections’ to set the maximum number of
simultaneous connections for the session.  Defaults to 128 as before:
allowed values up to 4096 (but resource limits may in practice restrict
to smaller values).
</P></LI>

<LI><P>
R on Windows (since Windows 10 2004) now uses the new Segment Heap
allocator. This may improve performance of some memory-intensive
applications.
</P></LI>

<LI><P>
When R packages are built, typically by ‘R CMD build &lt;pkg&gt;’, the new
‘--user=&lt;build_user&gt;’ option overrides the (internally determined) user
name, currently ‘Sys.info()[&quot;user&quot;]’ or ‘LOGNAME’.  This is a
(modified) fulfillment of Will Landau's suggestion in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17530">PR#17530</a>.
</P></LI>

<LI><P>
‘tools::testInstalledBasic()’ gets new optional arguments ‘outDir’ and
‘testSrcdir’, e.g., allowing to use it in a ‘&lt;builddir&gt; != &lt;srcdir&gt;’
setup, and in standard “binary” Windows installation *if* a source
‘tests/’ folder is present.
</P></LI>

<LI><P>
‘range(&lt;DT_with_Inf&gt;, finite = TRUE)’ now work for objects of class
‘&quot;Date&quot;’, ‘&quot;POSIXct&quot;’, and ‘&quot;POSIXlt&quot;’ with infinite entries,
analogously to ‘range.default()’, as proposed by Davis Vaughan on
R-devel.  Other ‘range()’-methods can make use of new function
‘.rangeNum()’.
</P></LI>

<LI><P>
New ‘.internalGenerics’ object complementing ‘.S3PrimitiveGenerics’,
for documentation and low-level book-keeping.
</P></LI>

<LI><P>
‘grid()’ now invisibly returns the x- and y- coordinates at which the
grid-lines were drawn.
</P></LI>

<LI><P>
‘norm(., type)’ now also works for complex matrices.
</P></LI>

<LI><P>
‘kappa(., exact = TRUE, norm = *)’ now works for all norms and also for
complex matrices.  In symmetric / triangular cases, the new argument
‘uplo = &quot;U&quot; | &quot;L&quot;’ allows the upper or lower triangular part to be
specified.
</P></LI>

<LI><P>
‘memDecompress(type = &quot;unknown&quot;)’ recognizes compression in the default
‘zlib’ format as used by ‘memCompress(type = &quot;gzip&quot;)’.
</P></LI>

<LI><P>
‘memCompress()’ and ‘memDecompress()’ will use the ‘libdeflate’ library
(&lt;https://github.com/ebiggers/libdeflate&gt;) if installed.  This uses the
same type of compression for ‘type = &quot;gzip&quot;’ but is 1.5-2x faster than
the system ‘libz’ library on some common platforms: the speed-up may
depend on the library version.
</P></LI>

<LI><P>
‘diff()’ for objects of class ‘&quot;Date&quot;’, ‘&quot;POSIXct&quot;’, and ‘&quot;POSIXlt&quot;’
accepts a ‘units’ argument passed via ‘...’.
</P></LI>

<LI><P>
Dynamic help now does a much better job of rendering package
‘DESCRIPTION’ metadata.
</P></LI>

<LI><P>
‘Rprof()’ gains an ‘event’ argument and support for elapsed (real) time
profiling on Unix (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18076">PR#18076</a>).
</P></LI>

<LI><P>
‘filled.contour()’ gains a ‘key.border’ argument.
</P></LI>

<LI><P>
‘tools::update_pkg_po()’ gets arguments ‘pot_make’ and ‘mo_make’ for
_not_ re-making the corresponding files, and additionally a ‘verbose’
argument.
</P></LI>

<LI><P>
Hexadecimal string colour specifications are now accepted in short
form, so, for example, we can use ‘&quot;#123&quot;’, which is equivalent to
‘&quot;#112233&quot;’.
</P>
<P>
Thanks to MikeFC for the original idea and Ella Kaye, Malcolm Barrett,
George Stagg, and Hanne Oberman for the patch.
</P></LI>

<LI><P>
Plain-text help shows \var markup by angle brackets.
</P></LI>

<LI><P>
The new experimental primitive function ‘declare()’ is intended to
eventually allow information about R code to be communicated to the
interpreter, compiler, and code analysis tools. The syntax for
declarations is still being developed.
</P></LI>

<LI><P>
Functions ‘psmirnov()’, ‘qsmirnov()’ and ‘rsmirnov()’ in package
‘stats’ have had argument ‘two.sided’ renamed to ‘alternative’, to take
into account that the permutation distributions of the one-sided
statistics can be different in the case of ties.  Consequence of
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18582">PR#18582</a>.
</P></LI>

<LI><P>
‘sort()’ is now an implicit S4 generic in ‘methods’.
</P></LI>

<LI><P>
Formatting and printing, ‘format(z), print(z)’, of complex vectors ‘z’
no longer zap relatively small real or imaginary parts to zero, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16752">PR#16752</a>.  This is an API change, as it was documented previously to
round real and imaginary parts together on purpose, producing nicer
looking output.  As mentioned, e.g. in the PR, this change is
compatible with many other “R-like” programming environments.
</P>
<P>
We have simplified the internal code and now basically format the real
and imaginary parts independently of each other.
</P></LI>

<LI><P>
New experimental functions ‘Tailcall()’ and ‘Exec()’ to support writing
stack-space-efficient recursive functions.
</P></LI>

<LI><P>
Where characters are attempted to be plotted by ‘pdf()’, ‘postscript()’
and ‘xfig()’ which are not in the selected 8-bit character set (most
often Latin-1) and the R session is using a UTF-8 locale, the warning
messages will show the UTF-8 character rather than its bytes and one
dot will be substituted per character rather than per byte.  (Platforms
whose ‘iconv()’ does transliteration silently plot the
transliteration.)
</P>
<P>
In a UTF-8 locale some transliterations are now done with a warning
(e.g., dashes and Unicode minus to hyphen, ligatures are expanded,
permille (‘‰’) is replaced by ‘o/oo’), although the OS may have got
there first.  These are warnings as they will continue to be replaced
by dots in earlier versions of R.
</P></LI>

<LI><P>
The matrix multiplication functions ‘crossprod()’ and ‘tcrossprod()’
are now also primitive and S3 generic, as ‘%*%’ had become in R 4.3.0.
</P></LI>

<LI><P>
‘source()’ and ‘example()’ have a new optional argument ‘catch.aborts’
which allows continued evaluation of the R code after an error.
</P></LI>

<LI><P>
The non-Quartz ‘tiff()’ devices allow additional types of compression
if supported by the platform's ‘libtiff’ library.
</P></LI>

<LI><P>
The list of base and recommended package names is now provided by
‘tools::standard_package_names()’.
</P></LI>

<LI><P>
‘cairo_pdf()’ and ‘cairo_ps()’ default to ‘onefile = TRUE’ to closer
match ‘pdf()’ and ‘postscript()’.
</P></LI>

<LI><P>
New option ‘catch.script.errors’ provides a documented way to catch
errors and then continue in non-interactive use.
</P></LI>

<LI><P>
‘L %||% R’ newly in ‘base’ is an expressive idiom for the phrases
‘if(!is.null(L)) L else R’ or ‘if(is.null(L)) R else L’.
</P></LI>

<LI><P>
The return value from ‘warnings()’ now always inherits from
‘&quot;warnings&quot;’ as documented, now also in the case of no warnings where
it previously returned ‘NULL’.
</P></LI>

<LI><P>
‘as.complex(&quot;1i&quot;)’ now returns ‘0 + 1i’ instead of ‘NA’ with a warning.
</P></LI>

<LI><P>
‘z &lt;- c(NA, 1i)’ now keeps the imaginary part ‘Im(z[1]) == 0’, no
longer coercing to ‘NA_complex_’.  Similarly, ‘cumsum(z)’ correctly
sums real and imaginary parts separately, i.e., without “crosstalk” in
case of ‘NA’s.
</P></LI>

<LI><P>
On Alpine Linux ‘iconv()’ now maps ‘&quot;latin2&quot;’, ‘&quot;latin-2&quot;’, ‘&quot;latin9&quot;’
and ‘&quot;latin-9&quot;’ to encoding names the OS knows about
(case-insensitively).
</P></LI>

<LI><P>
‘iconv(sub = &quot;Unicode&quot;)’ now always zero-pads to four (hex) digits,
rather than to 4 or 8.  (This seems to have become the convention once
Unicode restricted the number of Unicode points to 2^21 - 1 and so will
never need more than 6 digits.)
</P></LI>

<LI><P>
‘NCOL(NULL)’ now returns 0 instead of 1, for consistency with
‘cbind()’.
</P></LI>

<LI><P>
The information for the Euro glyph missing from the Adobe ‘.afm’ files
for the Courier, Helvetica and Times families has been copied from
their URW equivalents - this will improve vertical centring in the
‘pdf()’ and ‘postscript()’ devices.
</P></LI>

<LI><P>
The included BLAS sources have been updated to those shipped with
LAPACK version 3.12.0.  The changes are almost entirely cosmetic.
</P></LI>

<LI><P>
The included LAPACK sources have been updated to version 3.12.0 and
some further double-complex routines added.
</P></LI>

<LI><P>
There are new font families for the 2014-5 URW 2.0 fonts (see ‘?pdf’)
which are included in recent versions of Ghostscript.  These have font
widths for most Greek glyphs and a few others which were missing from
the original versions (whose font families remain available for
reproducibility, although Ghostscript-based viewers will render using
the 2.0 versions).
</P></LI>

<LI><P>
Improve the large-n efficiency of ‘as.matrix(&lt;dist&gt;)’, thanks an R
contributors effort, notably by Tim Taylor and Heather Turner, see
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18660">PR#18660</a>.
</P></LI>

<LI><P>
The default and ‘numeric’ methods of ‘all.equal()’ get a ‘check.class’
option.
</P></LI>

<LI><P>
‘zapsmall()’ gets new optional arguments, function ‘mFUN’ and ‘min.d’,
for extra flexibility; fulfills a wish in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18199">PR#18199</a>.  Also, it is now an
implicit S4 generic in package ‘methods’.
</P></LI>

<LI><P>
The Rd filter for ‘aspell()’ gains an ‘ignore’ argument.
</P></LI>

<LI><P>
New generic function ‘sort_by()’, primarily useful for the ‘data.frame’
method which can be used to sort rows of a data frame by one or more
columns.
</P></LI>

<LI><P>
The licence headers for the RPC code in ‘src/extra/xdr’ have been
updated to use the GPL-compatible licence published by Oracle America
in 2010.
</P></LI>

<LI><P>
New function ‘pkg2HTML()’ in ‘tools’ to create single-page HTML
reference manuals for R packages.
</P></LI>

<LI><P>
The byte code evaluator now uses less C stack space for recursive calls
to byte-compiled functions. It also makes more of an effort to avoid
allocations for scalar return values.
</P></LI>

<LI><P>
New completion option ‘backtick’ (disabled by default) allows
non-syntactic completions to be wrapped in backquotes. This is
currently only useful for Jupyter notebooks via the ‘IRkernel’ package,
and may cause problems for other backends.
</P></LI>

<LI><P>
The numeric version creators now stop on invalid non-character version
specifications.
</P></LI>

</UL>
<H4>Changes in R 4.4.0 Installation </H4>
<UL>
<LI><P>
The parser has been updated to work with ‘bison’ 3.8.2, which is now
used for the pre-generated parsers in ‘gram.c’, ‘file.c’, and
‘gramRd.c’. A few parser error messages have changed, which may affect
code that relies on exact messages.
</P></LI>

</UL>
<H4>Changes in R 4.4.0 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
System valgrind headers are now required to use ‘configure’ option
‘--with-valgrind-instrumentation’ with value ‘1’ or ‘2’.
</P></LI>

<LI><P>
‘configure’ will warn if it encounters a 32-bit build, as that is
nowadays almost untested.
</P></LI>

<LI><P>
Environment variable ‘R_SYSTEM_ABI’ is no longer used and so no longer
recorded in ‘etc/Renviron’ (it was not on Windows and was only ever
used when preparing package ‘tools’).
</P></LI>

<LI><P>
If the ‘libdeflate’ library and headers are available, ‘libdeflate’
rather than ‘libz’ is used to (de)compress R objects in lazy-load
databases.  Typically tasks spend up to 5% of their time on such
operations, although creating lazy-data databases is one of the
exceptions.
</P>
<P>
This can be suppressed if the library is available by the ‘configure’
option ‘--without-libdeflate-compression’.
</P></LI>

<LI><P>
‘configure’ option ‘--enable-lto=check’ has not worked reliably since
2019 and has been removed.
</P></LI>

<LI><P>
The minimum ‘autoconf’ requirement for a maintainer build has been
increased to ‘autoconf’ 2.71.
</P>
<P>
It is intended to increase this to 2.72 for R 4.5.0: the distributed
‘configure’ file was generated using 2.72.
</P></LI>

<LI><P>
The minimum version requirement for an external LAPACK has been reduced
to 3.9.0.
</P></LI>

<LI><P>
No default C++ compiler is set if no C++17 compiler is detected: there
is no longer an automatic fallback to C++14 or C++11.
</P>
<P>
Compilers from the last five years should have sufficient support: for
others macros ‘CXX’ and ‘CXXSTD’ can be set in file ‘config.site’ to
provide a fallback if needed.
</P>
<P>
The Objective-C++ compiler now by default uses the standard selected by
R for C++ (currently C++17) rather than the default standard for the
C++ compiler (which on macOS is still C++98).
</P></LI>

</UL>
<H4>Changes in R 4.4.0 Installation on macOS </H4>
<UL>
<LI><P>
A new ‘configure’ option ‘--with-newAccelerate’ makes use of Apple's
‘new’ BLAS / LAPACK interfaces in their Accelerate framework.  Those
interfaces are only available in macOS 13.3 or later, and building
requires SDK 13.3 or later (from the Command Line Tools or Xcode 14.3
or later).
</P>
<P>
By default the option uses new Accelerate for BLAS calls: to also use
it for LAPACK use option ‘--with-newAccelerate=lapack’.  The later
interfaces provide LAPACK 3.9.1 rather than 3.2.1: 3.9.1 is from
2021-04 and does not include the improved algorithms introduced in
LAPACK 3.10.0 (including for BLAS calls).
</P></LI>

</UL>
<H4>Changes in R 4.4.0 Installation on Windows </H4>
<UL>
<LI><P>
The makefiles and installer scripts for Windows have been tailored to
Rtools44, an update of the Rtools43 toolchain.  It is based on GCC 13
and newer versions of MinGW-W64, binutils and libraries (targeting
64-bit Intel CPUs).  R-devel can no longer be built using Rtools43
without changes.
</P></LI>

<LI><P>
Rtools44 has experimental support for 64-bit ARM (‘aarch64’) CPUs _via_
the LLVM 17 toolchain using ‘lld’, ‘clang’/‘flang-new’ and ‘libc++’.
</P></LI>

</UL>
<H4>Changes in R 4.4.0 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ notes when S4-style exports are used without declaring a
strong dependence on package ‘methods’.
</P></LI>

<LI><P>
‘tools::checkRd()’ (used by ‘R CMD check’) detects more problems with
\Sexpr-based dynamic content, including bad nesting of \Sexprs and
invalid arguments.
</P></LI>

<LI><P>
‘tools::checkRd()’ now reports Rd titles and section names ending in a
period; this is ignored by ‘R CMD check’ unless environment variable
‘_R_CHECK_RD_CHECKRD_MINLEVEL_’ is set to -5 or smaller.
</P></LI>

<LI><P>
‘R CMD check’ now notes Rd files without an \alias, as long documented
in ‘Writing R Extensions’ §1.3.1.  The check for a missing \description
has been moved from ‘tools::checkRd()’ to ‘tools::checkRdContents()’.
</P></LI>

<LI><P>
‘R CMD check’ now visits ‘inst/NEWS.Rd’ and OS-specific ‘man’
subdirectories when checking Rd files.
</P></LI>

<LI><P>
‘tools::checkDocFiles()’ and ‘tools::checkRdContents()’ now also check
internal Rd files by default, but “specially” (ignoring missing
documentation of arguments).
</P></LI>

<LI><P>
‘R CMD Rdiff’ gets option ‘--useEx’.
</P></LI>

<LI><P>
‘R CMD check’ now warns on non-portable uses of Fortran ‘KIND’ such as
‘INTEGER(KIND=4)’ and ‘REAL(KIND=8)’.
</P>
<P>
To see the failing lines set environment variable
‘_R_CHECK_FORTRAN_KIND_DETAILS_’ to a true value.
</P></LI>

<LI><P>
When checking Rd files, ‘R CMD check’ now notes some of the “lost
braces” that ‘tools::checkRd()’ finds.  Typical problems are Rd macros
missing the initial backslash (e.g., ‘code{...}’), in-text set notation
(e.g., ‘{1, 2}’, where the braces need escaping), and \itemize lists
with \describe-style entries of the form \item{label}{description}.
</P></LI>

<LI><P>
‘R CMD INSTALL’ (and hence ‘check’) will compile C++ code with
‘-DR_NO_REMAP’ if environment variable ‘_R_CXX_USE_NO_REMAP_’ is set to
a true value.  It is planned that this will in future become the
default for compiling C++.
</P></LI>

<LI><P>
The new built-in Rd macro \dontdiff{} can be used to mark example code
whose output should be ignored when comparing check output to reference
output (‘tests/Examples/&lt;pkg&gt;-Ex.Rout.save’).  The \dontdiff tag, like
\donttest, is _not_ shown on the rendered help page, so provides a
clean alternative to ‘## IGNORE_RDIFF_(BEGIN|END)’ comments.
</P></LI>

<LI><P>
‘R CMD build’ when there is no ‘NAMESPACE’, now uses the recommended
‘exportPattern(&quot;^[^.]&quot;)’, instead of exporting everything.
</P></LI>

<LI><P>
‘R CMD check’ now warns about non-ASCII characters in the ‘NAMESPACE’
file (in addition to R files). Such packages are not portable and may
fail to install on some platforms.
</P></LI>

</UL>
<H4>Changes in R 4.4.0 C-Level Facilities </H4>
<UL>
<LI><P>
Headers ‘R_ext/Applic.h’ and ‘R-ext/Linpack.h’ used to include
‘R_ext/BLAS.h’ although this was undocumented and unneeded by their
documented entry points.  They no longer do so.
</P></LI>

<LI><P>
New function ‘R_missing()’, factored out from ‘do_missing()’, used to
fix <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18579">PR#18579</a>.
</P></LI>

<LI><P>
‘SEXP’ type ‘S4SXP’ has been renamed to ‘OBJSXP’ to support
experimenting with alternative object systems.  The ‘S4SXP’ value can
still be used in ‘C’ code but is now deprecated.  Based on
contributions from the R Consortium's Object-Oriented Programming
Working Group.
</P></LI>

<LI><P>
New function ‘pow1p(x,y)’ for accurate ‘(1+x)^y’.
</P></LI>

<LI><P>
‘mkCharLenCE’ was incorrectly documented to take a ‘size_t’ length but
was implemented with ‘int’ (and character strings in R are limited to
2^31 - 1 bytes).
</P></LI>

</UL>
<H4>Changes in R 4.4.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
‘data()’ no longer handles zipped data from long-defunct (since R
2.13.0) ‘--use-zip-data’ installations.
</P></LI>

<LI><P>
The legacy graphics devices ‘pictex()’ and ‘xfig()’ are now deprecated.
They do not support recent graphics enhancements and their font
handling is rudimentary. The intention is to retain them for historical
interest as long as they remain somewhat functional.
</P></LI>

<LI><P>
Support for ‘encoding = &quot;MacRoman&quot;’ has been removed from the ‘pdf()’
and ‘postscript()’ devices - this was a legacy encoding supporting
classic macOS up to 2001 and no longer has universal ‘libiconv’
support.
</P></LI>

<LI><P>
‘is.R()’ is deprecated as no other S dialect is known to be in use (and
this could only identify historical dialects, not future ones).
</P>
<P>
Further information on calls can be obtained by setting the environment
variable ‘_R_DEPRECATED_IS_R_’ to ‘error’ which turns the deprecation
warning into an error and so by default gives a traceback.  (This is
done by ‘R CMD check --as-cran’.)
</P></LI>

<LI><P>
‘UseMethod()’ no longer forwards local variables assigned in the
generic function into method call environments before evaluating the
method body. This makes method calls behave more like standard function
calls and makes method code easier to analyze correctly.
</P></LI>

<LI><P>
The twelve ‘as.data.frame.&lt;class&gt;()’ methods which were deprecated only
via ‘_R_CHECK_AS_DATA_FRAME_EXPLICIT_METHOD_’ and in ‘R CMD check
--as-cran’ are formally deprecated now in favour of calling
‘as.data.frame()’ or ‘as.data.frame.vector()’.  The deprecation “check”
now works also when ‘as.data.frame()’ is S4 generic thanks to Ivan
Krylov.
</P></LI>

<LI><P>
The default method for the directional comparison operators ‘&lt;’, ‘&gt;’,
‘&lt;=’, and ‘&gt;=’ now signals an error when one of the operands is a
language object, i.e. a symbol or a call.
</P></LI>

<LI><P>
For ‘terms.formula()’, deprecate ‘abb’ and ‘neg.out’ arguments
_formally_ in addition to just documenting it.
</P></LI>

</UL>
<H4>Changes in R 4.4.0 Bug Fixes </H4>
<UL>
<LI><P>
The ‘methods’ package is more robust to not being attached to the
search path.  More work needs to be done.
</P></LI>

<LI><P>
‘pairwise.t.test()’ misbehaved when subgroups had 0 DF for variance,
even with ‘pool.sd = TRUE’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18594">PR#18594</a> by Jack Berry.)
</P></LI>

<LI><P>
Probability distribution functions ‘[dpq]&lt;distrib&gt;(x, *)’, but also
‘bessel[IKJY](x, .)’ now consistently preserve ‘attributes(x)’ when
‘length(x) == 0’, e.g., for a 2 x 0 matrix, thanks to Karolis
Koncevičius' report <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18509">PR#18509</a>.
</P></LI>

<LI><P>
Group “Summary” computations such as ‘sum(1:3, 4, na.rm = 5, NA, 7,
na.rm = LL)’ now give an error instead of either ‘17’ or ‘NN’ for ‘LL’
true or false, as proposed by Ivan Krylov on the R-devel mailing list.
(This also means it is now an error to specify ‘na.rm’ more than once.)
</P></LI>

<LI><P>
‘as.complex(x)’ now returns ‘complex(real = x, imaginary = 0)’ for
_all_ numerical and logical ‘x’, notably also for ‘NA’ or
‘NA_integer_’.
</P></LI>

<LI><P>
Directories are now omitted by ‘file.copy(, recursive = FALSE)’ and in
‘file.append()’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17337">PR#17337</a>).
</P></LI>

<LI><P>
‘gsub()’ and ‘sub()’ are now more robust to integer overflow when
reporting errors caused by too large input strings (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18346">PR#18346</a>).
</P></LI>

<LI><P>
Top-level handlers are now more robust to attempts to remove a handler
whilst handlers are running (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18508">PR#18508</a>).
</P></LI>

<LI><P>
The handling of ‘Alt+F4’ in dialogs created on Windows using GraphApp
has been fixed (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13870">PR#13870</a>).
</P></LI>

<LI><P>
‘density()’ more consistently computes grid values for the FFT-based
convolution, following Robert Schlicht's analysis and proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18337">PR#18337</a>, correcting density values typically by a factor of about
0.999.  Argument ‘old.coords = TRUE’ provides back compatibility.
</P></LI>

<LI><P>
‘palette.colors()’ gains a ‘name’ argument that defaults to ‘FALSE’
controlling whether the vector of colours that is returned has names
(where possible).  <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18529">PR#18529</a>.
</P></LI>

<LI><P>
‘tools::xgettext()’ no longer extracts the (non-translatable) class
names from ‘warningCondition’ and ‘errorCondition’ calls.
</P></LI>

<LI><P>
‘S3method(&lt;gen&gt;, &lt;class&gt;, &lt;func&gt;)’ in the ‘NAMESPACE’ file now works
(again) when ‘&lt;func&gt;’ is visible from the namespace, e.g., imported, or
in base.
</P></LI>

<LI><P>
‘getParseData(f)’ now also works for a function defined in the first of
several ‘&lt;pkg&gt;/R/*.R’ source files, thanks to Kirill Müller's report
and Duncan Murdoch's patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16756">PR#16756</a>.
</P></LI>

<LI><P>
Rd \Sexpr macros with nested #ifdef conditionals were not processed.
</P></LI>

<LI><P>
A non-blocking connection with non-default encoding (such as a socket)
now correctly returns from ‘readLines()’ after new data has arrived
also when its EOF had been reached previously.  Thanks to Peter
Meilstrup's report on R-devel and Ivan Krylov's report and patch
proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18555">PR#18555</a>.
</P></LI>

<LI><P>
‘tools::checkRdContents()’ failed to detect empty argument descriptions
when they spanned multiple lines, including those generated by
‘prompt()’.  These cases are now noted by ‘R CMD check’.
</P></LI>

<LI><P>
Plain-text help no longer outputs spurious colons in the arguments list
(for multi-line \item labels in the Rd source).
</P></LI>

<LI><P>
‘kappa()’ and ‘rcond()’ work correctly in more cases; ‘kappa(., norm =
&quot;2&quot;)’ now warns that it computes the 1-norm with (default) ‘exact =
FALSE’; prompted by Mikael Jagan's quite comprehensive <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18543">PR#18543</a>.
</P></LI>

<LI><P>
Rd skeletons generated by ‘prompt()’ or ‘promptData()’ now use a dummy
title (so ‘R CMD build’ works).  ‘tools::checkRdContents()’ has been
updated to detect such template leftovers, including from
‘promptPackage()’.
</P></LI>

<LI><P>
When S4 method dispatch fails because no method was found, the error
message now includes the signature argument names; thanks to Michael
Chirico's proposal on the R-devel list.
</P></LI>

<LI><P>
‘withAutoprint({ .. })’ now preserves ‘srcref’s previously lost, thanks
to Andrew Simmons' report plus fix in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18572">PR#18572</a>.
</P></LI>

<LI><P>
‘transform.data.frame()’ no longer adjusts names; in particular,
untransformed variables are kept as-is, including those with
syntactically invalid names (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17890">PR#17890</a>).
</P></LI>

<LI><P>
The ‘keep.source’ option for Rd \Sexpr blocks is no longer ignored.
</P></LI>

<LI><P>
The ‘formula’ methods for ‘t.test()’ and ‘wilcox.test()’ now catch when
‘paired’ is passed, addressing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14359">PR#14359</a>; use ‘Pair(x1, x2) ~ 1’ for a
paired test.
</P></LI>

<LI><P>
The level reported in the ‘browser’ prompt was often too large. It now
shows the number of browser contexts on the stack.
</P></LI>

<LI><P>
For ‘cbind()’ and ‘rbind()’, the optional ‘deparse.level’ argument is
now properly passed to methods, thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18579">PR#18579</a> and
comments there.
</P></LI>

<LI><P>
Some error and warning messages for large (‘long vector’) ‘matrix(v,
nr, nc)’ and ‘dim(m) &lt;- d’ are now correct about sizes, using ‘long
long’ formatting, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18612">PR#18612</a> (and more) reported by Mikael Jagan.
</P></LI>

<LI><P>
‘readChar(useBytes = TRUE)’ now terminates strings even when the
underlying connection uses extra spaces in the input buffer.  This
fixes problems with extra garbage seen with ‘gzip’ connections,
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18605">PR#18605</a>.
</P></LI>

<LI><P>
Named capture in PCRE regular expressions now works also with more than
127 named groups (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18588">PR#18588</a>).
</P></LI>

<LI><P>
Datetime functions are now robust against long jumps when dealing with
internal time zone changes.  This avoids confusing warnings about an
invalid time zone, previously triggered by turning warnings into errors
or handling them via ‘tryCatch’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17966">PR#17966</a>, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17780">PR#17780</a>).
</P></LI>

<LI><P>
Datetime functions now restore even an empty ‘TZ’ environment variable
after internal time zone changes (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17724">PR#17724</a>).  This makes results of
datetime functions with this (typically unintentional) setting more
predictable.
</P></LI>

<LI><P>
‘drop.terms(*)’ now drops response as by default, ‘keep.response =
FALSE’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18564">PR#18564</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘dummy.coef(.)’ now also works for ‘lm()’-models with ‘character’
categorical predictor variables rather than ‘factor’ ones, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18635">PR#18635</a> reported by Jinsong Zhao.
</P></LI>

<LI><P>
‘formals(f) &lt;- formals(f)’ now also works for a function w/o arguments
and atomic _constant_ ‘body(f)’.
</P></LI>

<LI><P>
Correct ‘as.function(&lt;invalid list&gt;, .)’'s error message.
</P></LI>

<LI><P>
‘removeSource()’ is yet more thorough in finding and removing
‘&quot;srcref&quot;’ and the other source references from parsed R language
chunks, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18638">PR#18638</a> thanks to Andrew Simmons.
</P></LI>

<LI><P>
‘dgeom()’ is more accurate now, notably when its result is very small,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18642">PR#18642</a> thanks to the proposal of Morten Welinder, also
improving other instances where C level ‘binom_raw(x, n, ..)’ has ‘x ==
0’ or ‘x== n’.
</P></LI>

<LI><P>
‘warning()’ with ‘options(warn = 1)’ has improved output for multi-line
messages.
</P></LI>

<LI><P>
‘axis.Date()’ and ‘axis.POSIXct()’ now respect the ‘par(&quot;lab&quot;)’ setting
for the number of ‘pretty()’ intervals.
</P></LI>

<LI><P>
Comparisons for language objects (which are based on deparsing) are now
more careful about using accurate deparsed results (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18676">PR#18676</a>).
</P></LI>

<LI><P>
Plain-text help (‘Rd2txt’) now correctly preserves blank lines
following single-line \dontrun code.
</P></LI>

<LI><P>
‘&lt;POSIXlt&gt;[*]’ no longer sets wrong ‘&quot;balanced&quot;’ attribute, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18681">PR#18681</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘str(&lt;classed-call&gt;)’ now deparses the call as expected, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18684">PR#18684</a>, reported by Dave Slager.
</P></LI>

<LI><P>
In Rd examples, code following the closing brace of a \dontrun,
\dontshow or \donttest tag on the same line is no longer skipped when
‘R CMD check’ runs the examples.
</P></LI>

<LI><P>
‘as.data.frame(matrix(*, ncol=0))’ now gets valid ‘names()’ and
‘colnames()’; reported by Davis Vaughan on the R-devel list.
</P></LI>

<LI><P>
Internal Mathlib function ‘stirlerr(n)’ is now almost fully (52-bit)
accurate for all n &gt;= ~5.9 and more accurate also in the range 1 --
5.9.  This entails small (“after 12th decimal”) changes in density
functions, e.g., ‘dgamma()’ in _some_ regions of their support.  The
fix was partly prompted by Morten Welinder's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18640">PR#18640</a>.
</P></LI>

<LI><P>
Numbers like ‘9876543.2’ are now considered non-integer by Mathlib
internal ‘R_nonint()’, amending original fix of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15734">PR#15734</a>.
</P></LI>

<LI><P>
Rd comment lines no longer cause broken paragraphs in the rendered PDF
and plain-text help. In code blocks, pure comment lines (starting with
‘%’) no longer produce an empty line.
</P></LI>

<LI><P>
‘xtabs(Freq ~ .)’ now consistently defaults to ‘na.action = na.pass’,
using ‘na.rm = FALSE’ (added as an argument) when summing over ‘Freq’
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17770">PR#17770</a>).
</P></LI>

<LI><P>
‘tools::testInstalledPackage()’ is no longer silent about failures from
running examples or tests and its return code no longer ignores
failures from checking vignettes.
</P></LI>

</UL>
<H4>Changes in R 4.3.3 New Features </H4>
<UL>
<LI><P>
‘iconv()’ now fixes up variant encoding names such as ‘&quot;utf8&quot;’
case-insensitively.
</P></LI>

</UL>
<H4>Changes in R 4.3.3 Deprecated and Defunct </H4>
<UL>
<LI><P>
The legacy ‘encoding = &quot;MacRoman&quot;’ is deprecated in ‘pdf()’ and
‘postscript()’: support was incomplete in earlier versions of R.
</P></LI>

</UL>
<H4>Changes in R 4.3.3 Bug Fixes </H4>
<UL>
<LI><P>
Arguments are now properly forwarded to methods on S4 generics with ...
in the middle of their formal arguments. This was broken for the case
when a method introduced an argument but did not include ... in its own
formals. Thanks to Hervé Pagès for the report <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18538">PR#18538</a>.
</P></LI>

<LI><P>
Some invalid ‘file’ arguments to ‘pictex()’, ‘postscript()’ and
‘xfig()’ opened a file called ‘NA’ rather than throw an error.  These
included ‘postscript(NULL)’ (which some people expected to work like
‘pdf(NULL)’).
</P></LI>

<LI><P>
Passing ‘filename = NA’ to ‘svg()’, ‘cairo_pdf()’, ‘cairo_ps()’ or the
Cairo-based bitmap devices opened a file called ‘NA’: it now throws an
error.
</P></LI>

<LI><P>
‘quartz(file = NA)’ opened a file called ‘NA’, including when used as a
Quartz-based bitmap device.  It now gives an error.
</P></LI>

<LI><P>
‘rank(&lt;long vector&gt;)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18617">PR#18617</a>, thanks to Ilia Kats.
</P></LI>

<LI><P>
‘seq.int()’ did not adequately check its ‘length.out’ argument.
</P></LI>

<LI><P>
‘match(&lt;POSIXct&gt;, .)’ is correct again for differing time zones, ditto
for ‘&quot;POSIXlt&quot;’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18618">PR#18618</a> reported by Bastian Klein.
</P></LI>

<LI><P>
‘drop.terms(*, dropx = &lt;0-length&gt;)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18563">PR#18563</a> as
proposed by Mikael Jagan.
</P></LI>

<LI><P>
‘drop.terms(*)’ keeps ‘ + offset(.)’ terms when it should, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18565">PR#18565</a>,
and ‘drop.terms()’ no longer makes up a response, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18566">PR#18566</a>, fixing both
bugs thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘getS3method(&quot;t&quot;, &quot;test&quot;)’ no longer finds the ‘t.test()’ function,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18627">PR#18627</a>.
</P></LI>

<LI><P>
‘pdf()’ and ‘postscript()’ support for the documented Adobe encodings
‘&quot;Greek&quot;’ and ‘&quot;Cyrilllic&quot;’ was missing (although the corresponding
Windows' codepages could be used).
</P></LI>

<LI><P>
Computations of glyph metric information for ‘pdf()’ and ‘postscript()’
did not take into account that transliteration could replace one
character by two or more (only seen on macOS 14) and typically warned
that the information was not known.
</P></LI>

<LI><P>
‘rank(x)’ no longer overflows during integer addition, when computing
rank average for largish but not-yet long vector ‘x’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18630">PR#18630</a>,
thanks to Ilia Kats.
</P></LI>

<LI><P>
‘list.files()’ on Windows now returns also files with names longer that
260 bytes (the Windows limit is 260 characters).  Previously, some file
names particularly with ‘East Asian’ characters were omitted.
</P></LI>

<LI><P>
‘cov2cor(&lt;0 x 0&gt;)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18423">PR#18423</a> thanks to Mikael Jagan
and Elin Waring.
</P></LI>

<LI><P>
‘cov2cor(&lt;negative diagonal&gt;)’ and similar now give one warning instead
of two, with better wording, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18424">PR#18424</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘tools’‘:: startDynamicHelp()’ now ensures ‘port’ is in proper range,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18645">PR#18645</a>.
</P></LI>

<LI><P>
‘pbeta(x, a,b)’ is correct now for ‘x’=0 or 1 in the boundary cases
where ‘a’ or ‘b’ or both are 0, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18672">PR#18672</a> thanks to Michael Fay.
</P></LI>

<LI><P>
‘pmatch(x, table)’ for large ‘table’, also called for data frame row
selection, ‘dfrm[nm, ]’, is now interruptible, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18656">PR#18656</a>.
</P></LI>

<LI><P>
‘predict(&lt;rank-deficient lm&gt;, newdata=*)’ fix computing of ‘nbasis’,
see Russ Lenth's comment 29 in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16158">PR#16158</a>.
</P></LI>

<LI><P>
Added a work-around for a bug in macOS 14.3.1 and higher which prevents
R plots in the Quartz Cocoa device from updating on screen.
</P></LI>

</UL>
<H4>Changes in R 4.3.2 New Features </H4>
<UL>
<LI><P>
The default initialization of the ‘&quot;repos&quot;’ option from the
‘repositories’ file at startup can be skipped by setting environment
variable ‘R_REPOSITORIES’ to ‘NULL’ such that ‘getOption(&quot;repos&quot;)’ is
empty if not set elsewhere.
</P></LI>

<LI><P>
‘qr.X()’ is now an implicit S4 generic in ‘methods’.
</P></LI>

<LI><P>
‘iconv(to = &quot;ASCII//TRANSLIT&quot;)’ is emulated using substitution on
platforms which do not support it (notably Alpine Linux).  This should
give a human-readable conversion in ASCII on all platforms (rather than
‘NA_character_’).
</P></LI>

<LI><P>
‘trans3d()’ gains options ‘continuous’ and ‘verbose’ addressing the
problem of possible “wrap around” when projecting too long curves, as
reported by Achim Zeileis in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18537">PR#18537</a>.
</P></LI>

<LI><P>
‘tools::showNonASCII()’ has been rewritten to work better on macOS 14
(which has a changed implementation of ‘iconv()’).
</P></LI>

<LI><P>
‘tiff(type = &quot;quartz&quot;)’ (the default on macOS) now warns if
‘compression’ is specified: it continues to be ignored.
</P></LI>

</UL>
<H4>Changes in R 4.3.2 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
There is some support for building with Intel's LLVM-based compilers on
‘x86_64’ Linux, such as (C) ‘icx’, (C++) ‘ipcx’ and (Fortran) ‘ifx’
from oneAPI 2023.x.y.
</P></LI>

<LI><P>
There is support for using LLVM's ‘flang-new’ as the Fortran compiler
from LLVM 16.0.x (preferably 17.0.0 or later).
</P></LI>

</UL>
<H4>Changes in R 4.3.2 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ reports the use of the Fortran 90 random number generator
‘RANDOM_NUMBER()’ and the subroutines to initialize it.
</P>
<P>
‘Writing R Extensions’ has example code to use R's RNGs from Fortran.
</P></LI>

</UL>
<H4>Changes in R 4.3.2 Bug Fixes </H4>
<UL>
<LI><P>
‘substr(x, n, L) &lt;- cc’ now works (more) correctly for multibyte UTF-8
strings ‘x’ when ‘L &gt; nchar(x)’, thanks to a report and patch by
‘Architect 95’.
</P></LI>

<LI><P>
‘contrib.url(character())’ now returns 0-length ‘character()’ as
documented, which also avoids spurious warnings from
‘available.packages()’ et al. in the edge case of an empty vector of
repository URLs.
</P></LI>

<LI><P>
‘readChar(., 4e8)’ no longer fails, thanks to Kodi Arfer's report
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18557">PR#18557</a>).
</P></LI>

<LI><P>
‘lapply(&lt;list&gt;, as.data.frame)’ no longer warns falsely for some base
vector components.
</P></LI>

<LI><P>
Communication between parent and child processes in the ‘multicore’
part of ‘parallel’ could fail on platforms that do not support an
arbitrarily large payload in system functions ‘read()’/‘write()’ on
pipes (seen on macOS where a restriction to ‘INT_MAX’ bytes is
documented, without doing a partial read unlike Linux). The payload is
now split into 1Gb chunks to avoid that problem. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18571">PR#18571</a>)
</P></LI>

<LI><P>
‘qqplot(x,y, conf.level=.)’ gives better confidence bounds when
‘length(x) != length(y)’, thanks to Alexander Ploner's report and patch
proposal (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18557">PR#18557</a>).
</P></LI>

<LI><P>
‘norm(&lt;0-length&gt;, &quot;2&quot;)’ now gives zero instead of an error, as all the
other norm types, thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18542">PR#18542</a>.
</P></LI>

<LI><P>
Build-stage Rd macros \packageAuthor and \packageMaintainer now process
‘Authors@R’, fixing ‘NA’ results when the package ‘DESCRIPTION’ omits
‘Author’ and ‘Maintainer’ fields.
</P></LI>

<LI><P>
Formatting and printing complex numbers could give things like
‘0.1683-0i’ because of rounding error: ‘-0i’ is now replaced by ‘+0i’.
</P></LI>

<LI><P>
‘postscript()’ refused to accept a ‘title’ comment containing the
letter “W” (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18599">PR#18599</a>).
</P></LI>

<LI><P>
‘isoreg(c(1,Inf))’ signals an error instead of segfaulting, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18603">PR#18603</a>.
</P></LI>

<LI><P>
‘tiff(type = &quot;Xlib&quot;)’ was only outputting the last page of multi-page
plots.
</P></LI>

<LI><P>
‘tools::latexToUtf8()’ again knows about ‘\~{n}’ and other letters with
tilde, fixing a regression in R 4.3.0, and about ‘\^{i}’ as an
alternative to ‘\^{\i}’ (similarly with other accents).  Furthermore,
LaTeX codes for accented I letters are now correctly converted, also
fixing related mistakes in ‘tools::encoded_text_to_latex()’.
</P></LI>

<LI><P>
‘tar(*, tar = &quot;internal&quot;)’ no longer creates out-of-spec tar files in
the very rare case of user or group names longer than 32 bytes, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17871">PR#17871</a> with thanks to Ivan Krylov.
</P></LI>

<LI><P>
When using the “internal” timezone datetime code, adding a fraction of
a second no longer adds one second, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16856">PR#16856</a> from a patch by
Ivan Krylov.
</P></LI>

<LI><P>
‘tools::checkRd()’ no longer produces spurious notes about “unnecessary
braces” from multi-line Rd results of \Sexpr macros.
</P></LI>

</UL>
<H4>Changes in R 4.3.1 C-Level Facilities </H4>
<UL>
<LI><P>
The C-level API version of R's ‘integrate()’, ‘Rdqags()’ in ‘Applic.h’,
now returns the correct number of integrand evaluations ‘neval’, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18515">PR#18515</a> reported and diagnosed by Stephen Wade.
</P></LI>

<LI><P>
The C prototypes for LAPACK calls ‘dspgv’ and ‘dtptrs’ in
‘R_ext/Lapack.h’ had one too many and one too few character length
arguments - but this has not caused any known issues. To get the
corrected prototypes, include
</P>
<P>
        #include &lt;Rconfig.h&gt; // for PR18534fixed
        #ifdef PR18534fixed
        # define usePR18534fix 1
        #endif
        #include &lt;R_ext/Lapack.h&gt;
</P>
<P>
in your C/C++ code (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18534">PR#18534</a>).
</P></LI>

</UL>
<H4>Changes in R 4.3.1 Installation </H4>
<UL>
<LI><P>
Many of the checks of esoteric Internet operations and those using
unreliable external sites have been moved to a new target that is not
run by default and primarily intended for the core developers.  To run
them use
</P>
<P>
        cd tests; make test-Internet-dev
</P>
<P>
</P></LI>

</UL>
<H4>Changes in R 4.3.1 Bug Fixes </H4>
<UL>
<LI><P>
‘.S3methods()’, typically called from ‘methods()’, again marks methods
from package ‘base’ as ‘visible’.
</P>
<P>
Also, the visibility of non-‘base’ methods is again determined by the
method's presence in ‘search()’.
</P></LI>

<LI><P>
‘tools::Rdiff()’ is now more robust against invalid strings, fixing
installation tests on Windows without Rtools installed (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18530">PR#18530</a>).
</P></LI>

<LI><P>
Fix (new) bug in ‘hcl.colors(2, *)’, by Achim Zeileis (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18523">PR#18523</a>).
</P></LI>

<LI><P>
‘head(., &lt;illegal&gt;)’ and ‘tail(..)’ now produce more useful ‘&quot;Error in
....&quot;’ error messages, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18362">PR#18362</a>.
</P></LI>

<LI><P>
Package code syntax on Windows is checked in UTF-8 when UTF-8 is the
native encoding.
</P></LI>

<LI><P>
‘na.contiguous(x)’ now also returns the first run, when it is at the
beginning and there is a later one of the same length; reported to
R-devel, including a fix, by Georgi Boshnakov.  Further, by default, it
modifies only an existing ‘attr(*,&quot;tsp&quot;)’ but otherwise no longer sets
one.
</P></LI>

<LI><P>
‘chol(&lt;not pos.def&gt;, pivot = &lt;T|F&gt;)’ now gives a correct error or
warning message (depending on ‘pivot’), thanks to Mikael Jagan's
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18541">PR#18541</a>).
</P></LI>

</UL>
<H4>Changes in R 4.3.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
Calling ‘&amp;&amp;’ or ‘||’ with LHS or (if evaluated) RHS of length greater
than one is now always an error, with a report of the form
</P>
<P>
    'length = 4' in coercion to 'logical(1)'
</P>
<P>
Environment variable ‘_R_CHECK_LENGTH_1_LOGIC2_’ no longer has any
effect.
</P></LI>

</UL>
<H4>Changes in R 4.3.0 New Features </H4>
<UL>
<LI><P>
The included BLAS sources have been updated to those shipped with
LAPACK version 3.10.1.  (This caused some platform-dependent changes to
package check output.)  And then to the sources from LAPACK version
3.11.0 (with changes only to double complex subroutines).
</P></LI>

<LI><P>
The included LAPACK sources have been updated to include the four
Fortran 90 routines rather than their Fortran 77 predecessors.  This
may give some different signs in SVDs or eigendecompositions..  (This
completes the transition to LAPACK 3.10.x begun in R 4.2.0.)
</P></LI>

<LI><P>
The LAPACK sources have been updated to version 3.11.0.  (No new
subroutines have been added, so this almost entirely bug fixes: Those
fixes do affect some computations with ‘NaN’s, including R's ‘NA’.)
</P></LI>

<LI><P>
The parser now signals _classed_ errors, notably in case of the pipe
operator ‘|&gt;’.  The error object and message now give line and column
numbers, mostly as proposed and provided by Duncan Murdoch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18328">PR#18328</a>.
</P></LI>

<LI><P>
‘toeplitz()’ is now generalized for asymmetric cases, with a
‘toeplitz2()’ variant.
</P></LI>

<LI><P>
‘xy.coords()’ and ‘xyz.coords()’ and consequently, e.g., ‘plot(x,y, log
= &quot;y&quot;)’ now signal a _classed_ warning about negative values of y
(where ‘log(.)’ is ‘NA’).  Such a warning can be specifically
suppressed or caught otherwise.
</P></LI>

<LI><P>
Regular expression functions now check more thoroughly whether their
inputs are valid strings (in their encoding, e.g. in UTF-8).
</P></LI>

<LI><P>
The performance of ‘grep()’, ‘sub()’, ‘gsub()’ and ‘strsplit()’ has
been improved, particularly with ‘perl = TRUE’ and ‘fixed = TRUE’.  Use
of ‘useBytes = TRUE’ for performance reasons should no longer be needed
and is discouraged: it may lead to incorrect results.
</P></LI>

<LI><P>
‘apropos()’ gains an argument ‘dot_internals’ which is used by the
completion (‘help(rcompgen)’) engine to also see ‘base’ internals such
as ‘.POSIXct()’.
</P></LI>

<LI><P>
Support in ‘tools::Rdiff()’ for comparing uncompressed PDF files is
further reduced - see its help page.
</P></LI>

<LI><P>
‘qqplot(x, y, ...)’ gains ‘conf.level’ and ‘conf.args’ arguments for
computing and plotting a confidence band for the treatment function
transforming the distribution of ‘x’ into the distribution of ‘y ’
(Switzer, 1976, _Biometrika_). Contributed by Torsten Hothorn.
</P></LI>

<LI><P>
Performance of ‘package_dependencies()’ has been improved for cases
when the number of dependencies is large.
</P></LI>

<LI><P>
Strings newly created by ‘gsub()’, ‘sub()’ and ‘strsplit()’, when any
of the inputs is marked as ‘&quot;bytes&quot;’, are also marked as ‘&quot;bytes&quot;’.
This reduces the risk of creating invalid strings and accidental
substitution of bytes deemed invalid.
</P></LI>

<LI><P>
Support for ‘readLines(encoding = &quot;bytes&quot;)’ has been added to allow
processing special text files byte-by-byte, without creating invalid
strings.
</P></LI>

<LI><P>
‘iconv(from = &quot;&quot;)’ now takes into account any declared encoding of the
input elements and uses it in preference to the native encoding.  This
reduces the risk of accidental creation of invalid strings,
particularly when different elements of the input have different
encoding (including ‘&quot;bytes&quot;’).
</P></LI>

<LI><P>
Package repositories in ‘getOption(&quot;repos&quot;)’ are now initialized from
the ‘repositories’ file when ‘utils’ is loaded (if not already set,
e.g., in ‘.Rprofile’).  (From a report and patch proposal by Gabriel
Becker in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18405">PR#18405</a>.)
</P></LI>

<LI><P>
‘compactPDF()’ gets a ‘verbose’ option.
</P></LI>

<LI><P>
‘type.convert()’ and hence ‘read.table()’ get new option ‘tryLogical =
TRUE’ with back compatible default.  When set to false, converts ‘&quot;F&quot;’
or ‘&quot;T&quot;’ columns to character.
</P></LI>

<LI><P>
Added new unit prefixes ‘&quot;R&quot;’ and ‘&quot;Q&quot;’ for abbreviating
(unrealistically large) sizes beyond 10^{27} in ‘standard = &quot;SI&quot;’,
thanks to Henrik Bengtsson's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18435">PR#18435</a>.
</P></LI>

<LI><P>
‘as.data.frame()’'s default method now also works fine with atomic
objects inheriting from classes such as ‘&quot;roman&quot;’, ‘&quot;octmode&quot;’ and
‘&quot;hexmode&quot;’, thus fulfilling the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18421">PR#18421</a>, by Benjamin Feakins.
</P></LI>

<LI><P>
The ‘as.data.frame.vector()’ utility now errors for wrong-length
‘row.names’.  It warned for almost six years, with “Will be an error!”.
</P></LI>

<LI><P>
‘sessionInfo()’ now also contains ‘La_version()’ and reports codepage
and timezone when relevant, in both ‘print()’ and ‘toLatex()’ methods
which also get new option ‘tzone’ for displaying timezone information
when ‘locale = FALSE’.
</P></LI>

<LI><P>
New function ‘R_compiled_by()’ reports the C and Fortran compilers used
to build R, if known.
</P></LI>

<LI><P>
‘predict(&lt;lm&gt;, newdata = *)’ no longer unnecessarily creates an
‘offset’ of all ‘0’s.
</P></LI>

<LI><P>
‘solve()’ for complex inputs now uses argument ‘tol’ and by default
checks for ‘computational singularity’ (as it long has done for numeric
inputs).
</P></LI>

<LI><P>
‘predict(&lt;rank-deficient lm&gt;, newdata=*)’ now obeys a new argument
‘rankdeficient’, with new default ‘&quot;warnif&quot;’, warning only if there are
non-estimable cases in ‘newdata’.  Other options include ‘rankdeficient
= &quot;NA&quot;’, predicting ‘NA’ for non-estimable ‘newdata’ cases.  This
addresses <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15072">PR#15072</a> by Russ Lenth and is based on his original proposal
and discussions in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16158">PR#16158</a> also by David Firth and Elin Waring.  Still
somewhat experimental.
</P></LI>

<LI><P>
‘Rgui’ console implementation now works better with the ‘NVDA’ screen
reader when the full blinking cursor is selected.  The underlying
improvements in cursor handling may help also other screen readers on
Windows.
</P></LI>

<LI><P>
The drop-field control in GraphApp can now be left with the TAB key and
all controls can be navigated in the reverse order using the Shift+TAB
key, improving accessibility of the ‘Rgui’ configuration editor.
</P></LI>

<LI><P>
‘qnorm(&lt;very large negative&gt;, log.p=TRUE)’ is now fully accurate
(instead of to “only” minimally five digits).
</P></LI>

<LI><P>
‘demo(error.catching)’ now also shows off ‘withWarnings()’ and
‘tryCatchWEMs()’.
</P></LI>

<LI><P>
As an experimental feature the placeholder ‘_’ can now also be used in
the ‘rhs’ of a forward pipe ‘|&gt;’ expression as the first argument in an
extraction call, such as ‘_$coef’. More generally, it can be used as
the head of a chain of extractions, such as ‘_$coef[[2]]’.
</P></LI>

<LI><P>
Spaces in the environment variable used to choose the R session's
temporary directory (‘TMPDIR’, ‘TMP’ and ‘TEMP’ are tried in turn) are
now fatal.  (On Windows the ‘short path’ version of the path is tried
and used if that does not contain a space.)
</P></LI>

<LI><P>
‘all.equal.numeric()’ gets a new optional switch ‘giveErr’ to return
the numeric error as attribute.  Relatedly,
‘stopifnot(all.equal&lt;some&gt;(a, b, ..))’ is as “smart” now, as
‘stopifnot(all.equal(....))’ has been already, thus allowing customized
‘all.equal&lt;Some&gt;()’ wrappers.
</P></LI>

<LI><P>
R on Windows is now able to work with path names longer than 260
characters when these are enabled in the system (requires at least
Windows 10 version 1607).  Packages should be updated to work with long
paths as well, instead of assuming ‘PATH_MAX’ to be the maximum length.
Custom front-ends and applications embedding R need to update their
manifests if they wish to allow this feature.  See
&lt;https://blog.r-project.org/2023/03/07/path-length-limit-on-windows&gt;
for more information.
</P></LI>

<LI><P>
‘Object not found’ and ‘Missing argument’ errors now give a more
accurate error context. Patch provided by Lionel Henry in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18241">PR#18241</a>.
</P></LI>

<LI><P>
The ‘@’ operator is now an S3 generic. Based on contributions by Tomasz
Kalinowski in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18482">PR#18482</a>.
</P></LI>

<LI><P>
New generic ‘chooseOpsMethod()’ provides a mechanism for objects to
resolve cases where two suitable methods are found for an Ops Group
Generic. This supports experimenting with alternative object systems.
Based on contributions by Tomasz Kalinowski in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18484">PR#18484</a>.
</P></LI>

<LI><P>
‘inherits(x, what)’ now accepts values other than a simple character
vector for argument ‘what’. A new generic, ‘nameOfClass()’, is called
to resolve the class name from ‘what’. This supports experimenting with
alternative object systems.  Based on contributions by Tomasz
Kalinowski in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18485">PR#18485</a>.
</P></LI>

<LI><P>
Detection of BLAS/LAPACK in use (‘sessionInfo()’) with FlexiBLAS now
reports the current backend.
</P></LI>

<LI><P>
The ‘&quot;data.frame&quot;’ method for ‘subset()’ now warns about extraneous
arguments, typically catching the use of ‘=’ instead of ‘==’ in the
‘subset’ expression.
</P></LI>

<LI><P>
Calling ‘a:b’ when numeric ‘a’ or ‘b’ is longer than one may now be
made into an error by setting environment variable
‘_R_CHECK_LENGTH_COLON_’ to a true value, along the proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18419">PR#18419</a> by Henrik Bengtsson.
</P></LI>

<LI><P>
‘density(x, weights = *)’ now warns if automatic bandwidth selection
happens without using ‘weights’; new optional ‘warnWbw’ may suppress
the warning.  Prompted by Christoph Dalitz' <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18490">PR#18490</a> and its
discussants.
</P></LI>

<LI><P>
‘rm(list = *)’ is faster and more readable thanks to Kevin Ushey's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18492">PR#18492</a>.
</P></LI>

<LI><P>
The ‘plot.lm()’ function no longer produces a normal Q-Q plot for GLMs.
Instead it plots a half-normal Q-Q plot of the absolute value of the
standardized deviance residuals.
</P></LI>

<LI><P>
The ‘print()’ method for class ‘&quot;summary.glm&quot;’ no longer shows summary
statistics for the deviance residuals by default.  Its optional
argument ‘show.residuals’ can be used to show them if required.
</P></LI>

<LI><P>
The ‘tapply()’ function now accepts a data frame as its ‘X’ argument,
and allows ‘INDEX’ to be a formula in that case. ‘by.data.frame()’
similarly allows ‘INDICES’ to be a formula.
</P></LI>

<LI><P>
The performance of ‘df[j] &lt;- value’ (including for missing ‘j’) and
‘write.table(df)’ has been improved for data frames ‘df’ with a large
number of columns.  (Thanks to Gabriel Becker's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18500">PR#18500</a>, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18503">PR#18503</a> and
discussants, prompted by a report from Toby Dylan Hocking on the
R-devel mailing list.)
</P></LI>

<LI><P>
The matrix multiply operator ‘%*%’ is now an S3 generic, belonging to
new group generic ‘matrixOps’.  From Tomasz Kalinowski's contribution
in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18483">PR#18483</a>.
</P></LI>

<LI><P>
New function ‘array2DF()’ to convert arrays to data frames,
particularly useful for the list arrays created by ‘tapply()’.
</P></LI>

</UL>
<H4>Changes in R 4.3.0 Dates and Times </H4>
<UL>
<LI><P>
On platforms where (non-UTC) datetimes before 1902 (or before 1900 as
with system functions on recent macOS) are guessed by extrapolating
time zones from 1902-2037, there is a warning at the first use of
extrapolation in a session.  (As all time zones post 2037 are
extrapolation, we do not warn on those.)
</P></LI>

<LI><P>
(Platforms using ‘--with-internal-tzone’, including Windows and by
default macOS). How years are printed in dates or date-times can be
controlled by environment variable ‘R_PAD_YEARS_BY_ZERO’.  The default
remains to pad to 4 digits by zeroes, but setting value ‘no’ gives no
padding (as used by default by ‘glibc’).
</P></LI>

<LI><P>
‘strftime()’ tries harder to determine the offset for the ‘&quot;%z&quot;’
format, and succeeds on the mainstream R platforms.
</P></LI>

<LI><P>
‘strftime()’ has a limit of 2048 bytes on the string produced -
attempting to exceed this is an error.  (Previously it silently
truncated at 255 bytes.)
</P></LI>

<LI><P>
‘sessionInfo()’ records (and by default prints) the system time zone as
part of the locale information.  Also, the source (system/internal) of
the date-time conversion and printing functions.
</P></LI>

<LI><P>
Objects of class ‘&quot;POSIXlt&quot;’ created in this version of R always have
11 components: component ‘zone’ is always set, and component ‘gmtoff’
is set for times in UTC and usually set on the (almost all) platforms
which have C-level support, otherwise is ‘NA’.
</P></LI>

<LI><P>
There are comprehensive validity checks on the structure of objects of
class ‘&quot;POSIXlt&quot;’ when converting (including formatting and printing).
(This avoids mis-conversions of hand-crafted objects.)
</P></LI>

<LI><P>
There is some support for using the native date-time routines on macOS:
this is only viable on recent versions (e.g. 12.6 and 13) and does get
wrong some historical changes (before 1900, during WWII).  Use of
‘--with-internal-tzone’ remains the default.
</P></LI>

<LI><P>
‘as.POSIXct(&lt;numeric&gt;)’ and ‘as.POSIXlt(.)’ (without specifying
‘origin’) now work.  So does ‘as.Date(&lt;numeric&gt;)’.
</P></LI>

<LI><P>
‘as.Date.POSIXct(., tz)’ now treats several ‘tz’ values, notably
‘&quot;GMT&quot;’ as equivalent to ‘&quot;UTC&quot;’, proposed and improved by Michael
Chirico and Joshua Ulrich in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17674">PR#17674</a>.
</P></LI>

<LI><P>
Experimental ‘balancePOSIXlt()’ utility allows using “ragged” and or
out-of-range ‘&quot;POSIXlt&quot;’ objects more correctly, e.g., in subsetting
and subassignments.  Such objects are now documented.  Complemented by
the low-level ‘unCfillPOSIXlt()’ utility.
</P>
<P>
More experimentally, a ‘&quot;POSIXlt&quot;’ object may have an attribute
‘&quot;balanced&quot;’ indicating if it is known to be filled or fully balanced.
</P></LI>

<LI><P>
Functions ‘axis.Date()’ and ‘axis.POSIXct()’ are rewritten to gain
better default tick locations and better default formats via the
corresponding ‘pretty()’ methods.  Thanks to Swetlana Herbrandt.
</P></LI>

<LI><P>
The mapping of Windows' names for time zones to IANA's ‘Olson’ names
has been updated.  When ICU is available (it is by default), it is used
to get a mapping for the current region set in Windows.  This can be
overridden by setting environment variable ‘TZ’ to the desired Olson
name - see ‘OlsonNames()’ for those currently available.
</P></LI>

</UL>
<H4>Changes in R 4.3.0 Graphics </H4>
<UL>
<LI><P>
The graphics engine version, ‘R_GE_version’, has been bumped to ‘16’
and so packages that provide graphics devices should be reinstalled.
</P></LI>

<LI><P>
The ‘grDevices’ and ‘grid’ packages have new functions for rendering
typeset glyphs, primarily: ‘grDevices::glyphInfo()’ and
‘grid::grid.glyph()’.
</P>
<P>
Rendering of typeset glyphs is only supported so far on the Cairo-based
graphics devices and on the ‘pdf()’ and ‘quartz()’ devices.
</P></LI>

<LI><P>
The defined behaviour for ‘&quot;clear&quot;’ and ‘&quot;source&quot;’ compositing
operators (via ‘grid::grid.group()’) has been changed (to align better
with simple interpretation of original Porter-Duff definitions).
</P></LI>

<LI><P>
Support for gradients, patterns, clipping paths, masks, groups,
compositing operators, and affine transformations has been added to the
‘quartz()’ device.
</P></LI>

</UL>
<H4>Changes in R 4.3.0 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
A system installation of generic LAPACK 3.10.0 or later will be
preferred to the version in the R sources.
</P>
<P>
‘configure’ option ‘--with-lapack=no’ (equivalently ‘--without-lapack’)
forces compilation of the internal LAPACK sources.
</P>
<P>
If ‘--with-lapack’ is not specified, a system ‘liblapack’ is looked for
and used if it reports version 3.10.0 or later and does not contain
BLAS routines.
</P>
<P>
Packages using LAPACK will need to be reinstalled if this changes to
using an external library.
</P></LI>

<LI><P>
On ‘aarch64’ Linux platforms using GCC, ‘configure’ now defaults to
‘-fPIC’ (instead of ‘-fpic’), as desired in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18326">PR#18326</a>.
</P></LI>

<LI><P>
‘configure’ now checks conversion of datetimes between ‘POSIXlt’ and
‘POSIXct’ around year 2020.  Failure (which has been seen on platforms
missing ‘tzdata’) is fatal.
</P></LI>

<LI><P>
If ‘configure’ option ‘--with-valgrind-instrumentation’ is given value
‘1’ or ‘2’, option ‘--with-system-valgrind-headers’ is now the default
and ignored (with a warning).  It is highly recommended that the system
headers are installed alongside ‘valgrind’: they are part of its
packaging on some Linux distributions and packaged separately (e.g. in
the ‘valgrind-devel’ RPM) on others.  ‘configure’ will give a warning
if they are not found.
</P>
<P>
The system headers will be required in a future release of R to build
with ‘valgrind’ instrumentation.
</P></LI>

<LI><P>
‘libcurl’ 8.x is now accepted by ‘configure’: despite a change in major
version number it changes neither API nor ABI.
</P></LI>

</UL>
<H4>Changes in R 4.3.0 Installation on Windows </H4>
<UL>
<LI><P>
The makefiles and installer scripts for Windows have been tailored to
Rtools43, an update of the Rtools42 toolchain.  It is based on GCC 12
and newer versions of MinGW-W64, binutils and libraries.  At this time
R-devel can still be built using Rtools42 without changes, but when
R-devel is installed via the installer, it will by default look for
Rtools43.
</P></LI>

<LI><P>
Old make targets ‘rsync-extsoft’ and 32-bit ones that are no longer
needed have been removed.
</P></LI>

<LI><P>
Default builds (including for packages) no longer select C99.  Thus the
C standard used is the default for the compiler, which for the
toolchain in ‘Rtools43’ is C17.  (This is consistent with Unix builds.)
</P></LI>

</UL>
<H4>Changes in R 4.3.0 Package Installation </H4>
<UL>
<LI><P>
The default C++ standard has been changed to C++17 where available
(which it is on all currently checked platforms): if not C++14 or C++11
is used if available otherwise C++ is not supported.
</P></LI>

<LI><P>
‘USE_FC_LEN_T’ is the default: this uses the correct
(compiler-dependent) prototypes for Fortran BLAS/LAPACK routines called
from C/C++, and requires adjustment of many such calls - see ‘Writing R
Extensions’ §6.6.1.
</P></LI>

<LI><P>
There is initial support for C++23 as several compilers are now
supporting ‘-std=c++23’ or ‘-std=c++2b’ or similar.  As for C++20,
there no additional ‘configure’ checks for C++23 features beyond a
check that the compiler reports a ‘__cplusplus’ value greater than that
in the C++20 standard.  C++ feature tests should be used.
</P></LI>

<LI><P>
There is support for a package to indicate the version of the C
standard which should be used to compile it, and for the installing
user to specify this.  In most cases R defaults to the C compiler's
default standard which is C17 (a `bug-fix' of C11) - earlier versions
of R or compilers may have defaulted to C99.
</P>
<P>
Current options are:
</P>
<P>
USE_C17 Use a standard that is at most C17.  The intention is to allow
          legacy packages to still be installed when later C standards
          become the default, including packages using new keywords as
          identifiers or with K&amp;R-style function declarations.  This
          will use C17 if available, falling back to C11.
</P>
<P>
USE_C90 Use the C90 (aka C89) standard.  (As that standard did not
          require compilers to identify that version, all we can verify
          is that the compiler does not claim to be using a later
          standard.  It may accept C99 features - for example ‘clang’
          accepts // to make comments.)
</P>
<P>
USE_C99 Use the C99 standard. This should be rarely needed - it avoids
          the few new features of C11/C17 which can be useful if a
          package assumes them if C17 is specified and they are not
          implemented.
</P>
<P>
USE_C23 Use C23 (or in future, later).  Compiler/library support for
          C23 is still being implemented, but LLVM clang from 15.0.0
          and GCC from 13 have quite extensive support.
</P>
<P>
These can be specified as part of the ‘SystemRequirements’ field in the
package's ‘DESCRIPTION’ file or _via_ options ‘--use-C17’ and so on of
‘R CMD INSTALL’ and ‘R CMD SHLIB’.
</P>
<P>
For further details see “Writing R Extensions” §1.2.5.
</P></LI>

<LI><P>
(Windows) A ‘src/Makefile.ucrt’ or ‘src/Makefile.win’ file is now
included after ‘&lt;R_HOME&gt;/etc&lt;R_ARCH&gt;/Makeconf’ and so no longer needs
to include that file itself.  Installation of a package with such a
file now uses a site ‘Makevars’ file in the same way as a package with
a ‘src/Makevars.win’ file would.
</P></LI>

<LI><P>
‘configure’ is now passed crucial variables such as ‘CC’ and ‘CFLAGS’
in its environment, as many packages were not setting them (as
documented in ‘Writing R Extensions’ §1.2).
</P>
<P>
This has most effect where ‘configure’ is used to compile parts of the
package - most often by ‘cmake’ or ‘libtool’ which obfuscate the actual
compile commands used.
</P>
<P>
Also used for ‘configure.win’ and ‘configure.ucrt’ on Windows.
</P></LI>

</UL>
<H4>Changes in R 4.3.0 FORTRAN Flags </H4>
<UL>
<LI><P>
The flag ‘-fno-optimize-sibling-calls’ is no longer forced for
‘gfortran’ 7 and later.  It should no longer be needed now using
‘hidden’ character-length arguments when calling BLAS/LAPACK routines
from C/C++ is the default even for packages.  (Unless perhaps packages
call Fortran code from C/C++ without using R's headers and without
allowing for these arguments.)
</P></LI>

</UL>
<H4>Changes in R 4.3.0 C-Level Facilities </H4>
<UL>
<LI><P>
The deprecated S-compatibility macros ‘DOUBLE_*’ in ‘R_ext/Constants.h’
(included by ‘R.h’) have been removed.
</P></LI>

<LI><P>
The deprecated legacy typedefs of ‘Sint’ and ‘Sfloat’ in header ‘R.h’
are no longer defined, and that header no longer includes header
‘limits.h’ from C nor ‘climits’ from C++.
</P></LI>

<LI><P>
New macro ‘CAD5R()’ is provided in ‘Rinternals.h’ and used in a few
places in the R sources.
</P></LI>

<LI><P>
ALTREP now supports ‘VECSXP’ vectors. Contributed by Gabor Csardi in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17620">PR#17620</a>.
</P></LI>

<LI><P>
The ‘Rcomplex’ definition (in header ‘R_ext/Complex.h’) has been
extended to prevent possible mis-compilation when interfacing with
Fortran (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18430">PR#18430</a>).  The new definition causes compiler warnings with
static initializers such as ‘{1, 2}’, which can be changed to ‘{.r=1,
.i=2}’.
</P>
<P>
Using the new definition from C++ depends on compiler extensions
supporting C features that have not been incorporated into the C++
standards but are available in ‘g++’ and ‘clang++’: this may result in
C++ compiler warnings but these have been worked around for recent
versions of common compilers (GCC, Apple/LLVM clang, Intel).
</P>
<P>
It is intended to change the inclusion of header ‘R_ext/Complex.h’ by
other R headers, so C/C++ code files which make use of ‘Rcomplex’
should include that header explicitly.
</P></LI>

</UL>
<H4>Changes in R 4.3.0 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ does more checking of package ‘.Rd’ files, warning about
invalid email addresses and (some) invalid URIs and noting empty
‘\item’ labels in description lists.
</P></LI>

<LI><P>
‘R CMD check’ now also reports problems when reading package news in md
(file ‘NEWS.md’) and (optionally) plain text (file ‘NEWS’) formats.
</P></LI>

<LI><P>
‘_R_CHECK_TIMINGS_’ defaults to a value from the environment even for
‘R CMD check --as-cran’; this allows for exceptionally fast or slow
platforms.
</P>
<P>
It now applies to checking PDF and HTML versions of the manuals, and
‘checking CRAN incoming feasibility’.
</P></LI>

<LI><P>
‘R CMD check’ can optionally (but included in ‘--as-cran’) check
whether HTML math rendering _via_ KaTeX works for the package ‘.Rd’
files.
</P></LI>

<LI><P>
Non-interactive debugger invocations can be trapped by setting the
environment variable ‘_R_CHECK_BROWSER_NONINTERACTIVE_’ to a true
value.  This is enabled by ‘R CMD check --as-cran’ to detect the use of
leftover ‘browser()’ statements in the package.
</P></LI>

<LI><P>
The use of ‘sprintf’ and ‘vsprintf’ from C/C++ has been deprecated in
macOS 13 and is a known security risk.  ‘R CMD check’ now reports (on
all platforms) if their use is found in compiled code: replace by
‘snprintf’ or ‘vsnprintf’ respectively. [*NB:* whether such calls get
compiled into the package is platform-dependent.]
</P></LI>

<LI><P>
Where recorded at installation, ‘R CMD check’ reports the C and Fortran
compilers used to build R.
</P>
<P>
It reports the OS in use (if known, as given by ‘osVersion’) as well as
that R was built for.
</P>
<P>
It notes if a C++ standard was specified which is older than the
current default: many packages have used C++11 to mean ‘not C++98’ - as
C++11 is the minimum supported since R 4.0.0, that specification can
probably be removed.
</P></LI>

<LI><P>
‘R CMD INSTALL’ reports the compilers (and on macOS, the SDK) used, and
this is copied to the output of ‘R CMD check’.
</P>
<P>
Where a C++ standard is specified, it is reported.
</P></LI>

<LI><P>
‘R CMD check’'s ‘checking compilation flags in Makevars’ has been
relaxed to accept the use of flags such as ‘-std=f2008’ in
‘PKG_FFLAGS’.
</P></LI>

<LI><P>
‘tools::buildVignettes()’ has a new argument ‘skip’, which is used by
‘R CMD check’ to skip (and note) vignettes with unavailable
‘\VignetteDepends’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18318">PR#18318</a>).
</P></LI>

<LI><P>
New generic ‘.AtNames()’ added to enable class-specific completions
after ‘@’. The formerly internal function ‘findMatches()’ is now
exported, mainly for use in methods for ‘.DollarNames()’ and
‘.AtNames()’.
</P></LI>

</UL>
<H4>Changes in R 4.3.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
‘default.stringsAsFactors()’ is defunct.
</P></LI>

<LI><P>
Calling ‘as.data.frame.&lt;class&gt;()’ directly (for 12 atomic classes) is
going to be formally deprecated, currently activated by setting the
environment variable ‘_R_CHECK_AS_DATA_FRAME_EXPLICIT_METHOD_’ to
non-empty, which also happens in ‘R CMD check --as-cran’.
</P></LI>

</UL>
<H4>Changes in R 4.3.0 Bug Fixes </H4>
<UL>
<LI><P>
Hashed ‘environment’s with sizes less than 5 can now grow.  (Reported
to R-devel by Duncan Garmonsway.)
</P></LI>

<LI><P>
‘as.character(&lt;Rd&gt;, deparse = TRUE)’ failed to re-escape curly braces
in LaTeX-like text.  (Reported by Hadley Wickham in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18324">PR#18324</a>.)
</P></LI>

<LI><P>
‘library()’ now passes its ‘lib.loc’ argument when requiring ‘Depends’
packages; reported (with fix) in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18331">PR#18331</a> by Mikael Jagan.
</P></LI>

<LI><P>
‘R CMD Stangle’: improved message about ‘Output’ files.
</P></LI>

<LI><P>
‘head(x, n)’ and ‘tail(x, n)’ now signal an error if ‘n’ is not
numeric, instead of incidentally “working” sometimes returning all of
‘x’.  Reported and discussed by Colin Fay, in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18357">PR#18357</a>.
</P></LI>

<LI><P>
The ‘&quot;lm&quot;’ method for ‘summary()’ now gives the correct F-statistic
when the model contains an offset.  Reported in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18008">PR#18008</a>.
</P></LI>

<LI><P>
‘C()’ and ‘`contrasts&lt;-`()’ now preserve factor level names when given
a function object (as opposed a function name which did preserve
names). Reported in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17616">PR#17616</a>.
</P></LI>

<LI><P>
‘c(a = 1, 2)[[]]’ no longer matches ‘2’ but rather signals a _classed_
error.  Reported and analysed by Davis Vaughan in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18367">PR#18367</a>, a duplicate
of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18004">PR#18004</a>, by Jan Meis et al.  For consistency, ‘NULL[[]]’ is also
erroneous now.  ‘x[[]] &lt;- v’ gives an error of the same class
‘&quot;MissingSubscriptError&quot;’.
</P></LI>

<LI><P>
The ‘relist()’ function of ‘utils’ now supports ‘NULL’ elements in the
skeleton (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15854">PR#15854</a>).
</P></LI>

<LI><P>
‘ordered(levels = *)’ (missing ‘x’) now works analogously to ‘factor(,
ordered=TRUE)’; reported (with fix) by Achim Zeileis in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18389">PR#18389</a>.
</P></LI>

<LI><P>
User-defined Rd macro definitions can now span multiple lines, thanks
to a patch from Duncan Murdoch. Previously, the Rd parser silently
ignored everything after the first line.
</P></LI>

<LI><P>
Plain-text help (‘tools::Rd2txt()’) now preserves an initial blank line
for text following description list items.
</P></LI>

<LI><P>
‘tools::Rd2HTML()’ and ‘tools::Rd2latex()’ no longer split \arguments
and \value lists at Rd comments.
</P></LI>

<LI><P>
‘tools::Rd2latex()’ now correctly handles optional text outside \items
of argument lists as well as bracketed text at the beginning of
sections, e.g., \value{[NULL]}.
</P></LI>

<LI><P>
‘as.character(&lt;POSIXt&gt;)’ now behaves more in line with the methods for
atomic vectors such as numbers, and is no longer influenced by
‘options()’.  Ditto for ‘as.character(&lt;Date&gt;)’.  The ‘as.character()’
method gets arguments ‘digits’ and ‘OutDec’ with defaults _not_
depending on ‘options()’.  Use of ‘as.character(*, format = .)’ now
warns.
</P></LI>

<LI><P>
Similarly, the ‘as.character.hexmode()’ and ‘*.octmode()’ methods also
behave as ‘good citizen’ methods and back compatibility option ‘keepStr
= TRUE’.
</P></LI>

<LI><P>
The ‘as.POSIXlt(&lt;POSIXlt&gt;)’ and ‘as.POSIXct(&lt;POSIXct&gt;)’ default methods
now do obey their ‘tz’ argument, also in this case.
</P></LI>

<LI><P>
‘as.POSIXlt(&lt;Date&gt;)’ now does apply a ‘tz’ (time zone) argument, as
does ‘as.POSIXct()’; partly suggested by Roland Fuß on the R-devel
mailing list.
</P></LI>

<LI><P>
‘as.Date.POSIXlt(x)’ now also works when the list components are of
unequal length, aka “partially filled” or “ragged”.
</P></LI>

<LI><P>
‘expand.model.frame()’ looked up variables in the wrong environment
when applied to models fitted without ‘data’.  Reported in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18414">PR#18414</a>.
</P></LI>

<LI><P>
‘time()’ now (also) uses the ‘ts.eps = getOption(&quot;ts.eps&quot;)’ argument
and thus by default rounds values very close to the start (or end) of a
year.  Based on a proposal by Andreï V. Kostyrka on R-help.
</P></LI>

<LI><P>
Printing of a ‘factanal()’ result with just one factor and ‘sort =
TRUE’ now works regularly, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17863">PR#17863</a> by Timothy Bates, thanks to
the ‘R Contributors’ working group.
</P></LI>

<LI><P>
Printing 0-length objects of class ‘&quot;factor&quot;’, ‘&quot;roman&quot;’, ‘&quot;hexmode&quot;’,
‘&quot;octmode&quot;’, ‘&quot;person&quot;’, ‘&quot;bibentry&quot;’, or ‘&quot;citation&quot;’ now prints
something better, one of which fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18422">PR#18422</a>, reported by Benjamin
Feakins.
</P></LI>

<LI><P>
‘Sys.timezone()’ queries ‘timedatectl’ only if ‘systemd’ is loaded;
addressing a report by Jan Gorecki in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17421">PR#17421</a>.
</P></LI>

<LI><P>
The formula method of ‘cor.test()’ had scoping problems when
‘environment(formula)’ was not the calling environment; reported with a
patch proposal by Mao Kobayashi in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18439">PR#18439</a>.
</P></LI>

<LI><P>
‘attach()’ of an environment with active bindings now preserves the
active bindings.  Reported by Kevin Ushey in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18425">PR#18425</a>.
</P></LI>

<LI><P>
BLAS detection now works also with system-provided libraries not
available as regular files.  This fixes detection of the Accelerate
framework on macOS since Big Sur.  Reported by David Novgorodsky.
</P></LI>

<LI><P>
‘download.file()’ gives a helpful error message in case of an invalid
‘download.file.method’ option, thanks to Colin Fay's report in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18455">PR#18455</a>.
</P></LI>

<LI><P>
Sporadic crashes of ‘Rterm’ when using completion have been fixed.
</P></LI>

<LI><P>
‘Rprof()’ is now more reliable.  A livelock in thread initialization
with too short sampling interval has been fixed on macOS.  A deadlock
in using the C runtime has been fixed on Windows.  A potential deadlock
has been prevented on Unix.
</P></LI>

<LI><P>
Cursor placement in ‘Rgui’ now works even after a fixed-width font is
selected.
</P></LI>

<LI><P>
Mandatory options (‘options()’) are now set on startup so that saving
and restoring them always works (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18372">PR#18372</a>).
</P></LI>

<LI><P>
Package installation, ‘R CMD INSTALL’ or ‘install.packages(*)’, now
parses each of the ‘&lt;pkg&gt;/R/*.R’ files individually instead of first
concatenating and then ‘parse()’ing the large resulting file.  This
allows parser or syntax errors to be diagnosed with correct file names
and line numbers, thanks to Simon Dedman's report and Bill Dunlap's
patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17859">PR#17859</a>.
</P>
<P>
This _does_ require syntactically self contained R source files now,
fixing another inadvertent bug.
</P></LI>

<LI><P>
‘predict.lm(&lt;model with offset&gt;)’ now finds the offset in the correct
environment, thanks to André Gillibert's report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18456">PR#18456</a>.
</P></LI>

<LI><P>
‘getInitial(&lt;formula&gt;)’ now finds the ‘selfStart’ model in the correct
environment.  (Reported by Ivan Krylov in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18368">PR#18368</a>.)
</P></LI>

<LI><P>
Fix for possible segfault when using recently-added graphics features,
such as gradients, clipping paths, masks, and groups with
‘pdf(file=NULL)’.
</P></LI>

<LI><P>
‘class(m) &lt;- class(m)’ no longer changes a matrix ‘m’ by adding a class
_attribute_.
</P></LI>

<LI><P>
‘packageDate(pkg)’ now only warns once if there is no ‘pkg’.
</P></LI>

<LI><P>
When ‘ts()’ creates a multivariate time series, ‘&quot;mts&quot;’, it also
inherits from ‘&quot;array&quot;’ now, and ‘is.mts()’ is documented _and_
stricter.
</P></LI>

<LI><P>
‘Rd2txt()’ now preserves line breaks of \verb Rd content and from
duplicated \cr.  The former also fixes the rendering of verbatim output
from Rd \Sexpr in plain-text help.
</P></LI>

<LI><P>
‘uniroot(f, interval)’ should no longer wrongly converge _outside_ the
interval in some cases where ‘abs(f(x)) == Inf’ for an ‘x’ at the
interval boundary, thanks to posts by Ben Bolker and Serguei Sokol on
R-devel.
</P></LI>

<LI><P>
Vectorized alpha handling in palette functions such as in ‘gray()’,
‘rainbow()’, or ‘hcl.colors()’ works correctly now, thanks to Achim
Zeileis' report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18476">PR#18476</a>.
</P></LI>

<LI><P>
Formatting and ‘print()’ing of ‘bibentry’ objects has dropped the
deprecated ‘citation.bibtex.max’ argument, such that the ‘bibtex’
argument's default for ‘print.bibentry()’ depends directly on the
‘citation.bibtex.max’ option, whereas in ‘format.bibentry()’ the option
no longer applies.
</P></LI>

<LI><P>
Attempting to use a character string naming a foreign function entry
point in a foreign function call in a package will now signal an error
if the packages has called ‘R_forceSymbols’ to specify that symbols
must be used.
</P></LI>

<LI><P>
An error in ‘table()’ could permanently set ‘options(warn=2)’ promoting
all subsequent warnings to errors.
</P></LI>

<LI><P>
The ‘sigma()’ function gave misleading results for binary GLMs.  A new
method for objects of class ‘&quot;glm&quot;’ returns the square root of the
estimate of the dispersion parameter using the same calculation as
‘summary.glm()’.
</P></LI>

<LI><P>
‘bs()’ and ‘ns()’ in the (typical) case of automatic knot construction,
when some of the supposedly inner knots coincide with boundary knots,
now moves them inside (with a warning), building on <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18442">PR#18442</a> by Ben
Bolker.
</P></LI>

<LI><P>
‘R CMD’ on Windows now skips the site profile with ‘--no-site-file’ and
‘--vanilla’ even when ‘R_PROFILE’ is set (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18512">PR#18512</a>, from Kevin Ushey).
</P></LI>

</UL>
<H4>Changes in R 4.2.3 C-Level Facilities </H4>
<UL>
<LI><P>
The definition of ‘DL_FUNC’ in ‘R_ext/Rdynload.h’ has been changed to
be fully C-compliant.  This means that functions loaded _via_ for
example ‘R_GetCCallable’ need to be cast to an appropriate type if they
have any arguments.
</P></LI>

<LI><P>
‘.Machine’ has a new element ‘sizeof.time_t’ to identify old systems
with a 32-bit type and hence a limited range of date-times (and limited
support for dates millions of years from present).
</P></LI>

</UL>
<H4>Changes in R 4.2.3 Package Installation </H4>
<UL>
<LI><P>
(Windows) The default C++ standard had accidentally been left at C++11
when it was changed to C++14 on Unix.
</P></LI>

</UL>
<H4>Changes in R 4.2.3 Bug Fixes </H4>
<UL>
<LI><P>
As ‘&quot;POSIXlt&quot;’ objects may be “partially filled” and their list
components meant to be recycled, ‘length()’ now is the length of the
longest component.
</P></LI>

<LI><P>
‘as.POSIXlt.Date()’ could underflow for dates in the far past (more
than half a million years BCE).
</P></LI>

<LI><P>
‘as.Date.POSIXlt(x)’ would return ‘&quot;1970-01-01&quot;’ instead of ‘NA’ in R
4.2.2, e.g., for
</P>
<P>
        x &lt;- as.POSIXlt(c(&quot;2019-01-30&quot;,&quot;2001-1-1&quot;))
        x$mon &lt;- c(0L, NA); as.Date(x)
</P>
<P>
</P></LI>

<LI><P>
‘R CMD check’ failed to apply enabled ‘_R_CHECK_SUGGESTS_ONLY_’ to
examples and vignettes (regression in R 4.2.0).
</P></LI>

<LI><P>
‘R CMD check’ did not re-build vignettes in separate processes by
default (regression in R 4.2.0).
</P></LI>

<LI><P>
Running examples from HTML documentation now restores previous ‘knitr’
settings and options (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18420">PR#18420</a>).
</P></LI>

<LI><P>
Quartz: fonts are now located using Core Graphics API instead of
deprecated ATS which is no longer supported in the macOS 13 SDK
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18426">PR#18426</a>).  This also addresses an issue where the currently used font
in the Quartz device context was not correctly retained.
</P></LI>

<LI><P>
(Windows) Math symbols in text drawing functions are again rendered
correctly (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18440">PR#18440</a>).  This fixes a regression in R 4.2.1 caused by a
fix in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18382">PR#18382</a> which uncovered an issue in GraphApp due to which the
symbol charset was not used with TT Symbol font face.
</P></LI>

<LI><P>
(Windows) Installing a package with a ‘src/Makefile.{win,ucrt}’ file
includes ‘~/.R/Makevars.win64’ in the search for user makevars, as
documented in “R Installation and Administration” and done for packages
with a ‘src/Makevars.{win,ucrt}’ file.
</P></LI>

<LI><P>
‘format(&lt;POSIXlt_w/_unbalanced_sec&gt;, &quot;....%OS&lt;n&gt;&quot;)’ with n &gt; 0 no
longer accidentally uses the unbalanced seconds, thanks to Suharto
Anggono's report (including patch) in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18448">PR#18448</a>.
</P></LI>

<LI><P>
‘solve.default(a, b)’ works around issues with some versions of LAPACK
when ‘a’ contains ‘NA’ or ‘NaN’ values.
</P></LI>

<LI><P>
When ‘UseMethod()’ cannot dispatch, it no longer segfaults producing
the error message in case of a long ‘class()’, thanks to Joris
Vankerschaver's report (including patch) in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18447">PR#18447</a>.
</P></LI>

<LI><P>
When ‘example(foo, ..)’ produces graphics on an interactive device it
needs to open itself, it now leaves ‘devAskNewPage()’ unchanged even
when it was ‘FALSE’, thus fixing a 14 years old ‘FIXME’.
</P></LI>

<LI><P>
‘packageDescription()’ again catches errors from encoding conversions.
This also fixes broken ‘packageVersion()’ in C locale on systems where
‘iconv’ does not support transliteration.
</P></LI>

</UL>
<H4>Changes in R 4.2.2 New Features </H4>
<UL>
<LI><P>
‘tools::Rdiff(useDiff = TRUE)’ checks for the presence of an external
‘diff’ command and switches to ‘useDiff = FALSE’ if none is found.
This allows ‘R CMD Rdiff’ to always work.
</P></LI>

<LI><P>
On Windows, environment variable ‘R_LIBCURL_SSL_REVOKE_BEST_EFFORT’ can
be used to switch to only ‘best-effort’ SSL certificate revocation
checks with the default ‘&quot;libcurl&quot;’ download method.  This reduces
security, but may be needed for downloads to work with MITM proxies
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18379">PR#18379</a>).
</P></LI>

<LI><P>
(macOS) The run-time check for libraries from XQuartz for X11 and
Tcl/Tk no longer uses ‘otool’ from the Apple Developer Tools
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18400">PR#18400</a>).
</P></LI>

<LI><P>
The LaTeX style for producing the PDF manuals, ‘Rd.sty’, now loads the
standard ‘amsmath’, ‘amsfonts’ and ‘amssymb’ packages for greater
coverage of math commands in the Rd \eqn and \deqn macros.  The
\mathscr LaTeX command is also provided (via the ‘mathrsfs’ package, if
available, or the ‘amsfonts’ bundle otherwise), fulfilling the wish of
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18398">PR#18398</a>.
</P></LI>

<LI><P>
(Windows) The default format of ‘readClipboard()’ and
‘writeClipboard()’ has been changed to ‘13’ (‘CF_UNICODETEXT’).
</P></LI>

</UL>
<H4>Changes in R 4.2.2 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
The PDF manuals (if built) can be compacted by the new target ‘make
compact-pdf’ (at the top level or in directory ‘doc/manual’).
</P></LI>

<LI><P>
There is now ‘configure’ support for LLVM clang 15 on Linux, which
defaults to position-independent (PIE) executables whereas ‘gfortran’
does not.
</P></LI>

<LI><P>
Many small changes to ease compilation (and suppress warnings) with
LLVM ‘clang’ 15.
</P></LI>

</UL>
<H4>Changes in R 4.2.2 Bug Fixes </H4>
<UL>
<LI><P>
‘Rscript -e’ would fail if ‘stdin’ were closed (Reported by Henrik
Bengtsson.)
</P></LI>

<LI><P>
‘qt(*, log.p=TRUE)’ in outer tails no longer produces ‘NaN’ in its
final steps, thus fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18360">PR#18360</a>.
</P></LI>

<LI><P>
‘tools::Rd2latex()’ now escapes hashes and ampersands when writing
URLs, fixing LaTeX errors with such URLs in \tabular.
</P></LI>

<LI><P>
When ‘isGeneric(f, fdef=*)’ is used with mismatching names, the warning
is better understandable; reported (with fix) in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18370">PR#18370</a> by Gabe
Becker.
</P></LI>

<LI><P>
‘poly(x, n)’ now works again (and is now documented) when ‘x’ is a
‘&quot;Date&quot;’ or ‘&quot;POSIXct&quot;’ object, or of another class while fulfilling
‘mode(x) == &quot;numeric&quot;’.  This also enables ‘poly(x, *, raw=TRUE)’ for
such variables.  Reported by Michael Chirico to R-devel.
</P></LI>

<LI><P>
‘write.table()’, ‘write.csv()’ and ‘write.csv2()’ restore their
numerical precision (internal equivalent of ‘digits = 15’) after an
interrupt (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18384">PR#18384</a>).
</P></LI>

<LI><P>
One can now read also byte ‘FF’ from a clipboard connection (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18385">PR#18385</a>).
</P></LI>

<LI><P>
‘source(&quot;&quot;)’ and ‘source(character())’ now give more helpful error
messages.
</P></LI>

<LI><P>
‘R CMD check --as-cran’ set ‘_R_CHECK_TIMINGS_’ too late to have the
intended effect.
</P></LI>

<LI><P>
‘as.POSIXlt(x)’ now also works with very large dates ‘x’, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18401">PR#18401</a> reported by Hannes Mühleisen.
</P></LI>

<LI><P>
Files can now be extracted even from very large zip archives (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18390">PR#18390</a>,
thanks to Martin Jakt).
</P></LI>

<LI><P>
Non-finite objects of class ‘&quot;POSIXlt&quot;’ are now correctly coerced to
classes ‘&quot;Date&quot;’ and ‘&quot;POSIXct&quot;’; following up on the extension to
‘format()’ them correctly.
</P></LI>

<LI><P>
Added methods for ‘is.finite()’, ‘is.infinite()’ and ‘is.nan()’ for
‘&quot;POSIXlt&quot;’ date-time objects.
</P></LI>

</UL>
<H4>Changes in R 4.2.2 Bug Fixes (Windows) </H4>
<UL>
<LI><P>
Non-ASCII characters are now properly displayed on Windows in windows
created using GraphApp via e.g. ‘winDialogString’ thanks to a
workaround for an at least surprising Windows behavior with UTF-8 as
the system encoding (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18382">PR#18382</a>).
</P></LI>

<LI><P>
Find and replace operations work again in the script editor in ‘Rgui’
on Windows.
</P></LI>

<LI><P>
Computation of window size based on requested client size in GraphApp
when running in a multi-byte locale on Windows has been fixed
(regression in R 4.2.0 for users of systems where R 4.1 used a
single-byte locale).  ‘Rgui’ again respects the number of console rows
and columns given in ‘Rconsole’ file.
</P></LI>

<LI><P>
‘Rterm’ support for ‘Alt+xxx’ sequences has been fixed to produce the
corresponding character (only) once. This fixes pasting text with tilde
on Italian keyboard (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18391">PR#18391</a>).
</P></LI>

</UL>
<H4>Changes in R 4.2.1 New Features </H4>
<UL>
<LI><P>
New function ‘utils::findCRANmirror()’ to find out if a CRAN mirror has
been selected, otherwise fallback to the main site.  This behaves in
the same way as ‘tools::CRAN_package_db()’ and is intended for packages
wishing to access CRAN for purposes other than installing packages.
</P>
<P>
The need for this was shown by a day when the main CRAN website was
offline and a dozen or so packages which had its URL hardcoded failed
their checks.
</P></LI>

</UL>
<H4>Changes in R 4.2.1 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
The libraries searched for by ‘--with-blas’ (without a value) now
include BLIS (after OpenBLAS but before ATLAS).  And on macOS, the
Accelerate framework (after ATLAS).  (This is patterned after the
‘AX_BLAS’ macro from the Autoconf Archive.)
</P></LI>

<LI><P>
The included LAPACK sources have been updated to 3.10.1.
</P></LI>

</UL>
<H4>Changes in R 4.2.1 Utilities </H4>
<UL>
<LI><P>
The (full path to) the command ‘tidy’ to be used for HTML validation
can be set by environment variable ‘R_TIDYCMD’.
</P></LI>

<LI><P>
Setting environment variable ‘_R_CHECK_RD_VALIDATE_RD2HTML_’ to a false
value will override ‘R CMD check --as-cran’ and turn off HTML
validation.  This provides a way to circumvent a problematic ‘tidy’.
</P>
<P>
The 2006 version that ships with macOS is always skipped.
</P></LI>

</UL>
<H4>Changes in R 4.2.1 C-Level Facilities </H4>
<UL>
<LI><P>
The undocumented legacy declarations of ‘Sint’, ‘Sfloat’, ‘SINT_MAX’
and ‘SINT_MIN’ in header ‘R.h’ are deprecated.
</P></LI>

</UL>
<H4>Changes in R 4.2.1 Bug Fixes </H4>
<UL>
<LI><P>
‘fisher.test(d)’ no longer segfaults for “large” ‘d’; fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18336">PR#18336</a>
by preventing/detecting an integer overflow reliably.
</P></LI>

<LI><P>
‘tar(., files=*)’ now produces correctly the warning about invalid UID
or GID of files, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18344">PR#18344</a>, reported by Martin Morgan.
</P></LI>

<LI><P>
‘tk_choose.files()’ with ‘multi = FALSE’ misbehaved on paths containing
spaces (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18334">PR#18334</a>) (regression introduced in R 4.0.0).
</P></LI>

<LI><P>
‘sort(x, partial = ind, *)’ now works correctly notably for the
non-default ‘na.last = FALSE’ or ‘TRUE’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18335">PR#18335</a> reported by
James Edwards.
</P></LI>

<LI><P>
Environment variable ‘_R_CHECK_XREFS_REPOSITORIES_’ is only used for
checking ‘.Rd’ cross-references in ‘R CMD check’ (as documented) and
not for other uses looking for a CRAN mirror.
</P></LI>

<LI><P>
The search for a CRAN mirror when checking packages now uses
‘getOption(&quot;repos&quot;)’ if that specifies a CRAN mirror, even when it does
not also specify all three Bioconductor repositories (as was previously
required).
</P></LI>

<LI><P>
The HTML code generated by ‘tools::Rd2HTML()’ has been improved to pass
‘tidy’ 5.8.0.
</P></LI>

</UL>
<H4>Changes in R 4.2.1 Bug Fixes (Windows) </H4>
<UL>
<LI><P>
Writing to a clipboard connection works again, fixing a regression in R
4.2.0 (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18332">PR#18332</a>).  Re-using a closed clipboard connection no longer
issues a spurious warning about an ignored encoding argument.
</P></LI>

<LI><P>
C function ‘getlocale’ no longer attempts to query an unsupported
category from the OS, even when requested at R level, which may cause
crashes when R 4.2.0 (which uses UCRT) is embedded (reported by Kevin
Ushey).
</P></LI>

<LI><P>
Accent keys now work in GraphApp Unicode windows, which are used by
‘Rgui’ whenever running in a multibyte locale (so also in UTF-8, hence
fixing a regression in R 4.2.0 for users of systems where R 4.1 used a
single-byte locale).
</P></LI>

<LI><P>
Completion in ‘Rgui’ now works also with non-ASCII characters.
</P></LI>

<LI><P>
‘Rgui’ no longer truncates usage information with ‘--help’.
</P></LI>

<LI><P>
Text injection from external applications via ‘SendInput’ now works in
GraphApp Unicode windows, fixing a regression in R 4.2.0 for ‘Rgui’
users of systems where R 4.1 used a single-byte locale but R 4.2.0 uses
UTF-8.
</P></LI>

<LI><P>
Performance of ‘txtProgressBar()’ in ‘Rgui’ when running in a
multi-byte locale has been improved (fixing a performance regression in
R 4.2.0 for users of systems where R 4.1 used a single-byte locale).
</P></LI>

<LI><P>
The script editor in ‘Rgui’ now works also on systems using UTF-8 as
the native encoding.  Users of the script editor have to convert their
scripts with non-ASCII characters to UTF-8 before reading them in R
4.2.1 or newer (on recent Windows where UTF-8 is used).  This fixes a
regression in R 4.2.0, which prevented some operations with scripts
when they contained non-ASCII characters.
</P></LI>

</UL>
<H4>Changes in R 4.2.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
The ‘formula’ method of ‘aggregate()’ now matches the generic in naming
its first argument ‘x’ (resolving <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18299">PR#18299</a> by Thomas Soeiro).
</P>
<P>
This means that calling ‘aggregate()’ with a formula as a named first
argument requires name ‘formula’ in earlier versions of R and name ‘x’
now, so portable code should not name the argument (code in many
packages did).
</P></LI>

<LI><P>
Calling ‘&amp;&amp;’ or ‘||’ with either argument of length greater than one
now gives a warning (which it is intended will become an error).
</P></LI>

<LI><P>
Calling ‘if()’ or ‘while()’ with a condition of length greater than one
gives an error rather than a warning.  Consequently, environment
variable ‘_R_CHECK_LENGTH_1_CONDITION_’ no longer has any effect.
</P></LI>

<LI><P>
Windows users should consult the Windows section below for some
profound changes including
</P>
<P>
        • Support for 32-bit builds has been dropped.
</P>
<P>
        • UTF-8 locales are used where available.
</P>
<P>
        • The default locations for the R installation and personal
          library folder have been changed.
</P>
<P>
Thanks to Tomas Kalibera for months of work on the Windows port for
this release.
</P></LI>

</UL>
<H4>Changes in R 4.2.0 New Features </H4>
<UL>
<LI><P>
‘matrix(x, n, m)’ now warns in more cases where ‘length(x)’ differs
from ‘n * m’, as suggested by Abby Spurdle and Wolfgang Huber in Feb
2021 on the R-devel mailing list.
</P>
<P>
This warning can be turned into an error by setting environment
variable ‘_R_CHECK_MATRIX_DATA_’ to ‘TRUE’: ‘R CMD check --as-cran’
does so unless it is already set.
</P></LI>

<LI><P>
Function ‘file_test()’ in package ‘utils’ gains tests for symlinks,
readability and writability.
</P></LI>

<LI><P>
‘capabilities(&quot;libxml&quot;)’ is now false.
</P>
<P>
The description of ‘capabilities(&quot;http/ftp&quot;)’ now reflects that it
refers to the default method, no longer the internal one.
</P></LI>

<LI><P>
‘simplify2array()’ gains an ‘except’ argument for controlling the
exceptions used by ‘sapply()’.
</P></LI>

<LI><P>
Environment variables ‘R_LIBS_USER’ and ‘R_LIBS_SITE’ are both now set
to the R system default if unset or empty, and can be set to ‘NULL’ to
indicate an empty list of user or site library directories.
</P></LI>

<LI><P>
The warning for ‘axis()’(-like) calls in cases of relatively small
ranges (typically in log-scale situations) is slightly improved _and_
suppressed from explicit calls to ‘.axisPars()’ as has always been the
intention.
</P></LI>

<LI><P>
The ‘contrasts’ setter function ‘`contrasts&lt;-`’ gains an explicit
default ‘how.many = NULL’ rather than just using ‘missing(how.many)’.
</P></LI>

<LI><P>
‘grid.pretty()’ gains a new optional argument ‘n = 5’.
</P></LI>

<LI><P>
There is a new function ‘.pretty()’ with option ‘bounds’ as a
technical-utility version of ‘pretty()’.  It and ‘pretty()’ gain a new
argument ‘f.min’ with a better than back-compatible default.
</P></LI>

<LI><P>
Function ‘grDevices::axisTicks()’ and related functions such as
‘graphics::axis()’ work better, notably for the log scale; partly
because of the ‘pretty()’ improvements, but also because care is taken
e.g., when ‘ylim’ is finite but ‘diff(ylim)’ is infinite.
</P></LI>

<LI><P>
‘nclass.FD()’ gains a ‘digits’ option.
</P></LI>

<LI><P>
The R Mathlib internal C function ‘bd0()’ (called indirectly from a
dozen probability density and distribution functions such as ‘dpois()’,
‘dbinom()’, ‘dgamma()’, ‘pgamma()’ _etc_) has been complemented by a
more sophisticated and (mostly) more accurate C function ‘ebd0()’,
currently called only by internal ‘dpois_raw()’ improving accuracy for
R level ‘dpois()’ and potentially others calling it such as
‘dnbinom()’, ‘dgamma()’ or ‘pgamma()’.  (Thanks to Morten Welinder's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15628">PR#15628</a>.)
</P></LI>

<LI><P>
‘write.ftable()’ gains ‘sep = &quot; &quot;’ argument as suggested by Thomas
Soeiro.
</P></LI>

<LI><P>
The names of the locale categories supported by R's ‘Sys.getlocale()’
and ‘Sys.setlocale()’ are now provided by variable ‘.LC.categories’ in
the ‘base’ namespace.
</P></LI>

<LI><P>
The ‘Date’ and ‘POSIXt’ methods for ‘hist()’ and the ‘histogram’ method
for ‘plot()’ now also use the new default ‘col = &quot;lightgray&quot;’ in
consistency with the corresponding change to ‘hist()’'s default for R
4.0.0.
</P></LI>

<LI><P>
‘hist.default()’ gains new ‘fuzz’ argument, and the histogram ‘plot’
method no longer uses fractional axis ticks when displaying counts
(‘&quot;Frequency&quot;’).
</P></LI>

<LI><P>
‘mapply()’ and hence ‘Map()’ now also obey the “max-or-0-if-any”
recycling rule, such that, e.g., ‘Map(`+`, 1:3, 1[0])’ is valid now.
</P></LI>

<LI><P>
‘as.character(&lt;obj&gt;)’ for ‘&quot;hexmode&quot;’ or ‘&quot;octmode&quot;’ objects now
fulfils the important basic rule ‘as.character(x)[j] ===
as.character(x[j])’.
</P></LI>

<LI><P>
The set utility functions, notably ‘intersect()’ have been tweaked to
be more consistent and symmetric in their two set arguments, also
preserving a common ‘mode’.
</P></LI>

<LI><P>
‘substr(ch, start,end) &lt;- new’ now e.g., preserves ‘names(ch)’; ditto
for ‘substring()’, thanks to a patch from Brodie Gaslam.
</P></LI>

<LI><P>
‘plot(&lt;lm&gt;)’ gains a ‘extend.ylim.f’ argument, in partial response to
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15285">PR#15285</a>; further <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17784">PR#17784</a> is fixed thanks to several contributors and
a patch by Elin Waring.  The Cook's dist contours get customizable via
‘cook.col’ and ‘cook.lty’ with a different default color and their
legend is nicer by default and customizable via ‘cook.legendChanges’.
</P></LI>

<LI><P>
Attempting to subset an object that is not subsettable now signals an
error of class ‘notSubsettableError’. The non-subsettable object is
contained in the ‘object’ field of the error condition.
</P></LI>

<LI><P>
Subscript-out-of-bounds errors are now signaled as errors of class
‘subscriptOutOfBoundsError’.
</P></LI>

<LI><P>
Stack-overflow errors are now signaled as errors inheriting from class
‘stackOverflowError’. See ‘?stackOverflowError’ for more details.
</P></LI>

<LI><P>
New partly experimental ‘Sys.setLanguage()’ utility, solving the main
problem of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18055">PR#18055</a>.
</P></LI>

<LI><P>
‘gettext()’ and ‘gettextf()’ get a new option ‘trim = TRUE’ which when
set to false allows translations for strings such as ‘&quot;Execution
halted\n&quot;’ typical for C code.
</P></LI>

<LI><P>
An experimental implementation of hash tables is now available.  See
‘?hashtab’ for more details.
</P></LI>

<LI><P>
‘identical()’ gains a ‘extptr.as.ref’ argument for requesting that
external pointer objects be compared as reference objects.
</P></LI>

<LI><P>
‘reorder()’ gets an argument ‘decreasing’ which it passes to ‘sort()’
for level creation; based on the wish and patch by Thomas Soeiro in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18243">PR#18243</a>.
</P></LI>

<LI><P>
‘as.vector()’ gains a ‘data.frame’ method which returns a simple named
list, also clearing a long-standing ‘FIXME’ to enable
‘as.vector(&lt;data.frame&gt;, mode=&quot;list&quot;)’.  This breaks code relying on
‘as.vector(&lt;data.frame&gt;)’ to return the unchanged data frame.
</P></LI>

<LI><P>
‘legend()’ is now vectorized for arguments ‘cex’, ‘x.intersp’, and
‘text.width’.  The latter can now also be specified as a vector (one
element for each column of the legend) or as ‘NA’ for computing a
proper column wise maximum value of ‘strwidth(legend)’.  The argument
‘y.intersp’ can be specified as a vector with one entry for each row of
the legend.
</P>
<P>
‘legend()’ also gains new arguments ‘title.cex’ and ‘title.font’.
Thanks to Swetlana Herbrandt.
</P></LI>

<LI><P>
Deparsing no longer remaps attribute names ‘dim’, ‘dimnames’, ‘levels’,
‘names’ and ‘tsp’ to historical S-compatible names (which ‘structure()’
maps back).
</P></LI>

<LI><P>
‘sample()’ and ‘sample.int()’ have additional sanity checks on their
‘size’ and ‘n’ arguments.
</P>
<P>
‘all.equal.numeric()’ gains a sanity check on its ‘tolerance’ argument
- calling ‘all.equal(a, b, c)’ for three numeric vectors is a
surprisingly common error.
</P>
<P>
‘mean(na.rm =)’, ‘rank(na.last =)’, ‘barplot(legend.text =)’,
‘boxplot()’, ‘contour(drawlabels =)’, ‘polygon(border =)’ and
‘methods::is(class2 =)’ have more robust sanity checks on their
arguments.
</P>
<P>
‘R CMD Rd2pdf’ (used by ‘R CMD check’) has a more robust sanity check
on the format of ‘\alias{}’ commands.
</P></LI>

<LI><P>
‘psigamma(x, deriv)’ for negative ‘x’ now also works for ‘deriv = 4’
and ‘5’; their underlying C level ‘dpsifn()’ is documented in ‘Writing
R Extensions’.
</P></LI>

<LI><P>
The HTML help system now uses HTML5 (wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18149">PR#18149</a>).
</P></LI>

<LI><P>
‘ks.test()’ now provides exact p-values also with ties and MC p-values
in the two-sample (Smirnov) case.  By Torsten Hothorn.
</P></LI>

<LI><P>
‘ks.test()’ gains a formula interface, with ‘y ~ 1’ for the one-sample
(Kolmogorov) test and ‘y ~ group’ for the two-sample (Smirnov) test.
Contributed by Torsten Hothorn.
</P></LI>

<LI><P>
The return value from ‘ks.test()’ now has class ‘c(&quot;ks.test&quot;, &quot;htest&quot;)’
- packages using ‘try()’ need to take care to use ‘inherits()’ and not
‘==’ on the class.
</P></LI>

<LI><P>
New functions ‘psmirnov()’, ‘qsmirnov()’ and ‘rsmirnov()’ in package
‘stats’ implementing the asymptotic and exact distributions of the
two-sample Smirnov statistic.
</P></LI>

<LI><P>
‘iconv()’ now allows ‘sub = &quot;c99&quot;’ to use C99-style escapes for UTF-8
inputs which cannot be converted to encoding ‘to’.
</P></LI>

<LI><P>
In a forward pipe ‘|&gt;’ expression it is now possible to use a named
argument with the placeholder ‘_’ in the ‘rhs’ call to specify where
the ‘lhs’ is to be inserted.  The placeholder can only appear once on
the ‘rhs’.
</P></LI>

<LI><P>
The included LAPACK sources have been updated to version 3.10.0, except
for the four Fortran 77 routines which 3.10.0 has re-implemented in
Fortran 90 (where the older versions have been retained as the R build
process does not support Fortran 90).
</P></LI>

<LI><P>
‘path.expand()’ and most other uses of tilde expansion now warn if a
path would be too long if expanded.  (An exception is ‘file.exists()’,
which silently returns false.)
</P></LI>

<LI><P>
‘trunc(&lt;Date&gt;, *)’ now supports ‘units = &quot;months&quot;’ or ‘&quot;years&quot;’ for
consistency with the ‘POSIXt’ method, thanks to Dirk Eddelbuettel's
proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18099">PR#18099</a>.
</P></LI>

<LI><P>
‘list2DF()’ now checks that its arguments are of the same length,
rather than use recycling.
</P></LI>

<LI><P>
The HTML help system has several new features: LaTeX-like math can be
typeset using either KaTeX or MathJax, usage and example code is
highlighted using Prism, and for dynamic help the output of examples
and demos can be shown within the browser if the ‘knitr’ package is
installed. These features can be disabled by setting the environment
variable ‘_R_HELP_ENABLE_ENHANCED_HTML_’ to a false value.
</P></LI>

</UL>
<H4>Changes in R 4.2.0 Graphics </H4>
<UL>
<LI><P>
The graphics engine version, ‘R_GE_version’, has been bumped to ‘15’
and so packages that provide graphics devices should be reinstalled.
</P></LI>

<LI><P>
The ‘grid’ package now allows the user to specify a “vector” of pattern
fills.  The ‘fill’ argument to ‘gpar()’ accepts a list of gradients
and/or patterns and the functions ‘linearGradient()’,
‘radialGradient()’, and ‘pattern()’ have a new ‘group’ argument.
</P>
<P>
Points grobs (data symbols) can now also have a pattern fill.
</P>
<P>
The ‘grobCoords()’ function now returns a more informative and complex
result.
</P></LI>

<LI><P>
The ‘grid’ package has new functions for drawing isolated groups:
‘grid.group()’, ‘grid.define()’, and ‘grid.use()’.  These functions add
compositing operators and affine transformations to R's graphics
capabilities.
</P>
<P>
The ‘grid’ package also has new functions for stroking and filling
paths: ‘grid.stroke()’, ‘grid.fill()’, and ‘grid.fillStroke()’.
</P>
<P>
A new function ‘as.path()’ allows the user to specify the fill rule for
a path that is to be used for clipping, stroking, or filling; available
options are ‘&quot;winding&quot;’ and ‘&quot;evenodd&quot;’.  A new function ‘as.mask()’
allows the user to specify the type of a mask; available options are
‘&quot;alpha&quot;’ and ‘&quot;luminance&quot;’.
</P>
<P>
These new features are only supported so far (at most) on the
Cairo-based graphics devices and on the ‘pdf()’ device.
</P></LI>

<LI><P>
‘dev.capabilities()’ reports on device support for the new features.
</P></LI>

<LI><P>
‘par()’ now warns about unnamed non-character arguments to prevent
misuse such as ‘{usr &lt;- par(&quot;usr&quot;); par(usr)}’.
</P></LI>

</UL>
<H4>Changes in R 4.2.0 Windows </H4>
<UL>
<LI><P>
R uses UTF-8 as the native encoding on recent Windows systems (at least
Windows 10 version 1903, Windows Server 2022 or Windows Server 1903).
As a part of this change, R uses UCRT as the C runtime.  UCRT should be
installed manually on systems older than Windows 10 or Windows Server
2016 before installing R.
</P></LI>

<LI><P>
The default personal library on Windows, folder ‘R\win-library\x.y’
where ‘x.y’ stands for R release ‘x.y.z’, is now a subdirectory of
Local Application Data directory (usually a hidden directory
‘C:\Users\username\AppData\Local’).  Use ‘shell.exec(.libPaths()[1])’
from R to open the personal library in Explorer when it is first in the
list (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17842">PR#17842</a>).
</P></LI>

<LI><P>
R uses a new 64-bit Tcl/Tk bundle.  The previous 32-bit/64-bit bundle
had a different layout and can no longer be used.
</P></LI>

<LI><P>
Make files and installer scripts for Windows have been tailored to
‘Rtools42’, the newly recommended 64-bit ‘gcc’ 10.3 MinGW-W64 UCRT
toolchain.
</P></LI>

<LI><P>
‘Rtools42’ by default uses the Windows security features ASLR and DEP;
hence CRAN builds of R and packages also do.
</P></LI>

<LI><P>
R now supports files ‘Makevars.ucrt’, ‘Makefile.ucrt’, ‘configure.ucrt’
and ‘cleanup.ucrt’ in packages, which are used in preference to the
‘.win’ variants.  This allows keeping the ‘.win’ files around to
support older versions of R.  This feature will be removed in the
future once support for older versions of R would no longer be needed.
</P></LI>

<LI><P>
‘R.version’ gains a new field ‘crt’ (only on Windows) to denote the C
runtime.  The value is ‘&quot;ucrt&quot;’.
</P></LI>

<LI><P>
On Windows, ‘download.file(method = &quot;auto&quot;)’ and ‘url(method =
&quot;default&quot;)’ now follow Unix in using ‘&quot;libcurl&quot;’ for all except
‘file://’ URIs.
</P></LI>

<LI><P>
‘Rtools42’ includes an unpatched Msys2 build of GNU ‘tar’.  Paths
including drive letters can be made to work by adding ‘--force-local’
to environment variable ‘TAR_OPTIONS’.  (‘Rtools40’ and earlier
included a patched version which defaulted to this option.)
</P></LI>

<LI><P>
Installer builds of R automatically find the ‘Rtools42’ software
collection as well as the compiler toolchain.  No ‘PATH’ setting is
required from the user.
</P></LI>

<LI><P>
The default installation directory of R for a user-only installation
has been changed to the User Program Files directory (usually a hidden
directory ‘C:\Users\username\AppData\Local\Programs’) to follow Windows
conventions.  Use ‘shell.exec(R.home())’ from R to open the R
installation directory in Explorer (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17842">PR#17842</a>).
</P></LI>

<LI><P>
R now supports installation-time patching of packages.  Patches may be
installed from a supplied URL or a local directory or disabled.
Patches are included into the installed packages for reference.  This
experimental feature may be removed in the future.
</P></LI>

<LI><P>
‘libcurl’ is now required for building from source.
</P></LI>

<LI><P>
The clipboard connection now works also with text in other than the
current native encoding (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18267">PR#18267</a>, with Hiroaki Yutani).  Text is
always pasted to the clipboard in UTF16-LE and the ‘encoding’ argument
is ignored.
</P></LI>

<LI><P>
The internal case-changing functions are now used by default on Windows
- this circumvents problems (for example with E acute) of the UCRT
Windows' runtime.
</P></LI>

<LI><P>
R on Windows now uses the system memory allocator.  Doug Lea's
allocator was used since R 1.2.0 to mitigate performance limitations
seen with system allocators on earlier versions of Windows.
</P></LI>

<LI><P>
‘memory.limit()’ and ‘memory.size()’ are now stubs on Windows (as on
Unix-alikes).
</P></LI>

<LI><P>
Applications embedding R on Windows can now use additional callbacks,
which have so far only been available only on Unix (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18286">PR#18286</a>).
</P></LI>

</UL>
<H4>Changes in R 4.2.0 Installation </H4>
<UL>
<LI><P>
Facilities for accessing ‘ftp://’ sites are no longer tested (except
_pro tem_ for ‘curlGetHeaders()’) as modern browsers have removed
support.
</P></LI>

<LI><P>
R can now be built with ‘DEFS = -DSTRICT_R_HEADERS’ .
</P></LI>

</UL>
<H4>Changes in R 4.2.0 Package Installation </H4>
<UL>
<LI><P>
‘R CMD INSTALL’ no longer tangles vignettes. This completes an ‘R CMD
build’ change in R 3.0.0 and affects packages built before R 3.0.2.
Such packages should be re-made with ‘R CMD build’ to have the tangled
R code of vignettes shipped with the tarball.
</P></LI>

<LI><P>
‘USE_FC_LEN_T’ will become the default: this uses the correct
prototypes for Fortran BLAS/LAPACK routines called from C/C++, and
requires adjustment of most such calls - see ‘Writing R Extensions’
§6.6.1.  (This has been supported since R 3.6.2.)
</P></LI>

<LI><P>
Package installation speed for packages installed with ‘keep.source’
has been improved. This resolve the issue reported by Ofek Shilon in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18236">PR#18236</a>.
</P></LI>

</UL>
<H4>Changes in R 4.2.0 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ can optionally report files/directories left behind in
home, ‘/tmp’ (even though ‘TMPDIR’ is set) and other directories.  See
the “R Internals” manual for details.
</P></LI>

<LI><P>
‘R CMD check’ now reports byte-compilation errors during installation.
These are not usually fatal but may result in parts of the package not
being byte-compiled.
</P></LI>

<LI><P>
‘_R_CHECK_DEPENDS_ONLY_’ can be applied selectively to examples, tests
and/or vignettes in ‘R CMD check’: see the “R Internals” manual.
</P></LI>

<LI><P>
‘_R_CHECK_SRC_MINUS_W_IMPLICIT_’ now defaults to true: recent versions
of Apple ‘clang’ on macOS have made implicit function declarations in C
into a compilation error.
</P></LI>

<LI><P>
‘R CMD check --as-cran’ makes use of the environment variable
‘AUTORECONF’.  See the “R Internals” manual §8 for further details.
</P></LI>

<LI><P>
‘R CMD check --use-valgrind’ also uses ‘valgrind’ when re-building
vignettes as some non-Sweave vignettes unhelpfully comment out all
their code when ‘R CMD check’ runs vignettes.
</P></LI>

<LI><P>
Errors in re-building vignettes (unless there are LaTeX errors) are
reported by ‘R CMD check’ as ‘ERROR’ rather than ‘WARNING’ when running
vignettes has been skipped (as it frequently is in CRAN checks and by
‘--as-cran’).
</P></LI>

<LI><P>
‘R CMD Rd2pdf’ gains a ‘--quiet’ option that is used by ‘R CMD build’
when building the PDF package manual.
</P></LI>

<LI><P>
‘R CMD Rd2pdf’ now always runs LaTeX in batch mode, consistent with
Texinfo &gt;= 6.7. The ‘--batch’ option is ignored.
</P></LI>

<LI><P>
‘R CMD build’ and ‘R CMD check’ now include the Rd file name and line
numbers in the error message of an \Sexpr evaluation failure.
</P></LI>

<LI><P>
For packages using the \doi Rd macro (now an install-time \Sexpr) but
no other dynamic Rd content, ‘R CMD build’ now produces a smaller
tarball and is considerably faster - skipping temporary package
installation.
</P></LI>

<LI><P>
‘R CMD check’ can optionally (but included in ‘--as-cran’) validate the
HTML produced from the packages ‘.Rd’ files.  See
&lt;https://blog.r-project.org/2022/04/08/enhancements-to-html-documentation/&gt;:
this needs a fairly recent version of HTML Tidy to be available.
</P></LI>

</UL>
<H4>Changes in R 4.2.0 C-Level Facilities </H4>
<UL>
<LI><P>
The non-API header ‘R_ext/R-ftp-http.h’ is no longer provided, as the
entry points it covered are now all defunct.
</P></LI>

<LI><P>
A number of non-API declarations and macro definitions have been moved
from the installed header ‘Rinternals.h’ to the internal header
‘Defn.h’. Packages that only use entry points and definitions
documented to be part of the API as specified in ‘Writing R Extensions’
§6 should not be affected.
</P></LI>

<LI><P>
The macro ‘USE_RINTERNALS’ no longer has any effect when compiling
package code.  Packages which also use ‘R_NO_REMAP’ will need to ensure
that the remapped names are used for calls to API functions that were
formerly also made available as macros.
</P></LI>

<LI><P>
The deprecated legacy S-compatibility macros ‘PROBLEM’, ‘MESSAGE’,
‘ERROR’, ‘WARN’, ‘WARNING’, ‘RECOVER’, ... are no longer defined in
‘R_ext/RS.h’ (included by ‘R.h’).  Replace these by calls to ‘Rf_error’
and ‘Rf_warning’ (defined in header ‘R_ext/Error.h’ included by ‘R.h’).
</P>
<P>
Header ‘R_ext/RS.h’ no longer includes ‘R_ext/Error.h’.
</P></LI>

<LI><P>
Header ‘R_ext/Constants.h’ (included by ‘R.h’) when included from C++
now includes the C++ header ‘cfloat’ rather than the C header ‘float.h’
(now possible as C++11 is required).
</P></LI>

<LI><P>
The legacy S-compatibility macros ‘DOUBLE_*’ in ‘R_ext/Constants.h’
(included by ‘R.h’) are deprecated.
</P></LI>

<LI><P>
The deprecated S-compatibility macros ‘SINGLE_*’ in ‘R_ext/Constants.h’
(included by ‘R.h’) have been removed.
</P></LI>

<LI><P>
‘R_Calloc’, ‘R_Free’ and ‘R_Realloc’ are preferred to their unprefixed
forms and error messages now use the prefix. These forms were
introduced in R 3.4.0 and are available even when ‘STRICT_R_HEADERS’ is
defined.
</P></LI>

<LI><P>
‘rmultinom’ has been documented in ‘Writing R Extensions’ §6 so is now
part of the R API.
</P></LI>

<LI><P>
Similarly, ‘Rtanpi’, called from R level ‘tanpi()’ is now part of the R
API.
</P></LI>

<LI><P>
The long-deprecated, undocumented and non-API entry point ‘call_R’ is
no longer declared in ‘R_ext/RS.h’ (included by ‘R.h’).
</P></LI>

<LI><P>
The header ‘S.h’ which has been unsupported since Jan 2016 has been
removed.  Use ‘R.h’ instead.
</P></LI>

</UL>
<H4>Changes in R 4.2.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
The (non-default and deprecated) ‘method = &quot;internal&quot;’ for
‘download.file()’ and ‘url()’ no longer supports ‘http://’ nor ‘ftp://’
URIs.  (It is used only for ‘file://’ URIs.)
</P>
<P>
On Windows, ‘download.file(method = &quot;wininet&quot;)’ no longer supports
‘ftp://’ URIs.  (It is no longer the default method, which is
‘&quot;libcurl&quot;’ and does.)
</P>
<P>
On Windows, the deprecated ‘method = &quot;wininet&quot;’ now gives a warning for
‘http://’ and ‘https://’ URIs for both ‘download.file()’ and ‘url()’.
(It is no longer the default method.)
</P></LI>

<LI><P>
On Windows, the command-line option ‘--max-mem-size’ and environment
variable ‘R_MAX_MEM_SIZE’ are defunct.  The memory allocation limit was
important for 32-bit builds, but these are no longer supported.
</P></LI>

<LI><P>
‘default.stringsAsFactors()’ is now formally deprecated, where that was
only mentioned on its regular help page, previously.  So it now gives a
warning if called.
</P></LI>

<LI><P>
‘unix.time()’ is defunct now; it had been deprecated since R 3.4.0.
</P></LI>

</UL>
<H4>Changes in R 4.2.0 Bug Fixes </H4>
<UL>
<LI><P>
Setting ‘digits = 0’ in ‘format()’, ‘print.default()’ (and hence
typically ‘print()’) or ‘options()’ is again invalid.  Its behaviour
was platform-dependent, and it is unclear what “zero significant
digits” should mean (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18098">PR#18098</a>).
</P></LI>

<LI><P>
Messages from C code in the ‘cairo’ section of package ‘grDevices’ are
now also offered for translation, thanks to Michael Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18123">PR#18123</a>.
</P></LI>

<LI><P>
‘mean(x)’ with finite ‘x’ now is finite also without &quot;long.double&quot;
capability.
</P></LI>

<LI><P>
‘R CMD Rd2pdf’ no longer leaves an empty build directory behind when it
aborts due to an already existing output file.  (Thanks to Sebastian
Meyer's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18141">PR#18141</a>.)
</P></LI>

<LI><P>
‘density(x, weights = w, na.rm = TRUE)’ when ‘anyNA(x)’ is true, now
removes weights “in parallel” to ‘x’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18151">PR#18151</a>, reported by
Matthias Gondan.  Additionally, it gets a ‘subdensity’ option.
</P></LI>

<LI><P>
Conversion of \Sexpr[]{&lt;expR&gt;} to LaTeX or HTML no longer produces long
blocks of empty lines when ‘&lt;expR&gt;’ itself contains several lines all
producing empty output.  Thanks to a report and patch by Ivan Krylov
posted to R-devel.
</P></LI>

<LI><P>
‘R CMD build’ no longer fails if a package vignette uses child
documents and ‘inst/doc’ exists.  (Thanks to Sebastian Meyer's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18156">PR#18156</a>.)
</P></LI>

<LI><P>
When an R documentation (‘help’ source) file ‘man/foo.Rd’ in a package
has \donttest{..} examples with a syntax error, it is now signalled as
ERROR and with correct line numbers relating to the ‘*-Ex.R’ file,
thanks to Duncan Murdoch and Sebastian Meyer's reports and patch
proposals in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17501">PR#17501</a>.
</P></LI>

<LI><P>
Improved determination of the correct translation domain in non-base
packages, addressing the combination of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18092">PR#18092</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17998">PR#17998</a> (‘#c6’)
with reports and _augmented_ patch #2904 by Suharto Anggono.
</P>
<P>
Note that ‘&quot;R-base&quot;’ is no longer the default domain e.g., for
top-level calls to ‘gettext()’; rather translation needs explicit
‘domain = *’ specification in such cases.
</P></LI>

<LI><P>
‘identical(attrib.as.set=FALSE)’ now works correctly with data frames
with default row names.  (Thanks to Charlie Gao's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18179">PR#18179</a>.)
</P></LI>

<LI><P>
‘txtProgressBar()’ now enforces a non-zero width for argument ‘char’,
without which no progress can be visible.
</P></LI>

<LI><P>
‘dimnames(table(d))’ is more consistent in the case where ‘d’ is a list
with a single component, thanks to Thomas Soeiro's report to R-devel.
</P>
<P>
Further, ‘table(d1, d2)’ now gives an error when ‘d1’ and ‘d2’ are data
frames as suggested by Thomas in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18224">PR#18224</a>.
</P></LI>

<LI><P>
Fix for drawing semi-transparent lines and fills on the native Windows
graphics device (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18219">PR#18219</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16694">PR#16694</a>).  Thanks to Nick Ray for
helpful diagnosis on Bugzilla.
</P></LI>

<LI><P>
The deparser now wraps sub-expressions such as ‘if(A) .. ’ with
parentheses when needed; thanks to Duncan Murdoch's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18232">PR#18232</a> and Lionel
Henry's patches there.
</P></LI>

<LI><P>
‘remove.packages()’ no longer tries to uninstall ‘Priority: base’
packages, thanks to a report and suggestions by Colin Fay in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18227">PR#18227</a>.
</P></LI>

<LI><P>
‘win.metafile()’ now has ‘xpinch’ and ‘ypinch’ arguments so that the
user can override Windows' (potentially wrong) guess at device
dimensions.
</P></LI>

<LI><P>
‘x[i]’ and ‘x[[i]]’ for non-integer ‘i’ should now behave in all cases
as always documented: the index used is equivalent to ‘as.integer(i)’
unless that would overflow where ‘trunc(i)’ is used instead; thanks to
Suharto Anggono's report and patch proposals in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17977">PR#17977</a>.
</P></LI>

<LI><P>
‘asOneSidedFormula()’ now associates the resulting formula with the
global environment rather than the evaluation environment created for
the call.
</P></LI>

<LI><P>
‘&lt;bibentry&gt;$name’ now matches the field name case-insensitively,
consistent with ‘bibentry()’ creation and the replacement method.
</P></LI>

<LI><P>
‘cbind()’ failed to detect some length mismatches with a mixture of
time-series and non-time-series inputs.
</P></LI>

<LI><P>
The default LaTeX style file ‘Sweave.sty’ used by the ‘RweaveLatex’
driver no longer loads the obsolete ‘ae’ package; thanks to a report by
Thomas Soeiro in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18271">PR#18271</a>.  Furthermore, it now skips
‘\usepackage[T1]{fontenc}’ for engines other than pdfTeX (if detected)
or if the new ‘[nofontenc]’ option is used.
</P></LI>

<LI><P>
‘smooth.spline()’ now stores its logical ‘cv’ argument more safely,
fixing a rare bug when printing, and also stores ‘n’.
</P></LI>

<LI><P>
‘smooth.spline(x,y,*)’ now computes the ‘cv.crit’ statistic correctly,
also when ‘is.unsorted(x)’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18294">PR#18294</a>.
</P></LI>

<LI><P>
The ‘data.frame’ method of ‘rbind()’ now warns when binding
not-wholly-recycling vectors, by analogy to the default method (for
matrices).
</P></LI>

<LI><P>
‘setAs()’ finds the correct class for name ‘to’ when multiple packages
define a class with that name. Thanks to Gabor Csardi for the report.
</P></LI>

<LI><P>
Fix for detaching a package when two classes of the same name are
present in method signatures for the same generic. Thanks to Gabor
Csardi for the report.
</P></LI>

<LI><P>
‘match.arg(&quot;&quot;, c(&quot;&quot;, &quot;a&quot;, &quot;B&quot;))’ gives a better error message, in part
from <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17959">PR#17959</a>, thanks to Elin Waring.
</P></LI>

<LI><P>
‘R CMD Sweave --clean’ no longer removes pre-existing files or
subdirectories (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18242">PR#18242</a>).
</P></LI>

<LI><P>
The ‘quartz()’ device no longer splits polylines into subpaths. That
has caused narrowly-spaced lines with many points to always look solid
even when dashed line type was used due to dash phase restarts.
</P></LI>

<LI><P>
Deparsing constructs such as ‘quote(1 + `!`(2) + 3)’ works again as
before R 3.5.0, thanks to the report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18284">PR#18284</a> by Suharto
Anggono.
</P></LI>

<LI><P>
‘as.list(f)’ for a ‘factor’ ‘f’ now keeps ‘names(f)’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18309">PR#18309</a>.
</P></LI>

<LI><P>
‘qbeta(.001, .9, .009)’ and analogous ‘qf()’ calls now return a correct
value instead of ‘NaN’ or wrongly ‘1’, all with a warning; thanks to
the report by Ludger Goeminne in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18302">PR#18302</a>.
</P></LI>

<LI><P>
‘plot.lm()’ failed to produce the plot of residuals vs.  factor levels
(i.e., ‘which=5’ when leverages are constant) for models with character
predictors (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17840">PR#17840</a>).
</P></LI>

<LI><P>
‘interaction.plot(..., xtick = TRUE)’ misplaced the x-axis line
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18305">PR#18305</a>).
</P></LI>

<LI><P>
Not strictly fixing a bug, ‘format()’ing and ‘print()’ing of non-finite
‘Date’ and ‘POSIXt’ values ‘NaN’ and +/-‘Inf’ no longer show as ‘NA’
but the respective string, e.g., ‘Inf’, for consistency with numeric
vector's behaviour, fulfilling the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18308">PR#18308</a>.
</P></LI>

<LI><P>
‘R CMD check’ no longer runs test scripts generated from corresponding
‘.Rin’ files twice and now signals an ERROR if processing an ‘.Rin’
script fails.
</P></LI>

<LI><P>
‘tools::Rd2txt()’ used for plain-text help pages now renders \hrefs (if
‘tools::Rd2txt_options(showURLs = TRUE)’) and \urls with
percent-encoding and standards-compliant delimiting style (angle
brackets and no ‘URL: ’ prefix).  \email is now rendered with a
‘mailto:’ prefix.
</P></LI>

</UL>
<H4>Changes in R 4.1.3 New Features </H4>
<UL>
<LI><P>
The default version of Bioconductor has been changed to 3.14. (This is
used by ‘setRepositories’ and the menus in GUIs.)
</P></LI>

</UL>
<H4>Changes in R 4.1.3 Utilities </H4>
<UL>
<LI><P>
‘R CMD check --as-cran’ has a workaround for a bug in versions of
‘file’ up to at least 5.41 which mis-identify DBF files last changed in
2022 as executables.
</P></LI>

</UL>
<H4>Changes in R 4.1.3 C-Level Facilities </H4>
<UL>
<LI><P>
The legacy S-compatibility macros ‘SINGLE_*’ in ‘R_ext/Constants.h’
(included by ‘R.h’) are deprecated and will be removed in R 4.2.0.
</P></LI>

</UL>
<H4>Changes in R 4.1.3 Bug Fixes </H4>
<UL>
<LI><P>
Initialization of self-starting ‘nls()’ models with initialization
functions following the pre-R-4.1.0 API (without the ‘...’ argument)
works again for now, with a deprecation warning.
</P></LI>

<LI><P>
Fixed quoting of ‘~autodetect~’ in Java setting defaults to avoid
inadvertent user lookup due to leading ‘~’, reported in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18231">PR#18231</a> by
Harold Gutch.
</P></LI>

<LI><P>
‘substr(., start, stop) &lt;- v’ now treats _negative_ ‘stop’ values
correctly.  Reported with a patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18228">PR#18228</a> by Brodie Gaslam.
</P></LI>

<LI><P>
Subscripting an array ‘x’ without dimnames by a ‘length(dim(x))’-column
character matrix gave &quot;random&quot; non-sense, now an error; reported in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18244">PR#18244</a> by Mikael Jagan.
</P></LI>

<LI><P>
‘...names()’ now matches ‘names(list(...))’ closely, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18247">PR#18247</a>.
</P></LI>

<LI><P>
‘all.equal(*, scale = s)’ now works as intended when ‘length(s) &gt; 1’,
partly thanks to Michael Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18272">PR#18272</a>.
</P></LI>

<LI><P>
‘print(x)’ for long vectors ‘x’ now also works for named atomic vectors
or lists and prints the correct number when reaching the
‘getOption(&quot;max.print&quot;)’ limit; partly thanks to a report and proposal
by Hugh Parsonage to the R-devel list.
</P></LI>

<LI><P>
‘all.equal(&lt;selfStart&gt;, *)’ no longer signals a deprecation warning.
</P></LI>

<LI><P>
‘reformulate(*, response=r)’ gives a helpful error message now when
‘length(r) &gt; 1’, thanks to Bill Dunlap's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18281">PR#18281</a>.
</P></LI>

<LI><P>
Modifying ‘globalCallingHandlers’ inside ‘withCallingHandlers()’ now
works or fails correctly, thanks to Henrik Bengtsson's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18257">PR#18257</a>.
</P></LI>

<LI><P>
‘hist(&lt;Date&gt;, breaks = &quot;days&quot;)’ and ‘hist(&lt;POSIXt&gt;, breaks = &quot;secs&quot;)’
no longer fail for inputs of length 1.
</P></LI>

<LI><P>
‘qbeta(.001, .9, .009)’ and similar cases now converge correctly thanks
to Ben Bolker's report in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17746">PR#17746</a>.
</P></LI>

<LI><P>
‘window(x, start, end)’ no longer wrongly signals “'start' cannot be
after 'end'”, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17527">PR#17527</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18291">PR#18291</a>.
</P></LI>

<LI><P>
‘data()’ now checks that its (rarely used) ‘list’ argument is a
character vector - a couple of packages passed other types and gave
incorrect results.
</P></LI>

<LI><P>
‘which()’ now checks its ‘arr.ind’ argument is TRUE rather coercing to
logical and taking the first element - which gave incorrect results in
package code.
</P></LI>

<LI><P>
‘model.weights()’ and ‘model.offset()’ more carefully extract their
model components, thanks to Ben Bolker and Tim Taylor's R-devel post.
</P></LI>

<LI><P>
‘list.files(recursive = TRUE)’ now shows all broken symlinks
(previously, some of them may have been omitted, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18296">PR#18296</a>).
</P></LI>

</UL>
<H4>Changes in R 4.1.2 C-Level Facilities </H4>
<UL>
<LI><P>
The workaround in headers ‘R.h’ and ‘Rmath.h’ (‘using namespace std;’)
for the Oracle Developer Studio compiler is no longer needed now C++11
is required so has been removed.  A couple more usages of ‘log()’
(which should have been ‘std::log()’) with an ‘int’ argument are
reported on Solaris.
</P></LI>

<LI><P>
The undocumented limit of 4095 bytes on messages from the
S-compatibility macros ‘PROBLEM’ and ‘MESSAGE’ is now documented and
longer messages will be silently truncated rather than potentially
causing segfaults.
</P></LI>

<LI><P>
If the ‘R_NO_SEGV_HANDLER’ environment variable is non-empty, the
signal handler for SEGV/ILL/BUS signals (which offers recovery user
interface) is not set. This allows more reliable debugging of crashes
that involve the console.
</P></LI>

</UL>
<H4>Changes in R 4.1.2 Deprecated and Defunct </H4>
<UL>
<LI><P>
The legacy S-compatibility macros ‘PROBLEM’, ‘MESSAGE’, ‘ERROR’,
‘WARN’, ‘WARNING’, ‘RECOVER’, ... are deprecated and will be hidden in
R 4.2.0. R's native interface of ‘Rf_error’ and ‘Rf_warning’ has long
been preferred.
</P></LI>

</UL>
<H4>Changes in R 4.1.2 Bug Fixes </H4>
<UL>
<LI><P>
‘.mapply(F, dots, .)’ no longer segfaults when ‘dots’ is not a ‘list’
and uses ‘match.fun(F)’ as always documented; reported by Andrew
Simmons in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18164">PR#18164</a>.
</P></LI>

<LI><P>
‘hist(&lt;Date&gt;, ...)’ and ‘hist(&lt;POSIXt&gt;, ...)’ no longer pass arguments
for ‘rect()’ (such as ‘col’ and ‘density’) to ‘axis()’.  (Thanks to
Sebastian Meyer's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18171">PR#18171</a>.)
</P></LI>

<LI><P>
\Sexpr{ch} now preserves ‘Encoding(ch)’. (Thanks to report and patch by
Jeroen Ooms in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18152">PR#18152</a>.)
</P></LI>

<LI><P>
Setting the RNG to ‘&quot;Marsaglia-Multicarry&quot;’ e.g., by ‘RNGkind()’, now
warns in more places, thanks to André Gillibert's report and patch in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18168">PR#18168</a>.
</P></LI>

<LI><P>
‘gray(numeric(), alpha=1/2)’ no longer segfaults, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18183">PR#18183</a>,
reported by Till Krenz.
</P></LI>

<LI><P>
Fixed ‘dnbinom(x, size=&lt;very_small&gt;, .., log=TRUE)’ regression,
reported by Martin Morgan.
</P></LI>

<LI><P>
‘as.Date.POSIXlt(x)’ now keeps ‘names(x)’, thanks to Davis Vaughan's
report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18188">PR#18188</a>.
</P></LI>

<LI><P>
‘model.response()’ now strips an ‘&quot;AsIs&quot;’ class typically, thanks to
Duncan Murdoch's report and other discussants in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18190">PR#18190</a>.
</P></LI>

<LI><P>
‘try()’ is considerably faster in case of an error and long call, as
e.g., from some ‘do.call()’.  Thanks to Alexander Kaever's suggestion
posted to R-devel.
</P></LI>

<LI><P>
‘qqline(y = &lt;object&gt;)’ such as ‘y=I(.)’, now works, see also <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18190">PR#18190</a>.
</P></LI>

<LI><P>
Non-integer ‘mgp’ ‘par()’ settings are now handled correctly in
‘axis()’ and ‘mtext()’, thanks to Mikael Jagan and Duncan Murdoch's
report and suggestion in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18194">PR#18194</a>.
</P></LI>

<LI><P>
‘formatC(x)’ returns length zero ‘character()’ now, rather than ‘&quot;&quot;’
when ‘x’ is of length zero, as documented, thanks to Davis Vaughan's
post to R-devel.
</P></LI>

<LI><P>
‘removeSource(fn)’ now retains (other) ‘attributes(fn)’.
</P></LI>

</UL>
<H4>Changes in R 4.1.1 New Features </H4>
<UL>
<LI><P>
‘require(&lt;pkg&gt;, quietly = TRUE)’ is quieter and in particular does not
warn if the package is not found.
</P></LI>

</UL>
<H4>Changes in R 4.1.1 Deprecated and Defunct </H4>
<UL>
<LI><P>
Use of ‘ftp://’ URIs should be regarded as deprecated, with on-going
support confined to ‘method = &quot;libcurl&quot;’ and not routinely tested.
(Nowadays no major browser supports them.)
</P></LI>

<LI><P>
The non-default ‘method = &quot;internal&quot;’ is deprecated for ‘http://’ and
‘ftp://’ URIs for both ‘download.file’ and ‘url’.
</P></LI>

<LI><P>
On Windows, ‘method = &quot;wininet&quot;’ is deprecated for ‘http://’,
‘https://’ and ‘ftp://’ URIs for both ‘download.file’ and ‘url’.  (A
warning is only given for ‘ftp://’.)
</P>
<P>
For ‘ftp://’ URIs the default method is now ‘&quot;libcurl&quot;’ if available
(which it is on CRAN builds).
</P>
<P>
‘method = &quot;wininet&quot;’ remains the default for ‘http://’ and ‘https://’
URIs but if ‘libcurl’ is available, using ‘method = &quot;libcurl&quot;’ is
preferred.
</P></LI>

</UL>
<H4>Changes in R 4.1.1 Installation </H4>
<UL>
<LI><P>
‘make check’ now works also without a LaTeX installation.  (Thanks to
Sebastian Meyer's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18103">PR#18103</a>.)
</P></LI>

</UL>
<H4>Changes in R 4.1.1 Bug Fixes </H4>
<UL>
<LI><P>
‘make check-devel’ works again in an R build configured with
‘--without-recommended-packages’.
</P></LI>

<LI><P>
‘qnbinom(p, size, mu)’ for large ‘size/mu’ is correct now in a range of
cases (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18095">PR#18095</a>); similarly for the ‘(size, prob)’ parametrization of
the negative binomial.  Also ‘qpois()’ and ‘qbinom()’ are better and or
faster for extreme cases.  The underlying C code has been modularized
and is common to all four cases of discrete distributions.
</P></LI>

<LI><P>
‘gap.axis’ is now part of the ‘axis()’ arguments which are passed from
‘bxp()’, and hence ‘boxplot()’.  (Thanks to Martin Smith's report and
suggestions in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18109">PR#18109</a>.)
</P></LI>

<LI><P>
‘.First’ and ‘.Last’ can again be set from the site profile.
</P></LI>

<LI><P>
‘seq.int(from, to, *)’ and ‘seq.default(..)’ now work better in large
range cases where ‘from-to’ is infinite where the two boundaries are
finite.
</P></LI>

<LI><P>
‘all.equal(x,y)’ now returns ‘TRUE’ correctly also when several entries
of ‘abs(x)’ and ‘abs(y)’ are close to ‘.Machine$double.xmax’, the
largest finite ‘numeric’.
</P></LI>

<LI><P>
‘model.frame()’ now clears the object bit when removing the ‘class’
attribute of a value via ‘na.action’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18100">PR#18100</a>).
</P></LI>

<LI><P>
‘charClass()’ now works with multi-character strings on Windows
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18104">PR#18104</a>, fixed by Bill Dunlap).
</P></LI>

<LI><P>
‘encodeString()’ on Solaris now works again in Latin-1 encoding on
characters represented differently in UTF-8.  Support for surrogate
pairs on Solaris has been improved.
</P></LI>

<LI><P>
‘file.show()’ on Windows now works with non-ASCII path names
representable in the current native encoding (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18132">PR#18132</a>).
</P></LI>

<LI><P>
Embedded R on Windows can now find R home directory via the registry
even when installed only for the current user (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18135">PR#18135</a>).
</P></LI>

<LI><P>
‘pretty(x)’ with finite ‘x’ now returns finite values also in the case
where the extreme ‘x’ values are close in size to the maximal
representable number ‘.Machine$double.xmax’.
</P>
<P>
Also, it's been tweaked for very small ranges and when a boundary is
close (or equal) to zero; e.g., ‘pretty(c(0,1e-317))’ no longer has
negative numbers, currently still warning about a very small range, and
‘pretty(2^-(1024 - 2^-1/(c(24,10))))’ is more accurate.
</P></LI>

<LI><P>
The error message for not finding vignette files when weaving has
correct file sizes now. (Thanks to Sebastian Meyer's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18154">PR#18154</a>.)
</P></LI>

<LI><P>
‘dnbinom(20, &lt;large&gt;, 1)’ now correctly gives 0, and similar cases are
more accurate with underflow precaution.  (Reported by Francisco Vera
Alcivar in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18072">PR#18072</a>.)
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Future Directions </H4>
<UL>
<LI><P>
It is planned that the 4.1.x series will be the last to support 32-bit
Windows, with production of binary packages for that series continuing
until early 2023.
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
Data set ‘esoph’ in package ‘datasets’ now provides the correct numbers
of controls; previously it had the numbers of cases added to these.
(Reported by Alexander Fowler in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17964">PR#17964</a>.)
</P></LI>

</UL>
<H4>Changes in R 4.1.0 New Features </H4>
<UL>
<LI><P>
‘www.omegahat.net’ is no longer one of the repositories known by
default to ‘setRepositories()’.  (Nowadays it only provides source
packages and is often unavailable.)
</P></LI>

<LI><P>
Function ‘package_dependencies()’ (in package ‘tools’) can now use
different dependency types for direct and recursive dependencies.
</P></LI>

<LI><P>
The checking of the size of tarball in ‘R CMD check --as-cran &lt;pkg&gt;’
may be tweaked via the new environment variable
‘_R_CHECK_CRAN_INCOMING_TARBALL_THRESHOLD_’, as suggested in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17777">PR#17777</a>
by Jan Gorecki.
</P></LI>

<LI><P>
Using ‘c()’ to combine a factor with other factors now gives a factor,
an ordered factor when combining ordered factors with identical levels.
</P></LI>

<LI><P>
‘apply()’ gains a ‘simplify’ argument to allow disabling of
simplification of results.
</P></LI>

<LI><P>
The ‘format()’ method for class ‘&quot;ftable&quot;’ gets a new option ‘justify’.
(Suggested by Thomas Soeiro.)
</P></LI>

<LI><P>
New ‘...names()’ utility.  (Proposed by Neal Fultz in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17705">PR#17705</a>.)
</P></LI>

<LI><P>
‘type.convert()’ now warns when its ‘as.is’ argument is not specified,
as the help file always said it _should_.  In that case, the default is
changed to ‘TRUE’ in line with its change in ‘read.table()’ (related to
‘stringsAsFactors’) in R 4.0.0.
</P></LI>

<LI><P>
When printing list arrays, classed objects are now shown _via_ their
‘format()’ value if this is a short enough character string, or by
giving the first elements of their class vector and their length.
</P></LI>

<LI><P>
‘capabilities()’ gets new entry ‘&quot;Rprof&quot;’ which is ‘TRUE’ when R has
been configured with the equivalent of ‘--enable-R-profiling’ (as it is
by default).  (Related to Michael Orlitzky's report <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17836">PR#17836</a>.)
</P></LI>

<LI><P>
‘str(xS4)’ now also shows extraneous attributes of an S4 object ‘xS4’.
</P></LI>

<LI><P>
Rudimentary support for vi-style tags in ‘rtags()’ and ‘R CMD rtags’
has been added.  (Based on a patch from Neal Fultz in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17214">PR#17214</a>.)
</P></LI>

<LI><P>
‘checkRdContents()’ is now exported from ‘tools’; it and also
‘checkDocFiles()’ have a new option ‘chkInternal’ allowing to check Rd
files marked with keyword ‘&quot;internal&quot;’ as well.  The latter can be
activated for ‘R CMD check’ via environment variable
‘_R_CHECK_RD_INTERNAL_TOO_’.
</P></LI>

<LI><P>
New functions ‘numToBits()’ and ‘numToInts()’ extend the ‘raw’
conversion utilities to (double precision) ‘numeric’.
</P></LI>

<LI><P>
Functions ‘URLencode()’ and ‘URLdecode()’ in package ‘utils’ now work
on vectors of URIs.  (Based on patch from Bob Rudis submitted with
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17873">PR#17873</a>.)
</P></LI>

<LI><P>
‘path.expand()’ can expand ‘~user’ on most Unix-alikes even when
‘readline’ is not in use.  It tries harder to expand ‘~’, for example
should environment variable ‘HOME’ be unset.
</P></LI>

<LI><P>
For HTML help (both dynamic and static), Rd file links to help pages in
external packages are now treated as references to topics rather than
file names, and fall back to a file link only if the topic is not found
in the target package. The earlier rule which prioritized file names
over topics can be restored by setting the environment variable
‘_R_HELP_LINKS_TO_TOPICS_’ to a false value.
</P></LI>

<LI><P>
‘c()’ now removes ‘NULL’ arguments before dispatching to methods, thus
simplifying the implementation of ‘c()’ methods, _but_ for back
compatibility keeps ‘NULL’ when it is the first argument.  (From a
report and patch proposal by Lionel Henry in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17900">PR#17900</a>.)
</P></LI>

<LI><P>
‘Vectorize()’'s result function's environment no longer keeps unneeded
objects.
</P></LI>

<LI><P>
Function ‘...elt()’ now propagates visibility consistently with ‘..n’.
(Thanks to Lionel Henry's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17905">PR#17905</a>.)
</P></LI>

<LI><P>
‘capture.output()’ no longer uses non-standard evaluation to evaluate
its arguments.  This makes evaluation of functions like
‘parent.frame()’ more consistent.  (Thanks to Lionel Henry's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17907">PR#17907</a>.)
</P></LI>

<LI><P>
‘packBits(bits, type=&quot;double&quot;)’ now works as inverse of ‘numToBits()’.
(Thanks to Bill Dunlap's proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17914">PR#17914</a>.)
</P></LI>

<LI><P>
‘curlGetHeaders()’ has two new arguments, ‘timeout’ to specify the
timeout for that call (overriding ‘getOption(&quot;timeout&quot;)’) and ‘TLS’ to
specify the minimum TLS protocol version to be used for ‘https://’ URIs
(_inter alia_ providing a means to check for sites using deprecated TLS
versions 1.0 and 1.1).
</P></LI>

<LI><P>
For ‘nls()’, an optional constant ‘scaleOffset’ may be added to the
denominator of the relative offset convergence test for cases where the
fit of a model is expected to be exact, thanks to a proposal by John
Nash.  ‘nls(*, trace=TRUE)’ now also shows the convergence criterion.
</P></LI>

<LI><P>
Numeric differentiation _via_ ‘numericDeriv()’ gets new optional
arguments ‘eps’ and ‘central’, the latter for taking central divided
differences.  The latter can be activated for ‘nls()’ via
‘nls.control(nDcentral = TRUE)’.
</P></LI>

<LI><P>
‘nls()’ now passes the ‘trace’ and ‘control’ arguments to
‘getInitial()’, notably for all self-starting models, so these can also
be fit in zero-noise situations via a ‘scaleOffset’.  For this reason,
the ‘initial’ function of a ‘selfStart’ model must now have ‘...’ in
its argument list.
</P></LI>

<LI><P>
‘bquote(splice = TRUE)’ can now splice expression vectors with
attributes: this makes it possible to splice the result of
‘parse(keep.source = TRUE)’.  (Report and patch provided by Lionel
Henry in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17869">PR#17869</a>.)
</P></LI>

<LI><P>
‘textConnection()’ gets an optional ‘name’ argument.
</P></LI>

<LI><P>
‘get()’, ‘exists()’, and ‘get0()’ now signal an error if the first
argument has length greater than 1.  Previously additional elements
were silently ignored.  (Suggested by Antoine Fabri on R-devel.)
</P></LI>

<LI><P>
R now provides a shorthand notation for creating functions, e.g. ‘\(x)
x + 1’ is parsed as ‘function(x) x + 1’.
</P></LI>

<LI><P>
R now provides a simple native forward pipe syntax ‘|&gt;’.  The simple
form of the forward pipe inserts the left-hand side as the first
argument in the right-hand side call.  The pipe implementation as a
syntax transformation was motivated by suggestions from Jim Hester and
Lionel Henry.
</P></LI>

<LI><P>
‘all.equal(f, g)’ for ‘function’s now by default also compares their
‘environment(.)’s, notably via new ‘all.equal’ method for class
‘function’.  Comparison of ‘nls()’ fits, e.g., may now need
‘all.equal(m1, m2, check.environment = FALSE)’.
</P></LI>

<LI><P>
‘.libPaths()’ gets a new option ‘include.site’, allowing to _not_
include the site library.  (Thanks to Dario Strbenac's suggestion and
Gabe Becker's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18016">PR#18016</a>.)
</P></LI>

<LI><P>
Lithuanian translations are now available.  (Thanks to Rimantas
Žakauskas.)
</P></LI>

<LI><P>
‘names()’ now works for ‘DOTSXP’ objects.  On the other hand, in
‘R-lang’, the R language manual, we now warn against relying on the
structure or even existence of such dot-dot-dot objects.
</P></LI>

<LI><P>
‘all.equal()’ no longer gives an error on ‘DOTSXP’ objects.
</P></LI>

<LI><P>
‘capabilities(&quot;cairo&quot;)’ now applies only to the file-based devices as
it is now possible (if very unusual) to build R with Cairo support for
those but not for ‘X11()’.
</P></LI>

<LI><P>
There is optional support for tracing the progress of ‘loadNamespace()’
- see its help.
</P></LI>

<LI><P>
(Not Windows.)  ‘l10n_info()’ reports an additional element, the name
of the encoding as reported by the OS (which may differ from the
encoding part (if any) of the result from ‘Sys.getlocale(&quot;LC_CTYPE&quot;)’).
</P></LI>

<LI><P>
New function ‘gregexec()’ which generalizes ‘regexec()’ to find _all_
disjoint matches and all substrings corresponding to parenthesized
subexpressions of the given regular expression.  (Contributed by Brodie
Gaslam.)
</P></LI>

<LI><P>
New function ‘charClass()’ in package ‘utils’ to query the
wide-character classification functions in use (such as ‘iswprint’).
</P></LI>

<LI><P>
The names of ‘quantile()’'s result no longer depend on the global
‘getOption(&quot;digits&quot;)’, but ‘quantile()’ gets a new optional argument
‘digits = 7’ instead.
</P></LI>

<LI><P>
‘grep()’, ‘sub()’, ‘regexp’ and variants work considerably faster for
long factors with few levels.  (Thanks to Michael Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18063">PR#18063</a>.)
</P></LI>

<LI><P>
Provide grouping of ‘x11()’ graphics windows within a window manager
such as ‘Gnome’ or ‘Unity’; thanks to a patch by Ivan Krylov posted to
R-devel.
</P></LI>

<LI><P>
The ‘split()’ method for class ‘data.frame’ now allows the ‘f’ argument
to be specified as a formula.
</P></LI>

<LI><P>
‘sprintf’ now warns on arguments unused by the format string.
</P></LI>

<LI><P>
New palettes ‘&quot;Rocket&quot;’ and ‘&quot;Mako&quot;’ for ‘hcl.colors()’ (approximating
palettes of the same name from the ‘viridisLite’ package).
</P>
<P>
Contributed by Achim Zeileis.
</P></LI>

<LI><P>
The base environment and its namespace are now locked (so one can no
longer add bindings to these or remove from these).
</P></LI>

<LI><P>
‘Rterm’ handling of multi-byte characters has been improved, allowing
use of such characters when supported by the current locale.
</P></LI>

<LI><P>
‘Rterm’ now accepts ‘ALT+ +xxxxxxxx’ sequences to enter Unicode
characters as hex digits.
</P></LI>

<LI><P>
Environment variable ‘LC_ALL’ on Windows now takes precedence over
‘LC_CTYPE’ and variables for other supported categories, matching the
POSIX behaviour.
</P></LI>

<LI><P>
‘duplicated()’ and ‘anyDuplicated()’ are now optimized for integer and
real vectors that are known to be sorted via the ALTREP framework.
Contributed by Gabriel Becker via <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17993">PR#17993</a>.
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Graphics </H4>
<UL>
<LI><P>
The graphics engine version, ‘R_GE_version’, has been bumped to ‘14’
and so packages that provide graphics devices should be reinstalled.
</P></LI>

<LI><P>
Graphics devices should now specify ‘deviceVersion’ to indicate what
version of the graphics engine they support.
</P></LI>

<LI><P>
Graphics devices can now specify ‘deviceClip’.  If ‘TRUE’, the graphics
engine will never perform any clipping of output itself.
</P>
<P>
The clipping that the graphics engine does perform (for both ‘canClip =
TRUE’ and ‘canClip = FALSE’) has been improved to avoid producing
unnecessary artifacts in clipped output.
</P></LI>

<LI><P>
The ‘grid’ package now allows ‘gpar(fill)’ to be a ‘linearGradient()’,
a ‘radialGradient()’, or a ‘pattern()’.  The ‘viewport(clip)’ can now
also be a grob, which defines a clipping path, and there is a new
‘viewport(mask)’ that can also be a grob, which defines a mask.
</P>
<P>
These new features are only supported so far on the Cairo-based
graphics devices and on the ‘pdf()’ device.
</P></LI>

<LI><P>
(Not Windows.)  A warning is given when a Cairo-based type is specified
for a ‘png()’, ‘jpeg()’, ‘tiff()’ or ‘bmp()’ device but Cairo is
unsupported (so ‘type = &quot;Xlib&quot;’ is tried instead).
</P></LI>

<LI><P>
‘grSoftVersion()’ now reports the versions of FreeType and FontConfig
if they are used directly (not _via_ Pango), as is most commonly done
on macOS.
</P></LI>

</UL>
<H4>Changes in R 4.1.0 C-Level Facilities </H4>
<UL>
<LI><P>
The _standalone_ ‘libRmath’ math library and R's C API now provide
‘log1pexp()’ again as documented, and gain ‘log1mexp()’.
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
‘configure’ checks for a program ‘pkgconf’ if program ‘pkg-config’ is
not found.  These are now only looked for on the path (like almost all
other programs) so if needed specify a full path to the command in
‘PKG_CONFIG’, for example in file ‘config.site’.
</P></LI>

<LI><P>
C99 function ‘iswblank’ is required - it was last seen missing ca 2003
so the workaround has been removed.
</P></LI>

<LI><P>
There are new ‘configure’ options ‘--with-internal-iswxxxxx’,
‘--with-internal-towlower’ and ‘--with-internal-wcwidth’ which allows
the system functions for wide-character classification, case-switching
and width (‘wcwidth’ and ‘wcswidth’) to be replaced by internal ones.
The first has long been used on macOS, AIX (and Windows) but this
enables it to be unselected there and selected for other platforms (it
is the new default on Solaris).  The second is new in this version of R
and is selected by default on macOS and Solaris.  The third has long
been the default and remains so as it contains customizations for East
Asian languages.
</P>
<P>
System versions of these functions are often minimally implemented
(sometimes only for ASCII characters) and may not cover the full range
of Unicode points: for example Solaris (and Windows) only cover the
Basic Multilingual Plane.
</P></LI>

<LI><P>
Cairo installations without X11 are more likely to be detected by
‘configure’, when the file-based Cairo graphics devices will be
available but not ‘X11(type = &quot;cairo&quot;)’.
</P></LI>

<LI><P>
There is a new ‘configure’ option ‘--with-static-cairo’ which is the
default on macOS.  This should be used when only static cairo (and
where relevant, Pango) libraries are available.
</P></LI>

<LI><P>
Cairo-based graphics devices on platforms without Pango but with
FreeType/FontConfig will make use of the latter for font selection.
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Link-Time Optimization on a Unix-Alike </H4>
<UL>
<LI><P>
Configuring with flag ‘--enable-lto=R’ now also uses LTO when
installing the recommended packages.
</P></LI>

<LI><P>
‘R CMD INSTALL’ and ‘R CMD SHLIB’ have a new flag ‘--use-LTO’ to use
LTO when compiling code, for use with R configured with
‘--enable-lto=R’.  For R configured with ‘--enable-lto’, they have the
new flag ‘--no-use-LTO’.
</P>
<P>
Packages can opt in or out of LTO compilation _via_ a ‘UseLTO’ field in
the ‘DESCRIPTION’ file.  (As usual this can be overridden by the
command-line flags.)
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Building R on Windows </H4>
<UL>
<LI><P>
for GCC &gt;= 8, ‘FC_LEN_T’ is defined in ‘config.h’ and hence character
lengths are passed from C to Fortran in _inter alia_ BLAS and LAPACK
calls.
</P></LI>

<LI><P>
There is a new text file ‘src/gnuwin32/README.compilation’, which
outlines how C/Fortran code compilation is organized and documents new
features:
</P>
<P>
        • R can be built with Link-Time Optimization with a suitable
          compiler - doing so with GCC 9.2 showed several
          inconsistencies which have been corrected.
</P>
<P>
        • There is support for cross-compiling the C and Fortran code
          in R and standard packages on suitable (Linux) platforms.
          This is mainly intended to allow developers to test later
          versions of compilers - for example using GCC 9.2 or 10.x has
          detected issues that GCC 8.3 in Rtools40 does not.
</P>
<P>
        • There is experimental support for cross-building R packages
          with C, C++ and/or Fortran code.
</P>
<P>
</P></LI>

<LI><P>
The R installer can now be optionally built to support a single
architecture (only 64-bit or only 32-bit).
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Package Installation </H4>
<UL>
<LI><P>
The default C++ standard has been changed to C++14 where available
(which it is on all currently checked platforms): if not (as before)
C++11 is used if available otherwise C++ is not supported.
</P>
<P>
Packages which specify C++11 will still be installed using C++11.
</P>
<P>
C++14 compilers may give deprecation warnings, most often for
‘std::random_shuffle’ (deprecated in C++14 and removed in C++17).
Either specify C++11 (see ‘Writing R Extensions’) or modernize the code
and if needed specify C++14.  The latter has been supported since R
3.4.0 so the package's ‘DESCRIPTION’ would need to include something
like
</P>
<P>
     Depends: R (&gt;= 3.4)
</P>
<P>
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Package Installation on Windows </H4>
<UL>
<LI><P>
‘R CMD INSTALL’ and ‘R CMD SHLIB’ make use of their flag ‘--use-LTO’
when the ‘LTO_OPT’ make macro is set in file ‘etc/${R_ARCH}/Makeconf’
or in a personal/site ‘Makevars’ file.  (For details see ‘Writing R
Extensions’ §4.5.)
</P>
<P>
This provides a valuable check on code consistency.  It does work with
GCC 8.3 as in Rtools40, but that does not detect everything the CRAN
checks with current GCC do.
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Package Installation on macOS </H4>
<UL>
<LI><P>
The default personal library directory on builds with ‘--enable-aqua’
(including CRAN builds) now differs by CPU type, one of
</P>
<P>
      ~/Library/R/x86_64/x.y/library
      ~/Library/R/arm64/x.y/library
</P>
<P>
This uses the CPU type R (and hence the packages) were built for, so
when a ‘x86_64’ build of R is run under Rosetta emulation on an ‘arm64’
Mac, the first is used.
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ can now scan package functions for bogus ‘return’
statements, which were possibly intended as ‘return()’ calls (wish of
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17180">PR#17180</a>, patch by Sebastian Meyer). This check can be activated via
the new environment variable ‘_R_CHECK_BOGUS_RETURN_’, true for
‘--as-cran’.
</P></LI>

<LI><P>
‘R CMD build’ omits tarballs and binaries of previous builds from the
top-level package directory.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17828">PR#17828</a>, patch by Sebastian Meyer.)
</P></LI>

<LI><P>
‘R CMD check’ now runs sanity checks on the use of ‘LazyData’, for
example that a ‘data’ directory is present and that
‘LazyDataCompression’ is not specified without ‘LazyData’ and has a
documented value.  For packages with large LazyData databases without
specifying ‘LazyDataCompression’, there is a reference to the code
given in ‘Writing R Extensions’ §1.1.6 to test the choice of
compression (as in all the CRAN packages tested a non-default method
was preferred).
</P></LI>

<LI><P>
‘R CMD build’ removes ‘LazyData’ and ‘LazyDataCompression’ fields from
the ‘DESCRIPTION’ file of packages without a ‘data’ directory.
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Encoding-Related Changes </H4>
<UL>
<LI><P>
The parser now treats ‘\Unnnnnnnn’ escapes larger than the upper limit
for Unicode points (‘\U10FFFF’) as an error as they cannot be
represented by valid UTF-8.
</P>
<P>
Where such escapes are used for outputting non-printable (including
unassigned) characters, 6 hex digits are used (rather than 8 with
leading zeros).  For clarity, braces are used, for example
‘\U{0effff}’.
</P></LI>

<LI><P>
The parser now looks for non-ASCII spaces on Solaris (as previously on
most other OSes).
</P></LI>

<LI><P>
There are warnings (including from the parser) on the use of unpaired
surrogate Unicode points such as ‘\uD834’.  (These cannot be converted
to valid UTF-8.)
</P></LI>

<LI><P>
Functions ‘nchar()’, ‘tolower()’, ‘toupper()’ and ‘chartr()’ and those
using regular expressions have more support for inputs with a marked
Latin-1 encoding.
</P></LI>

<LI><P>
The character-classification functions used (by default) to replace the
system ‘iswxxxxx’ functions on Windows, macOS and AIX have been updated
to Unicode 13.0.0.
</P>
<P>
The character-width tables have been updated to include new assignments
in Unicode 13.0.0.  This included treating all control characters as
having zero width.
</P></LI>

<LI><P>
The code for evaluating default (extended) regular expressions now uses
the same character-classification functions as the rest of R
(previously they differed on Windows, macOS and AIX).
</P></LI>

<LI><P>
There is a build-time option to replace the system's wide-character
‘wctrans’ C function by tables shipped with R: use ‘configure’ option
‘--with-internal-towlower’ or (on Windows) ‘-DUSE_RI18N_CASE’ in
‘CFLAGS’ when building R.  This may be needed to allow ‘tolower()’ and
‘toupper()’ to work with Unicode characters beyond the Basic
Multilingual Plane where not supported by system functions (e.g. on
Solaris where it is the new default).
</P></LI>

<LI><P>
R is more careful when truncating UTF-8 and other multi-byte strings
that are too long to be printed, passed to the system or libraries or
placed into an internal buffer.  Truncation will no longer produce
incomplete multibyte characters.
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
Function ‘plclust()’ from the package ‘stats’ and
‘package.dependencies()’, ‘pkgDepends()’, ‘getDepList()’,
‘installFoundDepends()’, and ‘vignetteDepends()’ from package ‘tools’
are defunct.
</P></LI>

<LI><P>
Defunct functions ‘checkNEWS()’ and ‘readNEWS()’ from package ‘tools’
and ‘CRAN.packages()’ from ‘utils’ have been removed.
</P></LI>

<LI><P>
‘R CMD config CXXCPP’ is defunct (it was deprecated in R 3.6.2).
</P></LI>

<LI><P>
‘parallel::detectCores()’ drops support for IRIX (retired in 2013).
</P></LI>

<LI><P>
The ‘LINPACK’ argument to ‘chol.default()’, ‘chol2inv()’,
‘solve.default()’ and ‘svd()’ has been defunct since R 3.1.0.  It was
silently ignored up to R 4.0.3 but now gives an error.
</P></LI>

<LI><P>
Subsetting/indexing, such as ‘ddd[*]’ or ‘ddd$x’ on a ‘DOTSXP’
(dot-dot-dot) object ‘ddd’ has been disabled; it worked by accident
only and was undocumented.
</P></LI>

</UL>
<H4>Changes in R 4.1.0 Bug Fixes </H4>
<UL>
<LI><P>
Many more C-level allocations (mainly by ‘malloc’ and ‘strdup’) are
checked for success with suitable alternative actions.
</P></LI>

<LI><P>
Bug fix for ‘replayPlot()’; this was turning off graphics engine
display list recording if a recorded plot was replayed in the same
session.  The impact of the bug became visible if resize the device
after replay OR if attempted another ‘savePlot()’ after replay (empty
display list means empty screen on resize or empty saved plot).
</P></LI>

<LI><P>
‘R CMD check’ etc now warn when a package exports non-existing S4
classes or methods, also in case of no “methods” presence.  (Reported
by Alex Bertram; reproducible example and patch by Sebastian Meyer in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16662">PR#16662</a>.)
</P></LI>

<LI><P>
‘boxplot()’ now also accepts ‘call’s for labels such as ‘ylab’, the
same as ‘plot()’.  (Reported by Marius Hofert.)
</P></LI>

<LI><P>
The help page for ‘xtabs()’ now correctly states that ‘addNA’ is
setting ‘na.action = na.pass’ among others.  (Reported as <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17770">PR#17770</a> by
Thomas Soeiro.)
</P></LI>

<LI><P>
The ‘R CMD check &lt;pkg&gt;’ gives a longer and more comprehensible message
when ‘DESCRIPTION’ misses dependencies, e.g., in ‘Imports:’.  (Thanks
to the contributors of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17179">PR#17179</a>.)
</P></LI>

<LI><P>
‘update.default()’ now calls the generic ‘update()’ on the formula to
work correctly for models with extended formulas.  (As reported and
suggested by Neal Fultz in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17865">PR#17865</a>.)
</P></LI>

<LI><P>
The horizontal position of leaves in a dendrogram is now correct also
with ‘center = FALSE’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14938">PR#14938</a>, patch from Sebastian Meyer.)
</P></LI>

<LI><P>
‘all.equal.POSIXt()’ no longer warns about and subsequently ignores
inconsistent ‘&quot;tzone&quot;’ attributes, but describes the difference in its
return value (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17277">PR#17277</a>).  This check can be disabled _via_ the new
argument ‘check.tzone = FALSE’ as suggested by Sebastian Meyer.
</P></LI>

<LI><P>
‘as.POSIXct()’ now populates the ‘&quot;tzone&quot;’ attribute from its ‘tz’
argument when ‘x’ is a logical vector consisting entirely of ‘NA’
values.
</P></LI>

<LI><P>
‘x[[2^31]] &lt;- v’ now works.  (Thanks to the report and patch by Suharto
Anggono in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17330">PR#17330</a>.)
</P></LI>

<LI><P>
In log-scale graphics, ‘axis()’ ticks and label positions are now
computed more carefully and symmetrically in their range, typically
providing _more_ ticks, fulfilling wishes in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17936">PR#17936</a>.  The change
really corresponds to an improved ‘axisTicks()’ (package ‘grDevices’),
potentially influencing ‘grid’ and ‘lattice’, for example.
</P></LI>

<LI><P>
‘qnorm(&lt;very large negative&gt;, log.p=TRUE)’ is now correct to at least
five digits where it was catastrophically wrong, previously.
</P></LI>

<LI><P>
‘sum(df)’ and similar ‘&quot;Summary&quot;’- and ‘&quot;Math&quot;’-group member functions
now work for data frames ‘df’ with ‘logical’ columns, notably also of
zero rows.  (Reported to R-devel by Martin “b706”.)
</P></LI>

<LI><P>
‘unsplit()’ had trouble with tibbles due to unsound use of ‘rep(NA,
len)’-indexing, which should use ‘NA_integer_’ (Reported to R-devel by
Mario Annau.)
</P></LI>

<LI><P>
‘pnorm(x, log.p = TRUE)’ underflows to ‘-Inf’ slightly later.
</P></LI>

<LI><P>
‘show(&lt;hidden S4 generic&gt;)’ prints better and without quotes for
non-hidden S4 generics.
</P></LI>

<LI><P>
‘read.table()’ and relatives treated an &quot;NA&quot; column name as missing
when ‘check.names = FALSE’ <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18007">PR#18007</a>.
</P></LI>

<LI><P>
Parsing strings containing UTF-16 surrogate pairs such as
‘&quot;\uD834\uDD1E&quot;’ works better on some (uncommon) platforms.
‘sprintf(&quot;%X&quot;, utf8ToInt(&quot;\uD834\uDD1E&quot;))’ should now give ‘&quot;1D11E&quot;’ on
all platforms.
</P></LI>

<LI><P>
‘identical(x,y)’ is no longer true for differing ‘DOTSXP’ objects,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18032">PR#18032</a>.
</P></LI>

<LI><P>
‘str()’ now works correctly for ‘DOTSXP’ and related exotics, even when
these are doomed.
</P>
<P>
Additionally, it no longer fails for ‘list’s with a ‘class’ and
“irregular” method definitions such that e.g. ‘lapply(*)’ will
necessarily fail, as currently for different ‘igraph’ objects.
</P></LI>

<LI><P>
Message translation domains, e.g., for errors and warnings, are now
correctly determined also when e.g., a ‘base’ function is called from
“top-level” function (i.e., defined in ‘globalenv()’), thanks to a
patch from Joris Goosen fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17998">PR#17998</a>.
</P></LI>

<LI><P>
Too long lines in environment files (e.g., ‘Renviron’) no longer crash
R. This limit has been increased to 100,000 bytes.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18001">PR#18001</a>.)
</P></LI>

<LI><P>
There is a further workaround for FreeType giving incorrect italic font
faces with cairo-based graphics devices on macOS.
</P></LI>

<LI><P>
‘add_datalist(*, force = TRUE)’ (from package ‘tools’) now actually
updates an existing ‘data/datalist’ file for new content.  (Thanks to a
report and patch by Sebastian Meyer in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18048">PR#18048</a>.)
</P></LI>

<LI><P>
‘cut.Date()’ and ‘cut.POSIXt()’ could produce an empty last interval
for ‘breaks = &quot;months&quot;’ or ‘breaks = &quot;years&quot;’.  (Reported as <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18053">PR#18053</a>
by Christopher Carbone.)
</P></LI>

<LI><P>
Detection of the encoding of ‘regular’ macOS locales such as ‘en_US’
(which is UTF-8) had been broken by a macOS change: fortunately these
are now rarely used with ‘en_US.UTF-8’ being preferred.
</P></LI>

<LI><P>
‘sub()’ and ‘gsub(pattern, repl, x, *)’ now keep attributes of ‘x’ such
as ‘names()’ also when ‘pattern’ is ‘NA’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18079">PR#18079</a>).
</P></LI>

<LI><P>
Time differences (‘&quot;difftime&quot;’ objects) get a replacement and a ‘rep()’
method to keep ‘&quot;units&quot;’ consistent.  (Thanks to a report and patch by
Nicolas Bennett in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18066">PR#18066</a>.)
</P></LI>

<LI><P>
The \RdOpts macro, setting defaults for \Sexpr options in an Rd file,
had been ineffective since R 2.12.0: it now works again.  (Thanks to a
report and patch by Sebastian Meyer in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18073">PR#18073</a>.)
</P></LI>

<LI><P>
‘mclapply’ and ‘pvec’ no longer accidentally terminate parallel
processes started before by ‘mcparallel’ or related calls in package
‘parallel’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18078">PR#18078</a>).
</P></LI>

<LI><P>
‘grep’ and other functions for evaluating (extended) regular
expressions handle in Unicode also strings not explicitly flagged
UTF-8, but flagged native when running in UTF-8 locale.
</P></LI>

<LI><P>
Fixed a crash in ‘fifo’ implementation on Windows (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18031">PR#18031</a>).
</P></LI>

<LI><P>
Binary mode in ‘fifo’ on Windows is now properly detected from argument
‘open’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15600">PR#15600</a>, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18031">PR#18031</a>).
</P></LI>

</UL>
<H4>Changes in R 4.0.5 Bug Fixes </H4>
<UL>
<LI><P>
The change to the internal table in R 4.0.4 for ‘iswprint’ has been
reverted: it contained some errors in printability of ‘East Asian’
characters.
</P></LI>

<LI><P>
For packages using ‘LazyData’, ‘R CMD build’ ignored the
‘--resave-data’ option and the ‘BuildResaveData’ field of the
‘DESCRIPTION’ file (in R versions 4.0.0 to 4.0.4).
</P></LI>

</UL>
<H4>Changes in R 4.0.4 New Features </H4>
<UL>
<LI><P>
File ‘share/texmf/tex/latex/jss.cls’ has been updated to work with
LaTeX versions since Oct 2020.
</P></LI>

<LI><P>
Unicode character width tables (as used by ‘nchar(, type = &quot;w&quot;)’) have
been updated to Unicode 12.1 by Brodie Gaslam (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17781">PR#17781</a>), including
many emoji.
</P></LI>

<LI><P>
The internal table for ‘iswprint’ (used on Windows, macOS and AIX) has
been updated to include many recent Unicode characters.
</P></LI>

</UL>
<H4>Changes in R 4.0.4 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
If an external BLAS is specified by ‘--with-blas=foo’ or _via_
environment variable ‘BLAS_LIBS’ is not found, this is now a
configuration error.  The previous behaviour was not clear from the
documentation: it was to continue the search as if ‘--with-blas=yes’
was specified.
</P></LI>

</UL>
<H4>Changes in R 4.0.4 Bug Fixes </H4>
<UL>
<LI><P>
‘all.equal(x,y)’ now “sees” the two different ‘NA’s in factors, thanks
to Bill Dunlap and others in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17897">PR#17897</a>.
</P></LI>

<LI><P>
‘(~ NULL)[1]’ and similar formula subsetting now works, thanks to a
report and patch by Henrik Bengtsson in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17935">PR#17935</a>.  Additionally,
subsetting leaving an empty formula now works too, thanks to
suggestions by Suharto Anggono.
</P></LI>

<LI><P>
‘.traceback(n)’ keeps source references again, as before R 4.0.0,
fixing a regression; introduced by the <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17580">PR#17580</a>, reported including two
patch proposals by Brodie Gaslam.
</P></LI>

<LI><P>
‘unlist(plst, recursive=FALSE)’ no longer drops content for pairlists
with list components, thanks to the report and patch by Suharto Anggono
in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17950">PR#17950</a>.
</P></LI>

<LI><P>
‘iconvlist()’ now also works on MUSL based (Linux) systems, from a
report and patch suggestion by Wesley Chan in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17970">PR#17970</a>.
</P></LI>

<LI><P>
‘round()’ and ‘signif()’ no longer tolerate wrong argument names,
notably in 1-argument calls; reported by Shane Mueller on R-devel
(mailing list); later reported as <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17976">PR#17976</a>.
</P></LI>

<LI><P>
‘.Machine’ has ‘longdouble.*’ elements only if
‘capabilities(&quot;long.double&quot;)’ is true, as documented.  (Previously they
were included if the platform had ‘long double’ identical to ‘double’,
as ARM does.)
</P></LI>

<LI><P>
‘p.adjust(numeric(), n=0)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18002">PR#18002</a>.
</P></LI>

<LI><P>
‘identical(x,y)’ no longer prints &quot;Unknown Type ..&quot; for ‘typeof(x) ==
&quot;...&quot;’ objects.
</P></LI>

<LI><P>
Fix (auto-)‘print()’ing of named complex vectors, see <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17868">PR#17868</a> and
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18019">PR#18019</a>.
</P></LI>

<LI><P>
‘all.equal(&lt;language&gt;, &lt;...&gt;)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18029">PR#18029</a>.
</P></LI>

<LI><P>
‘as.data.frame.list(L, row.names=NULL)’ now behaves in line with
‘data.frame()’, disregarding names of components of ‘L’, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18034">PR#18034</a>, reported by Kevin Tappe.
</P></LI>

<LI><P>
‘checkRdaFiles(ff)$version’ is now correct also when ‘ff’ contains
files of different versions, thanks to a report and patch from
Sebastian Meyer in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18041">PR#18041</a>.
</P></LI>

<LI><P>
macOS: Quartz device live drawing could fail (no plot is shown) if the
system changes the drawing context after view update (often the case
since macOS Big Sur). System log may show
&quot;CGContextDelegateCreateForContext: invalid context&quot; error.
</P></LI>

</UL>
<H4>Changes in R 4.0.3 New Features </H4>
<UL>
<LI><P>
On platforms using ‘configure’ option ‘--with-internal-tzcode’,
additional values ‘&quot;internal&quot;’ and (on macOS only) ‘&quot;macOS&quot;’ are
accepted for the environment variable ‘TZDIR’.  (See ‘?TZDIR’.)
</P>
<P>
On macOS, ‘&quot;macOS&quot;’ is used by default if the system timezone database
is a newer version than that in the R installation.
</P></LI>

<LI><P>
When ‘install.packages(type = &quot;source&quot;)’ fails to find a package in a
repository it mentions package versions which are excluded by their R
version requirement and links to hints on why a package might not be
found.
</P></LI>

<LI><P>
The default value for ‘options(&quot;timeout&quot;)’ can be set from environment
variable ‘R_DEFAULT_INTERNET_TIMEOUT’, still defaulting to 60 (seconds)
if that is not set or invalid.
</P>
<P>
This may be needed when child R processes are doing downloads, for
example during the installation of source packages which download jars
or other forms of data.
</P></LI>

</UL>
<H4>Changes in R 4.0.3 Link-Time Optimization on a Unix-Alike </H4>
<UL>
<LI><P>
There is now support for parallelized Link-Time Optimization (LTO) with
GCC and for ‘thin’ LTO with ‘clang’ _via_ setting the ‘LTO’ macro.
</P></LI>

<LI><P>
There is support for setting a different LTO flag for the Fortran
compiler, including to empty when mixing ‘clang’ and ‘gfortran’ (as on
macOS).  See file ‘config.site’.
</P></LI>

<LI><P>
There is a new ‘LTO_LD’ macro to set linker options for LTO
compilation, for example to select an alternative linker or to
parallelize thin LTO.
</P></LI>

</UL>
<H4>Changes in R 4.0.3 Deprecated and Defunct </H4>
<UL>
<LI><P>
The ‘LINPACK’ argument to ‘chol.default()’, ‘chol2inv()’,
‘solve.default()’ and ‘svd()’ has been defunct since R 3.1.0.  Using it
now gives a warning which will become an error in R 4.1.0.
</P></LI>

</UL>
<H4>Changes in R 4.0.3 Bug Fixes </H4>
<UL>
<LI><P>
The code mitigating stack overflow with PCRE regexps on very long
strings is enabled for PCRE2 &lt; 10.30 also when JIT is enabled, since
stack overflows have been seen in that case.
</P></LI>

<LI><P>
Fix to correctly show the group labels in ‘dotchart()’ (which where
lost in the ‘ylab’ improvement for R 4.0.0).
</P></LI>

<LI><P>
‘addmargins(*, ..)’ now also works when ‘fn()’ is a local function,
thanks to bug report and patch <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17124">PR#17124</a> from Alex Bertram.
</P></LI>

<LI><P>
‘rank(x)’ and hence ‘sort(x)’ now work when ‘x’ is an object (as per
‘is.object(x)’) of type ‘&quot;raw&quot;’ _and_ provides a valid ‘`[`’ method,
e.g., for ‘gmp::as.bigz(.)’ numbers.
</P></LI>

<LI><P>
‘chisq.test(*, simulate.p.value=TRUE)’ and ‘r2dtable()’ now work
correctly for large table entries (in the millions).  Reported by
Sebastian Meyer and investigated by more helpers in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16184">PR#16184</a>.
</P></LI>

<LI><P>
Low-level socket read/write operations have been fixed to correctly
signal communication errors. Previously, such errors could lead to a
segfault due to invalid memory access. Reported and debugged by Dmitriy
Selivanov in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17850">PR#17850</a>.
</P></LI>

<LI><P>
‘quantile(x, pr)’ works more consistently for ‘pr’ values slightly
outside [0,1], thanks to Suharto Anggono's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17891">PR#17891</a>.
</P>
<P>
Further, ‘quantile(x, prN, names=FALSE)’ now works even when ‘prN’
contains ‘NA’s, thanks to Anggono's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17892">PR#17892</a>.  Ditto for ordered
factors or ‘Date’ objects when ‘type = 1’ or ‘3’, thanks to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17899">PR#17899</a>.
</P></LI>

<LI><P>
Internet access based on libcurl, including ‘curlGetHeaders()’, was not
respecting the ‘&quot;timeout&quot;’ option.  If this causes unanticipated
timeouts, consider increasing the default by setting
‘R_DEFAULT_INTERNET_TIMEOUT’.
</P></LI>

<LI><P>
‘as.Date(&lt;char&gt;)’ now also works with an initial ‘&quot;&quot;’, thanks to
Michael Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17909">PR#17909</a>.
</P></LI>

<LI><P>
‘isS3stdGeneric(f)’ now detects an S3 generic also when it is
‘trace()’d, thanks to Gabe Becker's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17917">PR#17917</a>.
</P></LI>

<LI><P>
‘R_allocLD()’ has been fixed to return memory aligned for long double
type <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16534">PR#16534</a>.
</P></LI>

<LI><P>
‘fisher.test()’ no longer segfaults when called again after its
internal stack has been exceeded <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17904">PR#17904</a>.
</P></LI>

<LI><P>
Accessing a long vector represented by a compact integer sequence no
longer segfaults (reported and debugged by Hugh Parsonage).
</P></LI>

<LI><P>
‘duplicated()’ now works also for strings with multiple encodings
inside a single vector <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17809">PR#17809</a>.
</P></LI>

<LI><P>
‘phyper(11, 15, 0, 12, log.p=TRUE)’ no longer gives ‘NaN’; reported as
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17271">PR#17271</a> by Alexey Stukalov.
</P></LI>

<LI><P>
Fix incorrect calculation in ‘logLik.nls()’ <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16100">PR#16100</a>, patch from
Sebastian Meyer.
</P></LI>

<LI><P>
A very old bug could cause a segfault in ‘model.matrix()’ when terms
involved logical variables.  Part of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17879">PR#17879</a>.
</P></LI>

<LI><P>
‘model.frame.default()’ allowed ‘data = 1’, leading to involuntary
variable capture (rest of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17879">PR#17879</a>).
</P></LI>

<LI><P>
‘tar()’ no longer skips non-directory files, thanks to a patch by
Sebastian Meyer, fixing the remaining part of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16716">PR#16716</a>.
</P></LI>

</UL>
<H4>Changes in R 4.0.2 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ skips vignette re-building (with a warning) if the
‘VignetteBuilder’ package(s) are not available.
</P></LI>

</UL>
<H4>Changes in R 4.0.2 Bug Fixes </H4>
<UL>
<LI><P>
Paths with non-ASCII characters caused problems for package loading on
Windows <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17833">PR#17833</a>.
</P></LI>

<LI><P>
Using ‘tcltk’ widgets no longer crashes R on Windows.
</P></LI>

<LI><P>
‘source(*, echo=TRUE)’ no longer fails in some cases with empty lines;
reported by Bill Dunlap in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17769">PR#17769</a>.
</P></LI>

<LI><P>
‘on.exit()’ now correctly matches named arguments, thanks to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17815">PR#17815</a>
(including patch) by Brodie Gaslam.
</P></LI>

<LI><P>
‘regexpr(*, perl=TRUE)’ no longer returns incorrect positions into text
containing characters outside of the Unicode Basic Multilingual Plane
on Windows.
</P></LI>

</UL>
<H4>Changes in R 4.0.1 New Features </H4>
<UL>
<LI><P>
‘paste()’ and ‘paste0()’ gain a new optional argument ‘recycle0’.  When
set to true, zero-length arguments are recycled leading to
‘character(0)’ after the ‘sep’-concatenation, i.e., to the empty string
‘&quot;&quot;’ if ‘collapse’ is a string and to the zero-length value
‘character(0)’ when ‘collapse = NULL’.
</P>
<P>
A package whose code uses this should depend on ‘R (&gt;= 4.0.1)’.
</P></LI>

<LI><P>
The ‘summary(&lt;warnings&gt;)’ method now maps the counts correctly to the
warning messages.
</P></LI>

</UL>
<H4>Changes in R 4.0.1 Bug Fixes </H4>
<UL>
<LI><P>
‘aov(frml, ...)’ now also works where the ‘formula’ deparses to more
than 500 characters, thanks to a report and patch proposal by Jan
Hauffa.
</P></LI>

<LI><P>
Fix a dozen places (code, examples) as ‘Sys.setlocale()’ returns the
new rather than the previous setting.
</P></LI>

<LI><P>
Fix for adding two complex ‘grid’ units via ‘sum()’.  Thanks to Gu
Zuguang for the report and Thomas Lin Pedersen for the patch.
</P></LI>

<LI><P>
Fix ‘parallel::mclapply(..., mc.preschedule=FALSE)’ to handle raw
vector results correctly. <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17779">PR#17779</a>
</P></LI>

<LI><P>
Computing the ‘base’ value, i.e., 2, “everywhere”, now uses
‘FLT_RADIX’, as the original ‘machar’ code looped indefinitely on the
ppc64 architecture for the ‘longdouble’ case.
</P></LI>

<LI><P>
In R 4.0.0, ‘sort.list(x)’ when ‘is.object(x)’ was true, e.g., for ‘x
&lt;- I(letters)’, was accidentally using ‘method = &quot;radix&quot;’.
Consequently, e.g., ‘merge(&lt;data.frame&gt;)’ was much slower than
previously; reported in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17794">PR#17794</a>.
</P></LI>

<LI><P>
‘plot(y ~ x, ylab = quote(y[i]))’ now works, as e.g., for ‘xlab’;
related to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=10525">PR#10525</a>.
</P></LI>

<LI><P>
‘parallel::detect.cores(all.tests = TRUE)’ tries a matching OS name
before the other tests (which were intended only for unknown OSes).
</P></LI>

<LI><P>
Parse data for raw strings is now recorded correctly. Reported by Gabor
Csardi.
</P></LI>

</UL>
<H4>Changes in R 4.0.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
Packages need to be (re-)installed under this version (4.0.0) of R.
</P></LI>

<LI><P>
‘matrix’ objects now also inherit from class ‘&quot;array&quot;’, so e.g.,
‘class(diag(1))’ is ‘c(&quot;matrix&quot;, &quot;array&quot;)’.  This invalidates code
incorrectly assuming that ‘class(matrix_obj))’ has length one.
</P>
<P>
S3 methods for class ‘&quot;array&quot;’ are now dispatched for ‘matrix’ objects.
</P></LI>

<LI><P>
There is a new syntax for specifying _raw_ character constants similar
to the one used in C++: ‘r&quot;(...)&quot;’ with ‘...’ any character sequence
not containing the sequence ‘)&quot;’.  This makes it easier to write
strings that contain backslashes or both single and double quotes.  For
more details see ‘?Quotes’.
</P></LI>

<LI><P>
R now uses a ‘stringsAsFactors = FALSE’ default, and hence by default
no longer converts strings to factors in calls to ‘data.frame()’ and
‘read.table()’.
</P>
<P>
A large number of packages relied on the previous behaviour and so have
needed/will need updating.
</P></LI>

<LI><P>
The ‘plot()’ S3 generic function is now in package ‘base’ rather than
package ‘graphics’, as it is reasonable to have methods that do not use
the ‘graphics’ package.  The generic is currently re-exported from the
‘graphics’ namespace to allow packages importing it from there to
continue working, but this may change in future.
</P>
<P>
Packages which define S4 generics for ‘plot()’ should be re-installed
and package code using such generics from other packages needs to
ensure that they are imported rather than rely on their being looked
for on the search path (as in a namespace, the base namespace has
precedence over the search path).
</P></LI>

</UL>
<H4>Changes in R 4.0.0 Reference Counting </H4>
<UL>
<LI><P>
Reference counting is now used instead of the ‘NAMED’ mechanism for
determining when objects can be safely mutated in base C code.  This
reduces the need for copying in some cases and should allow further
optimizations in the future.  It should help make the internal code
easier to maintain.
</P>
<P>
This change is expected to have almost no impact on packages using
supported coding practices in their C/C++ code.
</P></LI>

</UL>
<H4>Changes in R 4.0.0 Migration to PCRE2 </H4>
<UL>
<LI><P>
This version of R is built against the PCRE2 library for Perl-like
regular expressions, if available.  (On non-Windows platforms PCRE1 can
optionally be used if PCRE2 is not available at build time.)  The
version of PCRE in use can be obtained _via_ ‘extSoftVersion()’: PCRE1
(formerly known as ‘PCRE’) has versions &lt;= 8, PCRE2 versions &gt;= 10.
</P></LI>

<LI><P>
Making PCRE2 available when building R from source is strongly
recommended (preferably version 10.30 or later) as PCRE1 is no longer
developed: version 8.44 is ‘likely to be the final release’.
</P></LI>

<LI><P>
PCRE2 reports errors for some regular expressions that were accepted by
PCRE1.  A hyphen now has to be escaped in a character class to be
interpreted as a literal (unless first or last in the class
definition).  ‘\R’, ‘\B’ and ‘\X’ are no longer allowed in character
classes (PCRE1 treated these as literals).
</P></LI>

<LI><P>
Option ‘PCRE_study’ is no longer used with PCRE2, and is reported as
‘FALSE’ when that is in use.
</P></LI>

</UL>
<H4>Changes in R 4.0.0 New Features </H4>
<UL>
<LI><P>
‘assertError()’ and ‘assertWarning()’ (in package ‘tools’) can now
check for _specific_ error or warning classes _via_ the new optional
second argument ‘classes’ (which is not back compatible with previous
use of an unnamed second argument).
</P></LI>

<LI><P>
‘DF2formula()’, the utility for the data frame method of ‘formula()’,
now works without parsing and explicit evaluation, starting from
Suharto Anggono's suggestion in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17555">PR#17555</a>.
</P></LI>

<LI><P>
‘approxfun()’ and ‘approx()’ gain a new argument ‘na.rm’ defaulting to
true.  If set to false, missing ‘y’ values now propagate into the
interpolated values.
</P></LI>

<LI><P>
Long vectors are now supported as the ‘seq’ argument of a ‘for()’ loop.
</P></LI>

<LI><P>
‘str(x)’ gets a new ‘deparse.lines’ option with a default to speed it
up when ‘x’ is a large ‘call’ object.
</P></LI>

<LI><P>
The internal traceback object produced when an error is signalled
(‘.Traceback’), now contains the ‘call’s rather than the _‘deparse()’d_
calls, deferring the deparsing to the user-level functions
‘.traceback()’ and ‘traceback()’.  This fulfils the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17580">PR#17580</a>,
reported including two patch proposals by Brodie Gaslam.
</P></LI>

<LI><P>
‘data.matrix()’ now converts character columns to factors and from this
to integers.
</P></LI>

<LI><P>
‘package.skeleton()’ now explicitly lists all exports in the
‘NAMESPACE’ file.
</P></LI>

<LI><P>
New function ‘.S3method()’ to register S3 methods in R scripts.
</P></LI>

<LI><P>
‘file.path()’ has some support for file paths not in the session
encoding, e.g. with UTF-8 inputs in a non-UTF-8 locale the output is
marked as UTF-8.
</P></LI>

<LI><P>
Most functions with file-path inputs will give an explicit error if a
file-path input in a marked encoding cannot be translated (to the
native encoding or in some cases on Windows to UTF-8), rather than
translate to a different file path using escapes.  Some (such as
‘dir.exists()’, ‘file.exists()’, ‘file.access()’, ‘file.info()’,
‘list.files()’, ‘normalizePath()’ and ‘path.expand()’) treat this like
any other non-existent file, often with a warning.
</P></LI>

<LI><P>
There is a new help document accessed by ‘help(&quot;file path encoding&quot;)’
detailing how file paths with marked encodings are handled.
</P></LI>

<LI><P>
New function ‘list2DF()’ for creating data frames from lists of
variables.
</P></LI>

<LI><P>
‘iconv()’ has a new option ‘sub = &quot;Unicode&quot;’ to translate UTF-8 input
invalid in the ‘to’ encoding using ‘&lt;U+xxxx&gt;’ escapes.
</P></LI>

<LI><P>
There is a new function ‘infoRDS()’ providing information about the
serialization format of a serialized object.
</P></LI>

<LI><P>
S3 method lookup now by default skips the elements of the search path
between the global and base environments.
</P></LI>

<LI><P>
Added an argument ‘add_datalist(*, small.size = 0)’ to allow the
creation of a ‘data/datalist’ file even when the total size of the data
sets is small.
</P></LI>

<LI><P>
The backquote function ‘bquote()’ has a new argument ‘splice’ to enable
splicing a computed list of values into an expression, like ‘,@’ in
LISP's backquote.
</P></LI>

<LI><P>
The formula interface to ‘t.test()’ and ‘wilcox.test()’ has been
extended to handle one-sample and paired tests.
</P></LI>

<LI><P>
The ‘palette()’ function has a new default set of colours (which are
less saturated and have better accessibility properties).  There are
also some new built-in palettes, which are listed by the new
‘palette.pals()’ function.  These include the old default palette under
the name ‘&quot;R3&quot;’. Finally, the new ‘palette.colors()’ function allows a
subset of colours to be selected from any of the built-in palettes.
</P></LI>

<LI><P>
‘n2mfrow()’ gains an option ‘asp = 1’ to specify the aspect ratio,
fulfilling the wish and extending the proposal of Michael Chirico in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17648">PR#17648</a>.
</P></LI>

<LI><P>
For ‘head(x, n)’ and ‘tail()’ the default and other S3 methods notably
for _vector_ ‘n’, e.g. to get a “corner” of a matrix, has been extended
to ‘array’'s of higher dimension thanks to the patch proposal by Gabe
Becker in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17652">PR#17652</a>.  Consequently, optional argument ‘addrownums’ is
deprecated and replaced by the (more general) argument ‘keepnums’.  An
invalid second argument ‘n’ now leads to typically more easily readable
error messages.
</P></LI>

<LI><P>
New function ‘.class2()’ provides the full character vector of class
names used for S3 method dispatch.
</P></LI>

<LI><P>
Printing ‘methods(..)’ now uses a new ‘format()’ method.
</P></LI>

<LI><P>
‘sort.list(x)’ now works for non-atomic objects ‘x’ and ‘method =
&quot;auto&quot;’ (the default) or ‘&quot;radix&quot;’ in cases ‘order(x)’ works, typically
via a ‘xtfrm()’ method.
</P></LI>

<LI><P>
Where they are available, ‘writeBin()’ allows long vectors.
</P></LI>

<LI><P>
New function ‘deparse1()’ produces one string, wrapping ‘deparse()’, to
be used typically in ‘deparse1(substitute(*))’, e.g., to fix <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17671">PR#17671</a>.
</P></LI>

<LI><P>
‘wilcox.test()’ enhancements: In the (non-paired) two-sample case,
‘Inf’ values are treated as very large for robustness consistency.  If
exact computations are used, the result now has ‘&quot;exact&quot;’ in the
‘method’ element of its return value.  New arguments ‘tol.root’ and
‘digits.rank’ where the latter may be used for stability to treat very
close numbers as ties.
</P></LI>

<LI><P>
‘readBin()’ and ‘writeBin()’ now report an error for an invalid
‘endian’ value.  The affected code needs to be fixed with care as the
old undocumented behavior was to swap endianness in such cases.
</P></LI>

<LI><P>
‘sequence()’ is now an S3 generic with an internally implemented
default method, and gains arguments to generate more complex sequences.
Based on code from the ‘S4Vectors’ Bioconductor package and the advice
of Hervé Pagès.
</P></LI>

<LI><P>
‘print()’'s default method and many other methods (by calling the
default eventually and passing ‘...’) now make use of a new optional
‘width’ argument, avoiding the need for the user to set and reset
‘options(&quot;width&quot;)’.
</P></LI>

<LI><P>
‘memDecompress()’ supports the RFC 1952 format (e.g. in-memory copies
of ‘gzip’-compressed files) as well as RFC 1950.
</P></LI>

<LI><P>
‘memCompress()’ and ‘memDecompress()’ support long raw vectors for
types ‘&quot;gzip&quot;’ and ‘&quot;zx&quot;’.
</P></LI>

<LI><P>
‘sweep()’ and ‘slice.index()’ can now use names of dimnames for their
‘MARGIN’ argument (‘apply’ has had this for almost a decade).
</P></LI>

<LI><P>
New function ‘proportions()’ and ‘marginSums()’. These should replace
the unfortunately named ‘prop.table()’ and ‘margin.table()’. They are
drop-in replacements, but also add named-margin functionality. The old
function names are retained as aliases for back-compatibility.
</P></LI>

<LI><P>
Functions ‘rbinom()’, ‘rgeom()’, ‘rhyper()’, ‘rpois()’, ‘rnbinom(),’
‘rsignrank()’ and ‘rwilcox()’ which have returned integer since R 3.0.0
and hence ‘NA’ when the numbers would have been outside the integer
range, now return double vectors (without NAs, typically) in these
cases.
</P></LI>

<LI><P>
‘matplot(x,y)’ (and hence ‘matlines()’ and ‘matpoints()’) now call the
corresponding methods of ‘plot()’ and ‘lines()’, e.g, when ‘x’ is a
‘&quot;Date&quot;’ or ‘&quot;POSIXct&quot;’ object; prompted by Spencer Graves' suggestion.
</P></LI>

<LI><P>
‘stopifnot()’ now allows customizing error messages via argument names,
thanks to a patch proposal by Neal Fultz in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17688">PR#17688</a>.
</P></LI>

<LI><P>
‘unlink()’ gains a new argument ‘expand’ to disable wildcard and tilde
expansion.  Elements of ‘x’ of value ‘&quot;~&quot;’ are now ignored.
</P></LI>

<LI><P>
‘mle()’ in the ‘stats4’ package has had its interface extended so that
arguments to the negative log-likelihood function can be one or more
vectors, with similar conventions applying to bounds, start values, and
parameter values to be kept fixed.  This required a minor extension to
class ‘&quot;mle&quot;’, so saved objects from earlier versions may need to be
recomputed.
</P></LI>

<LI><P>
The default for ‘pdf()’ is now ‘useDingbats = FALSE’.
</P></LI>

<LI><P>
The default fill colour for ‘hist()’ and ‘boxplot()’ is now ‘col =
&quot;lightgray&quot;’.
</P></LI>

<LI><P>
The default order of the levels on the y-axis for ‘spineplot()’ and
‘cdplot()’ has been reversed.
</P></LI>

<LI><P>
If the ‘R_ALWAYS_INSTALL_TESTS’ environment variable is set to a true
value, ‘R CMD INSTALL’ behaves as if the ‘--install-tests’ option is
always specified. Thanks to Reinhold Koch for the suggestion.
</P></LI>

<LI><P>
New function ‘R_user_dir()’ in package ‘tools’ suggests paths
appropriate for storing R-related user-specific data, configuration and
cache files.
</P></LI>

<LI><P>
‘capabilities()’ gains a new logical option ‘Xchk’ to avoid warnings
about X11-related capabilities.
</P></LI>

<LI><P>
The internal implementation of ‘grid’ units has changed, but the only
visible effects at user-level should be
</P>
<P>
        • a slightly different print format for some units (especially
          unit arithmetic),
</P>
<P>
        • faster performance (for unit operations) and
</P>
<P>
        • two new functions ‘unitType()’ and ‘unit.psum()’.
</P>
<P>
Based on code contributed by Thomas Lin Pedersen.
</P></LI>

<LI><P>
When internal dispatch for ‘rep.int()’ and ‘rep_len()’ fails, there is
an attempt to dispatch on the equivalent call to ‘rep()’.
</P></LI>

<LI><P>
Object ‘.Machine’ now contains new ‘longdouble.*’ entries (when R uses
long doubles internally).
</P></LI>

<LI><P>
‘news()’ has been enhanced to cover the news on R 3.x and 2.x.
</P></LI>

<LI><P>
For consistency, ‘N &lt;- NULL; N[[1]] &lt;- val’ now turns ‘N’ into a ‘list’
also when ‘val)’ has length one.  This enables ‘dimnames(r1)[[1]] &lt;-
&quot;R1&quot;’ for a 1-row matrix ‘r1’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17719">PR#17719</a> reported by Serguei
Sokol.
</P></LI>

<LI><P>
‘deparse(..)’, ‘dump(..)’, and ‘dput(x, control = &quot;all&quot;)’ now include
control option ‘&quot;digits17&quot;’ which typically ensures 1:1 invertibility.
New option ‘control = &quot;exact&quot;’ ensures numeric exact invertibility via
‘&quot;hexNumeric&quot;’.
</P></LI>

<LI><P>
When loading data sets via ‘read.table()’, ‘data()’ now uses
‘LC_COLLATE=C’ to ensure locale-independent results for possible
string-to-factor conversions.
</P></LI>

<LI><P>
A server socket connection, a new connection type representing a
listening server socket, is created via ‘serverSocket()’ and can accept
multiple socket connections via ‘socketAccept()’.
</P></LI>

<LI><P>
New function ‘socketTimeout()’ changes the connection timeout of a
socket connection.
</P></LI>

<LI><P>
The time needed to start a homogeneous ‘PSOCK’ cluster on ‘localhost’
with many nodes has been significantly reduced (package ‘parallel’).
</P></LI>

<LI><P>
New ‘globalCallingHandlers()’ function to establish global condition
handlers.  This allows registering default handlers for specific
condition classes. Developed in collaboration with Lionel Henry.
</P></LI>

<LI><P>
New function ‘tryInvokeRestart()’ to invoke a specified restart if one
is available and return without signaling an error if no such restart
is found.  Contributed by Lionel Henry in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17598">PR#17598</a>.
</P></LI>

<LI><P>
‘str(x)’ now shows the length of ‘attributes’ in some cases for a data
frame ‘x’.
</P></LI>

<LI><P>
‘Rprof()’ gains a new argument ‘filter.callframes’ to request that
intervening call frames due to lazy evaluation or explicit ‘eval()’
calls be omitted from the recorded profile data.  Contributed by Lionel
Henry in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17595">PR#17595</a>.
</P></LI>

<LI><P>
The handling of ‘${FOO-bar}’ and ‘${FOO:-bar}’ in ‘Renviron’ files now
follows POSIX shells (at least on a Unix-alike), so the first treats
empty environment variables as set and the second does not.  Previously
both ignored empty variables.  There are several uses of the first form
in ‘etc/Renviron’.
</P></LI>

<LI><P>
New ‘classes’ argument for ‘suppressWarnings()’ and
‘suppressMessages()’ to selectively suppress only warnings or messages
that inherit from particular classes.  Based on patch from Lionel Henry
submitted with <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17619">PR#17619</a>.
</P></LI>

<LI><P>
New function ‘activeBindingFunction()’ retrieves the function of an
active binding.
</P></LI>

<LI><P>
New ‘&quot;cairoFT&quot;’ and ‘&quot;pango&quot;’ components in the output of
‘grSoftVersion()’.
</P></LI>

<LI><P>
New argument ‘symbolfamily’ in cairo-based graphics devices and new
function ‘cairoSymbolFont()’ that can be used to provide the value for
that argument.
</P></LI>

</UL>
<H4>Changes in R 4.0.0 Windows </H4>
<UL>
<LI><P>
‘Rterm’ now works also when invoked from MSYS2 terminals.  Line editing
is possible when command ‘winpty’ is installed.
</P></LI>

<LI><P>
‘normalizePath()’ now resolves symbolic links and normalizes case of
long names of path elements in case-insensitive folders (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17165">PR#17165</a>).
</P></LI>

<LI><P>
‘md5sum()’ supports UTF-8 file names with characters that cannot be
translated to the native encoding (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17633">PR#17633</a>).
</P></LI>

<LI><P>
‘Rterm’ gains a new option ‘--workspace’ to specify the workspace to be
restored.  This allows equals to be part of the name when opening _via_
Windows file associations (reported by Christian Asseburg).
</P></LI>

<LI><P>
‘Rterm’ now accepts ‘ALT+xxx’ sequences also with NumLock on.  Tilde
can be pasted with an Italian keyboard (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17679">PR#17679</a>).
</P></LI>

<LI><P>
R falls back to copying when junction creation fails during package
checking (patch from Duncan Murdoch).
</P></LI>

</UL>
<H4>Changes in R 4.0.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
Make macro ‘F77_VISIBILITY’ has been removed and replaced by
‘F_VISIBILITY’.
</P></LI>

<LI><P>
Make macros ‘F77’, ‘FCPIFCPLAGS’ and ‘SHLIB_OPENMP_FCFLAGS’ have been
removed and replaced by ‘FC’, ‘FPICFLAGS’ and ‘SHLIB_OPENMP_FFLAGS’
respectively.  (Most ‘make’ programs will set ‘F77’ to the value of
‘FC’, which is set for package compilation.  But portable code should
not rely on this.)
</P></LI>

<LI><P>
The deprecated support for specifying C++98 for package installation
has been removed.
</P></LI>

<LI><P>
‘R CMD config’ no longer knows about the unused settings ‘F77’ and
‘FCPIFCPLAGS’, nor ‘CXX98’ and similar.
</P></LI>

<LI><P>
Either PCRE2 or PCRE1 &gt;= 8.32 (Nov 2012) is required: the deprecated
provision for 8.20-8.31 has been removed.
</P></LI>

<LI><P>
Defunct functions ‘mem.limits()’, ‘.readRDS()’, ‘.saveRDS()’,
‘.find.package()’, and ‘.path.package()’ from package ‘base’ and
‘allGenerics()’, ‘getAccess()’, ‘getAllMethods()’, ‘getClassName()’,
‘getClassPackage()’, ‘getExtends()’, ‘getProperties()’,
‘getPrototype()’, ‘getSubclasses()’, ‘getVirtual()’, ‘mlistMetaName()’,
‘removeMethodsObject()’, ‘seemsS4Object()’, ‘traceOff()’, and
‘traceOn()’ from ‘methods’ have been removed.
</P></LI>

</UL>
<H4>Changes in R 4.0.0 C-Level Facilities </H4>
<UL>
<LI><P>
‘installChar’ is now remapped in ‘Rinternals.h’ to ‘installTrChar’, of
which it has been a wrapper since R 3.6.0.  Neither are part of the
API, but packages using ‘installChar’ can replace it if they depend on
‘R &gt;= 3.6.2’.
</P></LI>

<LI><P>
Header ‘R_ext/Print.h’ defines ‘R_USE_C99_IN_CXX’ and hence exposes
‘Rvprintf’ and ‘REvprintf’ if used with a C++11 (or later) compiler.
</P></LI>

<LI><P>
There are new Fortran subroutines ‘dblepr1’, ‘realpr1’ and ‘intpr1’ to
print a scalar variable (‘gfortran’ 10 enforces the distinction between
scalars and length-one arrays).  Also ‘labelpr’ to print just a label.
</P></LI>

<LI><P>
‘R_withCallingErrorHandler’ is now available for establishing a calling
handler in C code for conditions inheriting from class ‘error’.
</P></LI>

</UL>
<H4>Changes in R 4.0.0 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
User-set ‘DEFS’ (e.g., in ‘config.site’) is now used for compiling
packages (including base packages).
</P></LI>

<LI><P>
There is a new variant option ‘--enable-lto=check’ for checking
consistency of BLAS/LAPACK/LINPACK calls - see ‘Writing R Extensions’.
</P></LI>

<LI><P>
A C++ compiler default is set only if the C++11 standard is supported:
it no longer falls back to C++98.
</P></LI>

<LI><P>
PCRE2 is used if available.  To make use of PCRE1 if PCRE2 is
unavailable, configure with option ‘--with-pcre1’.
</P></LI>

<LI><P>
The minimum required version of ‘libcurl’ is now 7.28.0 (Oct 2012).
</P></LI>

<LI><P>
New make target ‘distcheck’ checks
</P>
<P>
        • R can be rebuilt from the tarball created by ‘make dist’,
</P>
<P>
        • the build from the tarball passes ‘make check-all’,
</P>
<P>
        • the build installs and uninstalls,
</P>
<P>
        • the source files are properly cleaned by ‘make distclean’.
</P>
<P>
</P></LI>

</UL>
<H4>Changes in R 4.0.0 Utilities </H4>
<UL>
<LI><P>
‘R --help’ now mentions the option ‘--no-echo’ (renamed from ‘--slave’)
and its previously undocumented short form ‘-s’.
</P></LI>

<LI><P>
‘R CMD check’ now optionally checks ‘configure’ and ‘cleanup’ scripts
for non-Bourne-shell code (‘bashisms’).
</P></LI>

<LI><P>
‘R CMD check --as-cran’ now runs \donttest examples (which are run by
‘example()’) instead of instructing the tester to do so.  This can be
temporarily circumvented during development by setting environment
variable ‘_R_CHECK_DONTTEST_EXAMPLES_’ to a false value.
</P></LI>

</UL>
<H4>Changes in R 4.0.0 Package Installation </H4>
<UL>
<LI><P>
There is the beginnings of support for the recently approved C++20
standard, specified analogously to C++14 and C++17.  There is currently
only limited support for this in compilers, with flags such as
‘-std=c++20’ and ‘-std=c++2a’.  For the time being the ‘configure’ test
is of accepting one of these flags and compiling C++17 code.
</P></LI>

</UL>
<H4>Changes in R 4.0.0 Bug Fixes </H4>
<UL>
<LI><P>
‘formula(x)’ with ‘length(x) &gt; 1’ character vectors, is deprecated now.
Such use has been rare, and has ‘worked’ as expected in some cases
only.  In other cases, wrong ‘x’ have silently been truncated, not
detecting previous errors.
</P></LI>

<LI><P>
Long-standing issue where the X11 device could lose events shortly
after startup has been addressed (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16702">PR#16702</a>).
</P></LI>

<LI><P>
The ‘data.frame’ method for ‘rbind()’ no longer drops ‘&lt;NA&gt;’ levels
from factor columns by default (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17562">PR#17562</a>).
</P></LI>

<LI><P>
‘available.packages()’ and hence ‘install.packages()’ now pass their
‘...’ argument to ‘download.file()’, fulfilling the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17532">PR#17532</a>;
subsequently, ‘available.packages()’ gets new argument ‘quiet’, solving
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17573">PR#17573</a>.
</P></LI>

<LI><P>
‘stopifnot()’ gets new argument ‘exprObject’ to allow an R object of
class ‘expression’ (or other ‘language’) to work more consistently,
thanks to suggestions by Suharto Anggono.
</P></LI>

<LI><P>
‘conformMethod()’ now works correctly in cases containing a “‘&amp;&amp;’
logic” bug, reported by Henrik Bengtsson.  It now creates methods with
‘&quot;missing&quot;’ entries in the signature.  Consequently,
‘rematchDefinition()’ is amended to use appropriate ‘.local()’ calls
with named arguments where needed.
</P></LI>

<LI><P>
‘format.default(*, scientific = FALSE)’ now corresponds to a
practically most extreme ‘options(scipen = n)’ setting rather than
arbitrary ‘n = 100’.
</P></LI>

<LI><P>
‘format(as.symbol(&quot;foo&quot;))’ now works (returning ‘&quot;foo&quot;’).
</P></LI>

<LI><P>
‘postscript(.., title = *)’ now signals an error when the title string
contains a character which would produce corrupt PostScript, thanks to
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17607">PR#17607</a> by Daisuko Ogawa.
</P></LI>

<LI><P>
Certain ‘Ops’ (notably comparison such as ‘==’) now also work for
0-length data frames, after reports by Hilmar Berger.
</P></LI>

<LI><P>
‘methods(class = class(glm(..)))’ now warns more usefully and only
once.
</P></LI>

<LI><P>
‘write.dcf()’ no longer mangles field names (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17589">PR#17589</a>).
</P></LI>

<LI><P>
Primitive replacement functions no longer mutate a referenced first
argument when used outside of a complex assignment context.
</P></LI>

<LI><P>
A better error message for ‘contour(*, levels = Inf)’.
</P></LI>

<LI><P>
The return value of ‘contourLines()’ is no longer ‘invisible()’.
</P></LI>

<LI><P>
The Fortran code for calculating the ‘coefficients’ component in
‘lm.influence()’ was very inefficient. It has (for now) been replaced
with much faster R code (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17624">PR#17624</a>).
</P></LI>

<LI><P>
‘cm.colors(n)’ _etc_ no longer append the code for ‘alpha = 1’, ‘&quot;FF&quot;’,
to all colors.  Hence all eight ‘*.colors()’ functions and ‘rainbow()’
behave consistently and have the same non-explicit default (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17659">PR#17659</a>).
</P></LI>

<LI><P>
‘dnorm’ had a problematic corner case with ‘sd == -Inf’ or negative
‘sd’ which was not flagged as an error in all cases. Thanks to Stephen
D. Weigand for reporting and Wang Jiefei for analyzing this; similar
change has been made in ‘dlnorm()’.
</P></LI>

<LI><P>
The optional ‘iter.smooth’ argument of ‘plot.lm()’, (the ‘plot()’
method for ‘lm’ and ‘glm’ fits) now defaults to ‘0’ for all ‘glm’ fits.
Especially for binary observations with high or low fitted
probabilities, this effectively deleted all observations of 1 or 0.
Also, the type of residuals used in the ‘glm’ case has been switched to
‘&quot;pearson&quot;’ since deviance residuals do not in general have
approximately zero mean.
</P></LI>

<LI><P>
In ‘plot.lm’, Cook's distance was computed from unweighted residuals,
leading to inconsistencies.  Replaced with usual weighted version.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16056">PR#16056</a>)
</P></LI>

<LI><P>
Time-series ‘ts(*, start, end, frequency)’ with fractional ‘frequency’
are supported more consistently; thanks to a report from Johann
Kleinbub and analysis and patch by Duncan Murdoch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17669">PR#17669</a>.
</P></LI>

<LI><P>
In case of errors ‘mcmapply()’ now preserves attributes of returned
‘&quot;try-error&quot;’ objects and avoids simplification, overriding ‘SIMPLIFY’
to ‘FALSE’. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17653">PR#17653</a>)
</P></LI>

<LI><P>
‘as.difftime()’ gets new optional ‘tz = &quot;UTC&quot;’ argument which should
fix behaviour during daylight-savings-changeover days, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16764">PR#16764</a>,
thanks to proposals and analysis by Johannes Ranke and Kirill Müller.
</P></LI>

<LI><P>
‘round()’ does a better job of rounding _“to nearest”_ by _measuring_
and _“to even”_; thanks to a careful algorithm originally prompted by
the report from Adam Wheeler and then others, in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17668">PR#17668</a>.
‘round(x, dig)’ for _negative_ digits is much more rational now,
notably for large |dig|.
</P></LI>

<LI><P>
Inheritance information on S4 classes is maintained more consistently,
particularly in the case of class unions (in part due to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17596">PR#17596</a> and a
report from Ezra Tucker).
</P></LI>

<LI><P>
‘is()’ behaves more robustly when its argument ‘class2’ is a
‘classRepresentation’ object.
</P></LI>

<LI><P>
The warning message when attempting to export an nonexistent class is
now more readable; thanks to Thierry Onkelinx for recognizing the
problem.
</P></LI>

<LI><P>
‘choose()’ misbehaved in corner cases where it switched ‘n - k’ for ‘k’
and ‘n’ was only _nearly_ integer (report from Erik Scott Wright).
</P></LI>

<LI><P>
‘mle()’ in the ‘stats4’ package had problems combining use of box
constraints and fixed starting values (in particular, confidence
intervals were affected).
</P></LI>

<LI><P>
Operator ‘?’ now has lower precedence than ‘=’ to work as documented,
so ‘=’ behaves like ‘&lt;-’ in help expressions (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16710">PR#16710</a>).
</P></LI>

<LI><P>
‘smoothEnds(x)’ now returns ‘integer’ type in _both_ cases when ‘x’ is
‘integer’, thanks to a report and proposal by Bill Dunlap <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17693">PR#17693</a>.
</P></LI>

<LI><P>
The ‘methods’ package does a better job of tracking inheritance
relationships across packages.
</P></LI>

<LI><P>
‘norm(diag(c(1, NA)), &quot;2&quot;)’ now works.
</P></LI>

<LI><P>
‘subset()’ had problems with 0-col dataframes (reported by Bill Dunlap,
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17721">PR#17721</a>).
</P></LI>

<LI><P>
Several cases of integer overflow detected by the ‘undefined behaviour
sanitizer’ of ‘clang’ 10 have been circumvented.  One in ‘rhyper()’ may
change the generated value for large input values.
</P></LI>

<LI><P>
‘dotchart()’ now places the y-axis label (‘ylab’) much better, not
overplotting labels, thanks to a report and suggestion by Alexey
Shipunov.
</P></LI>

<LI><P>
A rare C-level array overflow in ‘chull()’ has been worked around.
</P></LI>

<LI><P>
Some invalid specifications of the day-of-the-year (_via_ ‘%j’, e.g.
day 366 in 2017) or week plus day-of-the-week are now detected by
‘strptime()’.  They now return ‘NA’ but give a warning as they may have
given random results or corrupted memory in earlier versions of R.
</P></LI>

<LI><P>
‘socketConnection(server = FALSE)’ now respects the connection timeout
also on Linux.
</P></LI>

<LI><P>
‘socketConnection(server = FALSE)’ no longer leaks a connection that is
available right away without waiting (e.g. on ‘localhost’).
</P></LI>

<LI><P>
Socket connections are now robust against spurious readability and
spurious availability of an incoming connection.
</P></LI>

<LI><P>
‘blocking = FALSE’ is now respected also on the server side of a socket
connection, allowing non-blocking read operations.
</P></LI>

<LI><P>
‘anova.glm()’ and ‘anova.glmlist()’ computed incorrect score (Rao)
tests in no-intercept cases. (André Gillibert, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17735">PR#17735</a>)
</P></LI>

<LI><P>
‘summaryRprof()’ now should work correctly for the ‘Rprof(*,
memory.profiling=TRUE)’ case with small chunk size (and ‘&quot;tseries&quot;’ or
similar) thanks to a patch proposal by Benjamin Tyner, in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15886">PR#15886</a>.
</P></LI>

<LI><P>
‘xgettext()’ ignores strings passed to ‘ngettext()’, since the latter
is handled by ‘xngettext()’. Thanks to Daniele Medri for the report and
all the recent work he has done on the Italian translations.
</P></LI>

<LI><P>
‘data(package = &quot;P&quot;)’ for ‘P’ in ‘base’ and ‘stats’ no longer reports
the data sets from package ‘datasets’ (which it did for back
compatibility for 16 years), fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17730">PR#17730</a>.
</P></LI>

<LI><P>
‘x[[Inf]]’ (returning ‘NULL’) no longer leads to undefined behavior,
thanks to a report by Kirill Müller in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17756">PR#17756</a>.  Further, ‘x[[-Inf]]’
and ‘x[[-n]]’ now give more helpful error messages.
</P></LI>

<LI><P>
‘Gamma()’ family sometimes had trouble storing link name <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15891">PR#15891</a>
</P></LI>

</UL>
<H4>Changes in R 4.0.0 Bug Fixes (Windows) </H4>
<UL>
<LI><P>
‘Sys.glob()’ now supports all characters from the Unicode Basic
Multilingual Plane, no longer corrupting some (less commonly used)
characters (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17638">PR#17638</a>).
</P></LI>

<LI><P>
‘Rterm’ now correctly displays multi-byte-coded characters
representable in the current native encoding (at least on Windows 10
they were sometimes omitted, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17632">PR#17632</a>).
</P></LI>

<LI><P>
‘scan()’ issues with UTF-8 data when running in a DBCS locale have been
resolved (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16520">PR#16520</a>, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16584">PR#16584</a>).
</P></LI>

<LI><P>
‘Rterm’ now accepts enhanced/arrow keys also with ConPTY.
</P></LI>

<LI><P>
R can now be started _via_ the launcher icon in a user documents
directory whose path is not representable in the system encoding.
</P></LI>

<LI><P>
‘socketConnection(server = FALSE)’ now returns instantly also on
Windows when connection failure is signalled.
</P></LI>

<LI><P>
Problems with UTF-16 surrogate pairs have been fixed in several
functions, including ‘tolower()’ and ‘toupper()’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17645">PR#17645</a>).
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-03-21</title>
<pubDate>Sat, 21 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/21#n2026-03-21</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/21#n2026-03-21</guid>
<description><![CDATA[<H4>CHANGES IN R-devel Significant User-Visible Changes </H4>
<UL>
<LI><P>
The R citation now provides a DOI (10.32614/R.manuals): please update
your bibliographies accordingly.
</P></LI>

<LI><P>
The default C++ standard has been changed to C++20 where available
(which it is on all known platforms from 2021 on): if not C++17 is used
if available otherwise C++ is not supported (as before).
</P>
<P>
(GCC 16 has also switched to C++20 as its default.)
</P>
<P>
Packages can request C++17 if essential.
</P></LI>

</UL>
<H4>CHANGES IN R-devel New Features </H4>
<UL>
<LI><P>
The default ‘AIC’ and ‘BIC’ methods now check whether the ‘methods’
namespace is loaded rather than ‘stats4’. They still use
‘stats4::logLik’ (and ‘stats4::nobs’), but packages no longer need to
load ‘stats4’ explicitly.
</P></LI>

<LI><P>
‘confint.default()’ now also works on S4 objects, as long as suitable
‘coef()’ and ‘vcov()’ methods exist.
</P></LI>

<LI><P>
‘binomial(identity)’ and ‘quasibinomial(identity)’ now work without
having to quote the argument.
</P></LI>

<LI><P>
‘str()’ now shows more via ‘format()’ for external pointers.
</P></LI>

<LI><P>
‘terms(&lt;formula&gt;, specials = *)’ now treats non-syntactic specials more
gracefully, thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18568">PR#18568</a>.
</P></LI>

<LI><P>
‘help.start()’ gets a ‘lib.loc’ option and its default for
‘make.packages.html()’ is enhanced to allow, e.g., fast access to
‘.Library’ when that contains only base and recommended packages.
</P></LI>

<LI><P>
In ‘*.Rd’ help files, the \linkS4class macro now also works for links
to other packages via \linkS4class[&lt;pkg&gt;]{&lt;myClass&gt;}, much nicer than
the “workaround” \link[&lt;pkg&gt;:&lt;myClass&gt;-class]{&lt;myClass&gt;} necessary in
earlier versions of R.
</P>
<P>
Packages with the new syntax need to formally depend on ‘R &gt;= 4.6.0’.
</P></LI>

<LI><P>
‘tools::analyze_license()’ now also computes SPDX license identifiers,
thanks to Thierry Onkelinx and LLuís Revilla.
</P></LI>

<LI><P>
‘read.dcf()’ now recognizes lines starting with ‘#’ as comment lines.
By Dirk Eddelbuettel, Laurent Gatto and Hugo Gruson.
</P></LI>

<LI><P>
‘tcltk::tclVersion()’ now only optionally includes the ‘patch level’,
as Tcl full versions can be of the form ‘8.7a5’ or ‘9.0b1’ without
three clear components.
</P></LI>

<LI><P>
‘untar(tar = &quot;internal&quot;)’ supports ‘extras = &quot;-P&quot;’ to use unchanged the
recorded file paths (as many external ‘tar’ programs do).
</P></LI>

<LI><P>
‘extSoftVersion()[[&quot;zstd&quot;]]’ now reports the version of the ‘zstd’
compression library if available, thanks to Trevor Davis' patch
proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18914">PR#18914</a>.
</P></LI>

<LI><P>
New logical ‘option()’ ‘quiet’, defaulting to false, set to ‘TRUE’ by
R's command-line option ‘--quiet’ (and similar), now can be switched
during an R session.  Prompted by Dirk Eddelbuettel's proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18913">PR#18913</a>.
</P></LI>

<LI><P>
Credentials for basic HTTP authentication with download method
‘&quot;libcurl&quot;’ can now be provided in a ‘netrc’ file.  The path to the
file can be specified in ‘options(&quot;netrc&quot;)’.
</P></LI>

<LI><P>
‘tools::deparseLatex()’ gains a ‘math’ argument, now used by the
default ‘bibstyle’ to format ‘bibentry()’ fields with ‘$...$’ syntax
via Rd \eqn markup.
</P></LI>

<LI><P>
‘gzcon()’ can now decompress a concatenation of compressed streams
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18887">PR#18887</a>.
</P></LI>

<LI><P>
Bibliographic citations and references in Rd files can now be
auto-generated from bibentries in bibliographic databases in R or
BibTeX formats.  See
‘RShowDoc(&quot;R-exts#Bibliographic-citations-and-references&quot;)’ for more
information.
</P></LI>

<LI><P>
Arguments to ‘loadNamespace()’ which will be ignored because the
namespace is already loaded are now noted.
</P></LI>

<LI><P>
‘chkDots()’' optional argument ‘allowed’ has been implemented thanks to
Trevor Davis' proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18936">PR#18936</a>.
</P></LI>

<LI><P>
‘wilcox.test()’ can now perform exact (conditional) inference in case
of ties.  Based on contributions by Torsten Hothorn.
</P></LI>

<LI><P>
‘wilcox.test()’ can now optionally compute improved asymptotic p-values
by including up to 3 correction terms of the Edgeworth series for the
normal approximation.
</P></LI>

<LI><P>
‘barplot(.., orderH = *)’ for stacked bar plots allows to sort the
stacks each according to size.
</P></LI>

<LI><P>
New argument ‘panel.first’ for ‘hist()’ (via ‘plot.histogram()’),
‘barplot()’, ‘bxp()’, and hence implicitly ‘boxplot()’.  All except the
former also gain a new ‘panel.last’.  Suggested by Marieke Stolte and
Julian Welz.
</P></LI>

<LI><P>
‘plot.default()’ gets a new switch ‘lim2’ to indicate that the default
‘xlim’ and ‘ylim’ range computations only use _jointly_ finite x- and
y-values; indirectly suggested in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=7986">PR#7986</a> by Jincai Jiang.
</P></LI>

<LI><P>
‘Rman.css’, the stylesheet for the ‘texi2any’-generated HTML versions
of the R manuals, was improved following joint efforts at the ‘R Dev
Days’ of useR! 2024 and RSECon25.
</P></LI>

<LI><P>
New system Rd macro ‘\manual{&lt;name&gt;}{&lt;node&gt;}’ to refer to a specific
section _etc_ (possibly empty, for ‘Top’) of one of the R manuals
(e.g., ‘R-exts’).
</P></LI>

<LI><P>
‘list.files()’ now has optional argument ‘fixed’ to allow literal
pattern matching.  Suggested and implemented by Duncan Murdoch in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18925">PR#18925</a>.
</P></LI>

<LI><P>
‘substring(txt, i1, i2)’, ‘substr(..)’ and their replacement versions
now accept ‘i2 = NULL’ to mean “to the end_of_string”, thus fulfilling
Kevin Ushey (and others') suggestions in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18851">PR#18851</a>.
</P></LI>

<LI><P>
The default method for ‘pretty()’ gets a new switch ‘bounds’ for
completeness, corresponding to ‘.pretty()’.  Also, it now catches typos
such as ‘eps.corrected = 2’, noted in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18521">PR#18521</a> by Mikko Korpela.
</P></LI>

<LI><P>
Plain-text help now renders Rd \describe lists using line breaks after
item labels.  Set ‘tools::Rd2txt_options(descStyle=NULL)’ to get the
old behaviour with a simple space; a ‘&quot;colon&quot;’ variant is also
available.
</P></LI>

<LI><P>
‘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.
</P></LI>

<LI><P>
The default method of ‘sequence()’ gets a new option ‘recycle’ to swap
between current (not fully recycling) and future behaviour where all
three of ‘(nvec, from, by)’ are jointly recycled.
</P></LI>

<LI><P>
‘ftable()’s default method and the ‘as.table()’ method for ‘&quot;ftable&quot;’s
get a ‘perm’ argument with back compatible default.  The ‘as.table()’
method also gets a ‘named.dim = FALSE’ switch, no longer creating a
named ‘dim(&lt;result&gt;)’ by default.
</P></LI>

<LI><P>
‘match.arg()’ gets a new option ‘several.ok = &quot;all&quot;’, fulfilling the
wish of Jim Hester in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16659">PR#16659</a>.
</P></LI>

<LI><P>
‘provideDimnames()’ gets new switch ‘use.names’, as proposed including
patch by Mikael Jagan, in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18975">PR#18975</a>.
</P></LI>

<LI><P>
The default ‘summary()’ is more informative for character vectors,
optionally resorting to the factor method via the new argument
‘character.method = &quot;factor&quot;’, e.g., when summarizing a data frame
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16750">PR#16750</a>).
</P>
<P>
It also provides more useful summaries for complex vectors, with
‘polar’ determining if polar or cartesian coordinates are more
relevant; mostly based on a proposal by Mikael Jagan.
</P></LI>

<LI><P>
Error messages from failed Rd \Sexpr code now include the call from the
original condition (if available).  Warning messages now include Rd
source locations.
</P></LI>

<LI><P>
When the environment variable ‘R_WARN_BOUNDS_OPT’ is set to ‘&quot;yes&quot;’,
‘options(warn = val)’ will check if ‘val’ is inside ‘-1:2’; this may
happen unconditionally in the future.
</P></LI>

<LI><P>
‘weighted.residuals()’ now returns weighted working residuals for
‘&quot;glm&quot;’ objects. It used to return deviance residuals, but these do not
give the one-step approximated ‘dfbeta’ values, as pointed out by Ravi
Varadhan. ‘influence.glm()’ has been amended so that it now returns an
object with both a ‘&quot;wt.res&quot;’ and a ‘&quot;dev.res&quot;’ element.
</P></LI>

<LI><P>
Several influence measures for ‘&quot;glm&quot;’ objects have been updated to use
Pearson residuals rather than deviance residuals (the latter are not
unbiased) and to not use leave-one-out estimates of dispersion in
models with fixed dispersion. Thanks to Ravi Varadhan for discussions
and testing of these updates.
</P></LI>

<LI><P>
R now supports custom binary types which are of the form
‘&quot;&lt;system&gt;.binary.&lt;build&gt;&quot;’ where ‘&lt;system&gt;’ is lower-case name
(letters only) of the system and ‘&lt;build&gt;’ is the name of the build
(alphanumeric and dashes). The corresponding paths returned by
‘contrib.url’ (which govern repository layout) with the above ‘type=’
have the form ‘bin/&lt;system&gt;/&lt;build&gt;/contrib/&lt;x.y&gt;’ where ‘&lt;x.y&gt;’ is the
R version without patch level. This is a generalisation of the binary
types previously supported on macOS. In addition, binary packages can
have the extensions ‘.tar.bz2’, ‘.tar.xz’, ‘.tar.zst’ and ‘.tar.zstd’
with the corresponding compression support.
</P></LI>

<LI><P>
The value of ‘.Platform$pkgType’ which defines the native binary type
for the current build of R can be overridden with ‘R_PLATFORM_PKGTYPE’
environment variable (previously this was only set by the macOS builds
of R). This should be typically only done by the author of a binary R
distribution to define the type of binaries supported by that build of
R.
</P></LI>

<LI><P>
Experimentally, several math library (‘math.h’) functions, such as
‘exp(.)’, ‘log1p()’, ‘sin()’, ‘atanh()’, when called from R, are now
ensured to give fully accurate results in a small neighbourhood of
special values, such as ‘exp(0) == 1’, ‘log1p(0) == 0’, etc.  This
makes R slightly less platform dependent for these functions, notably
on platforms with less accurate system math libraries, see also
&lt;https://blog.r-project.org/2026/01/30/debugging-sensitivity-to-c-math-library-on-linux/&gt;.
</P></LI>

<LI><P>
Function ‘free1way()’ implementing semiparametrically efficient
inference procedures (likelihood- and permutation-based) in
distribution-free stratified K-sample one-way layouts was added to the
‘stats’ package.  Approximate (via ‘power.free1way.test()’) and
simulation-based (utilising ‘rfree1way()’ for random number generation)
power-assessment and sample-size planning as well as model diagnostics
(available from a ‘plot’ method and probability-probability plots in
‘ppplot()’) complement the functionality.  Provided by Torsten Hothorn.
</P></LI>

<LI><P>
‘plot.data.frame()’ now supports a ‘formula’ argument.
</P></LI>

<LI><P>
New Rd macro \linkS4methods{}, e.g., for easier linking to method docs
in other packages, proposed and coded by Mikael Jagan in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18998">PR#18998</a>.
</P></LI>

<LI><P>
Class ‘&quot;difftime&quot;’ is now also among the S4 ‘&quot;OldClasses&quot;’.
</P></LI>

<LI><P>
New function ‘bitstring()’ as a user-friendly wrapper around
‘intToBits()’, etc.
</P></LI>

</UL>
<H4>CHANGES IN R-devel Graphics </H4>
<UL>
<LI><P>
The graphics engine version, ‘R_GE_version’, has been bumped to ‘17’
and so packages that provide graphics devices should be reinstalled.
</P>
<P>
The ‘glyphFont()’ function gains a ‘variations’ argument, which allows
variable font axes to be specified, e.g., ‘c(wght = 100)’.
</P>
<P>
Only the ‘quartz()’ device and Cairo-based graphics devices (but not
‘cairo_pdf()’) support variable font axes so far.
</P></LI>

</UL>
<H4>CHANGES IN R-devel Installation on a Unix-Alike </H4>
<UL>
<LI><P>
‘configure’ appends ‘bsdtar’ to the list of command names it tries when
finding a default for ‘TAR’.
</P></LI>

<LI><P>
Failures in building the documentation for the base packages, including
from parsing their Rd files, are no longer ignored by ‘make docs’.
</P></LI>

<LI><P>
Building the R manuals now requires Texinfo 6.8 or later.
</P></LI>

<LI><P>
A new ‘LIBR_LDFLAGS’ defaulting to ‘LDFLAGS’ allows more flexibility,
e.g., for distributions such as Gentoo, Debian or Ubuntu, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18992">PR#18992</a>; additionally a ‘make’ failure to create ‘libR.pc’ should no
longer be ignored, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18993">PR#18993</a>; both thanks to Benjamin Drung.
</P></LI>

</UL>
<H4>CHANGES IN R-devel Checking an Installation </H4>
<UL>
<LI><P>
There is a new directory ‘tests/C++Standards’ which contains small
packages which can be test-installed to check support for various C++
standards.  This is principally for use on Windows as on a Unix-alike
this partially duplicates tests done by ‘configure’ - although it can
also be used to test the behaviour of ‘R CMD INSTALL’ on unsupported
standards.
</P></LI>

</UL>
<H4>CHANGES IN R-devel Package Installation </H4>
<UL>
<LI><P>
Specifying C++11 or C++14 in ‘src/Makevars’ has long given a note: in
99% of CRAN packages the specification was unnecessary as the default
C++17 sufficed (in a few cases with a deprecation warning from some
compilers).
</P>
<P>
Support for these standards has been removed: the default C++ standard
will be used.
</P>
<P>
‘R CMD config’ variables ‘CXX11’, ‘CXX14’ and their associated
‘CXXxxFLAGS’, ‘CXXxxPICFLAGS’ ‘CXXxxSTD’, ‘SHLIBCXXxxLD’ and
‘SHLIBCXXxxLDFLAGS’ variables are no longer supported and reported as
‘defunct’.
</P></LI>

<LI><P>
When installing binary packages the time stamp in the ‘&quot;Built&quot;’ field
is considered even if the package version is identical to allow binary
package repositories to update binaries without the need to increase
the package version.
</P></LI>

</UL>
<H4>CHANGES IN R-devel C-Level Facilities </H4>
<UL>
<LI><P>
New functions ‘GEcreateDD()’ and ‘GEfreeDD()’ for allocating (and
initialising) ‘DevDesc’ structures.  Can be used by external graphics
devices.  Satisfies <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18292">PR#18292</a>.
</P></LI>

<LI><P>
New function ‘R_eval_with_gd()’ designed to “lock” a graphics device
during call to ‘eval()’ within device drawing routines.  External
_on-screen_ graphics devices should consider using this function to
avoid crashes from the device being closed by the user (e.g., a mouse
click) during drawing.
</P></LI>

<LI><P>
Declarations for non-API functions ‘LOGICAL0’, ‘INTEGER0’, ‘REAL0’,
‘COMPLEX0’, and ‘RAW0’ have been removed from installed header files.
</P></LI>

<LI><P>
Non-API entry points ‘Rf_acopy_string’ and ‘Rf_lazy_duplicate’ have
been added to those reported by ‘R CMD check’.
</P></LI>

<LI><P>
Packages using the non-API functions ‘ATTRIB’ and ‘SET_ATTRIB’ will now
receive check ‘NOTE’s.  See ‘Writing R Extensions’ for alternatives to
use.
</P></LI>

<LI><P>
‘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’, ‘R_tryWrap’,
‘Rf_GetOption’, ‘R_lsInternal’, ‘BODY’, ‘FORMALS’, ‘CLOENV’,
‘SET_TYPEOF’, ‘STRING_PTR’, ‘R_duplicate_attr’, ‘getConnection’,
‘R_data_class’, ‘STRING_PTR’, ‘SET_OBJECT’, ‘ATTRIB’, ‘SET_ATTRIB’,
‘Rf_findVarInFrame3’.
</P></LI>

<LI><P>
The deprecated macros ‘CHARACTER_DATA’ and ‘CHARACTER_POINTER’ now
return ‘const’ pointers since using writable pointers in packages is
not safe.
</P></LI>

<LI><P>
New function ‘DATAPTR_RW()’ for use in implementing ALTREP ‘Dataptr’
methods. This function should not be used in any other contexts.
</P></LI>

<LI><P>
New function ‘R_class()’ as the ‘C’ equivalent of ‘class()’ in R.
</P></LI>

<LI><P>
New function ‘Rf_isScalarString’.
</P></LI>

<LI><P>
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’.
</P></LI>

<LI><P>
New function ‘R_mapAttrib’ for iterating over the attributes of an
object.
</P></LI>

<LI><P>
New functions ‘R_altrep_class_name’ and ‘R_altrep_class_package’ for
retrieving the class name symbol and package name symbol of an ALTREP
object. These should be used instead of ‘ALTREP_CLASS’.
</P></LI>

<LI><P>
New function ‘R_getAttributes’ returns the same result as the R
function ‘attributes’. New functions ‘R_getAttribCount’,
‘R_getAttribNames’, ‘R_hasAttrib’, ‘R_nrow’, and ‘R_ncol’.
</P></LI>

<LI><P>
The function ‘Rf_isFrame’ has been removed; use ‘Rf_isDataFrame’
instead.
</P></LI>

<LI><P>
The function ‘VECTOR_PTR’ has been removed.
</P>
<P>
The non-API function ‘DATAPTR’ is no longer declared in an installed
header file.
</P></LI>

<LI><P>
These entry points are now marked as hidden and no longer have
declarations in installed header files: ‘ENVFLAGS’, ‘EXTPTR_PROT’,
‘FRAME’, ‘ENCLOS’, ‘EXTPTR_PTR’, ‘EXTPTR_TAG’, ‘HASHTAB’,
‘IS_S4_OBJECT’, ‘LEVELS’, ‘NAMED’, ‘OBJECT’,
‘R_shallow_duplicate_attr’, ‘Rf_isValidString’, ‘Rf_lazy_duplicate’,
‘Rf_NonNullStringMatch’, ‘SETLENGTH’, ‘SETLEVELS’, ‘SET_BODY’,
‘SET_CLOENV’, ‘SET_ENCLOS’, ‘SET_FORMALS’, ‘SET_ENVFLAGS’, ‘SET_FRAME’,
‘SET_GROWABLE_BIT’, ‘SET_HASHTAB’, ‘SET_NAMED’, ‘SET_S4_OBJECT’,
‘SET_TRUELENGTH’, ‘STDVEC_DATAPTR’, ‘TRUELENGTH’, ‘UNSET_S4_OBJECT’,
‘XTRUELENGTH’.
</P></LI>

<LI><P>
New experimental API for working with variable bindings in
environments. The function ‘R_GetBindingType’ identifies the binding
type without forcing a delayed or active binding.  New bindings care
created by ‘R_MakeDelayedBinding’, ‘R_MakeForcedBinding’ and
‘R_MakeMissingBinding’.  Delayed and forced bindings can be inspected
with ‘R_ForcedBindingExpression’, ‘R_DelayedBindingExpression’, and
‘R_DelayedBindingEnvironment’.  Bindings for ‘...’ in function call
environments can be examined with ‘R_DotsExist’, ‘R_DotsLength’,
‘R_DotsNames’, ‘R_DotsElt’, ‘R_GetDotType’, ‘R_DotDelayedExpression’,
‘R_DotDelayedEnvironment’, and ‘R_DotForcedExpression’. Contributed by
Lionel Henry and Davis Vaughan in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18928">PR#18928</a>.
</P></LI>

<LI><P>
New function ‘R_envSymbols’ returns a vector of the symbols for which
an environment contains bindings (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18928">PR#18928</a>).
</P></LI>

<LI><P>
The functions ‘Rf_findVar’ and ‘findVarInFrame’ are now marked as
non-API, and uses in packages will now receive check ‘WARNING’s.  See
‘Writing R Extensions’ for alternatives to use.
</P></LI>

<LI><P>
‘R CMD check’ ‘NOTE’s on the use of the non-API entry points ‘PRCODE’,
‘SET_PRCODE’, ‘PRENV’, ‘SET_PRENV’, ‘PRVALUE’, ‘SET_PRVALUE’,
‘R_PromiseExpr’, and ‘Rf_allocSExp’ have been upgraded to ‘WARNING’s in
preparation for removing declarations and, where possible, hiding these
entry points.
</P></LI>

</UL>
<H4>CHANGES IN R-devel Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ now reports further ‘clang’ warnings including
‘-Wkeyword-macro’.  This is most commonly seen for the C23 keywords
‘bool’, ‘true’ and ‘false’, but is also seen for ‘nullptr’ (C23 and
C++11). Masking these by macros _may_ generate correct code (but not
always) and always results in confusing-to-read code.
</P></LI>

<LI><P>
The cascaded stylesheet ‘R.css’ now adds less vertical white space when
rendering Rd files' \itemize, \enumerate, and \describe list \items to
HTML.
</P>
<P>
Where R is used via extensive IDEs such as ‘RStudio’, their maintainers
may need to adapt ‘R.css’ files accordingly.
</P></LI>

<LI><P>
‘R CMD check’ when passed a tarball looks at its contents and so no
longer derives the package name from the tarball name (which can now be
arbitrary).
</P></LI>

<LI><P>
Package ‘README.md’ files are now installed and featured in HTML help.
</P></LI>

<LI><P>
‘package.skeleton()’ now invisibly returns the path of the created
directory, similar to ‘prompt()’ et al., and allows creating blank
skeletons without any R objects.
</P></LI>

</UL>
<H4>CHANGES IN R-devel Deprecated and Defunct </H4>
<UL>
<LI><P>
‘structure(NULL, &lt;name&gt; = &lt;val&gt;)’ is now defunct.
</P></LI>

<LI><P>
Three ‘tk*.slaves()’ functions were deprecated in favor of
‘tk*.child()’ which do need Tcl/Tk version ‘8.6’ or higher.
</P></LI>

</UL>
<H4>CHANGES IN R-devel Bug Fixes </H4>
<UL>
<LI><P>
‘chol(x, pivot=TRUE)’ now zeroes the trailing submatrix when the
algorithm stops early. Following the help page instructions on how to
reconstruct the matrix in positive semidefinite cases gave incorrect
results if the rank was 2 or more less than the dimension (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15853">PR#15853</a>).
</P></LI>

<LI><P>
Profiling ‘&quot;mle&quot;’ objects (‘stats4’ package) could fail because profile
MLE used starting value from full MLE. Now starts from profile MLE from
previous step.
</P></LI>

<LI><P>
Setting ‘attributes’ on primitive functions is now an error; previously
it modified without copying (as noticed by Henrik Bengtsson on the
R-devel mailing list).
</P>
<P>
Relatedly, changing the ‘environment()’ of a primitive function does no
longer happen and gives a warning (to become an error, later).
</P></LI>

<LI><P>
Dataset ‘LifeCycleSavings’ had a misspelled row name: ‘&quot;Guatamala&quot;’ was
corrected to ‘&quot;Guatemala&quot;’.
</P></LI>

<LI><P>
The ‘Pair(x,y)’ construction in the formula interface to paired tests
did not work with the ‘subset’ argument, due to the absence of a
‘[.Pair’ method, which has now been added.
</P></LI>

<LI><P>
Subsetting ‘&quot;table&quot;’ objects keeps S3 classes more consistently, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18845">PR#18845</a>.
</P></LI>

<LI><P>
When ‘browser()’ is active or when otherwise debugging, R code such as
‘if(TRUE)’ now longer triggers a new browser level, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18885">PR#18885</a>
(differently than the fix for <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15770">PR#15770</a>), with thanks to Ivan Krylov.
</P></LI>

<LI><P>
‘text()’ now truncates ‘labels’ to maximum length of ‘x’ and ‘y’ (if it
is longer), fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=7084">PR#7084</a>.  Thanks to Heather Turner, Ella Kaye, and
Philippe Grosjean.
</P></LI>

<LI><P>
‘&lt;Date&gt; %in% set’ is again as fast as it was before R 4.3.0, _via_ a
new S3 method ‘mtfrm.Date’.
</P>
<P>
‘&lt;character&gt; %in% &lt;Date&gt;’ and vice versa are now documented to work in
concordance with ‘==’ and as an exception to the typical ‘match()’
behaviour which relies on “univariate” ‘mtfrm()’ alone.
</P></LI>

<LI><P>
It is now possible to convert _to_ ‘&quot;snpc&quot;’ units via, e.g.,
‘grid::convertWidth()’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18915">PR#18915</a>. Thanks to Trevor Davis.
</P></LI>

<LI><P>
The ‘precip’ dataset had typos in the names ‘&quot;Bismarck&quot;’ and
‘&quot;Pittsburgh&quot;’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18895">PR#18895</a>).
</P></LI>

<LI><P>
‘tools::checkReplaceFuns()’ now deals better with replacement methods
_not_ available as regular functions in the namespace.
</P></LI>

<LI><P>
‘length(xpr) &lt;- n’ now also works for ‘expression’ vectors, the same as
for ‘list’s, i.e., padding with ‘NULL’ entries if the length is
increased.  Thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18917">PR#18917</a>.
</P></LI>

<LI><P>
‘&lt;complex&gt;[i] &lt;- NA’ now only sets the _real_ part to ‘NA’,
consistently with the ‘as.complex(NA)’ behaviour since R 4.4.0; thanks
to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18918">PR#18918</a>.
</P></LI>

<LI><P>
‘format(&lt;list&gt;)’ calling ‘format.default()’ now calls generic
‘format()’ on each list element (rather than ‘format.default()’).
</P></LI>

<LI><P>
‘tools::Rd2HTML()’ detects paragraphs in more cases of \Sexpr-generated
Rd code, fixing a regression in R 3.6.0 originally reported by Georgi
Boshnakov and later also in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18470">PR#18470</a>.  An inactive #ifdef block no
longer breaks the paragraph.
</P></LI>

<LI><P>
Parsing a multi-line string from Rd \Sexpr code no longer doubles the
newlines.
</P></LI>

<LI><P>
‘requireNamespace(.., versionCheck = *)’ now shows an error and returns
‘FALSE’ when the package version check is not fulfilled, thanks to Iris
Simmons and Trevor Davis's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18255">PR#18255</a>.  Additionally, the ‘versionCheck’
argument is checked and when invalid, an error is signalled to avoid
subsequent confusing error messages.
</P></LI>

<LI><P>
‘requireNamespace()’ now throws an error even if the name space is
already loaded if it is called with an unmatched argument such as
‘quitely = TRUE’ or ‘quiet = TRUE’ (argument ‘quietly’ cannot be
abbreviated as it follows ‘...’).
</P></LI>

<LI><P>
‘rep()’ signals more specific error messages, notably when using both
‘times’ and ‘each’ optional arguments.  Fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18926">PR#18926</a>, thanks to Ella
Kaye and collaborators at useR! 2025's ‘R Dev Day’.
</P></LI>

<LI><P>
‘jitter(x, amount, factor)’ becomes more robust for non-finite ‘x’ or
also negative ‘amount’, ‘factor’.  ‘help(jitter)’ is easier to read,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17279">PR#17279</a>, thanks to its contributors.
</P></LI>

<LI><P>
Plain-text help (‘Rd2txt’) lacked markup for ‘\cite’d titles, which are
now wrapped in single quotes.
</P></LI>

<LI><P>
Default column labels are now correctly aligned when printing a matrix
with right alignment (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18943">PR#18943</a>, thanks to Mikael Jagan).
</P></LI>

<LI><P>
‘poly(fct, n)’ signals an error again, for a non-‘ordered’ factor
‘fct’, thanks to Roland Fuss' notice on R-devel.
</P></LI>

<LI><P>
‘terms(&lt;formula&gt;, simplify=TRUE)’ now works correctly also in the cases
where the formula has more than one term with NAs such as ‘f(u, b=NA)’
or ‘g(NA)’, finally fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15275">PR#15275</a> thanks to Mikael Jagan's patch.
</P></LI>

<LI><P>
The help page ‘example(matplot)’ now correctly labels Sepal vs Petal
dimensions in its first iris data plot, thanks to Jeff Dick's post on
R-devel.
</P></LI>

<LI><P>
‘diff(m, lag, dif)’ for matrix ‘m’ now still returns matrices, also
when ‘lag * dif &gt; nrow(m)’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>, thanks to Mikael Jagan and
Suharto Anggono).  ‘diff(&lt;ts-matrix&gt;)’ remains matrix, even when it has
length zero.
</P></LI>

<LI><P>
Values returned by active binding functions are now marked as not
mutable to prevent unintended mutation in complex assignment
operations.
</P></LI>

<LI><P>
The default method of ‘sequence()’ now allows to fully recycle all
three of ‘(nvec, from, by)’ as always documented; with thanks to Mikael
Jagan's report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18304">PR#18304</a>.  Its behaviour remains back
compatible for now, but can be switched to future behaviour via
environment variable ‘R_sequence_recycle’, or explicit ‘recycle =
TRUE’.
</P></LI>

<LI><P>
Subassignment, ‘x[ind] &lt;- val’, to 1-dimensional ‘array’s no longer
“drops” them to simple vectors when ‘ind’ is a name, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18973">PR#18973</a>,
reported by Thomas Soeiro.
</P></LI>

<LI><P>
The ‘implicitGeneric’ definition for ‘toeplitz()’ produced a default
method that failed when ‘toeplitz(x, r)’ was called with more than the
first argument.  Simple fix from Mikael Jagan.
</P></LI>

<LI><P>
The error message for ‘array(dim = c())’ now uses ‘&quot;'dim'&quot;’, thanks to
Hugo Gruson.
</P></LI>

<LI><P>
Some legal but strange nested complex assignments are handled a bit
more robustly in interpreted code.
</P></LI>

<LI><P>
‘cacheMetaData()’ does not to mangle primitive generics.
</P></LI>

<LI><P>
The S4 method ‘norm(&lt;ANY&gt;, type = &lt;missing&gt;)’ for the implicit generic
‘norm()’ now uses ‘type = &quot;O&quot;’ as has been the intention for more than
ten years, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18979">PR#18979</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
On Windows terminals ‘Ctrl-C’ now breaks out of waiting for keyboard
input, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18982">PR#18982</a>.
</P></LI>

<LI><P>
The default ‘summary()’ and its factor method now label missing values
‘NAs’ rather than ‘NA's’, fixing a decades-old grammatical faux pas
inherited from S (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16348">PR#16348</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18948">PR#18948</a>).
</P></LI>

<LI><P>
Asymmetric ‘toeplitz(x, r)’ is type consistent now, even when ‘r’ of
length 0 or 1 is not used directly.  Fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18996">PR#18996</a>, thanks to Mikael
Jagan's patch and test.
</P></LI>

<LI><P>
‘format(r)’ now keeps ‘names(r)’ also for raw objects ‘r’.
</P></LI>

<LI><P>
‘rep.int()’ and ‘rep_len()’ again drop names also for factors, fixing a
regression in R 4.0.0.  (Thanks to a report by Rui Barradas and
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18999">PR#18999</a> by Suharto Anggono.)
</P></LI>

<LI><P>
‘str(x)’ with a ‘list’-like ‘x’ of a class having an ‘str()’ S3 method
using ‘NextMethod()’, now no longer outputs ‘&quot;List of &lt;...&gt;&quot;’ in the
default method, thanks to Ian Farm's report and fix proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19001">PR#19001</a>.
</P></LI>

<LI><P>
‘as.POSIXlt(ch)’, ‘as.Date(ch)’ etc now also work correctly when ‘ch’
contains ‘&quot;Inf&quot;’, via ‘strptime(.)’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19006">PR#19006</a>.
</P></LI>

<LI><P>
‘c(&lt;POSIXlt&gt;, ..)’ now fully preserves sub-second accuracy, fulfilling
a part of Suharto Anggono's wishlist <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18989">PR#18989</a>.
</P></LI>

<LI><P>
The ‘&quot;tzcode&quot;’ attribute of ‘&quot;POSIXlt&quot;’ objects should no longer depend
on earlier calls, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19005">PR#19005</a> thanks to Ivan Krylov, a patch by
Suharto Anggono and reports of “Non-deterministic POSIXlt tzone in
Europe/London ..” on R-devel.
</P></LI>

<LI><P>
In intervals with very low density ‘cdplot()’ was unreliable, returning
probabilities that are greater than one or ‘NaN’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19011">PR#19011</a>).  Fix from
Christoph Dalitz and Achim Zeileis.
</P></LI>

<LI><P>
‘R CMD build’ now installs packages providing their own vignette engine
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18191">PR#18191</a>).  Patch by Paul Smith.
</P></LI>

<LI><P>
‘ar.burg()’, ‘ar.yw()’ and ‘ar.ols()’ deal better with non finite AIC
values thanks to Simone Giannerini's remarks on R-devel.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.3 Utilities </H4>
<UL>
<LI><P>
‘tools/fetch-recommended’ can be used instead of
‘tools/rsync-recommended’ to fetch recommended packages into R sources
using ‘curl’ on systems without ‘rsync’ or behind firewalls.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.3 Package Installation </H4>
<UL>
<LI><P>
C++ standard specifications (‘CXX_STD =’ in ‘src/Makevars*’ and in the
‘SystemRequirements’ field of the ‘DESCRIPTION’ file) are now checked
more thoroughly.  Invalid values are still ignored but now give a
warning, as do contradictory specifications.
</P></LI>

<LI><P>
(Preliminary) support for C++26 has been extended to Windows.
</P></LI>

<LI><P>
A non-zero exit status from ‘cleanup’, ‘cleanup.win’ or ‘cleanup.ucrt’,
if requested via options ‘--clean’ or ‘--preclean’, is now reported
with a warning.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.3 Bug Fixes </H4>
<UL>
<LI><P>
‘all.equal(obj, simple, check.class=FALSE)’ now is true, also when
‘simple’ is a bare atomic vector and ‘obj’ has a simple class, fixing
the first part of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18971">PR#18971</a> thanks to Jan Gorecki.
</P></LI>

<LI><P>
‘str(x, give.attr=FALSE)’ no longer shows attributes when ‘x’ is a zero
length ‘&quot;Date&quot;’ or ‘&quot;POSIXt&quot;’ object.
</P></LI>

<LI><P>
Tweaks to binning for ‘bw.SJ()’ and ‘bw.ucv()’ in the very rare case of
data which have an extremely small range compared to their absolute
values, e.g., ‘x &lt;- 6e9 + 6:9’.
</P></LI>

<LI><P>
Formatting book-type ‘bibentry’ objects now converts LaTeX accents also
in the publisher and series fields.
</P></LI>

<LI><P>
‘model.frame(~1, list(), na.action=na.pass)’ and similar “border-line”
uses no longer produce invalid data frames, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18977">PR#18977</a>, reported
with patch by Mikael Jagan.
</P></LI>

<LI><P>
‘length(&lt;POSIXlt&gt;) &lt;- v’ is more careful about balancing, notably when
‘v’ is not integer, thanks to Suharto Anggono's remarks on the mailing
list R-devel.
</P></LI>

<LI><P>
‘approx(&lt;x_with_ties&gt;, &lt;y_with_NA&gt;, na.rm = FALSE)’ now should always
call the ‘ties()’ function, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17604">PR#17604</a> reported by Bill Dunlap.
</P></LI>

<LI><P>
‘besselJ(1, 1e-15)’ and similar now give correct results, thanks to Leo
Mada and other “R-help”ers.
</P></LI>

<LI><P>
‘vignette(&lt;pkg&gt;::&lt;topic&gt;)’ is now a documented usage variant and
confines vignette retrieval to the specified package.
</P></LI>

<LI><P>
‘pretty(ch)’ again correctly works with ‘ch’ a character vector of
numbers.
</P></LI>

<LI><P>
‘persp()’ labels the three axes correctly also when C level ‘atan2pi()’
is available, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19007">PR#19007</a> by Klaus Schliep.
</P></LI>

<LI><P>
Large (tall) subscripts in plotmath expressions are now positioned
correctly.  They were being positioned too high.
</P></LI>

<LI><P>
‘Ops’ group (‘Arith’, ‘Compare’, ...) methods for matrix-‘&quot;ts&quot;’ now do
return (zero length) matrices even when the two series do not overlap;
a very partial fix of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>, which is to be fully addressed later.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ now handles archives with extension ‘.tar’ or ‘.tar.zstd’
(where ‘zstd’ compression is supported by the R build).
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 Bug Fixes </H4>
<UL>
<LI><P>
‘t.test(c(1:3, Inf))’ and similar no longer produce an error but return
a (still not so useful) ‘&quot;htest&quot;’ result, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18901">PR#18901</a>, thanks to
Jesse Alderliesten.
</P></LI>

<LI><P>
‘attr(., &quot;tsp&quot;) &lt;- val’ now uses ‘getOption(&quot;ts.eps&quot;)’ instead of
hardwired ‘1e-5’; consequently, ‘ts(.., ts.eps=*)’ now passes ‘ts.eps’
to the ‘&quot;tsp&quot;’ setting C code; both fixing a long-standing ‘FIXME’.
</P></LI>

<LI><P>
‘insertSource()’ now ignores the internal ‘.packageName’ object,
avoiding a superfluous message.
</P></LI>

<LI><P>
In static HTML help, links to vignette files from the default
‘doc/index.html’ page now also work for packages not installed in the
default ‘.Library’, thanks to a report by Patrice Kiener.
</P></LI>

<LI><P>
</P>
<P>
‘fixInNamespace(&quot;&lt;S3method&gt;&quot;)’ failed to update the S3 methods table
when the generic was not on the search path.
</P></LI>

<LI><P>
In plain-text help (‘Rd2txt’), an initial newline from an Rd inline
\eqn no longer breaks the paragraph.
</P></LI>

<LI><P>
‘hist(*, log = &quot;x&quot;)’ now works without a warning, thanks to Martin
Smith's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18921">PR#18921</a>.
</P></LI>

<LI><P>
Subassigning ‘&quot;POSIXlt&quot;’, i.e., ‘&lt;tdat&gt;[i] &lt;- val’ and ‘&lt;tdat&gt;[[i]] &lt;-
val’ now rebalance as they should, thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18919">PR#18919</a>.
</P></LI>

<LI><P>
‘&lt;POSIXlt&gt;[*]’ (re-)setting ‘&quot;balanced&quot;’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18681">PR#18681</a> comment #7,
thanks to Mikael Jagan.
</P></LI>

<LI><P>
All four of ‘{col,row}{Sums,Means}(Z, na.rm=TRUE)’ now correctly work
with complex ‘Z’ where ‘is.na(Re(Z))’ differs from ‘is.na(Im(Z))’,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18942">PR#18942</a>, unearthed by Dirk Eddelbuettel.
</P></LI>

<LI><P>
Fix for glyph rendering on the ‘quartz()’ device when there is other
(“normal”) text drawn on the device.  The problem was that the text
transformation matrix was not reset so glyphs would be rendered
incorrectly (often completely outside the device, i.e., not visible).
</P></LI>

<LI><P>
Functions ‘install.packages()’ and ‘download.packages()’ again consult
option ‘download.file.method’ when the download method is unspecified.
</P></LI>

<LI><P>
Tanguy Barthelemy and colleagues at the ‘R Dev Day’ following
Rencontres R in May 2025 extended the help page of ‘lm()’, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18058">PR#18058</a>.  As suggested by Thomas Soeiro, such notes were also added to
the ‘glm()’, ‘poly()’ and ‘splines::bs()’ and ‘ns()’ pages.
</P></LI>

<LI><P>
‘lbeta(1i, 1)’ now signals an error, as ‘lbeta()’ is not implemented
for ‘complex’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18946">PR#18946</a> from Ben Bolker and Kasper Kristensen.
</P></LI>

<LI><P>
The Cairo-based SVG device uses ‘pt’ as the default document unit also
with Cairo &gt;= 1.17.8 (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18912">PR#18912</a>).
</P></LI>

<LI><P>
‘pretty(*, eps.correct = 2)’ has been fixed, e.g., to avoid over 1
million length result for ‘pretty(c(0, 1e-322), eps.correct = 2)’.
</P></LI>

<LI><P>
When ‘&quot;POSIXlt&quot;’ date-time objects are ‘NA’-padded from subsetting or
increasing ‘length’ in the ‘`[`’ or ‘`length&lt;-`’ methods, the
‘&quot;balanced&quot;’ attribute is set to ‘NA’, now; noted in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18681">PR#18681</a>, thanks
to Mikael Jagan.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.1 New Features </H4>
<UL>
<LI><P>
The internal method of ‘unzip()’ now follows ‘unzip 6.00’ in how it
handles extracted file paths which contain ‘&quot;../&quot;’.  With thanks to
Ivan Krylov.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.1 Installation </H4>
<UL>
<LI><P>
Standalone ‘nmath’ can be built with early-2025 versions of
‘clang’-based compilers such as LLVM ‘clang’ 20, Apple ‘clang’ 17 and
Intel ‘icx’ 2025.0.
</P></LI>

<LI><P>
Tcl/Tk 9 can be used to build package ‘tcltk’: this has become the
default in some Linux distributions.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.1 Bug Fixes </H4>
<UL>
<LI><P>
Java detection in ‘javareconf’ could not detect ‘libjvm.*’ in the
‘zero’ variant of the JDK (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18884">PR#18884</a>).  All valid variants as of JDK 24u
are now supported.
</P></LI>

<LI><P>
‘factanal(.., rotation=*)’ now correctly updates ‘rotmat’, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18886">PR#18886</a>.
</P></LI>

<LI><P>
‘dnbinom(&lt;large&gt;, &lt;muchlarger&gt;, ..)’ now is ‘0’ correctly, instead of
‘NaN’ or ‘Inf’ sometimes.
</P></LI>

<LI><P>
‘dbinom(&lt;large&gt;, n=Inf, ..)’ is ‘0’ now correctly, instead of ‘NaN’
which also fixes many ‘dnbinom()’ cases, notably those mentioned in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16727">PR#16727</a> comment #5.
</P></LI>

<LI><P>
Fixing C level “binomial deviance” ‘bd0()’ for extreme arguments
(preventing under-/overflow) solves more <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16727">PR#16727</a> cases and also
prevents some full accuracy loss in such cases for ‘dbinom()’,
‘dnbinom()’, and via ‘dbinom_raw()’ potentially ‘dgeom()’, ‘dhyper()’,
‘dbeta()’, and ‘df()’.
</P></LI>

<LI><P>
‘signif(1.**e308, digits)’ no longer truncates unnecessarily (but still
to prevent overflow to ‘Inf’), fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18889">PR#18889</a>.
</P></LI>

<LI><P>
‘prettyNum(*, zero.print={&gt;=1-char}, replace.zero=TRUE)’ now works as
documented, thanks to Marttila Mikko and Ivan Krylov's messages on
R-devel.
</P></LI>

<LI><P>
‘pbeta(x, a,b, ..)’ for very large ‘a,b’ no longer returns ‘NaN’ but
the correct values (0 or 1, or their logs for ‘log.p = TRUE’).  This
improves Mathlib's C level ‘bratio()’ and hence also ‘pnbinom()’, etc..
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.0 New Features </H4>
<UL>
<LI><P>
‘as.integer(rl)’ and hence ‘as.raw(rl)’ now work for a ‘list’ of
‘raw(1)’ elements, as proposed by Michael Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18696">PR#18696</a>.
</P></LI>

<LI><P>
‘graphics’' ‘grid()’ gains optional argument ‘nintLog’.
</P></LI>

<LI><P>
New functions ‘check_package_urls()’ and ‘check_package_dois()’ in
package ‘tools’ for checking URLs and DOIs in package sources.
</P></LI>

<LI><P>
New ‘head()’ and ‘tail()’ methods for class ‘&quot;ts&quot;’ time series,
proposed by Spencer Graves on R-devel.
</P></LI>

<LI><P>
New ‘qr.influence()’ function, a “bare bones” interface to the
‘lm.influence()’ leave-one-out diagnostics computations; wished for in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18739">PR#18739</a>.
</P></LI>

<LI><P>
Package ‘citation()’ results auto-generated from the package metadata
now also provide package DOIs for CRAN and Bioconductor packages.
</P></LI>

<LI><P>
New function ‘grepv()’ identical to ‘grep()’ except for the default
‘value = TRUE’.
</P></LI>

<LI><P>
‘methods(&lt;pkg&gt;:::&lt;genfun&gt;)’ now does report methods when neither the
generic nor the methods have been exported.
</P></LI>

<LI><P>
‘pdf()’ gains an ‘author’ argument to set the corresponding metadata
field, and logical arguments ‘timestamp’ and ‘producer’ to optionally
omit the respective metadata.  (Thanks to Edzer Pebesma.)
</P></LI>

<LI><P>
‘grDevices::glyphInfo()’ gains a ‘rot’ argument to allow per-glyph
rotation.  (Thanks to Daniel Sabanes Bove.)
</P></LI>

<LI><P>
Package ‘tools’ now exports functions ‘CRAN_current_db()’,
‘CRAN_aliases_db()’, ‘CRAN_rdxrefs_db()’, ‘CRAN_archive_db()’, and
‘CRAN_authors_db()’.
</P></LI>

<LI><P>
Package ‘tools’ now exports functions ‘R()’ and
‘parse_URI_reference()’.
</P></LI>

<LI><P>
Package ‘tools’ now exports functions ‘base_aliases_db()’ and
‘base_rdxrefs_db()’.
</P></LI>

<LI><P>
It is now possible to set the background color for row and column names
in the data editor on Windows (‘Rgui’).
</P></LI>

<LI><P>
‘Rterm’ on Windows now accepts input lines of unlimited length.
</P></LI>

<LI><P>
‘file.info()’ on Windows now provides file owner name and domain.
</P></LI>

<LI><P>
‘Sys.info()’ on Windows now provides current user domain.
</P></LI>

<LI><P>
‘findInterval()’ gets new arguments ‘checkSorted’ and ‘checkNA’ which
allow skipping relatively costly checks; related to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16567">PR#16567</a>.
</P></LI>

<LI><P>
‘pnorm(x)’ underflows more gracefully.
</P></LI>

<LI><P>
‘get(nam, env)’ now signals a _classed_ error, ‘&quot;getMissingError&quot;’, as
“subclass” of ‘&quot;missingArgError&quot;’ where the latter is used also in
similar situations, e.g., ‘f &lt;- function(x) exp(x); try(f())’ .
</P></LI>

<LI><P>
The set operations now avoid the ‘as.vector()’ transformation for
same-kind apparently vector-like operands.
</P></LI>

<LI><P>
‘md5sum()’ can be used to compute an MD5 hash of a raw vector of bytes
by using the ‘bytes=’ argument instead of ‘files=’. The two arguments
are mutually exclusive.
</P></LI>

<LI><P>
Added function ‘sha256sum()’ in package ‘tools’ analogous to ‘md5sum()’
implementing the SHA-256 hashing algorithm.
</P></LI>

<LI><P>
The ‘xtfrm()’ method for class ‘&quot;AsIs&quot;’ is now considerably faster
thanks to a patch provided by Ivan Krylov.
</P></LI>

<LI><P>
The ‘merge()’ method for data frames will no longer convert row names
used for indexing using ‘I()’, which will lead to faster execution in
cases where ‘sort = TRUE’ and ‘all.x’ and/or ‘all.y’ are set to ‘TRUE’.
</P></LI>

<LI><P>
The ‘methods’ package internal function ‘.requirePackage()’ now calls
‘requireNamespace(p)’ instead of ‘require(p)’, hence no longer adding
packages to the ‘search()’ path in cases methods or class definitions
are needed.  Consequently, previous workflows relying on the old
behaviour will have to be amended by adding corresponding ‘library(p)’
calls.
</P></LI>

<LI><P>
More R-level messages use a common format containing ‘&quot;character
string&quot;’ for more consistency and less translation work.
</P></LI>

<LI><P>
‘available.packages()’ and ‘install.packages()’ get an optional switch
‘cache_user_dir’, somewhat experimentally.
</P></LI>

<LI><P>
The ‘sunspot.month’ data have been updated to Oct 2024; because of
recalibration also historical numbers are changed, and we keep the
previous data as ‘sunspot.m2014’ for reproducibility.
</P></LI>

<LI><P>
The ‘quartz()’ device now supports alpha masks.  Thanks to George
Stagg, Gwynn Gebeyhu, Heather Turner, and Tomek Gieorgijewski.
</P></LI>

<LI><P>
The ‘print()’ method for date-time objects (‘POSIX.t’) gets an optional
‘digits’ argument for _fractional_ seconds, passed to improved
‘format.POSIXlt()’; consequently, ‘print(&lt;date.time&gt;, digits = n)’
allows to print fractions of seconds.
</P></LI>

<LI><P>
‘install.packages()’ and ‘download.packages()’ download packages
simultaneously using ‘libcurl’, significantly reducing download times
when installing or downloading multiple packages.
</P></LI>

<LI><P>
Status reporting in ‘download.file()’ has been extended to report the
outcome for individual files in simultaneous downloads.
</P></LI>

<LI><P>
The Rd \link macro now allows markup in the link text when the topic is
given by the optional argument, e.g., ‘\link[=gamma]{\eqn{\Gamma(x)}}’.
</P></LI>

<LI><P>
If ‘La_library()’ is empty, ‘sessionInfo()’ still reports
‘La_version()’ when available.
</P></LI>

<LI><P>
‘seq.int(from, to, by, ....)’ when |by| = 1 now behaves as if ‘by’ was
omitted, and hence returns ‘from:to’, possibly integer.
</P></LI>

<LI><P>
‘seq.Date(from, to, by, ....)’ and ‘seq.POSIXt(..)’ now also work when
‘from’ is missing and sufficient further arguments are provided, thanks
to Michael Chirico's report, patch proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17672">PR#17672</a> and ‘R Dev Day’
contributions.
</P>
<P>
The ‘Date’ method also works for ‘seq(from, to)’, when ‘by’ is missing
and now defaults to ‘&quot;1 days&quot;’.
</P>
<P>
It is now documented (and tested) that the ‘by’ string may be
_abbreviated_ in both ‘seq’ methods.
</P>
<P>
Both methods return or keep internal type ‘&quot;integer&quot;’ more consistently
now.  Also, ‘as.POSIXct({})’ is internally integer.
</P></LI>

<LI><P>
‘duplicated()’, ‘unique()’, and ‘anyDuplicated()’ now also work for
class ‘expression’ vectors.
</P></LI>

<LI><P>
New function ‘use()’ to use packages in R scripts with full control
over what gets added to the search path.  (Actually already available
since R 4.4.0.)
</P></LI>

<LI><P>
New connection type ‘zstdfile’ for files compressed by ‘zstd’ if R was
built with such support.  ‘file()’ and ‘gzfile()’ can automagically
read such files.
</P></LI>

<LI><P>
‘memCompress()’ and ‘memDecompress()’ have options to use ‘zstd’
compression if R was built with support for it.
</P></LI>

<LI><P>
There is some support for ‘zstd’ compression of tarballs in ‘tar()’ and
‘untar()’.  (This depends on OS support of ‘libzstd’ or by ‘tar’.)
</P></LI>

<LI><P>
‘print(summary(&lt;numbers&gt;))’ gets new optional argument ‘zdigits’ to
allow more flexible and consistent (double) rounding.  The current
default ‘zdigits = 4L’ is somewhat experimental.  Specifying both
‘digits = *, zdigits = *’ allows behaviour independent of the global
‘digits’ option.
</P></LI>

<LI><P>
The ‘format()’ method for ‘&quot;difftime&quot;’ objects gets a new back
compatible option ‘with.units’.
</P></LI>

<LI><P>
A ‘summary()’ method for ‘&quot;difftime&quot;’ objects which prints nicely,
similar to those for ‘&quot;Date&quot;’ and ‘&quot;POSIXct&quot;’.
</P></LI>

<LI><P>
‘unique()’'s default method now also deals with ‘&quot;difftime&quot;’ objects.
</P></LI>

<LI><P>
‘optimize(f, *)’ when ‘f(x)’ is not finite says more about the value in
its ‘warning’ message.  It no longer replaces ‘-Inf’ by the largest
_positive_ finite number.
</P></LI>

<LI><P>
The documentation of ‘gamma()’ and ‘is.numeric()’ is more specific,
thanks to the contributors of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18677">PR#18677</a>.
</P></LI>

<LI><P>
New dataset ‘gait’ thanks to Heather Turner and Ella Kaye, used in
examples.
</P></LI>

<LI><P>
New datasets ‘penguins’ and ‘penguins_raw’ thanks to Ella Kaye, Heather
Turner, and Kristen Gorman.
</P></LI>

<LI><P>
‘isSymmetric(&lt;matrix&gt;)’ gains a new option ‘trans = &quot;C&quot;’; when set to
non-default, it tests for “simple” symmetry of complex matrices.
</P></LI>

<LI><P>
‘model.frame()’ produces more informative error messages in some cases
when variables in the formula are not found, thanks to Ben Bolker's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18860">PR#18860</a>.
</P></LI>

<LI><P>
‘selectMethod(f, ..)’ now keeps the function name if the function
belongs to a group generic and the method is for the generic.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.0 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
A C23 compiler (if available) is now selected by default for
compilation of R and packages.  R builds can opt out _via_ the
‘configure’ flag ‘--without-C23’, unless the specified or default
(usually ‘gcc’) compiler defaults to C23: ‘gcc’ 15 does.
</P>
<P>
A C23 compiler is known to be selected with ‘gcc’ 13-15, LLVM ‘clang’
18-20 (and 15 should), Apple ‘clang’ 15-17 and Intel 2024.2-2025.0 (and
2022.2 should).
</P>
<P>
Current binary distributions on macOS use Apple ‘clang’ 14 and so do
not use C23.
</P></LI>

<LI><P>
The minimum ‘autoconf’ requirement for a maintainer build has been
increased to ‘autoconf’ 2.72.
</P></LI>

<LI><P>
Building the HTML and Info versions of the R manuals now requires
‘texi2any’ from Texinfo 6.1 or later.
</P></LI>

<LI><P>
Failures in building the manuals under ‘doc’ now abort the
installation, removing any file which caused the failure.
</P></LI>

<LI><P>
Control of symbol visibility is now supported on macOS (the previous
check only worked on ELF platforms).
</P></LI>

<LI><P>
There is now support for installing the debug symbols for recommended
packages on macOS: see ‘REC_INSTALL_OPT’ in file ‘config.site’.
</P></LI>

<LI><P>
‘configure’ is now able to find an external ‘libintl’ on macOS (the
code from an older GNU gettext distribution failed to try linking with
the macOS Core Foundation framework).
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.0 Installation on Windows </H4>
<UL>
<LI><P>
Both building R and installing packages use the C compiler in C23 mode.
</P></LI>

<LI><P>
R on Windows by default uses ‘pkg-config’ for linking against external
libraries.  This makes it easier to test R and packages with
alternative toolchains (such as from Msys2, e.g., testing with LLVM and
possibly with sanitizers). It also allows more significant Rtools
updates within a single R minor release.
</P></LI>

<LI><P>
The installer scripts for Windows have been tailored to Rtools45, an
update of the Rtools44 toolchain.  It is based on GCC 14.  The
experimental support for 64-bit ARM (‘aarch64’) CPUs is based on LLVM
19.  R-devel and R 4.5.x are no longer maintained to be buildable using
Rtools44 and it is advised to switch to Rtools45.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
‘is.R()’ is defunct.  Environment variable ‘_R_DEPRECATED_IS_R_’ no
longer has any effect.
</P></LI>

<LI><P>
Deprecated (for more than 9 years!) functions ‘linearizeMlist’,
‘listFromMlist’, and ‘showMlist’ and the ‘&quot;MethodsList&quot;’ class for S4
method handling were removed from package ‘methods’.  Deprecated
functions ‘balanceMethodsList’, ‘emptyMethodsList’,
‘inheritedSubMethodLists’, ‘insertMethod’, ‘insertMethodInEmptyList’,
‘makeMethodsList’, ‘mergeMethods’, ‘MethodsList’, ‘MethodsListSelect’,
and ‘SignatureMethod’ were made defunct, as were the ‘&quot;MethodsList&quot;’
branches of functions ‘assignMethodsMetaData’, ‘finalDefaultMethod’,
and ‘MethodAddCoerce’.
</P></LI>

<LI><P>
‘getMethods(*, table = TRUE)’ is deprecated.
</P></LI>

<LI><P>
Building with the bundled (and old) version of ‘libintl’ is deprecated
and now gives a ‘configure’ warning.  This should be selected only if
neither the OS's ‘libc’ (as on GNU Linux) nor an external ‘libintl’
library provide suitable functions.
</P>
<P>
Instead install ‘libintl’ from a recent version of GNU gettext
(available for macOS) or use ‘configure’ option ‘--disable-nls’.
</P>
<P>
The ability to use the bundled version may be removed as soon as R
4.5.1.
</P></LI>

<LI><P>
The deprecated ‘xfig()’ graphics device has been removed.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.0 Package Installation </H4>
<UL>
<LI><P>
Packages are now installed using C23 where supported by the OS and R
build.
</P>
<P>
Packages using R's compiler settings can ask *not* to use C23 _via_
including ‘USE_C17’ in ‘SystemRequirements’ or can be installed by ‘R
CMD INSTALL --use-C17’.  (Some packages ignore these settings in their
‘configure’ script or when compiling in sub-directories of ‘src’, as
will those using a ‘src/Makefile’.)
</P></LI>

<LI><P>
Source installs now report the package version in the log.
</P></LI>

<LI><P>
There is preliminary support for C++26 with GCC &gt;= 14, Apple ‘clang++’
&gt;= 16 and LLVM ‘clang++’ &gt;= 17.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.0 C-Level Facilities </H4>
<UL>
<LI><P>
The non-API and hidden entry points ‘Rf_setIVector’, ‘Rf_setRVector’
and ‘Rf_setSVector’ have been removed.
</P></LI>

<LI><P>
The internal code for changing the parent of an environment now signals
an error if the new parent is not an environment or if the change would
create a cycle in the parent chain.
</P></LI>

<LI><P>
‘SET_TYPEOF’ now signals an error unless the old and new types have
compatible memory structure and content. Use of ‘SET_TYPE’ in package C
code should be avoided and may be deprecated in the near future. It is
better to allocate an object of the desired type in the first place.
</P></LI>

<LI><P>
The set of LAPACK (double and complex) routines declared in the headers
‘R_ext/Lapack.h’ and ‘R_ext/Applic.h’ has been extended, mostly to
routines actually in use by packages.
</P></LI>

<LI><P>
Memory allocation messages now use the (non-SI notation) ‘&quot;Mb&quot;’, ‘&quot;Gb&quot;’
, ..., and ‘&quot;Mbytes&quot;’ strings as _arguments_ instead of as part of the
(translatable format) string.  This is one step for <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18297">PR#18297</a>; from
Henrik Bengtsson.
</P></LI>

<LI><P>
Header ‘R_ext/Constants.h’ (included by ‘R.h’) now always includes
header ‘float.h’ or ‘cfloat’ for constants such as ‘DBL_MAX’.
</P></LI>

<LI><P>
Strict R headers are now the default.  This removes the legacy
definitions of ‘PI’, ‘Calloc’, ‘Realloc’ and ‘Free’: use ‘M_PI’,
‘R_Calloc’, ‘R_Realloc’ or ‘R_Free’ instead.
</P></LI>

<LI><P>
The deprecated and seemingly never-used S-compatibility macros
‘F77_COM’ and ‘F77_COMDECL’ have been removed from header ‘R_ext/RS.h’.
</P></LI>

<LI><P>
The ‘enum’ ‘Rboolean’ defined in header ‘R_ext/Boolean.h’ now has a
fixed underlying type of ‘int’ on platforms whose C compiler supports
this.
</P>
<P>
This is a C23 feature (taken from C++11) and also supported in all C
standards by some versions of ‘clang’ (from LLVM and Apple) and (with a
warning when using ‘-pedantic’) by GCC when in C17 mode.
</P>
<P>
A fair amount of code has assumed this: it may be changed to a smaller
type in future.  In particular, as standard compilers do not check the
validity of assignment to an ‘enum’, it has been possible to assign
‘NA_INTEGER’ to an ‘Rboolean’ variable, coerce it to ‘int’ and recover
the value.
</P>
<P>
If there were a platform which used an underlying type of a different
size this would be an ABI-breaking change (but we are unaware of any
such platform).
</P></LI>

<LI><P>
Header ‘R_ext/Boolean.h’ now ensures that a ‘bool’ type is available
either as a keyword (C23 and C++) or by including the C99 header
‘stdbool.h’.  This is being used internally in R to replace ‘Rboolean’
by ‘bool’.
</P></LI>

<LI><P>
There are new functions ‘asRboolean’ and ‘asBool’, variants of
‘asLogical’ more suited to converting logical arguments to ‘Rboolean’
or to ‘bool’. They require a length-one input and throw an error if
that evaluates to ‘NA’.
</P></LI>

<LI><P>
Header ‘R_exts/Error.h’ now ensures that ‘Rf_error’ and similar are
given a ‘noreturn’ attribute when used from C++ under all compilers.
</P></LI>

<LI><P>
Header ‘R_exts/Utils.h’ no longer contains a declaration for
‘F77_SUB(interv)’.  This is intended to be called from Fortran and was
wrongly declared: ‘LOGICAL’ in Fortran corresponds to ‘int *’ not
‘Rboolean *’.
</P></LI>

<LI><P>
Defining ‘R_INCLUDE_BOOLEAN_H’ to ‘0’ before including headers ‘R.h’ or
‘Rinternals.h’ (or any other header which includes ‘R_ext/Boolean.h’)
stops the inclusion of header ‘R_ext/Boolean.h’ which `defines'
constants ‘TRUE’, ‘FALSE’, ‘true’, ‘false’ and the type ‘bool’ which
some package maintainers wish to avoid.
</P>
<P>
Note that the last three are keywords in C23 and C++11 so cannot be
avoided entirely.  However, with commonly-used compilers they can be
masked by a macro of the same name, often with a warning.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.0 C-Level API </H4>
<UL>
<LI><P>
The ‘Writing R Extensions’ Texinfo source now contains very
experimental annotations for more clearly identifying the API status of
C entry points. These annotations are used to produce indices for API,
experimental API, and embedded API entry points in the rendered
versions.  This is very preliminary and may be dropped if a better
approach emerges.
</P>
<P>
Also for Fortran-callable entry points which are part of the API.
</P></LI>

<LI><P>
‘Writing R Extensions’ has a new section ‘Moving into C API compliance’
to help package authors move away from using non-API endpoints. This
section will continue to be updated as work on clarifying and
tightening the C API continues.
</P></LI>

<LI><P>
New API function ‘R_mkClosure’. This checks that its arguments are
valid and should be used instead of ‘allocSExp(CLOSXP’ followed by
‘SET_FORMALS’, ‘SET_BODY’, and ‘SET_CLOENV’.
</P></LI>

<LI><P>
New API functions ‘R_ClosureFormals’, ‘R_ClosureBody’, and
‘R_ClosureEnv’ for extracting closure components.  The existing
functions ‘R_ClosureExpr’ and ‘R_BytecodeExpr’ have also been added to
the API.
</P></LI>

<LI><P>
New API function ‘R_ParentEnv’ corresponding to R's ‘parent.env()’.
</P></LI>

<LI><P>
Further non-API entry points have been added to those reported by ‘R
CMD check’: ‘COMPLEX0’, ‘ddfind’, ‘DDVAL’, ‘ENSURE_NAMEDMAX’,
‘ENVFLAGS’, ‘FRAME’, ‘HASHTAB’, ‘INTERNAL’, ‘IS_ASCII’, ‘IS_UTF8’,
‘LEVELS’, ‘NAMED’, ‘PRSEEN’, ‘RDEBUG’, ‘REAL0’, ‘Rf_findVarInFrame3’,
‘SET_BODY’, ‘SET_CLOENV’, ‘SET_FORMALS’, ‘SET_PRSEEN’, ‘SET_RDEBUG’,
‘STRING_PTR’, ‘SYMVALUE’, and ‘VECTOR_PTR’. Any declarations for these
in public header files will be removed in the near future, and they
will be hidden where possible.
</P></LI>

<LI><P>
Some ‘R CMD check’ ‘NOTE’s on the use of non-API entry points have been
upgraded to ‘WARNING’s in preparation for removing declarations and,
where possible, hiding these entry points.
</P></LI>

<LI><P>
Additional non-API entry points have been added to those reported by ‘R
CMD check’: ‘IS_LONG_VEC’, ‘PRCODE’, ‘PRENV’, ‘PRVALUE’, ‘R_nchar’,
‘Rf_NonNullStringMatch’, ‘R_shallow_duplicate_attr’, ‘Rf_StringBlank’,
‘SET_TYPEOF’, ‘TRUELENGTH’, ‘XLENGTH_EX’, and ‘XTRUELENGTH’.
</P></LI>

<LI><P>
Enable defining ‘R_NO_REMAP_RMATH’ and calling ‘Rf_*()’ as has been
documented in ‘Writing R Extensions’ for a while, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18800">PR#18800</a>
thanks to Mikael Jagan and Suharto Anggono.
</P></LI>

<LI><P>
‘R_GetCurrentSrcref(skip)’ now skips calls rather than ‘srcref’s,
consistent with counting items in the ‘traceback()’ display.  If ‘skip
== NA_INTEGER’, it searches for the first ‘srcref’, starting at the
current evaluation state and proceeding through the call stack;
otherwise, it returns the ‘srcref’ of the requested entry from the call
stack.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.0 Utilities </H4>
<UL>
<LI><P>
‘R CMD INSTALL’ (and hence ‘check’) now compile C++ code with
‘-DR_NO_REMAP’.
</P>
<P>
‘Writing R Extensions’ has been revised to describe the remapped entry
points, for with the ‘Rf_’ prefix remains optional when used from C
code (but is recommended for new C code).
</P></LI>

<LI><P>
‘R CMD check --as-cran’ notes bad parts in the ‘DESCRIPTION’ file's URL
fields.
</P></LI>

<LI><P>
‘R CMD check’ now reports more warnings on long-deprecated/obsolete
Fortran features reported by ‘gfortran -Wall’.  For hints on how to
modernize these, see
&lt;https://fortranwiki.org/fortran/show/Modernizing+Old+Fortran&gt;.
</P></LI>

<LI><P>
Since almost all supported R versions now use UTF-8, ‘R CMD check’ no
longer by default reports on marked UTF-8 or Latin-1 strings in
character data.  Set environment variable
‘_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_’ to a false value for the
previous behaviour.
</P></LI>

<LI><P>
‘tools::checkDocFiles()’ notes more cases of usage documentation
without corresponding \alias.
</P></LI>

<LI><P>
‘R CMD check’ with a true value for environment variable
‘_R_CHECK_BASHISMS_’ checks more thoroughly, including for ‘bash’
scripts and bashisms in components of ‘autoconf’-generated ‘configure’
scripts.
</P></LI>

<LI><P>
‘R CMD check’ gains option ‘--run-demo’ to check demo scripts
analogously to tests.  This includes a check for undeclared package
dependencies: it can also be enabled separately by setting the
environment variable ‘_R_CHECK_PACKAGES_USED_IN_DEMO_’ to a true value
(as done by ‘R CMD check --as-cran’).
</P></LI>

<LI><P>
‘R CMD build’ now supports ‘--compression=zstd’ on platforms with
sufficient support for ‘zstd’.
</P></LI>

<LI><P>
‘tools::texi2pdf(..., texinputs=&lt;paths&gt;)’ now _pre_pends the specified
&lt;paths&gt; to ‘TEXINPUTS’.  When building R itself (‘doc/NEWS.pdf’ and
base vignettes) or package manuals using ‘R CMD Rd2pdf’, it is ensured
that this R's ‘Rd.sty’ takes precedence over any other (incompatible)
versions in default “texmf trees”.
</P></LI>

<LI><P>
‘tools::Rd2latex()’ no longer outputs an ‘\inputencoding{utf8}’ line by
default; such a declaration is obsolete since LaTeX 2018-04-01.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.0 Bug Fixes </H4>
<UL>
<LI><P>
‘update_pkg_po()’ now copies ‘.mo’ files to the ‘translation’ package
even if a ‘DESCRIPTION’ file exists, thanks to Michael Chirico fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18694">PR#18694</a>.
</P></LI>

<LI><P>
Auto-generated ‘citation()’ entries no longer include (additional) URLs
in the ‘note’ field (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18547">PR#18547</a>).
</P></LI>

<LI><P>
‘as.data.frame.list()’ gets a new option ‘new.names’ and now preserves
‘NA’ names, thus fixing the ‘format()’ method for data frames, and also
bug <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18745">PR#18745</a>.  Relatedly, the ‘format()’ method gets an option
‘cut.names’.
</P></LI>

<LI><P>
‘stem()’ formats correctly also in cases where rounding up, e.g., from
9.96 to 10 needs more digits; thanks to Ella Kaye and Kelly Bodwin,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=8934">PR#8934</a> during ‘R Dev Day’ at useR!2024.
</P>
<P>
Additionally, ‘stem(x)’ now works normally also when ‘length(x) == 1’.
</P></LI>

<LI><P>
‘tools’' ‘toTitleCase()’ now works better, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18674">PR#18674</a>, thanks to
Shannon Pileggi, Sarah Zeller, Reiko Okamoto, and Hugo Gruson's ‘R Dev
Day’ effort.
</P></LI>

<LI><P>
Printing matrices (typically with many rows and or columns) now also
omits columns when desirable according to option ‘max.print’, or
argument ‘max’, respectively.  This is primarily the work of Lorena
Abad, Ekaterina Akimova, Hanne Oberman, Abhishek Ulayil, and Lionel
Henry at the ‘R Dev Day’, thus fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15027">PR#15027</a>.
</P></LI>

<LI><P>
‘Sys.setLanguage()’ now warns about _some_ failures to change the
language.
</P></LI>

<LI><P>
Printing ‘ls.str()’ now shows ‘&quot;&lt;missing&gt;&quot;’ even when R's language
setting is not English.
</P></LI>

<LI><P>
‘xyTable()’ now handles and reports ‘NA’s fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18654">PR#18654</a>.  Thanks to
Heather Turner and Zhian Kamvar for report and patch.
</P></LI>

<LI><P>
‘as(*, &quot;raw&quot;)’ now works as documented, thanks to Mikael Jagan's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18795">PR#18795</a>.
</P></LI>

<LI><P>
Informational messages of e.g., ‘print(1:1e4, max=1000)’, now correctly
mention ‘max’ in addition to ‘getOption(&quot;max.print&quot;)’.
</P></LI>

<LI><P>
‘rowSums(A, dims = dd)’, ‘colMeans(..)’, etc, give a more helpful error
message when ‘dd’ is not of length one, thanks to Michael Chirico's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18811">PR#18811</a>.
</P></LI>

<LI><P>
‘seq.Date()’ no longer explicitly coerces results from integer to
double, analogously with ‘seq.default()’, ‘seq.int()’ and
‘seq.POSIXt()’, resolving a _modified_ <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18782">PR#18782</a>.
</P></LI>

<LI><P>
‘axisTicks(usr, ...)’ documentation clarification for ‘log = TRUE’,
fixing bug <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18821">PR#18821</a> thanks to Duncan Murdoch.
</P></LI>

<LI><P>
‘debug()’ and ‘debugonce(fun)’ now also accept a string ‘fun’ when it
names an S4 generic, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18822">PR#18822</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘debugonce(&lt;S4-simple-body&gt;, signature=*)’ now works correctly when
“called twice”, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18824">PR#18824</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘format(dtime, digits=* / format=*)’ is more consistent when the
‘POSIXt’ date-time object ‘dtime’ has fractional (non integer) seconds.
Fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17350">PR#17350</a>, thanks to new contributions by LatinR's ‘R Dev Day’
participants, Heather Turner and Dirk Eddelbuettel; also fixes more
cases, notably when ‘format’ contains ‘%OS&lt;nodigit&gt;’.
</P></LI>

<LI><P>
‘options(scipen = NULL)’ and other invalid values now signal an error
instead of invalidating ops relying on a finite integer value.  Values
outside the range -9 .. 9999 are now warned about and set to a boundary
or to the default ‘0’, e.g., in case of an ‘NA’.  This also fixes
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16322">PR#16322</a>.
</P></LI>

<LI><P>
‘cbind()’ could segfault with ‘NULL’ inputs.  (Seen when R was built
with ‘gcc-14’, LTO and C99 inlining semantics.)
</P></LI>

<LI><P>
Fix segfault on ‘quartz()’ from ‘grid.glyph()’ call with ‘glyphInfo()’
that describes non-existent font (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18784">PR#18784</a>).  Thanks to Tomek
Gieorgijewski.
</P></LI>

<LI><P>
‘format()’ etc, using ‘decimal.mark = s’, by default getting ‘s &lt;-
getOption(&quot;OutDec&quot;)’, signals a warning (to become an error in the
future) when ‘s’ is not a string with exactly one character.
</P></LI>

<LI><P>
When ‘s &lt;- getOption(&quot;OutDec&quot;)’ is not a string of one character, a
warning is signalled now whenever it is used in internal C code,
notably when calling the default methods of ‘format()’.
</P></LI>

<LI><P>
‘pwilcox()’ and ‘qwilcox()’ now check for user interrupt less
frequently.
</P></LI>

<LI><P>
‘summary(&lt;stl&gt;)’ (which prints directly) finally gets the same ‘digits’
default as the formatting printing of default ‘summary()’ method
results, and it is documented explicitly.
</P></LI>

<LI><P>
‘options(show.error.locations = TRUE)’ once again shows the most recent
known location when an error is reported.  Setting its value to
‘&quot;bottom&quot;’ is no longer supported.  Numerical values are converted to
logical.
</P></LI>

<LI><P>
C API function ‘R_GetCurrentSrcref(skip)’ now returns ‘srcref’ entries
correctly.  (Note that there is also a change to the interpretation of
‘skip’; see the C-Level API entry above.)
</P></LI>

<LI><P>
‘tools::Rd2latex()’ now removes leading and trailing spaces from \alias
entries as documented, fixing indexing and linking hiccups in some PDF
manuals.
</P></LI>

<LI><P>
‘R CMD Rd2pdf’ can now render the package manual from a ‘--latex’
installation also when the help contains figures.
</P></LI>

<LI><P>
The argument of ‘as.environment()’ is now named ‘x’, not ‘object’, as
was always documented and shown when printing it; thanks to Gael
Millot's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18849">PR#18849</a>.
</P></LI>

<LI><P>
When ‘R CMD check’ aims at getting the time+date from a world clock, it
is more robust against unexpected non-error results, thanks to Michael
Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18852">PR#18852</a>.
</P></LI>

<LI><P>
The ‘tools::parseLatex()’ parser made several parsing errors
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18855">PR#18855</a>).
</P></LI>

<LI><P>
Error messages produced by ‘tools::parseLatex()’ are now more readable
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18855">PR#18855</a>).
</P></LI>

<LI><P>
‘R CMD build &lt;pkg&gt;’ excludes more file patterns when it tars the &lt;pkg&gt;
directory, fixing both <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18432">PR#18432</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18434">PR#18434</a>, for ‘vim’ and ‘GNU
Global’ ‘emacs’ users, thanks to Dirk Eddelbuettel's patch.
</P></LI>

<LI><P>
‘quantile()’'s default method gets an option ‘fuzz’ to protect against
floating point inaccuracy before rounding, thus fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15811">PR#15811</a> and, en
passant, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17683">PR#17683</a>.
</P></LI>

<LI><P>
Printing arrays now also omits columns, rows and slices when desirable
according to option ‘max.print’, or argument ‘max’, respectively,
addressing most of the remaining part of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15027">PR#15027</a>, thanks to Sherry
Zhang's patch.
</P></LI>

<LI><P>
‘drop.terms(y ~ w, 1)’ and similar now work, thanks to Benjamin
Sommer's report in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18861">PR#18861</a> and collaboration with Heather Turner
improving ‘reformulate()’.
</P></LI>

<LI><P>
Many arguments which should be length-1 logical are checked more
thoroughly.  The most commonly seen errors are in ‘unlink(,
recursive)’, ‘tempdir()’ and the ‘na.rm’ arguments of ‘max()’, ‘min()’,
‘sum()’, ....
</P>
<P>
‘grep()’, ‘strsplit()’ and similar took non-‘TRUE’/‘FALSE’ values of
their logical arguments as ‘FALSE’, but these were almost always
mismatches to unnamed arguments and are now reported as ‘NA’.
</P></LI>

<LI><P>
‘vignette(&quot;reshape&quot;)’ is now also available on Windows.
</P></LI>

<LI><P>
‘trace(coerce, ..)’ now works correctly, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18823">PR#18823</a> thanks to
Mikael Jagan.
</P></LI>

<LI><P>
‘R CMD check’ now also reports bad symbols in package shared objects
linked in from local static libraries (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18789">PR#18789</a>).
</P></LI>

<LI><P>
‘factanal()’ now works correctly also, e.g., for ‘GPArotation’,
‘oblimin()’ rotations, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18417">PR#18417</a>, thanks to Coen Bernaards and
others.
</P></LI>

<LI><P>
Setting ‘attributes’ on primitive functions is deprecated now and
already an error in the development version of R.  Changing the
‘environment’ of a primitive does no longer happen and signals a
warning.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.3 Installation </H4>
<UL>
<LI><P>
R can be installed using C23 (for example with ‘-std=gnu23’ or
‘-std=gnu2x’) with recent compilers including ‘gcc’ 12-14, Apple
‘clang’ 15-16, LLVM ‘clang’ 17-20 and Intel ‘icx’ 2024.2.
</P>
<P>
It can be installed with the upcoming (at the time of writing) ‘gcc’
15, which defaults to C23.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.3 C-Level Facilities </H4>
<UL>
<LI><P>
The functions ‘R_strtod’ and ‘R_atof’ now allow hexadecimal constants
without an exponent, for compatibility with their C99 versions
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18805">PR#18805</a>).
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.3 Utilities </H4>
<UL>
<LI><P>
‘R CMD build’ and ‘R CMD check’ now allow reference output for demo
scripts (‘demo/&lt;demo&gt;.Rout.save’ files) to be shipped with the package,
as proposed by Torsten Hothorn in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18816">PR#18816</a>.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.3 Bug Fixes </H4>
<UL>
<LI><P>
‘kappa(A, exact=TRUE)’ for singular ‘A’ returns ‘Inf’ more generally,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18817">PR#18817</a> reported by Mikael Jagan.
</P></LI>

<LI><P>
Fixed URLs of the sun spots (‘sunspot.month’ etc) data sets and mention
future changes due to recalibration.
</P></LI>

<LI><P>
The parser now accepts hexadecimal constants with a decimal point
without an exponent (taken as ‘p0’) as documented in
‘?NumericConstants’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18819">PR#18819</a>).
</P></LI>

<LI><P>
‘rbind()’ now works correctly when inputs include a raw vector and a
logical, integer or double vector - previously the inclusion of the
latter was garbled.
</P></LI>

<LI><P>
‘smooth.spline()’ checks validity of its arguments ‘df.offset’ and
‘penalty’: it could segfault if they were ‘NULL’.
</P></LI>

<LI><P>
‘isGeneric(&lt;primitive&gt;, fdef=*, getName=TRUE)’ now also returns the
name instead of just ‘TRUE’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18829">PR#18829</a> reported by Mikael Jagan.
</P></LI>

<LI><P>
‘isGeneric(fdef = print)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18369">PR#18369</a> thanks to Mikael
Jagan.
</P></LI>

<LI><P>
‘sort(x, method = &quot;qsort&quot;)’ made illegal accesses when ‘x’ has length
0.
</P></LI>

<LI><P>
‘dir.create()’ is protected against being passed an empty string as its
‘path’ argument.
</P></LI>

<LI><P>
Silent integer overflow could occur in the ‘exact’ computations for
‘fisher.test()’ for unrealistic inputs: this is now an error.
</P></LI>

<LI><P>
Some invalid C-level memory accesses are avoided for ‘loglin(, margin =
NULL)’.
</P>
<P>
‘loglin(, param = TRUE)’ no longer gives an error in corner cases such
as a one-dimensional input.
</P></LI>

<LI><P>
‘dev.capabilities() $ events’ now reports ‘&quot;Idle&quot;’ if the device
provides it, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18836">PR#18836</a>, thanks to Trevor Davis.
</P></LI>

<LI><P>
‘arima(.., seasonal = &lt;wrong-vector&gt;)’ correctly errors now, ditto for
‘arima0()’, thanks to Norbert Kuder's report on the R-devel list.
</P></LI>

<LI><P>
‘binomial(&lt;link&gt;)$linkinv(eta)’ and ‘.. $mu.eta(eta)’ now also work for
‘&quot;logit&quot;’ link when ‘is.integer(eta)’.
</P></LI>

<LI><P>
‘as.roman(x)’ now should work platform independently, also for, e.g.,
‘x = &quot;IIIII&quot;’ (= V) and ‘x = &quot;IIIIII&quot;’ (= VI).
</P></LI>

<LI><P>
‘R CMD Rd2pdf’ works again on an installed package directory containing
LaTeX help (from option ‘--latex’), thanks to a report by Peter
Ruckdeschel.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.2 C-Level Facilities </H4>
<UL>
<LI><P>
The S-compatibility macros ‘F77_COM’ and ‘F77_COMDECL’ defined in
header ‘R_ext/RS.h’ are deprecated and will be removed shortly.  We
could find no record of their use.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.2 Bug Fixes </H4>
<UL>
<LI><P>
Mathlib function ‘lgammacor(x)’ no longer warns about underflow to zero
for large ‘x’.
</P></LI>

<LI><P>
Text widths and heights were incorrectly reported by the Quartz device
if the drawing context didn't exist yet (typically when drawing
off-screen to a window that is yet to appear, see <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18591">PR#18591</a>).
</P></LI>

<LI><P>
The Quartz device could segfault in cases where paths with spaces are
used in the new glyph drawing API.  Thanks to Tomek Gieorgijewski
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18758">PR#18758</a>).
</P></LI>

<LI><P>
On macOS in R CRAN builds, it is again possible to read little-endian
UTF-16 text with a BOM from a connection using ‘encoding=&quot;UTF-16&quot;’.
Users building R from source should avoid using the system ‘libiconv’
in macOS 14.1 and later.
</P></LI>

<LI><P>
‘methods’' internal ‘.requirePackage()’ now re-enables primitive method
dispatch when needed; thanks to Ivan Krylov for demystifying CRAN
package check failures on the R-devel mailing list.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.1 C-Level Facilities </H4>
<UL>
<LI><P>
Functions ‘R_atof’ and ‘R_strtod’ declared in header ‘R_ext/Utils.h’
are now documented in ‘Writing R Extensions’ and so formally part of
the API.
</P></LI>

<LI><P>
The non-API entry points ‘Rf_setSVector’, ‘Rf_StringFalse’,
‘Rf_StringTrue’ and ‘Rf_isBlankString’ have been added to those
reported by ‘R CMD check’.
</P></LI>

<LI><P>
The new function ‘Rf_allocLang’ is now available. This provides an
alternative to the idiom of calling ‘Rf_allocList’ followed by
‘SET_TYPEOF’.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.1 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ now reports as warnings what ‘gfortran’ calls ‘Fortran
2018 deleted features’, all of which have long been marked as
‘obsolescent’ and some of which were deleted in Fortran 2008 or
earlier.  Fortran compilers are no longer required to support these.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.1 Bug Fixes </H4>
<UL>
<LI><P>
‘as.numeric()’, ‘scan()’, ‘type.convert()’ and other places which use
the internal C function ‘R_strtod’ now require a _non-empty_ digit
sequence in a decimal or binary exponent.  This aligns with the C/POSIX
standard for ‘strtod’ and with ‘?NumericConstants’.
</P></LI>

<LI><P>
‘as.data.frame(m, make.names=NA)’ now works correctly for a matrix ‘m’
with ‘NA’'s in row names.
</P></LI>

<LI><P>
The error message from ‘&lt;POSIXlt&gt;[[&quot;hour&quot;]]’ and similar now mentions
‘*[[, &quot;hour&quot;]]’, as wished for in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17409">PR#17409</a> and proposed by Michael
Chirico.
</P></LI>

<LI><P>
‘qbinom()’ and potentially ‘qpois()’, ‘qnbinom()’, no longer sometimes
fail accurate inversion (of ‘pbinom()’, etc), thanks to Christopher
Chang's report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18711">PR#18711</a>.
</P></LI>

<LI><P>
The internal help server on Windows can again serve requests sent in
quick succession, fixing a regression in R 4.4.0.
</P></LI>

<LI><P>
‘debugcall(&lt;S3Generic&gt;())’ now also works when a corresponding
S4-generic version is in the ‘methods’ cache (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18143">PR#18143</a>).
</P></LI>

<LI><P>
Package ‘tools’' ‘toTitleCase(ch0)’ now returns ‘character(0)’ when
‘ch0’ is of zero length; fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18724">PR#18724</a>, reported by David Hugh Jones.
</P></LI>

<LI><P>
‘R CMD check’ is no longer broken (without a check result and no
explanation in ‘00check.log’) for a package which declares an invalid
‘VignetteBuilder’ in ‘DESCRIPTION’ but has no vignettes.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
Startup banners, ‘R --version’, ‘sessionInfo()’ and ‘R CMD check’ no
longer report ‘(64-bit)’ as part of the platform as this is almost
universal - the increasingly rare 32-bit platforms will still report
‘(32-bit)’.
</P>
<P>
On Windows, ditto for window titles.
</P></LI>

<LI><P>
‘is.atomic(NULL)’ now returns ‘FALSE’, as ‘NULL’ is not an atomic
vector.  Strict back-compatibility would replace ‘is.atomic(foo)’ by
‘(is.null(foo) || is.atomic(foo))’ but should happen only sparingly.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 New Features </H4>
<UL>
<LI><P>
The ‘confint()’ methods for ‘&quot;glm&quot;’ and ‘&quot;nls&quot;’ objects have been
copied to the ‘stats’ package.  Previously, they were stubs which
called versions in package ‘MASS’. The ‘MASS’ namespace is no longer
loaded if you invoke (say) ‘confint(glmfit)’.  Further, the ‘&quot;glm&quot;’
method for ‘profile()’ and the ‘plot()’ and ‘pairs()’ methods for class
‘&quot;profile&quot;’ have been copied from ‘MASS’ to ‘stats’.  (‘profile.nls()’
and ‘plot.profile.nls()’ were already in ‘stats’.)
</P></LI>

<LI><P>
The ‘confint()’ and ‘profile’ methods for ‘&quot;glm&quot;’ objects have gained a
possibility to do profiling based on the Rao Score statistic in
addition to the default Likelihood Ratio. This is controlled by a new
‘test =’ argument.
</P></LI>

<LI><P>
The ‘pairs()’ method for ‘&quot;profile&quot;’ objects has been extended with a
‘which =’ argument to allow plotting only a subset of the parameters.
</P></LI>

<LI><P>
The ‘&quot;glm&quot;’ method for ‘anova()’ computes test statistics and p-values
by default, using a chi-squared test or an F test depending on whether
the dispersion is fixed or free.  Test statistics can be suppressed by
giving argument ‘test’ a false logical value.
</P></LI>

<LI><P>
In ‘setRepositories()’ the repositories can be set using their names
via ‘name =’ instead of index ‘ind =’.
</P></LI>

<LI><P>
‘methods()’ and ‘.S3methods()’ gain a ‘all.names’ option for the (rare)
case where functions starting with a ‘.’ should be included.
</P></LI>

<LI><P>
Serializations can now be interrupted (e.g., by ‘Ctrl-C’ on a
Unix-alike) if they take too long, e.g., from ‘save.image()’, thanks to
suggestions by Ivan Krylov and others on R-devel.
</P></LI>

<LI><P>
New startup option ‘--max-connections’ to set the maximum number of
simultaneous connections for the session.  Defaults to 128 as before:
allowed values up to 4096 (but resource limits may in practice restrict
to smaller values).
</P></LI>

<LI><P>
R on Windows (since Windows 10 2004) now uses the new Segment Heap
allocator. This may improve performance of some memory-intensive
applications.
</P></LI>

<LI><P>
When R packages are built, typically by ‘R CMD build &lt;pkg&gt;’, the new
‘--user=&lt;build_user&gt;’ option overrides the (internally determined) user
name, currently ‘Sys.info()[&quot;user&quot;]’ or ‘LOGNAME’.  This is a
(modified) fulfillment of Will Landau's suggestion in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17530">PR#17530</a>.
</P></LI>

<LI><P>
‘tools::testInstalledBasic()’ gets new optional arguments ‘outDir’ and
‘testSrcdir’, e.g., allowing to use it in a ‘&lt;builddir&gt; != &lt;srcdir&gt;’
setup, and in standard “binary” Windows installation *if* a source
‘tests/’ folder is present.
</P></LI>

<LI><P>
‘range(&lt;DT_with_Inf&gt;, finite = TRUE)’ now work for objects of class
‘&quot;Date&quot;’, ‘&quot;POSIXct&quot;’, and ‘&quot;POSIXlt&quot;’ with infinite entries,
analogously to ‘range.default()’, as proposed by Davis Vaughan on
R-devel.  Other ‘range()’-methods can make use of new function
‘.rangeNum()’.
</P></LI>

<LI><P>
New ‘.internalGenerics’ object complementing ‘.S3PrimitiveGenerics’,
for documentation and low-level book-keeping.
</P></LI>

<LI><P>
‘grid()’ now invisibly returns the x- and y- coordinates at which the
grid-lines were drawn.
</P></LI>

<LI><P>
‘norm(., type)’ now also works for complex matrices.
</P></LI>

<LI><P>
‘kappa(., exact = TRUE, norm = *)’ now works for all norms and also for
complex matrices.  In symmetric / triangular cases, the new argument
‘uplo = &quot;U&quot; | &quot;L&quot;’ allows the upper or lower triangular part to be
specified.
</P></LI>

<LI><P>
‘memDecompress(type = &quot;unknown&quot;)’ recognizes compression in the default
‘zlib’ format as used by ‘memCompress(type = &quot;gzip&quot;)’.
</P></LI>

<LI><P>
‘memCompress()’ and ‘memDecompress()’ will use the ‘libdeflate’ library
(&lt;https://github.com/ebiggers/libdeflate&gt;) if installed.  This uses the
same type of compression for ‘type = &quot;gzip&quot;’ but is 1.5-2x faster than
the system ‘libz’ library on some common platforms: the speed-up may
depend on the library version.
</P></LI>

<LI><P>
‘diff()’ for objects of class ‘&quot;Date&quot;’, ‘&quot;POSIXct&quot;’, and ‘&quot;POSIXlt&quot;’
accepts a ‘units’ argument passed via ‘...’.
</P></LI>

<LI><P>
Dynamic help now does a much better job of rendering package
‘DESCRIPTION’ metadata.
</P></LI>

<LI><P>
‘Rprof()’ gains an ‘event’ argument and support for elapsed (real) time
profiling on Unix (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18076">PR#18076</a>).
</P></LI>

<LI><P>
‘filled.contour()’ gains a ‘key.border’ argument.
</P></LI>

<LI><P>
‘tools::update_pkg_po()’ gets arguments ‘pot_make’ and ‘mo_make’ for
_not_ re-making the corresponding files, and additionally a ‘verbose’
argument.
</P></LI>

<LI><P>
Hexadecimal string colour specifications are now accepted in short
form, so, for example, we can use ‘&quot;#123&quot;’, which is equivalent to
‘&quot;#112233&quot;’.
</P>
<P>
Thanks to MikeFC for the original idea and Ella Kaye, Malcolm Barrett,
George Stagg, and Hanne Oberman for the patch.
</P></LI>

<LI><P>
Plain-text help shows \var markup by angle brackets.
</P></LI>

<LI><P>
The new experimental primitive function ‘declare()’ is intended to
eventually allow information about R code to be communicated to the
interpreter, compiler, and code analysis tools. The syntax for
declarations is still being developed.
</P></LI>

<LI><P>
Functions ‘psmirnov()’, ‘qsmirnov()’ and ‘rsmirnov()’ in package
‘stats’ have had argument ‘two.sided’ renamed to ‘alternative’, to take
into account that the permutation distributions of the one-sided
statistics can be different in the case of ties.  Consequence of
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18582">PR#18582</a>.
</P></LI>

<LI><P>
‘sort()’ is now an implicit S4 generic in ‘methods’.
</P></LI>

<LI><P>
Formatting and printing, ‘format(z), print(z)’, of complex vectors ‘z’
no longer zap relatively small real or imaginary parts to zero, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16752">PR#16752</a>.  This is an API change, as it was documented previously to
round real and imaginary parts together on purpose, producing nicer
looking output.  As mentioned, e.g. in the PR, this change is
compatible with many other “R-like” programming environments.
</P>
<P>
We have simplified the internal code and now basically format the real
and imaginary parts independently of each other.
</P></LI>

<LI><P>
New experimental functions ‘Tailcall()’ and ‘Exec()’ to support writing
stack-space-efficient recursive functions.
</P></LI>

<LI><P>
Where characters are attempted to be plotted by ‘pdf()’, ‘postscript()’
and ‘xfig()’ which are not in the selected 8-bit character set (most
often Latin-1) and the R session is using a UTF-8 locale, the warning
messages will show the UTF-8 character rather than its bytes and one
dot will be substituted per character rather than per byte.  (Platforms
whose ‘iconv()’ does transliteration silently plot the
transliteration.)
</P>
<P>
In a UTF-8 locale some transliterations are now done with a warning
(e.g., dashes and Unicode minus to hyphen, ligatures are expanded,
permille (‘‰’) is replaced by ‘o/oo’), although the OS may have got
there first.  These are warnings as they will continue to be replaced
by dots in earlier versions of R.
</P></LI>

<LI><P>
The matrix multiplication functions ‘crossprod()’ and ‘tcrossprod()’
are now also primitive and S3 generic, as ‘%*%’ had become in R 4.3.0.
</P></LI>

<LI><P>
‘source()’ and ‘example()’ have a new optional argument ‘catch.aborts’
which allows continued evaluation of the R code after an error.
</P></LI>

<LI><P>
The non-Quartz ‘tiff()’ devices allow additional types of compression
if supported by the platform's ‘libtiff’ library.
</P></LI>

<LI><P>
The list of base and recommended package names is now provided by
‘tools::standard_package_names()’.
</P></LI>

<LI><P>
‘cairo_pdf()’ and ‘cairo_ps()’ default to ‘onefile = TRUE’ to closer
match ‘pdf()’ and ‘postscript()’.
</P></LI>

<LI><P>
New option ‘catch.script.errors’ provides a documented way to catch
errors and then continue in non-interactive use.
</P></LI>

<LI><P>
‘L %||% R’ newly in ‘base’ is an expressive idiom for the phrases
‘if(!is.null(L)) L else R’ or ‘if(is.null(L)) R else L’.
</P></LI>

<LI><P>
The return value from ‘warnings()’ now always inherits from
‘&quot;warnings&quot;’ as documented, now also in the case of no warnings where
it previously returned ‘NULL’.
</P></LI>

<LI><P>
‘as.complex(&quot;1i&quot;)’ now returns ‘0 + 1i’ instead of ‘NA’ with a warning.
</P></LI>

<LI><P>
‘z &lt;- c(NA, 1i)’ now keeps the imaginary part ‘Im(z[1]) == 0’, no
longer coercing to ‘NA_complex_’.  Similarly, ‘cumsum(z)’ correctly
sums real and imaginary parts separately, i.e., without “crosstalk” in
case of ‘NA’s.
</P></LI>

<LI><P>
On Alpine Linux ‘iconv()’ now maps ‘&quot;latin2&quot;’, ‘&quot;latin-2&quot;’, ‘&quot;latin9&quot;’
and ‘&quot;latin-9&quot;’ to encoding names the OS knows about
(case-insensitively).
</P></LI>

<LI><P>
‘iconv(sub = &quot;Unicode&quot;)’ now always zero-pads to four (hex) digits,
rather than to 4 or 8.  (This seems to have become the convention once
Unicode restricted the number of Unicode points to 2^21 - 1 and so will
never need more than 6 digits.)
</P></LI>

<LI><P>
‘NCOL(NULL)’ now returns 0 instead of 1, for consistency with
‘cbind()’.
</P></LI>

<LI><P>
The information for the Euro glyph missing from the Adobe ‘.afm’ files
for the Courier, Helvetica and Times families has been copied from
their URW equivalents - this will improve vertical centring in the
‘pdf()’ and ‘postscript()’ devices.
</P></LI>

<LI><P>
The included BLAS sources have been updated to those shipped with
LAPACK version 3.12.0.  The changes are almost entirely cosmetic.
</P></LI>

<LI><P>
The included LAPACK sources have been updated to version 3.12.0 and
some further double-complex routines added.
</P></LI>

<LI><P>
There are new font families for the 2014-5 URW 2.0 fonts (see ‘?pdf’)
which are included in recent versions of Ghostscript.  These have font
widths for most Greek glyphs and a few others which were missing from
the original versions (whose font families remain available for
reproducibility, although Ghostscript-based viewers will render using
the 2.0 versions).
</P></LI>

<LI><P>
Improve the large-n efficiency of ‘as.matrix(&lt;dist&gt;)’, thanks an R
contributors effort, notably by Tim Taylor and Heather Turner, see
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18660">PR#18660</a>.
</P></LI>

<LI><P>
The default and ‘numeric’ methods of ‘all.equal()’ get a ‘check.class’
option.
</P></LI>

<LI><P>
‘zapsmall()’ gets new optional arguments, function ‘mFUN’ and ‘min.d’,
for extra flexibility; fulfills a wish in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18199">PR#18199</a>.  Also, it is now an
implicit S4 generic in package ‘methods’.
</P></LI>

<LI><P>
The Rd filter for ‘aspell()’ gains an ‘ignore’ argument.
</P></LI>

<LI><P>
New generic function ‘sort_by()’, primarily useful for the ‘data.frame’
method which can be used to sort rows of a data frame by one or more
columns.
</P></LI>

<LI><P>
The licence headers for the RPC code in ‘src/extra/xdr’ have been
updated to use the GPL-compatible licence published by Oracle America
in 2010.
</P></LI>

<LI><P>
New function ‘pkg2HTML()’ in ‘tools’ to create single-page HTML
reference manuals for R packages.
</P></LI>

<LI><P>
The byte code evaluator now uses less C stack space for recursive calls
to byte-compiled functions. It also makes more of an effort to avoid
allocations for scalar return values.
</P></LI>

<LI><P>
New completion option ‘backtick’ (disabled by default) allows
non-syntactic completions to be wrapped in backquotes. This is
currently only useful for Jupyter notebooks via the ‘IRkernel’ package,
and may cause problems for other backends.
</P></LI>

<LI><P>
The numeric version creators now stop on invalid non-character version
specifications.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 Installation </H4>
<UL>
<LI><P>
The parser has been updated to work with ‘bison’ 3.8.2, which is now
used for the pre-generated parsers in ‘gram.c’, ‘file.c’, and
‘gramRd.c’. A few parser error messages have changed, which may affect
code that relies on exact messages.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
System valgrind headers are now required to use ‘configure’ option
‘--with-valgrind-instrumentation’ with value ‘1’ or ‘2’.
</P></LI>

<LI><P>
‘configure’ will warn if it encounters a 32-bit build, as that is
nowadays almost untested.
</P></LI>

<LI><P>
Environment variable ‘R_SYSTEM_ABI’ is no longer used and so no longer
recorded in ‘etc/Renviron’ (it was not on Windows and was only ever
used when preparing package ‘tools’).
</P></LI>

<LI><P>
If the ‘libdeflate’ library and headers are available, ‘libdeflate’
rather than ‘libz’ is used to (de)compress R objects in lazy-load
databases.  Typically tasks spend up to 5% of their time on such
operations, although creating lazy-data databases is one of the
exceptions.
</P>
<P>
This can be suppressed if the library is available by the ‘configure’
option ‘--without-libdeflate-compression’.
</P></LI>

<LI><P>
‘configure’ option ‘--enable-lto=check’ has not worked reliably since
2019 and has been removed.
</P></LI>

<LI><P>
The minimum ‘autoconf’ requirement for a maintainer build has been
increased to ‘autoconf’ 2.71.
</P>
<P>
It is intended to increase this to 2.72 for R 4.5.0: the distributed
‘configure’ file was generated using 2.72.
</P></LI>

<LI><P>
The minimum version requirement for an external LAPACK has been reduced
to 3.9.0.
</P></LI>

<LI><P>
No default C++ compiler is set if no C++17 compiler is detected: there
is no longer an automatic fallback to C++14 or C++11.
</P>
<P>
Compilers from the last five years should have sufficient support: for
others macros ‘CXX’ and ‘CXXSTD’ can be set in file ‘config.site’ to
provide a fallback if needed.
</P>
<P>
The Objective-C++ compiler now by default uses the standard selected by
R for C++ (currently C++17) rather than the default standard for the
C++ compiler (which on macOS is still C++98).
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 Installation on macOS </H4>
<UL>
<LI><P>
A new ‘configure’ option ‘--with-newAccelerate’ makes use of Apple's
‘new’ BLAS / LAPACK interfaces in their Accelerate framework.  Those
interfaces are only available in macOS 13.3 or later, and building
requires SDK 13.3 or later (from the Command Line Tools or Xcode 14.3
or later).
</P>
<P>
By default the option uses new Accelerate for BLAS calls: to also use
it for LAPACK use option ‘--with-newAccelerate=lapack’.  The later
interfaces provide LAPACK 3.9.1 rather than 3.2.1: 3.9.1 is from
2021-04 and does not include the improved algorithms introduced in
LAPACK 3.10.0 (including for BLAS calls).
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 Installation on Windows </H4>
<UL>
<LI><P>
The makefiles and installer scripts for Windows have been tailored to
Rtools44, an update of the Rtools43 toolchain.  It is based on GCC 13
and newer versions of MinGW-W64, binutils and libraries (targeting
64-bit Intel CPUs).  R-devel can no longer be built using Rtools43
without changes.
</P></LI>

<LI><P>
Rtools44 has experimental support for 64-bit ARM (‘aarch64’) CPUs _via_
the LLVM 17 toolchain using ‘lld’, ‘clang’/‘flang-new’ and ‘libc++’.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ notes when S4-style exports are used without declaring a
strong dependence on package ‘methods’.
</P></LI>

<LI><P>
‘tools::checkRd()’ (used by ‘R CMD check’) detects more problems with
\Sexpr-based dynamic content, including bad nesting of \Sexprs and
invalid arguments.
</P></LI>

<LI><P>
‘tools::checkRd()’ now reports Rd titles and section names ending in a
period; this is ignored by ‘R CMD check’ unless environment variable
‘_R_CHECK_RD_CHECKRD_MINLEVEL_’ is set to -5 or smaller.
</P></LI>

<LI><P>
‘R CMD check’ now notes Rd files without an \alias, as long documented
in ‘Writing R Extensions’ §1.3.1.  The check for a missing \description
has been moved from ‘tools::checkRd()’ to ‘tools::checkRdContents()’.
</P></LI>

<LI><P>
‘R CMD check’ now visits ‘inst/NEWS.Rd’ and OS-specific ‘man’
subdirectories when checking Rd files.
</P></LI>

<LI><P>
‘tools::checkDocFiles()’ and ‘tools::checkRdContents()’ now also check
internal Rd files by default, but “specially” (ignoring missing
documentation of arguments).
</P></LI>

<LI><P>
‘R CMD Rdiff’ gets option ‘--useEx’.
</P></LI>

<LI><P>
‘R CMD check’ now warns on non-portable uses of Fortran ‘KIND’ such as
‘INTEGER(KIND=4)’ and ‘REAL(KIND=8)’.
</P>
<P>
To see the failing lines set environment variable
‘_R_CHECK_FORTRAN_KIND_DETAILS_’ to a true value.
</P></LI>

<LI><P>
When checking Rd files, ‘R CMD check’ now notes some of the “lost
braces” that ‘tools::checkRd()’ finds.  Typical problems are Rd macros
missing the initial backslash (e.g., ‘code{...}’), in-text set notation
(e.g., ‘{1, 2}’, where the braces need escaping), and \itemize lists
with \describe-style entries of the form \item{label}{description}.
</P></LI>

<LI><P>
‘R CMD INSTALL’ (and hence ‘check’) will compile C++ code with
‘-DR_NO_REMAP’ if environment variable ‘_R_CXX_USE_NO_REMAP_’ is set to
a true value.  It is planned that this will in future become the
default for compiling C++.
</P></LI>

<LI><P>
The new built-in Rd macro \dontdiff{} can be used to mark example code
whose output should be ignored when comparing check output to reference
output (‘tests/Examples/&lt;pkg&gt;-Ex.Rout.save’).  The \dontdiff tag, like
\donttest, is _not_ shown on the rendered help page, so provides a
clean alternative to ‘## IGNORE_RDIFF_(BEGIN|END)’ comments.
</P></LI>

<LI><P>
‘R CMD build’ when there is no ‘NAMESPACE’, now uses the recommended
‘exportPattern(&quot;^[^.]&quot;)’, instead of exporting everything.
</P></LI>

<LI><P>
‘R CMD check’ now warns about non-ASCII characters in the ‘NAMESPACE’
file (in addition to R files). Such packages are not portable and may
fail to install on some platforms.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 C-Level Facilities </H4>
<UL>
<LI><P>
Headers ‘R_ext/Applic.h’ and ‘R-ext/Linpack.h’ used to include
‘R_ext/BLAS.h’ although this was undocumented and unneeded by their
documented entry points.  They no longer do so.
</P></LI>

<LI><P>
New function ‘R_missing()’, factored out from ‘do_missing()’, used to
fix <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18579">PR#18579</a>.
</P></LI>

<LI><P>
‘SEXP’ type ‘S4SXP’ has been renamed to ‘OBJSXP’ to support
experimenting with alternative object systems.  The ‘S4SXP’ value can
still be used in ‘C’ code but is now deprecated.  Based on
contributions from the R Consortium's Object-Oriented Programming
Working Group.
</P></LI>

<LI><P>
New function ‘pow1p(x,y)’ for accurate ‘(1+x)^y’.
</P></LI>

<LI><P>
‘mkCharLenCE’ was incorrectly documented to take a ‘size_t’ length but
was implemented with ‘int’ (and character strings in R are limited to
2^31 - 1 bytes).
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
‘data()’ no longer handles zipped data from long-defunct (since R
2.13.0) ‘--use-zip-data’ installations.
</P></LI>

<LI><P>
The legacy graphics devices ‘pictex()’ and ‘xfig()’ are now deprecated.
They do not support recent graphics enhancements and their font
handling is rudimentary. The intention is to retain them for historical
interest as long as they remain somewhat functional.
</P></LI>

<LI><P>
Support for ‘encoding = &quot;MacRoman&quot;’ has been removed from the ‘pdf()’
and ‘postscript()’ devices - this was a legacy encoding supporting
classic macOS up to 2001 and no longer has universal ‘libiconv’
support.
</P></LI>

<LI><P>
‘is.R()’ is deprecated as no other S dialect is known to be in use (and
this could only identify historical dialects, not future ones).
</P>
<P>
Further information on calls can be obtained by setting the environment
variable ‘_R_DEPRECATED_IS_R_’ to ‘error’ which turns the deprecation
warning into an error and so by default gives a traceback.  (This is
done by ‘R CMD check --as-cran’.)
</P></LI>

<LI><P>
‘UseMethod()’ no longer forwards local variables assigned in the
generic function into method call environments before evaluating the
method body. This makes method calls behave more like standard function
calls and makes method code easier to analyze correctly.
</P></LI>

<LI><P>
The twelve ‘as.data.frame.&lt;class&gt;()’ methods which were deprecated only
via ‘_R_CHECK_AS_DATA_FRAME_EXPLICIT_METHOD_’ and in ‘R CMD check
--as-cran’ are formally deprecated now in favour of calling
‘as.data.frame()’ or ‘as.data.frame.vector()’.  The deprecation “check”
now works also when ‘as.data.frame()’ is S4 generic thanks to Ivan
Krylov.
</P></LI>

<LI><P>
The default method for the directional comparison operators ‘&lt;’, ‘&gt;’,
‘&lt;=’, and ‘&gt;=’ now signals an error when one of the operands is a
language object, i.e. a symbol or a call.
</P></LI>

<LI><P>
For ‘terms.formula()’, deprecate ‘abb’ and ‘neg.out’ arguments
_formally_ in addition to just documenting it.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 Bug Fixes </H4>
<UL>
<LI><P>
The ‘methods’ package is more robust to not being attached to the
search path.  More work needs to be done.
</P></LI>

<LI><P>
‘pairwise.t.test()’ misbehaved when subgroups had 0 DF for variance,
even with ‘pool.sd = TRUE’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18594">PR#18594</a> by Jack Berry.)
</P></LI>

<LI><P>
Probability distribution functions ‘[dpq]&lt;distrib&gt;(x, *)’, but also
‘bessel[IKJY](x, .)’ now consistently preserve ‘attributes(x)’ when
‘length(x) == 0’, e.g., for a 2 x 0 matrix, thanks to Karolis
Koncevičius' report <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18509">PR#18509</a>.
</P></LI>

<LI><P>
Group “Summary” computations such as ‘sum(1:3, 4, na.rm = 5, NA, 7,
na.rm = LL)’ now give an error instead of either ‘17’ or ‘NN’ for ‘LL’
true or false, as proposed by Ivan Krylov on the R-devel mailing list.
(This also means it is now an error to specify ‘na.rm’ more than once.)
</P></LI>

<LI><P>
‘as.complex(x)’ now returns ‘complex(real = x, imaginary = 0)’ for
_all_ numerical and logical ‘x’, notably also for ‘NA’ or
‘NA_integer_’.
</P></LI>

<LI><P>
Directories are now omitted by ‘file.copy(, recursive = FALSE)’ and in
‘file.append()’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17337">PR#17337</a>).
</P></LI>

<LI><P>
‘gsub()’ and ‘sub()’ are now more robust to integer overflow when
reporting errors caused by too large input strings (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18346">PR#18346</a>).
</P></LI>

<LI><P>
Top-level handlers are now more robust to attempts to remove a handler
whilst handlers are running (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18508">PR#18508</a>).
</P></LI>

<LI><P>
The handling of ‘Alt+F4’ in dialogs created on Windows using GraphApp
has been fixed (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13870">PR#13870</a>).
</P></LI>

<LI><P>
‘density()’ more consistently computes grid values for the FFT-based
convolution, following Robert Schlicht's analysis and proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18337">PR#18337</a>, correcting density values typically by a factor of about
0.999.  Argument ‘old.coords = TRUE’ provides back compatibility.
</P></LI>

<LI><P>
‘palette.colors()’ gains a ‘name’ argument that defaults to ‘FALSE’
controlling whether the vector of colours that is returned has names
(where possible).  <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18529">PR#18529</a>.
</P></LI>

<LI><P>
‘tools::xgettext()’ no longer extracts the (non-translatable) class
names from ‘warningCondition’ and ‘errorCondition’ calls.
</P></LI>

<LI><P>
‘S3method(&lt;gen&gt;, &lt;class&gt;, &lt;func&gt;)’ in the ‘NAMESPACE’ file now works
(again) when ‘&lt;func&gt;’ is visible from the namespace, e.g., imported, or
in base.
</P></LI>

<LI><P>
‘getParseData(f)’ now also works for a function defined in the first of
several ‘&lt;pkg&gt;/R/*.R’ source files, thanks to Kirill Müller's report
and Duncan Murdoch's patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16756">PR#16756</a>.
</P></LI>

<LI><P>
Rd \Sexpr macros with nested #ifdef conditionals were not processed.
</P></LI>

<LI><P>
A non-blocking connection with non-default encoding (such as a socket)
now correctly returns from ‘readLines()’ after new data has arrived
also when its EOF had been reached previously.  Thanks to Peter
Meilstrup's report on R-devel and Ivan Krylov's report and patch
proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18555">PR#18555</a>.
</P></LI>

<LI><P>
‘tools::checkRdContents()’ failed to detect empty argument descriptions
when they spanned multiple lines, including those generated by
‘prompt()’.  These cases are now noted by ‘R CMD check’.
</P></LI>

<LI><P>
Plain-text help no longer outputs spurious colons in the arguments list
(for multi-line \item labels in the Rd source).
</P></LI>

<LI><P>
‘kappa()’ and ‘rcond()’ work correctly in more cases; ‘kappa(., norm =
&quot;2&quot;)’ now warns that it computes the 1-norm with (default) ‘exact =
FALSE’; prompted by Mikael Jagan's quite comprehensive <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18543">PR#18543</a>.
</P></LI>

<LI><P>
Rd skeletons generated by ‘prompt()’ or ‘promptData()’ now use a dummy
title (so ‘R CMD build’ works).  ‘tools::checkRdContents()’ has been
updated to detect such template leftovers, including from
‘promptPackage()’.
</P></LI>

<LI><P>
When S4 method dispatch fails because no method was found, the error
message now includes the signature argument names; thanks to Michael
Chirico's proposal on the R-devel list.
</P></LI>

<LI><P>
‘withAutoprint({ .. })’ now preserves ‘srcref’s previously lost, thanks
to Andrew Simmons' report plus fix in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18572">PR#18572</a>.
</P></LI>

<LI><P>
‘transform.data.frame()’ no longer adjusts names; in particular,
untransformed variables are kept as-is, including those with
syntactically invalid names (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17890">PR#17890</a>).
</P></LI>

<LI><P>
The ‘keep.source’ option for Rd \Sexpr blocks is no longer ignored.
</P></LI>

<LI><P>
The ‘formula’ methods for ‘t.test()’ and ‘wilcox.test()’ now catch when
‘paired’ is passed, addressing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14359">PR#14359</a>; use ‘Pair(x1, x2) ~ 1’ for a
paired test.
</P></LI>

<LI><P>
The level reported in the ‘browser’ prompt was often too large. It now
shows the number of browser contexts on the stack.
</P></LI>

<LI><P>
For ‘cbind()’ and ‘rbind()’, the optional ‘deparse.level’ argument is
now properly passed to methods, thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18579">PR#18579</a> and
comments there.
</P></LI>

<LI><P>
Some error and warning messages for large (‘long vector’) ‘matrix(v,
nr, nc)’ and ‘dim(m) &lt;- d’ are now correct about sizes, using ‘long
long’ formatting, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18612">PR#18612</a> (and more) reported by Mikael Jagan.
</P></LI>

<LI><P>
‘readChar(useBytes = TRUE)’ now terminates strings even when the
underlying connection uses extra spaces in the input buffer.  This
fixes problems with extra garbage seen with ‘gzip’ connections,
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18605">PR#18605</a>.
</P></LI>

<LI><P>
Named capture in PCRE regular expressions now works also with more than
127 named groups (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18588">PR#18588</a>).
</P></LI>

<LI><P>
Datetime functions are now robust against long jumps when dealing with
internal time zone changes.  This avoids confusing warnings about an
invalid time zone, previously triggered by turning warnings into errors
or handling them via ‘tryCatch’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17966">PR#17966</a>, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17780">PR#17780</a>).
</P></LI>

<LI><P>
Datetime functions now restore even an empty ‘TZ’ environment variable
after internal time zone changes (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17724">PR#17724</a>).  This makes results of
datetime functions with this (typically unintentional) setting more
predictable.
</P></LI>

<LI><P>
‘drop.terms(*)’ now drops response as by default, ‘keep.response =
FALSE’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18564">PR#18564</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘dummy.coef(.)’ now also works for ‘lm()’-models with ‘character’
categorical predictor variables rather than ‘factor’ ones, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18635">PR#18635</a> reported by Jinsong Zhao.
</P></LI>

<LI><P>
‘formals(f) &lt;- formals(f)’ now also works for a function w/o arguments
and atomic _constant_ ‘body(f)’.
</P></LI>

<LI><P>
Correct ‘as.function(&lt;invalid list&gt;, .)’'s error message.
</P></LI>

<LI><P>
‘removeSource()’ is yet more thorough in finding and removing
‘&quot;srcref&quot;’ and the other source references from parsed R language
chunks, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18638">PR#18638</a> thanks to Andrew Simmons.
</P></LI>

<LI><P>
‘dgeom()’ is more accurate now, notably when its result is very small,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18642">PR#18642</a> thanks to the proposal of Morten Welinder, also
improving other instances where C level ‘binom_raw(x, n, ..)’ has ‘x ==
0’ or ‘x== n’.
</P></LI>

<LI><P>
‘warning()’ with ‘options(warn = 1)’ has improved output for multi-line
messages.
</P></LI>

<LI><P>
‘axis.Date()’ and ‘axis.POSIXct()’ now respect the ‘par(&quot;lab&quot;)’ setting
for the number of ‘pretty()’ intervals.
</P></LI>

<LI><P>
Comparisons for language objects (which are based on deparsing) are now
more careful about using accurate deparsed results (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18676">PR#18676</a>).
</P></LI>

<LI><P>
Plain-text help (‘Rd2txt’) now correctly preserves blank lines
following single-line \dontrun code.
</P></LI>

<LI><P>
‘&lt;POSIXlt&gt;[*]’ no longer sets wrong ‘&quot;balanced&quot;’ attribute, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18681">PR#18681</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘str(&lt;classed-call&gt;)’ now deparses the call as expected, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18684">PR#18684</a>, reported by Dave Slager.
</P></LI>

<LI><P>
In Rd examples, code following the closing brace of a \dontrun,
\dontshow or \donttest tag on the same line is no longer skipped when
‘R CMD check’ runs the examples.
</P></LI>

<LI><P>
‘as.data.frame(matrix(*, ncol=0))’ now gets valid ‘names()’ and
‘colnames()’; reported by Davis Vaughan on the R-devel list.
</P></LI>

<LI><P>
Internal Mathlib function ‘stirlerr(n)’ is now almost fully (52-bit)
accurate for all n &gt;= ~5.9 and more accurate also in the range 1 --
5.9.  This entails small (“after 12th decimal”) changes in density
functions, e.g., ‘dgamma()’ in _some_ regions of their support.  The
fix was partly prompted by Morten Welinder's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18640">PR#18640</a>.
</P></LI>

<LI><P>
Numbers like ‘9876543.2’ are now considered non-integer by Mathlib
internal ‘R_nonint()’, amending original fix of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15734">PR#15734</a>.
</P></LI>

<LI><P>
Rd comment lines no longer cause broken paragraphs in the rendered PDF
and plain-text help. In code blocks, pure comment lines (starting with
‘%’) no longer produce an empty line.
</P></LI>

<LI><P>
‘xtabs(Freq ~ .)’ now consistently defaults to ‘na.action = na.pass’,
using ‘na.rm = FALSE’ (added as an argument) when summing over ‘Freq’
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17770">PR#17770</a>).
</P></LI>

<LI><P>
‘tools::testInstalledPackage()’ is no longer silent about failures from
running examples or tests and its return code no longer ignores
failures from checking vignettes.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.3 New Features </H4>
<UL>
<LI><P>
‘iconv()’ now fixes up variant encoding names such as ‘&quot;utf8&quot;’
case-insensitively.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.3 Deprecated and Defunct </H4>
<UL>
<LI><P>
The legacy ‘encoding = &quot;MacRoman&quot;’ is deprecated in ‘pdf()’ and
‘postscript()’: support was incomplete in earlier versions of R.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.3 Bug Fixes </H4>
<UL>
<LI><P>
Arguments are now properly forwarded to methods on S4 generics with ...
in the middle of their formal arguments. This was broken for the case
when a method introduced an argument but did not include ... in its own
formals. Thanks to Hervé Pagès for the report <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18538">PR#18538</a>.
</P></LI>

<LI><P>
Some invalid ‘file’ arguments to ‘pictex()’, ‘postscript()’ and
‘xfig()’ opened a file called ‘NA’ rather than throw an error.  These
included ‘postscript(NULL)’ (which some people expected to work like
‘pdf(NULL)’).
</P></LI>

<LI><P>
Passing ‘filename = NA’ to ‘svg()’, ‘cairo_pdf()’, ‘cairo_ps()’ or the
Cairo-based bitmap devices opened a file called ‘NA’: it now throws an
error.
</P></LI>

<LI><P>
‘quartz(file = NA)’ opened a file called ‘NA’, including when used as a
Quartz-based bitmap device.  It now gives an error.
</P></LI>

<LI><P>
‘rank(&lt;long vector&gt;)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18617">PR#18617</a>, thanks to Ilia Kats.
</P></LI>

<LI><P>
‘seq.int()’ did not adequately check its ‘length.out’ argument.
</P></LI>

<LI><P>
‘match(&lt;POSIXct&gt;, .)’ is correct again for differing time zones, ditto
for ‘&quot;POSIXlt&quot;’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18618">PR#18618</a> reported by Bastian Klein.
</P></LI>

<LI><P>
‘drop.terms(*, dropx = &lt;0-length&gt;)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18563">PR#18563</a> as
proposed by Mikael Jagan.
</P></LI>

<LI><P>
‘drop.terms(*)’ keeps ‘ + offset(.)’ terms when it should, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18565">PR#18565</a>,
and ‘drop.terms()’ no longer makes up a response, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18566">PR#18566</a>, fixing both
bugs thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘getS3method(&quot;t&quot;, &quot;test&quot;)’ no longer finds the ‘t.test()’ function,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18627">PR#18627</a>.
</P></LI>

<LI><P>
‘pdf()’ and ‘postscript()’ support for the documented Adobe encodings
‘&quot;Greek&quot;’ and ‘&quot;Cyrilllic&quot;’ was missing (although the corresponding
Windows' codepages could be used).
</P></LI>

<LI><P>
Computations of glyph metric information for ‘pdf()’ and ‘postscript()’
did not take into account that transliteration could replace one
character by two or more (only seen on macOS 14) and typically warned
that the information was not known.
</P></LI>

<LI><P>
‘rank(x)’ no longer overflows during integer addition, when computing
rank average for largish but not-yet long vector ‘x’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18630">PR#18630</a>,
thanks to Ilia Kats.
</P></LI>

<LI><P>
‘list.files()’ on Windows now returns also files with names longer that
260 bytes (the Windows limit is 260 characters).  Previously, some file
names particularly with ‘East Asian’ characters were omitted.
</P></LI>

<LI><P>
‘cov2cor(&lt;0 x 0&gt;)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18423">PR#18423</a> thanks to Mikael Jagan
and Elin Waring.
</P></LI>

<LI><P>
‘cov2cor(&lt;negative diagonal&gt;)’ and similar now give one warning instead
of two, with better wording, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18424">PR#18424</a> thanks to Mikael Jagan.
</P></LI>

<LI><P>
‘tools’‘:: startDynamicHelp()’ now ensures ‘port’ is in proper range,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18645">PR#18645</a>.
</P></LI>

<LI><P>
‘pbeta(x, a,b)’ is correct now for ‘x’=0 or 1 in the boundary cases
where ‘a’ or ‘b’ or both are 0, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18672">PR#18672</a> thanks to Michael Fay.
</P></LI>

<LI><P>
‘pmatch(x, table)’ for large ‘table’, also called for data frame row
selection, ‘dfrm[nm, ]’, is now interruptible, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18656">PR#18656</a>.
</P></LI>

<LI><P>
‘predict(&lt;rank-deficient lm&gt;, newdata=*)’ fix computing of ‘nbasis’,
see Russ Lenth's comment 29 in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16158">PR#16158</a>.
</P></LI>

<LI><P>
Added a work-around for a bug in macOS 14.3.1 and higher which prevents
R plots in the Quartz Cocoa device from updating on screen.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.2 New Features </H4>
<UL>
<LI><P>
The default initialization of the ‘&quot;repos&quot;’ option from the
‘repositories’ file at startup can be skipped by setting environment
variable ‘R_REPOSITORIES’ to ‘NULL’ such that ‘getOption(&quot;repos&quot;)’ is
empty if not set elsewhere.
</P></LI>

<LI><P>
‘qr.X()’ is now an implicit S4 generic in ‘methods’.
</P></LI>

<LI><P>
‘iconv(to = &quot;ASCII//TRANSLIT&quot;)’ is emulated using substitution on
platforms which do not support it (notably Alpine Linux).  This should
give a human-readable conversion in ASCII on all platforms (rather than
‘NA_character_’).
</P></LI>

<LI><P>
‘trans3d()’ gains options ‘continuous’ and ‘verbose’ addressing the
problem of possible “wrap around” when projecting too long curves, as
reported by Achim Zeileis in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18537">PR#18537</a>.
</P></LI>

<LI><P>
‘tools::showNonASCII()’ has been rewritten to work better on macOS 14
(which has a changed implementation of ‘iconv()’).
</P></LI>

<LI><P>
‘tiff(type = &quot;quartz&quot;)’ (the default on macOS) now warns if
‘compression’ is specified: it continues to be ignored.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.2 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
There is some support for building with Intel's LLVM-based compilers on
‘x86_64’ Linux, such as (C) ‘icx’, (C++) ‘ipcx’ and (Fortran) ‘ifx’
from oneAPI 2023.x.y.
</P></LI>

<LI><P>
There is support for using LLVM's ‘flang-new’ as the Fortran compiler
from LLVM 16.0.x (preferably 17.0.0 or later).
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.2 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ reports the use of the Fortran 90 random number generator
‘RANDOM_NUMBER()’ and the subroutines to initialize it.
</P>
<P>
‘Writing R Extensions’ has example code to use R's RNGs from Fortran.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.2 Bug Fixes </H4>
<UL>
<LI><P>
‘substr(x, n, L) &lt;- cc’ now works (more) correctly for multibyte UTF-8
strings ‘x’ when ‘L &gt; nchar(x)’, thanks to a report and patch by
‘Architect 95’.
</P></LI>

<LI><P>
‘contrib.url(character())’ now returns 0-length ‘character()’ as
documented, which also avoids spurious warnings from
‘available.packages()’ et al. in the edge case of an empty vector of
repository URLs.
</P></LI>

<LI><P>
‘readChar(., 4e8)’ no longer fails, thanks to Kodi Arfer's report
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18557">PR#18557</a>).
</P></LI>

<LI><P>
‘lapply(&lt;list&gt;, as.data.frame)’ no longer warns falsely for some base
vector components.
</P></LI>

<LI><P>
Communication between parent and child processes in the ‘multicore’
part of ‘parallel’ could fail on platforms that do not support an
arbitrarily large payload in system functions ‘read()’/‘write()’ on
pipes (seen on macOS where a restriction to ‘INT_MAX’ bytes is
documented, without doing a partial read unlike Linux). The payload is
now split into 1Gb chunks to avoid that problem. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18571">PR#18571</a>)
</P></LI>

<LI><P>
‘qqplot(x,y, conf.level=.)’ gives better confidence bounds when
‘length(x) != length(y)’, thanks to Alexander Ploner's report and patch
proposal (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18557">PR#18557</a>).
</P></LI>

<LI><P>
‘norm(&lt;0-length&gt;, &quot;2&quot;)’ now gives zero instead of an error, as all the
other norm types, thanks to Mikael Jagan's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18542">PR#18542</a>.
</P></LI>

<LI><P>
Build-stage Rd macros \packageAuthor and \packageMaintainer now process
‘Authors@R’, fixing ‘NA’ results when the package ‘DESCRIPTION’ omits
‘Author’ and ‘Maintainer’ fields.
</P></LI>

<LI><P>
Formatting and printing complex numbers could give things like
‘0.1683-0i’ because of rounding error: ‘-0i’ is now replaced by ‘+0i’.
</P></LI>

<LI><P>
‘postscript()’ refused to accept a ‘title’ comment containing the
letter “W” (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18599">PR#18599</a>).
</P></LI>

<LI><P>
‘isoreg(c(1,Inf))’ signals an error instead of segfaulting, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18603">PR#18603</a>.
</P></LI>

<LI><P>
‘tiff(type = &quot;Xlib&quot;)’ was only outputting the last page of multi-page
plots.
</P></LI>

<LI><P>
‘tools::latexToUtf8()’ again knows about ‘\~{n}’ and other letters with
tilde, fixing a regression in R 4.3.0, and about ‘\^{i}’ as an
alternative to ‘\^{\i}’ (similarly with other accents).  Furthermore,
LaTeX codes for accented I letters are now correctly converted, also
fixing related mistakes in ‘tools::encoded_text_to_latex()’.
</P></LI>

<LI><P>
‘tar(*, tar = &quot;internal&quot;)’ no longer creates out-of-spec tar files in
the very rare case of user or group names longer than 32 bytes, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17871">PR#17871</a> with thanks to Ivan Krylov.
</P></LI>

<LI><P>
When using the “internal” timezone datetime code, adding a fraction of
a second no longer adds one second, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16856">PR#16856</a> from a patch by
Ivan Krylov.
</P></LI>

<LI><P>
‘tools::checkRd()’ no longer produces spurious notes about “unnecessary
braces” from multi-line Rd results of \Sexpr macros.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.1 C-Level Facilities </H4>
<UL>
<LI><P>
The C-level API version of R's ‘integrate()’, ‘Rdqags()’ in ‘Applic.h’,
now returns the correct number of integrand evaluations ‘neval’, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18515">PR#18515</a> reported and diagnosed by Stephen Wade.
</P></LI>

<LI><P>
The C prototypes for LAPACK calls ‘dspgv’ and ‘dtptrs’ in
‘R_ext/Lapack.h’ had one too many and one too few character length
arguments - but this has not caused any known issues. To get the
corrected prototypes, include
</P>
<P>
        #include &lt;Rconfig.h&gt; // for PR18534fixed
        #ifdef PR18534fixed
        # define usePR18534fix 1
        #endif
        #include &lt;R_ext/Lapack.h&gt;
</P>
<P>
in your C/C++ code (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18534">PR#18534</a>).
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.1 Installation </H4>
<UL>
<LI><P>
Many of the checks of esoteric Internet operations and those using
unreliable external sites have been moved to a new target that is not
run by default and primarily intended for the core developers.  To run
them use
</P>
<P>
        cd tests; make test-Internet-dev
</P>
<P>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.1 Bug Fixes </H4>
<UL>
<LI><P>
‘.S3methods()’, typically called from ‘methods()’, again marks methods
from package ‘base’ as ‘visible’.
</P>
<P>
Also, the visibility of non-‘base’ methods is again determined by the
method's presence in ‘search()’.
</P></LI>

<LI><P>
‘tools::Rdiff()’ is now more robust against invalid strings, fixing
installation tests on Windows without Rtools installed (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18530">PR#18530</a>).
</P></LI>

<LI><P>
Fix (new) bug in ‘hcl.colors(2, *)’, by Achim Zeileis (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18523">PR#18523</a>).
</P></LI>

<LI><P>
‘head(., &lt;illegal&gt;)’ and ‘tail(..)’ now produce more useful ‘&quot;Error in
....&quot;’ error messages, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18362">PR#18362</a>.
</P></LI>

<LI><P>
Package code syntax on Windows is checked in UTF-8 when UTF-8 is the
native encoding.
</P></LI>

<LI><P>
‘na.contiguous(x)’ now also returns the first run, when it is at the
beginning and there is a later one of the same length; reported to
R-devel, including a fix, by Georgi Boshnakov.  Further, by default, it
modifies only an existing ‘attr(*,&quot;tsp&quot;)’ but otherwise no longer sets
one.
</P></LI>

<LI><P>
‘chol(&lt;not pos.def&gt;, pivot = &lt;T|F&gt;)’ now gives a correct error or
warning message (depending on ‘pivot’), thanks to Mikael Jagan's
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18541">PR#18541</a>).
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
Calling ‘&amp;&amp;’ or ‘||’ with LHS or (if evaluated) RHS of length greater
than one is now always an error, with a report of the form
</P>
<P>
    'length = 4' in coercion to 'logical(1)'
</P>
<P>
Environment variable ‘_R_CHECK_LENGTH_1_LOGIC2_’ no longer has any
effect.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 New Features </H4>
<UL>
<LI><P>
The included BLAS sources have been updated to those shipped with
LAPACK version 3.10.1.  (This caused some platform-dependent changes to
package check output.)  And then to the sources from LAPACK version
3.11.0 (with changes only to double complex subroutines).
</P></LI>

<LI><P>
The included LAPACK sources have been updated to include the four
Fortran 90 routines rather than their Fortran 77 predecessors.  This
may give some different signs in SVDs or eigendecompositions..  (This
completes the transition to LAPACK 3.10.x begun in R 4.2.0.)
</P></LI>

<LI><P>
The LAPACK sources have been updated to version 3.11.0.  (No new
subroutines have been added, so this almost entirely bug fixes: Those
fixes do affect some computations with ‘NaN’s, including R's ‘NA’.)
</P></LI>

<LI><P>
The parser now signals _classed_ errors, notably in case of the pipe
operator ‘|&gt;’.  The error object and message now give line and column
numbers, mostly as proposed and provided by Duncan Murdoch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18328">PR#18328</a>.
</P></LI>

<LI><P>
‘toeplitz()’ is now generalized for asymmetric cases, with a
‘toeplitz2()’ variant.
</P></LI>

<LI><P>
‘xy.coords()’ and ‘xyz.coords()’ and consequently, e.g., ‘plot(x,y, log
= &quot;y&quot;)’ now signal a _classed_ warning about negative values of y
(where ‘log(.)’ is ‘NA’).  Such a warning can be specifically
suppressed or caught otherwise.
</P></LI>

<LI><P>
Regular expression functions now check more thoroughly whether their
inputs are valid strings (in their encoding, e.g. in UTF-8).
</P></LI>

<LI><P>
The performance of ‘grep()’, ‘sub()’, ‘gsub()’ and ‘strsplit()’ has
been improved, particularly with ‘perl = TRUE’ and ‘fixed = TRUE’.  Use
of ‘useBytes = TRUE’ for performance reasons should no longer be needed
and is discouraged: it may lead to incorrect results.
</P></LI>

<LI><P>
‘apropos()’ gains an argument ‘dot_internals’ which is used by the
completion (‘help(rcompgen)’) engine to also see ‘base’ internals such
as ‘.POSIXct()’.
</P></LI>

<LI><P>
Support in ‘tools::Rdiff()’ for comparing uncompressed PDF files is
further reduced - see its help page.
</P></LI>

<LI><P>
‘qqplot(x, y, ...)’ gains ‘conf.level’ and ‘conf.args’ arguments for
computing and plotting a confidence band for the treatment function
transforming the distribution of ‘x’ into the distribution of ‘y ’
(Switzer, 1976, _Biometrika_). Contributed by Torsten Hothorn.
</P></LI>

<LI><P>
Performance of ‘package_dependencies()’ has been improved for cases
when the number of dependencies is large.
</P></LI>

<LI><P>
Strings newly created by ‘gsub()’, ‘sub()’ and ‘strsplit()’, when any
of the inputs is marked as ‘&quot;bytes&quot;’, are also marked as ‘&quot;bytes&quot;’.
This reduces the risk of creating invalid strings and accidental
substitution of bytes deemed invalid.
</P></LI>

<LI><P>
Support for ‘readLines(encoding = &quot;bytes&quot;)’ has been added to allow
processing special text files byte-by-byte, without creating invalid
strings.
</P></LI>

<LI><P>
‘iconv(from = &quot;&quot;)’ now takes into account any declared encoding of the
input elements and uses it in preference to the native encoding.  This
reduces the risk of accidental creation of invalid strings,
particularly when different elements of the input have different
encoding (including ‘&quot;bytes&quot;’).
</P></LI>

<LI><P>
Package repositories in ‘getOption(&quot;repos&quot;)’ are now initialized from
the ‘repositories’ file when ‘utils’ is loaded (if not already set,
e.g., in ‘.Rprofile’).  (From a report and patch proposal by Gabriel
Becker in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18405">PR#18405</a>.)
</P></LI>

<LI><P>
‘compactPDF()’ gets a ‘verbose’ option.
</P></LI>

<LI><P>
‘type.convert()’ and hence ‘read.table()’ get new option ‘tryLogical =
TRUE’ with back compatible default.  When set to false, converts ‘&quot;F&quot;’
or ‘&quot;T&quot;’ columns to character.
</P></LI>

<LI><P>
Added new unit prefixes ‘&quot;R&quot;’ and ‘&quot;Q&quot;’ for abbreviating
(unrealistically large) sizes beyond 10^{27} in ‘standard = &quot;SI&quot;’,
thanks to Henrik Bengtsson's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18435">PR#18435</a>.
</P></LI>

<LI><P>
‘as.data.frame()’'s default method now also works fine with atomic
objects inheriting from classes such as ‘&quot;roman&quot;’, ‘&quot;octmode&quot;’ and
‘&quot;hexmode&quot;’, thus fulfilling the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18421">PR#18421</a>, by Benjamin Feakins.
</P></LI>

<LI><P>
The ‘as.data.frame.vector()’ utility now errors for wrong-length
‘row.names’.  It warned for almost six years, with “Will be an error!”.
</P></LI>

<LI><P>
‘sessionInfo()’ now also contains ‘La_version()’ and reports codepage
and timezone when relevant, in both ‘print()’ and ‘toLatex()’ methods
which also get new option ‘tzone’ for displaying timezone information
when ‘locale = FALSE’.
</P></LI>

<LI><P>
New function ‘R_compiled_by()’ reports the C and Fortran compilers used
to build R, if known.
</P></LI>

<LI><P>
‘predict(&lt;lm&gt;, newdata = *)’ no longer unnecessarily creates an
‘offset’ of all ‘0’s.
</P></LI>

<LI><P>
‘solve()’ for complex inputs now uses argument ‘tol’ and by default
checks for ‘computational singularity’ (as it long has done for numeric
inputs).
</P></LI>

<LI><P>
‘predict(&lt;rank-deficient lm&gt;, newdata=*)’ now obeys a new argument
‘rankdeficient’, with new default ‘&quot;warnif&quot;’, warning only if there are
non-estimable cases in ‘newdata’.  Other options include ‘rankdeficient
= &quot;NA&quot;’, predicting ‘NA’ for non-estimable ‘newdata’ cases.  This
addresses <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15072">PR#15072</a> by Russ Lenth and is based on his original proposal
and discussions in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16158">PR#16158</a> also by David Firth and Elin Waring.  Still
somewhat experimental.
</P></LI>

<LI><P>
‘Rgui’ console implementation now works better with the ‘NVDA’ screen
reader when the full blinking cursor is selected.  The underlying
improvements in cursor handling may help also other screen readers on
Windows.
</P></LI>

<LI><P>
The drop-field control in GraphApp can now be left with the TAB key and
all controls can be navigated in the reverse order using the Shift+TAB
key, improving accessibility of the ‘Rgui’ configuration editor.
</P></LI>

<LI><P>
‘qnorm(&lt;very large negative&gt;, log.p=TRUE)’ is now fully accurate
(instead of to “only” minimally five digits).
</P></LI>

<LI><P>
‘demo(error.catching)’ now also shows off ‘withWarnings()’ and
‘tryCatchWEMs()’.
</P></LI>

<LI><P>
As an experimental feature the placeholder ‘_’ can now also be used in
the ‘rhs’ of a forward pipe ‘|&gt;’ expression as the first argument in an
extraction call, such as ‘_$coef’. More generally, it can be used as
the head of a chain of extractions, such as ‘_$coef[[2]]’.
</P></LI>

<LI><P>
Spaces in the environment variable used to choose the R session's
temporary directory (‘TMPDIR’, ‘TMP’ and ‘TEMP’ are tried in turn) are
now fatal.  (On Windows the ‘short path’ version of the path is tried
and used if that does not contain a space.)
</P></LI>

<LI><P>
‘all.equal.numeric()’ gets a new optional switch ‘giveErr’ to return
the numeric error as attribute.  Relatedly,
‘stopifnot(all.equal&lt;some&gt;(a, b, ..))’ is as “smart” now, as
‘stopifnot(all.equal(....))’ has been already, thus allowing customized
‘all.equal&lt;Some&gt;()’ wrappers.
</P></LI>

<LI><P>
R on Windows is now able to work with path names longer than 260
characters when these are enabled in the system (requires at least
Windows 10 version 1607).  Packages should be updated to work with long
paths as well, instead of assuming ‘PATH_MAX’ to be the maximum length.
Custom front-ends and applications embedding R need to update their
manifests if they wish to allow this feature.  See
&lt;https://blog.r-project.org/2023/03/07/path-length-limit-on-windows&gt;
for more information.
</P></LI>

<LI><P>
‘Object not found’ and ‘Missing argument’ errors now give a more
accurate error context. Patch provided by Lionel Henry in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18241">PR#18241</a>.
</P></LI>

<LI><P>
The ‘@’ operator is now an S3 generic. Based on contributions by Tomasz
Kalinowski in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18482">PR#18482</a>.
</P></LI>

<LI><P>
New generic ‘chooseOpsMethod()’ provides a mechanism for objects to
resolve cases where two suitable methods are found for an Ops Group
Generic. This supports experimenting with alternative object systems.
Based on contributions by Tomasz Kalinowski in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18484">PR#18484</a>.
</P></LI>

<LI><P>
‘inherits(x, what)’ now accepts values other than a simple character
vector for argument ‘what’. A new generic, ‘nameOfClass()’, is called
to resolve the class name from ‘what’. This supports experimenting with
alternative object systems.  Based on contributions by Tomasz
Kalinowski in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18485">PR#18485</a>.
</P></LI>

<LI><P>
Detection of BLAS/LAPACK in use (‘sessionInfo()’) with FlexiBLAS now
reports the current backend.
</P></LI>

<LI><P>
The ‘&quot;data.frame&quot;’ method for ‘subset()’ now warns about extraneous
arguments, typically catching the use of ‘=’ instead of ‘==’ in the
‘subset’ expression.
</P></LI>

<LI><P>
Calling ‘a:b’ when numeric ‘a’ or ‘b’ is longer than one may now be
made into an error by setting environment variable
‘_R_CHECK_LENGTH_COLON_’ to a true value, along the proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18419">PR#18419</a> by Henrik Bengtsson.
</P></LI>

<LI><P>
‘density(x, weights = *)’ now warns if automatic bandwidth selection
happens without using ‘weights’; new optional ‘warnWbw’ may suppress
the warning.  Prompted by Christoph Dalitz' <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18490">PR#18490</a> and its
discussants.
</P></LI>

<LI><P>
‘rm(list = *)’ is faster and more readable thanks to Kevin Ushey's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18492">PR#18492</a>.
</P></LI>

<LI><P>
The ‘plot.lm()’ function no longer produces a normal Q-Q plot for GLMs.
Instead it plots a half-normal Q-Q plot of the absolute value of the
standardized deviance residuals.
</P></LI>

<LI><P>
The ‘print()’ method for class ‘&quot;summary.glm&quot;’ no longer shows summary
statistics for the deviance residuals by default.  Its optional
argument ‘show.residuals’ can be used to show them if required.
</P></LI>

<LI><P>
The ‘tapply()’ function now accepts a data frame as its ‘X’ argument,
and allows ‘INDEX’ to be a formula in that case. ‘by.data.frame()’
similarly allows ‘INDICES’ to be a formula.
</P></LI>

<LI><P>
The performance of ‘df[j] &lt;- value’ (including for missing ‘j’) and
‘write.table(df)’ has been improved for data frames ‘df’ with a large
number of columns.  (Thanks to Gabriel Becker's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18500">PR#18500</a>, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18503">PR#18503</a> and
discussants, prompted by a report from Toby Dylan Hocking on the
R-devel mailing list.)
</P></LI>

<LI><P>
The matrix multiply operator ‘%*%’ is now an S3 generic, belonging to
new group generic ‘matrixOps’.  From Tomasz Kalinowski's contribution
in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18483">PR#18483</a>.
</P></LI>

<LI><P>
New function ‘array2DF()’ to convert arrays to data frames,
particularly useful for the list arrays created by ‘tapply()’.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 Dates and Times </H4>
<UL>
<LI><P>
On platforms where (non-UTC) datetimes before 1902 (or before 1900 as
with system functions on recent macOS) are guessed by extrapolating
time zones from 1902-2037, there is a warning at the first use of
extrapolation in a session.  (As all time zones post 2037 are
extrapolation, we do not warn on those.)
</P></LI>

<LI><P>
(Platforms using ‘--with-internal-tzone’, including Windows and by
default macOS). How years are printed in dates or date-times can be
controlled by environment variable ‘R_PAD_YEARS_BY_ZERO’.  The default
remains to pad to 4 digits by zeroes, but setting value ‘no’ gives no
padding (as used by default by ‘glibc’).
</P></LI>

<LI><P>
‘strftime()’ tries harder to determine the offset for the ‘&quot;%z&quot;’
format, and succeeds on the mainstream R platforms.
</P></LI>

<LI><P>
‘strftime()’ has a limit of 2048 bytes on the string produced -
attempting to exceed this is an error.  (Previously it silently
truncated at 255 bytes.)
</P></LI>

<LI><P>
‘sessionInfo()’ records (and by default prints) the system time zone as
part of the locale information.  Also, the source (system/internal) of
the date-time conversion and printing functions.
</P></LI>

<LI><P>
Objects of class ‘&quot;POSIXlt&quot;’ created in this version of R always have
11 components: component ‘zone’ is always set, and component ‘gmtoff’
is set for times in UTC and usually set on the (almost all) platforms
which have C-level support, otherwise is ‘NA’.
</P></LI>

<LI><P>
There are comprehensive validity checks on the structure of objects of
class ‘&quot;POSIXlt&quot;’ when converting (including formatting and printing).
(This avoids mis-conversions of hand-crafted objects.)
</P></LI>

<LI><P>
There is some support for using the native date-time routines on macOS:
this is only viable on recent versions (e.g. 12.6 and 13) and does get
wrong some historical changes (before 1900, during WWII).  Use of
‘--with-internal-tzone’ remains the default.
</P></LI>

<LI><P>
‘as.POSIXct(&lt;numeric&gt;)’ and ‘as.POSIXlt(.)’ (without specifying
‘origin’) now work.  So does ‘as.Date(&lt;numeric&gt;)’.
</P></LI>

<LI><P>
‘as.Date.POSIXct(., tz)’ now treats several ‘tz’ values, notably
‘&quot;GMT&quot;’ as equivalent to ‘&quot;UTC&quot;’, proposed and improved by Michael
Chirico and Joshua Ulrich in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17674">PR#17674</a>.
</P></LI>

<LI><P>
Experimental ‘balancePOSIXlt()’ utility allows using “ragged” and or
out-of-range ‘&quot;POSIXlt&quot;’ objects more correctly, e.g., in subsetting
and subassignments.  Such objects are now documented.  Complemented by
the low-level ‘unCfillPOSIXlt()’ utility.
</P>
<P>
More experimentally, a ‘&quot;POSIXlt&quot;’ object may have an attribute
‘&quot;balanced&quot;’ indicating if it is known to be filled or fully balanced.
</P></LI>

<LI><P>
Functions ‘axis.Date()’ and ‘axis.POSIXct()’ are rewritten to gain
better default tick locations and better default formats via the
corresponding ‘pretty()’ methods.  Thanks to Swetlana Herbrandt.
</P></LI>

<LI><P>
The mapping of Windows' names for time zones to IANA's ‘Olson’ names
has been updated.  When ICU is available (it is by default), it is used
to get a mapping for the current region set in Windows.  This can be
overridden by setting environment variable ‘TZ’ to the desired Olson
name - see ‘OlsonNames()’ for those currently available.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 Graphics </H4>
<UL>
<LI><P>
The graphics engine version, ‘R_GE_version’, has been bumped to ‘16’
and so packages that provide graphics devices should be reinstalled.
</P></LI>

<LI><P>
The ‘grDevices’ and ‘grid’ packages have new functions for rendering
typeset glyphs, primarily: ‘grDevices::glyphInfo()’ and
‘grid::grid.glyph()’.
</P>
<P>
Rendering of typeset glyphs is only supported so far on the Cairo-based
graphics devices and on the ‘pdf()’ and ‘quartz()’ devices.
</P></LI>

<LI><P>
The defined behaviour for ‘&quot;clear&quot;’ and ‘&quot;source&quot;’ compositing
operators (via ‘grid::grid.group()’) has been changed (to align better
with simple interpretation of original Porter-Duff definitions).
</P></LI>

<LI><P>
Support for gradients, patterns, clipping paths, masks, groups,
compositing operators, and affine transformations has been added to the
‘quartz()’ device.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
A system installation of generic LAPACK 3.10.0 or later will be
preferred to the version in the R sources.
</P>
<P>
‘configure’ option ‘--with-lapack=no’ (equivalently ‘--without-lapack’)
forces compilation of the internal LAPACK sources.
</P>
<P>
If ‘--with-lapack’ is not specified, a system ‘liblapack’ is looked for
and used if it reports version 3.10.0 or later and does not contain
BLAS routines.
</P>
<P>
Packages using LAPACK will need to be reinstalled if this changes to
using an external library.
</P></LI>

<LI><P>
On ‘aarch64’ Linux platforms using GCC, ‘configure’ now defaults to
‘-fPIC’ (instead of ‘-fpic’), as desired in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18326">PR#18326</a>.
</P></LI>

<LI><P>
‘configure’ now checks conversion of datetimes between ‘POSIXlt’ and
‘POSIXct’ around year 2020.  Failure (which has been seen on platforms
missing ‘tzdata’) is fatal.
</P></LI>

<LI><P>
If ‘configure’ option ‘--with-valgrind-instrumentation’ is given value
‘1’ or ‘2’, option ‘--with-system-valgrind-headers’ is now the default
and ignored (with a warning).  It is highly recommended that the system
headers are installed alongside ‘valgrind’: they are part of its
packaging on some Linux distributions and packaged separately (e.g. in
the ‘valgrind-devel’ RPM) on others.  ‘configure’ will give a warning
if they are not found.
</P>
<P>
The system headers will be required in a future release of R to build
with ‘valgrind’ instrumentation.
</P></LI>

<LI><P>
‘libcurl’ 8.x is now accepted by ‘configure’: despite a change in major
version number it changes neither API nor ABI.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 Installation on Windows </H4>
<UL>
<LI><P>
The makefiles and installer scripts for Windows have been tailored to
Rtools43, an update of the Rtools42 toolchain.  It is based on GCC 12
and newer versions of MinGW-W64, binutils and libraries.  At this time
R-devel can still be built using Rtools42 without changes, but when
R-devel is installed via the installer, it will by default look for
Rtools43.
</P></LI>

<LI><P>
Old make targets ‘rsync-extsoft’ and 32-bit ones that are no longer
needed have been removed.
</P></LI>

<LI><P>
Default builds (including for packages) no longer select C99.  Thus the
C standard used is the default for the compiler, which for the
toolchain in ‘Rtools43’ is C17.  (This is consistent with Unix builds.)
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 Package Installation </H4>
<UL>
<LI><P>
The default C++ standard has been changed to C++17 where available
(which it is on all currently checked platforms): if not C++14 or C++11
is used if available otherwise C++ is not supported.
</P></LI>

<LI><P>
‘USE_FC_LEN_T’ is the default: this uses the correct
(compiler-dependent) prototypes for Fortran BLAS/LAPACK routines called
from C/C++, and requires adjustment of many such calls - see ‘Writing R
Extensions’ §6.6.1.
</P></LI>

<LI><P>
There is initial support for C++23 as several compilers are now
supporting ‘-std=c++23’ or ‘-std=c++2b’ or similar.  As for C++20,
there no additional ‘configure’ checks for C++23 features beyond a
check that the compiler reports a ‘__cplusplus’ value greater than that
in the C++20 standard.  C++ feature tests should be used.
</P></LI>

<LI><P>
There is support for a package to indicate the version of the C
standard which should be used to compile it, and for the installing
user to specify this.  In most cases R defaults to the C compiler's
default standard which is C17 (a `bug-fix' of C11) - earlier versions
of R or compilers may have defaulted to C99.
</P>
<P>
Current options are:
</P>
<P>
USE_C17 Use a standard that is at most C17.  The intention is to allow
          legacy packages to still be installed when later C standards
          become the default, including packages using new keywords as
          identifiers or with K&amp;R-style function declarations.  This
          will use C17 if available, falling back to C11.
</P>
<P>
USE_C90 Use the C90 (aka C89) standard.  (As that standard did not
          require compilers to identify that version, all we can verify
          is that the compiler does not claim to be using a later
          standard.  It may accept C99 features - for example ‘clang’
          accepts // to make comments.)
</P>
<P>
USE_C99 Use the C99 standard. This should be rarely needed - it avoids
          the few new features of C11/C17 which can be useful if a
          package assumes them if C17 is specified and they are not
          implemented.
</P>
<P>
USE_C23 Use C23 (or in future, later).  Compiler/library support for
          C23 is still being implemented, but LLVM clang from 15.0.0
          and GCC from 13 have quite extensive support.
</P>
<P>
These can be specified as part of the ‘SystemRequirements’ field in the
package's ‘DESCRIPTION’ file or _via_ options ‘--use-C17’ and so on of
‘R CMD INSTALL’ and ‘R CMD SHLIB’.
</P>
<P>
For further details see “Writing R Extensions” §1.2.5.
</P></LI>

<LI><P>
(Windows) A ‘src/Makefile.ucrt’ or ‘src/Makefile.win’ file is now
included after ‘&lt;R_HOME&gt;/etc&lt;R_ARCH&gt;/Makeconf’ and so no longer needs
to include that file itself.  Installation of a package with such a
file now uses a site ‘Makevars’ file in the same way as a package with
a ‘src/Makevars.win’ file would.
</P></LI>

<LI><P>
‘configure’ is now passed crucial variables such as ‘CC’ and ‘CFLAGS’
in its environment, as many packages were not setting them (as
documented in ‘Writing R Extensions’ §1.2).
</P>
<P>
This has most effect where ‘configure’ is used to compile parts of the
package - most often by ‘cmake’ or ‘libtool’ which obfuscate the actual
compile commands used.
</P>
<P>
Also used for ‘configure.win’ and ‘configure.ucrt’ on Windows.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 FORTRAN Flags </H4>
<UL>
<LI><P>
The flag ‘-fno-optimize-sibling-calls’ is no longer forced for
‘gfortran’ 7 and later.  It should no longer be needed now using
‘hidden’ character-length arguments when calling BLAS/LAPACK routines
from C/C++ is the default even for packages.  (Unless perhaps packages
call Fortran code from C/C++ without using R's headers and without
allowing for these arguments.)
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 C-Level Facilities </H4>
<UL>
<LI><P>
The deprecated S-compatibility macros ‘DOUBLE_*’ in ‘R_ext/Constants.h’
(included by ‘R.h’) have been removed.
</P></LI>

<LI><P>
The deprecated legacy typedefs of ‘Sint’ and ‘Sfloat’ in header ‘R.h’
are no longer defined, and that header no longer includes header
‘limits.h’ from C nor ‘climits’ from C++.
</P></LI>

<LI><P>
New macro ‘CAD5R()’ is provided in ‘Rinternals.h’ and used in a few
places in the R sources.
</P></LI>

<LI><P>
ALTREP now supports ‘VECSXP’ vectors. Contributed by Gabor Csardi in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17620">PR#17620</a>.
</P></LI>

<LI><P>
The ‘Rcomplex’ definition (in header ‘R_ext/Complex.h’) has been
extended to prevent possible mis-compilation when interfacing with
Fortran (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18430">PR#18430</a>).  The new definition causes compiler warnings with
static initializers such as ‘{1, 2}’, which can be changed to ‘{.r=1,
.i=2}’.
</P>
<P>
Using the new definition from C++ depends on compiler extensions
supporting C features that have not been incorporated into the C++
standards but are available in ‘g++’ and ‘clang++’: this may result in
C++ compiler warnings but these have been worked around for recent
versions of common compilers (GCC, Apple/LLVM clang, Intel).
</P>
<P>
It is intended to change the inclusion of header ‘R_ext/Complex.h’ by
other R headers, so C/C++ code files which make use of ‘Rcomplex’
should include that header explicitly.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ does more checking of package ‘.Rd’ files, warning about
invalid email addresses and (some) invalid URIs and noting empty
‘\item’ labels in description lists.
</P></LI>

<LI><P>
‘R CMD check’ now also reports problems when reading package news in md
(file ‘NEWS.md’) and (optionally) plain text (file ‘NEWS’) formats.
</P></LI>

<LI><P>
‘_R_CHECK_TIMINGS_’ defaults to a value from the environment even for
‘R CMD check --as-cran’; this allows for exceptionally fast or slow
platforms.
</P>
<P>
It now applies to checking PDF and HTML versions of the manuals, and
‘checking CRAN incoming feasibility’.
</P></LI>

<LI><P>
‘R CMD check’ can optionally (but included in ‘--as-cran’) check
whether HTML math rendering _via_ KaTeX works for the package ‘.Rd’
files.
</P></LI>

<LI><P>
Non-interactive debugger invocations can be trapped by setting the
environment variable ‘_R_CHECK_BROWSER_NONINTERACTIVE_’ to a true
value.  This is enabled by ‘R CMD check --as-cran’ to detect the use of
leftover ‘browser()’ statements in the package.
</P></LI>

<LI><P>
The use of ‘sprintf’ and ‘vsprintf’ from C/C++ has been deprecated in
macOS 13 and is a known security risk.  ‘R CMD check’ now reports (on
all platforms) if their use is found in compiled code: replace by
‘snprintf’ or ‘vsnprintf’ respectively. [*NB:* whether such calls get
compiled into the package is platform-dependent.]
</P></LI>

<LI><P>
Where recorded at installation, ‘R CMD check’ reports the C and Fortran
compilers used to build R.
</P>
<P>
It reports the OS in use (if known, as given by ‘osVersion’) as well as
that R was built for.
</P>
<P>
It notes if a C++ standard was specified which is older than the
current default: many packages have used C++11 to mean ‘not C++98’ - as
C++11 is the minimum supported since R 4.0.0, that specification can
probably be removed.
</P></LI>

<LI><P>
‘R CMD INSTALL’ reports the compilers (and on macOS, the SDK) used, and
this is copied to the output of ‘R CMD check’.
</P>
<P>
Where a C++ standard is specified, it is reported.
</P></LI>

<LI><P>
‘R CMD check’'s ‘checking compilation flags in Makevars’ has been
relaxed to accept the use of flags such as ‘-std=f2008’ in
‘PKG_FFLAGS’.
</P></LI>

<LI><P>
‘tools::buildVignettes()’ has a new argument ‘skip’, which is used by
‘R CMD check’ to skip (and note) vignettes with unavailable
‘\VignetteDepends’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18318">PR#18318</a>).
</P></LI>

<LI><P>
New generic ‘.AtNames()’ added to enable class-specific completions
after ‘@’. The formerly internal function ‘findMatches()’ is now
exported, mainly for use in methods for ‘.DollarNames()’ and
‘.AtNames()’.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
‘default.stringsAsFactors()’ is defunct.
</P></LI>

<LI><P>
Calling ‘as.data.frame.&lt;class&gt;()’ directly (for 12 atomic classes) is
going to be formally deprecated, currently activated by setting the
environment variable ‘_R_CHECK_AS_DATA_FRAME_EXPLICIT_METHOD_’ to
non-empty, which also happens in ‘R CMD check --as-cran’.
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 Bug Fixes </H4>
<UL>
<LI><P>
Hashed ‘environment’s with sizes less than 5 can now grow.  (Reported
to R-devel by Duncan Garmonsway.)
</P></LI>

<LI><P>
‘as.character(&lt;Rd&gt;, deparse = TRUE)’ failed to re-escape curly braces
in LaTeX-like text.  (Reported by Hadley Wickham in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18324">PR#18324</a>.)
</P></LI>

<LI><P>
‘library()’ now passes its ‘lib.loc’ argument when requiring ‘Depends’
packages; reported (with fix) in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18331">PR#18331</a> by Mikael Jagan.
</P></LI>

<LI><P>
‘R CMD Stangle’: improved message about ‘Output’ files.
</P></LI>

<LI><P>
‘head(x, n)’ and ‘tail(x, n)’ now signal an error if ‘n’ is not
numeric, instead of incidentally “working” sometimes returning all of
‘x’.  Reported and discussed by Colin Fay, in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18357">PR#18357</a>.
</P></LI>

<LI><P>
The ‘&quot;lm&quot;’ method for ‘summary()’ now gives the correct F-statistic
when the model contains an offset.  Reported in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18008">PR#18008</a>.
</P></LI>

<LI><P>
‘C()’ and ‘`contrasts&lt;-`()’ now preserve factor level names when given
a function object (as opposed a function name which did preserve
names). Reported in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17616">PR#17616</a>.
</P></LI>

<LI><P>
‘c(a = 1, 2)[[]]’ no longer matches ‘2’ but rather signals a _classed_
error.  Reported and analysed by Davis Vaughan in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18367">PR#18367</a>, a duplicate
of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18004">PR#18004</a>, by Jan Meis et al.  For consistency, ‘NULL[[]]’ is also
erroneous now.  ‘x[[]] &lt;- v’ gives an error of the same class
‘&quot;MissingSubscriptError&quot;’.
</P></LI>

<LI><P>
The ‘relist()’ function of ‘utils’ now supports ‘NULL’ elements in the
skeleton (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15854">PR#15854</a>).
</P></LI>

<LI><P>
‘ordered(levels = *)’ (missing ‘x’) now works analogously to ‘factor(,
ordered=TRUE)’; reported (with fix) by Achim Zeileis in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18389">PR#18389</a>.
</P></LI>

<LI><P>
User-defined Rd macro definitions can now span multiple lines, thanks
to a patch from Duncan Murdoch. Previously, the Rd parser silently
ignored everything after the first line.
</P></LI>

<LI><P>
Plain-text help (‘tools::Rd2txt()’) now preserves an initial blank line
for text following description list items.
</P></LI>

<LI><P>
‘tools::Rd2HTML()’ and ‘tools::Rd2latex()’ no longer split \arguments
and \value lists at Rd comments.
</P></LI>

<LI><P>
‘tools::Rd2latex()’ now correctly handles optional text outside \items
of argument lists as well as bracketed text at the beginning of
sections, e.g., \value{[NULL]}.
</P></LI>

<LI><P>
‘as.character(&lt;POSIXt&gt;)’ now behaves more in line with the methods for
atomic vectors such as numbers, and is no longer influenced by
‘options()’.  Ditto for ‘as.character(&lt;Date&gt;)’.  The ‘as.character()’
method gets arguments ‘digits’ and ‘OutDec’ with defaults _not_
depending on ‘options()’.  Use of ‘as.character(*, format = .)’ now
warns.
</P></LI>

<LI><P>
Similarly, the ‘as.character.hexmode()’ and ‘*.octmode()’ methods also
behave as ‘good citizen’ methods and back compatibility option ‘keepStr
= TRUE’.
</P></LI>

<LI><P>
The ‘as.POSIXlt(&lt;POSIXlt&gt;)’ and ‘as.POSIXct(&lt;POSIXct&gt;)’ default methods
now do obey their ‘tz’ argument, also in this case.
</P></LI>

<LI><P>
‘as.POSIXlt(&lt;Date&gt;)’ now does apply a ‘tz’ (time zone) argument, as
does ‘as.POSIXct()’; partly suggested by Roland Fuß on the R-devel
mailing list.
</P></LI>

<LI><P>
‘as.Date.POSIXlt(x)’ now also works when the list components are of
unequal length, aka “partially filled” or “ragged”.
</P></LI>

<LI><P>
‘expand.model.frame()’ looked up variables in the wrong environment
when applied to models fitted without ‘data’.  Reported in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18414">PR#18414</a>.
</P></LI>

<LI><P>
‘time()’ now (also) uses the ‘ts.eps = getOption(&quot;ts.eps&quot;)’ argument
and thus by default rounds values very close to the start (or end) of a
year.  Based on a proposal by Andreï V. Kostyrka on R-help.
</P></LI>

<LI><P>
Printing of a ‘factanal()’ result with just one factor and ‘sort =
TRUE’ now works regularly, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17863">PR#17863</a> by Timothy Bates, thanks to
the ‘R Contributors’ working group.
</P></LI>

<LI><P>
Printing 0-length objects of class ‘&quot;factor&quot;’, ‘&quot;roman&quot;’, ‘&quot;hexmode&quot;’,
‘&quot;octmode&quot;’, ‘&quot;person&quot;’, ‘&quot;bibentry&quot;’, or ‘&quot;citation&quot;’ now prints
something better, one of which fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18422">PR#18422</a>, reported by Benjamin
Feakins.
</P></LI>

<LI><P>
‘Sys.timezone()’ queries ‘timedatectl’ only if ‘systemd’ is loaded;
addressing a report by Jan Gorecki in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17421">PR#17421</a>.
</P></LI>

<LI><P>
The formula method of ‘cor.test()’ had scoping problems when
‘environment(formula)’ was not the calling environment; reported with a
patch proposal by Mao Kobayashi in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18439">PR#18439</a>.
</P></LI>

<LI><P>
‘attach()’ of an environment with active bindings now preserves the
active bindings.  Reported by Kevin Ushey in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18425">PR#18425</a>.
</P></LI>

<LI><P>
BLAS detection now works also with system-provided libraries not
available as regular files.  This fixes detection of the Accelerate
framework on macOS since Big Sur.  Reported by David Novgorodsky.
</P></LI>

<LI><P>
‘download.file()’ gives a helpful error message in case of an invalid
‘download.file.method’ option, thanks to Colin Fay's report in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18455">PR#18455</a>.
</P></LI>

<LI><P>
Sporadic crashes of ‘Rterm’ when using completion have been fixed.
</P></LI>

<LI><P>
‘Rprof()’ is now more reliable.  A livelock in thread initialization
with too short sampling interval has been fixed on macOS.  A deadlock
in using the C runtime has been fixed on Windows.  A potential deadlock
has been prevented on Unix.
</P></LI>

<LI><P>
Cursor placement in ‘Rgui’ now works even after a fixed-width font is
selected.
</P></LI>

<LI><P>
Mandatory options (‘options()’) are now set on startup so that saving
and restoring them always works (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18372">PR#18372</a>).
</P></LI>

<LI><P>
Package installation, ‘R CMD INSTALL’ or ‘install.packages(*)’, now
parses each of the ‘&lt;pkg&gt;/R/*.R’ files individually instead of first
concatenating and then ‘parse()’ing the large resulting file.  This
allows parser or syntax errors to be diagnosed with correct file names
and line numbers, thanks to Simon Dedman's report and Bill Dunlap's
patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17859">PR#17859</a>.
</P>
<P>
This _does_ require syntactically self contained R source files now,
fixing another inadvertent bug.
</P></LI>

<LI><P>
‘predict.lm(&lt;model with offset&gt;)’ now finds the offset in the correct
environment, thanks to André Gillibert's report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18456">PR#18456</a>.
</P></LI>

<LI><P>
‘getInitial(&lt;formula&gt;)’ now finds the ‘selfStart’ model in the correct
environment.  (Reported by Ivan Krylov in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18368">PR#18368</a>.)
</P></LI>

<LI><P>
Fix for possible segfault when using recently-added graphics features,
such as gradients, clipping paths, masks, and groups with
‘pdf(file=NULL)’.
</P></LI>

<LI><P>
‘class(m) &lt;- class(m)’ no longer changes a matrix ‘m’ by adding a class
_attribute_.
</P></LI>

<LI><P>
‘packageDate(pkg)’ now only warns once if there is no ‘pkg’.
</P></LI>

<LI><P>
When ‘ts()’ creates a multivariate time series, ‘&quot;mts&quot;’, it also
inherits from ‘&quot;array&quot;’ now, and ‘is.mts()’ is documented _and_
stricter.
</P></LI>

<LI><P>
‘Rd2txt()’ now preserves line breaks of \verb Rd content and from
duplicated \cr.  The former also fixes the rendering of verbatim output
from Rd \Sexpr in plain-text help.
</P></LI>

<LI><P>
‘uniroot(f, interval)’ should no longer wrongly converge _outside_ the
interval in some cases where ‘abs(f(x)) == Inf’ for an ‘x’ at the
interval boundary, thanks to posts by Ben Bolker and Serguei Sokol on
R-devel.
</P></LI>

<LI><P>
Vectorized alpha handling in palette functions such as in ‘gray()’,
‘rainbow()’, or ‘hcl.colors()’ works correctly now, thanks to Achim
Zeileis' report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18476">PR#18476</a>.
</P></LI>

<LI><P>
Formatting and ‘print()’ing of ‘bibentry’ objects has dropped the
deprecated ‘citation.bibtex.max’ argument, such that the ‘bibtex’
argument's default for ‘print.bibentry()’ depends directly on the
‘citation.bibtex.max’ option, whereas in ‘format.bibentry()’ the option
no longer applies.
</P></LI>

<LI><P>
Attempting to use a character string naming a foreign function entry
point in a foreign function call in a package will now signal an error
if the packages has called ‘R_forceSymbols’ to specify that symbols
must be used.
</P></LI>

<LI><P>
An error in ‘table()’ could permanently set ‘options(warn=2)’ promoting
all subsequent warnings to errors.
</P></LI>

<LI><P>
The ‘sigma()’ function gave misleading results for binary GLMs.  A new
method for objects of class ‘&quot;glm&quot;’ returns the square root of the
estimate of the dispersion parameter using the same calculation as
‘summary.glm()’.
</P></LI>

<LI><P>
‘bs()’ and ‘ns()’ in the (typical) case of automatic knot construction,
when some of the supposedly inner knots coincide with boundary knots,
now moves them inside (with a warning), building on <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18442">PR#18442</a> by Ben
Bolker.
</P></LI>

<LI><P>
‘R CMD’ on Windows now skips the site profile with ‘--no-site-file’ and
‘--vanilla’ even when ‘R_PROFILE’ is set (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18512">PR#18512</a>, from Kevin Ushey).
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.3 C-Level Facilities </H4>
<UL>
<LI><P>
The definition of ‘DL_FUNC’ in ‘R_ext/Rdynload.h’ has been changed to
be fully C-compliant.  This means that functions loaded _via_ for
example ‘R_GetCCallable’ need to be cast to an appropriate type if they
have any arguments.
</P></LI>

<LI><P>
‘.Machine’ has a new element ‘sizeof.time_t’ to identify old systems
with a 32-bit type and hence a limited range of date-times (and limited
support for dates millions of years from present).
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.3 Package Installation </H4>
<UL>
<LI><P>
(Windows) The default C++ standard had accidentally been left at C++11
when it was changed to C++14 on Unix.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.3 Bug Fixes </H4>
<UL>
<LI><P>
As ‘&quot;POSIXlt&quot;’ objects may be “partially filled” and their list
components meant to be recycled, ‘length()’ now is the length of the
longest component.
</P></LI>

<LI><P>
‘as.POSIXlt.Date()’ could underflow for dates in the far past (more
than half a million years BCE).
</P></LI>

<LI><P>
‘as.Date.POSIXlt(x)’ would return ‘&quot;1970-01-01&quot;’ instead of ‘NA’ in R
4.2.2, e.g., for
</P>
<P>
        x &lt;- as.POSIXlt(c(&quot;2019-01-30&quot;,&quot;2001-1-1&quot;))
        x$mon &lt;- c(0L, NA); as.Date(x)
</P>
<P>
</P></LI>

<LI><P>
‘R CMD check’ failed to apply enabled ‘_R_CHECK_SUGGESTS_ONLY_’ to
examples and vignettes (regression in R 4.2.0).
</P></LI>

<LI><P>
‘R CMD check’ did not re-build vignettes in separate processes by
default (regression in R 4.2.0).
</P></LI>

<LI><P>
Running examples from HTML documentation now restores previous ‘knitr’
settings and options (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18420">PR#18420</a>).
</P></LI>

<LI><P>
Quartz: fonts are now located using Core Graphics API instead of
deprecated ATS which is no longer supported in the macOS 13 SDK
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18426">PR#18426</a>).  This also addresses an issue where the currently used font
in the Quartz device context was not correctly retained.
</P></LI>

<LI><P>
(Windows) Math symbols in text drawing functions are again rendered
correctly (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18440">PR#18440</a>).  This fixes a regression in R 4.2.1 caused by a
fix in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18382">PR#18382</a> which uncovered an issue in GraphApp due to which the
symbol charset was not used with TT Symbol font face.
</P></LI>

<LI><P>
(Windows) Installing a package with a ‘src/Makefile.{win,ucrt}’ file
includes ‘~/.R/Makevars.win64’ in the search for user makevars, as
documented in “R Installation and Administration” and done for packages
with a ‘src/Makevars.{win,ucrt}’ file.
</P></LI>

<LI><P>
‘format(&lt;POSIXlt_w/_unbalanced_sec&gt;, &quot;....%OS&lt;n&gt;&quot;)’ with n &gt; 0 no
longer accidentally uses the unbalanced seconds, thanks to Suharto
Anggono's report (including patch) in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18448">PR#18448</a>.
</P></LI>

<LI><P>
‘solve.default(a, b)’ works around issues with some versions of LAPACK
when ‘a’ contains ‘NA’ or ‘NaN’ values.
</P></LI>

<LI><P>
When ‘UseMethod()’ cannot dispatch, it no longer segfaults producing
the error message in case of a long ‘class()’, thanks to Joris
Vankerschaver's report (including patch) in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18447">PR#18447</a>.
</P></LI>

<LI><P>
When ‘example(foo, ..)’ produces graphics on an interactive device it
needs to open itself, it now leaves ‘devAskNewPage()’ unchanged even
when it was ‘FALSE’, thus fixing a 14 years old ‘FIXME’.
</P></LI>

<LI><P>
‘packageDescription()’ again catches errors from encoding conversions.
This also fixes broken ‘packageVersion()’ in C locale on systems where
‘iconv’ does not support transliteration.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.2 New Features </H4>
<UL>
<LI><P>
‘tools::Rdiff(useDiff = TRUE)’ checks for the presence of an external
‘diff’ command and switches to ‘useDiff = FALSE’ if none is found.
This allows ‘R CMD Rdiff’ to always work.
</P></LI>

<LI><P>
On Windows, environment variable ‘R_LIBCURL_SSL_REVOKE_BEST_EFFORT’ can
be used to switch to only ‘best-effort’ SSL certificate revocation
checks with the default ‘&quot;libcurl&quot;’ download method.  This reduces
security, but may be needed for downloads to work with MITM proxies
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18379">PR#18379</a>).
</P></LI>

<LI><P>
(macOS) The run-time check for libraries from XQuartz for X11 and
Tcl/Tk no longer uses ‘otool’ from the Apple Developer Tools
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18400">PR#18400</a>).
</P></LI>

<LI><P>
The LaTeX style for producing the PDF manuals, ‘Rd.sty’, now loads the
standard ‘amsmath’, ‘amsfonts’ and ‘amssymb’ packages for greater
coverage of math commands in the Rd \eqn and \deqn macros.  The
\mathscr LaTeX command is also provided (via the ‘mathrsfs’ package, if
available, or the ‘amsfonts’ bundle otherwise), fulfilling the wish of
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18398">PR#18398</a>.
</P></LI>

<LI><P>
(Windows) The default format of ‘readClipboard()’ and
‘writeClipboard()’ has been changed to ‘13’ (‘CF_UNICODETEXT’).
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.2 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
The PDF manuals (if built) can be compacted by the new target ‘make
compact-pdf’ (at the top level or in directory ‘doc/manual’).
</P></LI>

<LI><P>
There is now ‘configure’ support for LLVM clang 15 on Linux, which
defaults to position-independent (PIE) executables whereas ‘gfortran’
does not.
</P></LI>

<LI><P>
Many small changes to ease compilation (and suppress warnings) with
LLVM ‘clang’ 15.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.2 Bug Fixes </H4>
<UL>
<LI><P>
‘Rscript -e’ would fail if ‘stdin’ were closed (Reported by Henrik
Bengtsson.)
</P></LI>

<LI><P>
‘qt(*, log.p=TRUE)’ in outer tails no longer produces ‘NaN’ in its
final steps, thus fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18360">PR#18360</a>.
</P></LI>

<LI><P>
‘tools::Rd2latex()’ now escapes hashes and ampersands when writing
URLs, fixing LaTeX errors with such URLs in \tabular.
</P></LI>

<LI><P>
When ‘isGeneric(f, fdef=*)’ is used with mismatching names, the warning
is better understandable; reported (with fix) in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18370">PR#18370</a> by Gabe
Becker.
</P></LI>

<LI><P>
‘poly(x, n)’ now works again (and is now documented) when ‘x’ is a
‘&quot;Date&quot;’ or ‘&quot;POSIXct&quot;’ object, or of another class while fulfilling
‘mode(x) == &quot;numeric&quot;’.  This also enables ‘poly(x, *, raw=TRUE)’ for
such variables.  Reported by Michael Chirico to R-devel.
</P></LI>

<LI><P>
‘write.table()’, ‘write.csv()’ and ‘write.csv2()’ restore their
numerical precision (internal equivalent of ‘digits = 15’) after an
interrupt (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18384">PR#18384</a>).
</P></LI>

<LI><P>
One can now read also byte ‘FF’ from a clipboard connection (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18385">PR#18385</a>).
</P></LI>

<LI><P>
‘source(&quot;&quot;)’ and ‘source(character())’ now give more helpful error
messages.
</P></LI>

<LI><P>
‘R CMD check --as-cran’ set ‘_R_CHECK_TIMINGS_’ too late to have the
intended effect.
</P></LI>

<LI><P>
‘as.POSIXlt(x)’ now also works with very large dates ‘x’, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18401">PR#18401</a> reported by Hannes Mühleisen.
</P></LI>

<LI><P>
Files can now be extracted even from very large zip archives (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18390">PR#18390</a>,
thanks to Martin Jakt).
</P></LI>

<LI><P>
Non-finite objects of class ‘&quot;POSIXlt&quot;’ are now correctly coerced to
classes ‘&quot;Date&quot;’ and ‘&quot;POSIXct&quot;’; following up on the extension to
‘format()’ them correctly.
</P></LI>

<LI><P>
Added methods for ‘is.finite()’, ‘is.infinite()’ and ‘is.nan()’ for
‘&quot;POSIXlt&quot;’ date-time objects.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.2 Bug Fixes (Windows) </H4>
<UL>
<LI><P>
Non-ASCII characters are now properly displayed on Windows in windows
created using GraphApp via e.g. ‘winDialogString’ thanks to a
workaround for an at least surprising Windows behavior with UTF-8 as
the system encoding (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18382">PR#18382</a>).
</P></LI>

<LI><P>
Find and replace operations work again in the script editor in ‘Rgui’
on Windows.
</P></LI>

<LI><P>
Computation of window size based on requested client size in GraphApp
when running in a multi-byte locale on Windows has been fixed
(regression in R 4.2.0 for users of systems where R 4.1 used a
single-byte locale).  ‘Rgui’ again respects the number of console rows
and columns given in ‘Rconsole’ file.
</P></LI>

<LI><P>
‘Rterm’ support for ‘Alt+xxx’ sequences has been fixed to produce the
corresponding character (only) once. This fixes pasting text with tilde
on Italian keyboard (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18391">PR#18391</a>).
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.1 New Features </H4>
<UL>
<LI><P>
New function ‘utils::findCRANmirror()’ to find out if a CRAN mirror has
been selected, otherwise fallback to the main site.  This behaves in
the same way as ‘tools::CRAN_package_db()’ and is intended for packages
wishing to access CRAN for purposes other than installing packages.
</P>
<P>
The need for this was shown by a day when the main CRAN website was
offline and a dozen or so packages which had its URL hardcoded failed
their checks.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.1 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
The libraries searched for by ‘--with-blas’ (without a value) now
include BLIS (after OpenBLAS but before ATLAS).  And on macOS, the
Accelerate framework (after ATLAS).  (This is patterned after the
‘AX_BLAS’ macro from the Autoconf Archive.)
</P></LI>

<LI><P>
The included LAPACK sources have been updated to 3.10.1.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.1 Utilities </H4>
<UL>
<LI><P>
The (full path to) the command ‘tidy’ to be used for HTML validation
can be set by environment variable ‘R_TIDYCMD’.
</P></LI>

<LI><P>
Setting environment variable ‘_R_CHECK_RD_VALIDATE_RD2HTML_’ to a false
value will override ‘R CMD check --as-cran’ and turn off HTML
validation.  This provides a way to circumvent a problematic ‘tidy’.
</P>
<P>
The 2006 version that ships with macOS is always skipped.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.1 C-Level Facilities </H4>
<UL>
<LI><P>
The undocumented legacy declarations of ‘Sint’, ‘Sfloat’, ‘SINT_MAX’
and ‘SINT_MIN’ in header ‘R.h’ are deprecated.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.1 Bug Fixes </H4>
<UL>
<LI><P>
‘fisher.test(d)’ no longer segfaults for “large” ‘d’; fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18336">PR#18336</a>
by preventing/detecting an integer overflow reliably.
</P></LI>

<LI><P>
‘tar(., files=*)’ now produces correctly the warning about invalid UID
or GID of files, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18344">PR#18344</a>, reported by Martin Morgan.
</P></LI>

<LI><P>
‘tk_choose.files()’ with ‘multi = FALSE’ misbehaved on paths containing
spaces (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18334">PR#18334</a>) (regression introduced in R 4.0.0).
</P></LI>

<LI><P>
‘sort(x, partial = ind, *)’ now works correctly notably for the
non-default ‘na.last = FALSE’ or ‘TRUE’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18335">PR#18335</a> reported by
James Edwards.
</P></LI>

<LI><P>
Environment variable ‘_R_CHECK_XREFS_REPOSITORIES_’ is only used for
checking ‘.Rd’ cross-references in ‘R CMD check’ (as documented) and
not for other uses looking for a CRAN mirror.
</P></LI>

<LI><P>
The search for a CRAN mirror when checking packages now uses
‘getOption(&quot;repos&quot;)’ if that specifies a CRAN mirror, even when it does
not also specify all three Bioconductor repositories (as was previously
required).
</P></LI>

<LI><P>
The HTML code generated by ‘tools::Rd2HTML()’ has been improved to pass
‘tidy’ 5.8.0.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.1 Bug Fixes (Windows) </H4>
<UL>
<LI><P>
Writing to a clipboard connection works again, fixing a regression in R
4.2.0 (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18332">PR#18332</a>).  Re-using a closed clipboard connection no longer
issues a spurious warning about an ignored encoding argument.
</P></LI>

<LI><P>
C function ‘getlocale’ no longer attempts to query an unsupported
category from the OS, even when requested at R level, which may cause
crashes when R 4.2.0 (which uses UCRT) is embedded (reported by Kevin
Ushey).
</P></LI>

<LI><P>
Accent keys now work in GraphApp Unicode windows, which are used by
‘Rgui’ whenever running in a multibyte locale (so also in UTF-8, hence
fixing a regression in R 4.2.0 for users of systems where R 4.1 used a
single-byte locale).
</P></LI>

<LI><P>
Completion in ‘Rgui’ now works also with non-ASCII characters.
</P></LI>

<LI><P>
‘Rgui’ no longer truncates usage information with ‘--help’.
</P></LI>

<LI><P>
Text injection from external applications via ‘SendInput’ now works in
GraphApp Unicode windows, fixing a regression in R 4.2.0 for ‘Rgui’
users of systems where R 4.1 used a single-byte locale but R 4.2.0 uses
UTF-8.
</P></LI>

<LI><P>
Performance of ‘txtProgressBar()’ in ‘Rgui’ when running in a
multi-byte locale has been improved (fixing a performance regression in
R 4.2.0 for users of systems where R 4.1 used a single-byte locale).
</P></LI>

<LI><P>
The script editor in ‘Rgui’ now works also on systems using UTF-8 as
the native encoding.  Users of the script editor have to convert their
scripts with non-ASCII characters to UTF-8 before reading them in R
4.2.1 or newer (on recent Windows where UTF-8 is used).  This fixes a
regression in R 4.2.0, which prevented some operations with scripts
when they contained non-ASCII characters.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
The ‘formula’ method of ‘aggregate()’ now matches the generic in naming
its first argument ‘x’ (resolving <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18299">PR#18299</a> by Thomas Soeiro).
</P>
<P>
This means that calling ‘aggregate()’ with a formula as a named first
argument requires name ‘formula’ in earlier versions of R and name ‘x’
now, so portable code should not name the argument (code in many
packages did).
</P></LI>

<LI><P>
Calling ‘&amp;&amp;’ or ‘||’ with either argument of length greater than one
now gives a warning (which it is intended will become an error).
</P></LI>

<LI><P>
Calling ‘if()’ or ‘while()’ with a condition of length greater than one
gives an error rather than a warning.  Consequently, environment
variable ‘_R_CHECK_LENGTH_1_CONDITION_’ no longer has any effect.
</P></LI>

<LI><P>
Windows users should consult the Windows section below for some
profound changes including
</P>
<P>
        • Support for 32-bit builds has been dropped.
</P>
<P>
        • UTF-8 locales are used where available.
</P>
<P>
        • The default locations for the R installation and personal
          library folder have been changed.
</P>
<P>
Thanks to Tomas Kalibera for months of work on the Windows port for
this release.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 New Features </H4>
<UL>
<LI><P>
‘matrix(x, n, m)’ now warns in more cases where ‘length(x)’ differs
from ‘n * m’, as suggested by Abby Spurdle and Wolfgang Huber in Feb
2021 on the R-devel mailing list.
</P>
<P>
This warning can be turned into an error by setting environment
variable ‘_R_CHECK_MATRIX_DATA_’ to ‘TRUE’: ‘R CMD check --as-cran’
does so unless it is already set.
</P></LI>

<LI><P>
Function ‘file_test()’ in package ‘utils’ gains tests for symlinks,
readability and writability.
</P></LI>

<LI><P>
‘capabilities(&quot;libxml&quot;)’ is now false.
</P>
<P>
The description of ‘capabilities(&quot;http/ftp&quot;)’ now reflects that it
refers to the default method, no longer the internal one.
</P></LI>

<LI><P>
‘simplify2array()’ gains an ‘except’ argument for controlling the
exceptions used by ‘sapply()’.
</P></LI>

<LI><P>
Environment variables ‘R_LIBS_USER’ and ‘R_LIBS_SITE’ are both now set
to the R system default if unset or empty, and can be set to ‘NULL’ to
indicate an empty list of user or site library directories.
</P></LI>

<LI><P>
The warning for ‘axis()’(-like) calls in cases of relatively small
ranges (typically in log-scale situations) is slightly improved _and_
suppressed from explicit calls to ‘.axisPars()’ as has always been the
intention.
</P></LI>

<LI><P>
The ‘contrasts’ setter function ‘`contrasts&lt;-`’ gains an explicit
default ‘how.many = NULL’ rather than just using ‘missing(how.many)’.
</P></LI>

<LI><P>
‘grid.pretty()’ gains a new optional argument ‘n = 5’.
</P></LI>

<LI><P>
There is a new function ‘.pretty()’ with option ‘bounds’ as a
technical-utility version of ‘pretty()’.  It and ‘pretty()’ gain a new
argument ‘f.min’ with a better than back-compatible default.
</P></LI>

<LI><P>
Function ‘grDevices::axisTicks()’ and related functions such as
‘graphics::axis()’ work better, notably for the log scale; partly
because of the ‘pretty()’ improvements, but also because care is taken
e.g., when ‘ylim’ is finite but ‘diff(ylim)’ is infinite.
</P></LI>

<LI><P>
‘nclass.FD()’ gains a ‘digits’ option.
</P></LI>

<LI><P>
The R Mathlib internal C function ‘bd0()’ (called indirectly from a
dozen probability density and distribution functions such as ‘dpois()’,
‘dbinom()’, ‘dgamma()’, ‘pgamma()’ _etc_) has been complemented by a
more sophisticated and (mostly) more accurate C function ‘ebd0()’,
currently called only by internal ‘dpois_raw()’ improving accuracy for
R level ‘dpois()’ and potentially others calling it such as
‘dnbinom()’, ‘dgamma()’ or ‘pgamma()’.  (Thanks to Morten Welinder's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15628">PR#15628</a>.)
</P></LI>

<LI><P>
‘write.ftable()’ gains ‘sep = &quot; &quot;’ argument as suggested by Thomas
Soeiro.
</P></LI>

<LI><P>
The names of the locale categories supported by R's ‘Sys.getlocale()’
and ‘Sys.setlocale()’ are now provided by variable ‘.LC.categories’ in
the ‘base’ namespace.
</P></LI>

<LI><P>
The ‘Date’ and ‘POSIXt’ methods for ‘hist()’ and the ‘histogram’ method
for ‘plot()’ now also use the new default ‘col = &quot;lightgray&quot;’ in
consistency with the corresponding change to ‘hist()’'s default for R
4.0.0.
</P></LI>

<LI><P>
‘hist.default()’ gains new ‘fuzz’ argument, and the histogram ‘plot’
method no longer uses fractional axis ticks when displaying counts
(‘&quot;Frequency&quot;’).
</P></LI>

<LI><P>
‘mapply()’ and hence ‘Map()’ now also obey the “max-or-0-if-any”
recycling rule, such that, e.g., ‘Map(`+`, 1:3, 1[0])’ is valid now.
</P></LI>

<LI><P>
‘as.character(&lt;obj&gt;)’ for ‘&quot;hexmode&quot;’ or ‘&quot;octmode&quot;’ objects now
fulfils the important basic rule ‘as.character(x)[j] ===
as.character(x[j])’.
</P></LI>

<LI><P>
The set utility functions, notably ‘intersect()’ have been tweaked to
be more consistent and symmetric in their two set arguments, also
preserving a common ‘mode’.
</P></LI>

<LI><P>
‘substr(ch, start,end) &lt;- new’ now e.g., preserves ‘names(ch)’; ditto
for ‘substring()’, thanks to a patch from Brodie Gaslam.
</P></LI>

<LI><P>
‘plot(&lt;lm&gt;)’ gains a ‘extend.ylim.f’ argument, in partial response to
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15285">PR#15285</a>; further <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17784">PR#17784</a> is fixed thanks to several contributors and
a patch by Elin Waring.  The Cook's dist contours get customizable via
‘cook.col’ and ‘cook.lty’ with a different default color and their
legend is nicer by default and customizable via ‘cook.legendChanges’.
</P></LI>

<LI><P>
Attempting to subset an object that is not subsettable now signals an
error of class ‘notSubsettableError’. The non-subsettable object is
contained in the ‘object’ field of the error condition.
</P></LI>

<LI><P>
Subscript-out-of-bounds errors are now signaled as errors of class
‘subscriptOutOfBoundsError’.
</P></LI>

<LI><P>
Stack-overflow errors are now signaled as errors inheriting from class
‘stackOverflowError’. See ‘?stackOverflowError’ for more details.
</P></LI>

<LI><P>
New partly experimental ‘Sys.setLanguage()’ utility, solving the main
problem of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18055">PR#18055</a>.
</P></LI>

<LI><P>
‘gettext()’ and ‘gettextf()’ get a new option ‘trim = TRUE’ which when
set to false allows translations for strings such as ‘&quot;Execution
halted\n&quot;’ typical for C code.
</P></LI>

<LI><P>
An experimental implementation of hash tables is now available.  See
‘?hashtab’ for more details.
</P></LI>

<LI><P>
‘identical()’ gains a ‘extptr.as.ref’ argument for requesting that
external pointer objects be compared as reference objects.
</P></LI>

<LI><P>
‘reorder()’ gets an argument ‘decreasing’ which it passes to ‘sort()’
for level creation; based on the wish and patch by Thomas Soeiro in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18243">PR#18243</a>.
</P></LI>

<LI><P>
‘as.vector()’ gains a ‘data.frame’ method which returns a simple named
list, also clearing a long-standing ‘FIXME’ to enable
‘as.vector(&lt;data.frame&gt;, mode=&quot;list&quot;)’.  This breaks code relying on
‘as.vector(&lt;data.frame&gt;)’ to return the unchanged data frame.
</P></LI>

<LI><P>
‘legend()’ is now vectorized for arguments ‘cex’, ‘x.intersp’, and
‘text.width’.  The latter can now also be specified as a vector (one
element for each column of the legend) or as ‘NA’ for computing a
proper column wise maximum value of ‘strwidth(legend)’.  The argument
‘y.intersp’ can be specified as a vector with one entry for each row of
the legend.
</P>
<P>
‘legend()’ also gains new arguments ‘title.cex’ and ‘title.font’.
Thanks to Swetlana Herbrandt.
</P></LI>

<LI><P>
Deparsing no longer remaps attribute names ‘dim’, ‘dimnames’, ‘levels’,
‘names’ and ‘tsp’ to historical S-compatible names (which ‘structure()’
maps back).
</P></LI>

<LI><P>
‘sample()’ and ‘sample.int()’ have additional sanity checks on their
‘size’ and ‘n’ arguments.
</P>
<P>
‘all.equal.numeric()’ gains a sanity check on its ‘tolerance’ argument
- calling ‘all.equal(a, b, c)’ for three numeric vectors is a
surprisingly common error.
</P>
<P>
‘mean(na.rm =)’, ‘rank(na.last =)’, ‘barplot(legend.text =)’,
‘boxplot()’, ‘contour(drawlabels =)’, ‘polygon(border =)’ and
‘methods::is(class2 =)’ have more robust sanity checks on their
arguments.
</P>
<P>
‘R CMD Rd2pdf’ (used by ‘R CMD check’) has a more robust sanity check
on the format of ‘\alias{}’ commands.
</P></LI>

<LI><P>
‘psigamma(x, deriv)’ for negative ‘x’ now also works for ‘deriv = 4’
and ‘5’; their underlying C level ‘dpsifn()’ is documented in ‘Writing
R Extensions’.
</P></LI>

<LI><P>
The HTML help system now uses HTML5 (wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18149">PR#18149</a>).
</P></LI>

<LI><P>
‘ks.test()’ now provides exact p-values also with ties and MC p-values
in the two-sample (Smirnov) case.  By Torsten Hothorn.
</P></LI>

<LI><P>
‘ks.test()’ gains a formula interface, with ‘y ~ 1’ for the one-sample
(Kolmogorov) test and ‘y ~ group’ for the two-sample (Smirnov) test.
Contributed by Torsten Hothorn.
</P></LI>

<LI><P>
The return value from ‘ks.test()’ now has class ‘c(&quot;ks.test&quot;, &quot;htest&quot;)’
- packages using ‘try()’ need to take care to use ‘inherits()’ and not
‘==’ on the class.
</P></LI>

<LI><P>
New functions ‘psmirnov()’, ‘qsmirnov()’ and ‘rsmirnov()’ in package
‘stats’ implementing the asymptotic and exact distributions of the
two-sample Smirnov statistic.
</P></LI>

<LI><P>
‘iconv()’ now allows ‘sub = &quot;c99&quot;’ to use C99-style escapes for UTF-8
inputs which cannot be converted to encoding ‘to’.
</P></LI>

<LI><P>
In a forward pipe ‘|&gt;’ expression it is now possible to use a named
argument with the placeholder ‘_’ in the ‘rhs’ call to specify where
the ‘lhs’ is to be inserted.  The placeholder can only appear once on
the ‘rhs’.
</P></LI>

<LI><P>
The included LAPACK sources have been updated to version 3.10.0, except
for the four Fortran 77 routines which 3.10.0 has re-implemented in
Fortran 90 (where the older versions have been retained as the R build
process does not support Fortran 90).
</P></LI>

<LI><P>
‘path.expand()’ and most other uses of tilde expansion now warn if a
path would be too long if expanded.  (An exception is ‘file.exists()’,
which silently returns false.)
</P></LI>

<LI><P>
‘trunc(&lt;Date&gt;, *)’ now supports ‘units = &quot;months&quot;’ or ‘&quot;years&quot;’ for
consistency with the ‘POSIXt’ method, thanks to Dirk Eddelbuettel's
proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18099">PR#18099</a>.
</P></LI>

<LI><P>
‘list2DF()’ now checks that its arguments are of the same length,
rather than use recycling.
</P></LI>

<LI><P>
The HTML help system has several new features: LaTeX-like math can be
typeset using either KaTeX or MathJax, usage and example code is
highlighted using Prism, and for dynamic help the output of examples
and demos can be shown within the browser if the ‘knitr’ package is
installed. These features can be disabled by setting the environment
variable ‘_R_HELP_ENABLE_ENHANCED_HTML_’ to a false value.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 Graphics </H4>
<UL>
<LI><P>
The graphics engine version, ‘R_GE_version’, has been bumped to ‘15’
and so packages that provide graphics devices should be reinstalled.
</P></LI>

<LI><P>
The ‘grid’ package now allows the user to specify a “vector” of pattern
fills.  The ‘fill’ argument to ‘gpar()’ accepts a list of gradients
and/or patterns and the functions ‘linearGradient()’,
‘radialGradient()’, and ‘pattern()’ have a new ‘group’ argument.
</P>
<P>
Points grobs (data symbols) can now also have a pattern fill.
</P>
<P>
The ‘grobCoords()’ function now returns a more informative and complex
result.
</P></LI>

<LI><P>
The ‘grid’ package has new functions for drawing isolated groups:
‘grid.group()’, ‘grid.define()’, and ‘grid.use()’.  These functions add
compositing operators and affine transformations to R's graphics
capabilities.
</P>
<P>
The ‘grid’ package also has new functions for stroking and filling
paths: ‘grid.stroke()’, ‘grid.fill()’, and ‘grid.fillStroke()’.
</P>
<P>
A new function ‘as.path()’ allows the user to specify the fill rule for
a path that is to be used for clipping, stroking, or filling; available
options are ‘&quot;winding&quot;’ and ‘&quot;evenodd&quot;’.  A new function ‘as.mask()’
allows the user to specify the type of a mask; available options are
‘&quot;alpha&quot;’ and ‘&quot;luminance&quot;’.
</P>
<P>
These new features are only supported so far (at most) on the
Cairo-based graphics devices and on the ‘pdf()’ device.
</P></LI>

<LI><P>
‘dev.capabilities()’ reports on device support for the new features.
</P></LI>

<LI><P>
‘par()’ now warns about unnamed non-character arguments to prevent
misuse such as ‘{usr &lt;- par(&quot;usr&quot;); par(usr)}’.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 Windows </H4>
<UL>
<LI><P>
R uses UTF-8 as the native encoding on recent Windows systems (at least
Windows 10 version 1903, Windows Server 2022 or Windows Server 1903).
As a part of this change, R uses UCRT as the C runtime.  UCRT should be
installed manually on systems older than Windows 10 or Windows Server
2016 before installing R.
</P></LI>

<LI><P>
The default personal library on Windows, folder ‘R\win-library\x.y’
where ‘x.y’ stands for R release ‘x.y.z’, is now a subdirectory of
Local Application Data directory (usually a hidden directory
‘C:\Users\username\AppData\Local’).  Use ‘shell.exec(.libPaths()[1])’
from R to open the personal library in Explorer when it is first in the
list (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17842">PR#17842</a>).
</P></LI>

<LI><P>
R uses a new 64-bit Tcl/Tk bundle.  The previous 32-bit/64-bit bundle
had a different layout and can no longer be used.
</P></LI>

<LI><P>
Make files and installer scripts for Windows have been tailored to
‘Rtools42’, the newly recommended 64-bit ‘gcc’ 10.3 MinGW-W64 UCRT
toolchain.
</P></LI>

<LI><P>
‘Rtools42’ by default uses the Windows security features ASLR and DEP;
hence CRAN builds of R and packages also do.
</P></LI>

<LI><P>
R now supports files ‘Makevars.ucrt’, ‘Makefile.ucrt’, ‘configure.ucrt’
and ‘cleanup.ucrt’ in packages, which are used in preference to the
‘.win’ variants.  This allows keeping the ‘.win’ files around to
support older versions of R.  This feature will be removed in the
future once support for older versions of R would no longer be needed.
</P></LI>

<LI><P>
‘R.version’ gains a new field ‘crt’ (only on Windows) to denote the C
runtime.  The value is ‘&quot;ucrt&quot;’.
</P></LI>

<LI><P>
On Windows, ‘download.file(method = &quot;auto&quot;)’ and ‘url(method =
&quot;default&quot;)’ now follow Unix in using ‘&quot;libcurl&quot;’ for all except
‘file://’ URIs.
</P></LI>

<LI><P>
‘Rtools42’ includes an unpatched Msys2 build of GNU ‘tar’.  Paths
including drive letters can be made to work by adding ‘--force-local’
to environment variable ‘TAR_OPTIONS’.  (‘Rtools40’ and earlier
included a patched version which defaulted to this option.)
</P></LI>

<LI><P>
Installer builds of R automatically find the ‘Rtools42’ software
collection as well as the compiler toolchain.  No ‘PATH’ setting is
required from the user.
</P></LI>

<LI><P>
The default installation directory of R for a user-only installation
has been changed to the User Program Files directory (usually a hidden
directory ‘C:\Users\username\AppData\Local\Programs’) to follow Windows
conventions.  Use ‘shell.exec(R.home())’ from R to open the R
installation directory in Explorer (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17842">PR#17842</a>).
</P></LI>

<LI><P>
R now supports installation-time patching of packages.  Patches may be
installed from a supplied URL or a local directory or disabled.
Patches are included into the installed packages for reference.  This
experimental feature may be removed in the future.
</P></LI>

<LI><P>
‘libcurl’ is now required for building from source.
</P></LI>

<LI><P>
The clipboard connection now works also with text in other than the
current native encoding (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18267">PR#18267</a>, with Hiroaki Yutani).  Text is
always pasted to the clipboard in UTF16-LE and the ‘encoding’ argument
is ignored.
</P></LI>

<LI><P>
The internal case-changing functions are now used by default on Windows
- this circumvents problems (for example with E acute) of the UCRT
Windows' runtime.
</P></LI>

<LI><P>
R on Windows now uses the system memory allocator.  Doug Lea's
allocator was used since R 1.2.0 to mitigate performance limitations
seen with system allocators on earlier versions of Windows.
</P></LI>

<LI><P>
‘memory.limit()’ and ‘memory.size()’ are now stubs on Windows (as on
Unix-alikes).
</P></LI>

<LI><P>
Applications embedding R on Windows can now use additional callbacks,
which have so far only been available only on Unix (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18286">PR#18286</a>).
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 Installation </H4>
<UL>
<LI><P>
Facilities for accessing ‘ftp://’ sites are no longer tested (except
_pro tem_ for ‘curlGetHeaders()’) as modern browsers have removed
support.
</P></LI>

<LI><P>
R can now be built with ‘DEFS = -DSTRICT_R_HEADERS’ .
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 Package Installation </H4>
<UL>
<LI><P>
‘R CMD INSTALL’ no longer tangles vignettes. This completes an ‘R CMD
build’ change in R 3.0.0 and affects packages built before R 3.0.2.
Such packages should be re-made with ‘R CMD build’ to have the tangled
R code of vignettes shipped with the tarball.
</P></LI>

<LI><P>
‘USE_FC_LEN_T’ will become the default: this uses the correct
prototypes for Fortran BLAS/LAPACK routines called from C/C++, and
requires adjustment of most such calls - see ‘Writing R Extensions’
§6.6.1.  (This has been supported since R 3.6.2.)
</P></LI>

<LI><P>
Package installation speed for packages installed with ‘keep.source’
has been improved. This resolve the issue reported by Ofek Shilon in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18236">PR#18236</a>.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ can optionally report files/directories left behind in
home, ‘/tmp’ (even though ‘TMPDIR’ is set) and other directories.  See
the “R Internals” manual for details.
</P></LI>

<LI><P>
‘R CMD check’ now reports byte-compilation errors during installation.
These are not usually fatal but may result in parts of the package not
being byte-compiled.
</P></LI>

<LI><P>
‘_R_CHECK_DEPENDS_ONLY_’ can be applied selectively to examples, tests
and/or vignettes in ‘R CMD check’: see the “R Internals” manual.
</P></LI>

<LI><P>
‘_R_CHECK_SRC_MINUS_W_IMPLICIT_’ now defaults to true: recent versions
of Apple ‘clang’ on macOS have made implicit function declarations in C
into a compilation error.
</P></LI>

<LI><P>
‘R CMD check --as-cran’ makes use of the environment variable
‘AUTORECONF’.  See the “R Internals” manual §8 for further details.
</P></LI>

<LI><P>
‘R CMD check --use-valgrind’ also uses ‘valgrind’ when re-building
vignettes as some non-Sweave vignettes unhelpfully comment out all
their code when ‘R CMD check’ runs vignettes.
</P></LI>

<LI><P>
Errors in re-building vignettes (unless there are LaTeX errors) are
reported by ‘R CMD check’ as ‘ERROR’ rather than ‘WARNING’ when running
vignettes has been skipped (as it frequently is in CRAN checks and by
‘--as-cran’).
</P></LI>

<LI><P>
‘R CMD Rd2pdf’ gains a ‘--quiet’ option that is used by ‘R CMD build’
when building the PDF package manual.
</P></LI>

<LI><P>
‘R CMD Rd2pdf’ now always runs LaTeX in batch mode, consistent with
Texinfo &gt;= 6.7. The ‘--batch’ option is ignored.
</P></LI>

<LI><P>
‘R CMD build’ and ‘R CMD check’ now include the Rd file name and line
numbers in the error message of an \Sexpr evaluation failure.
</P></LI>

<LI><P>
For packages using the \doi Rd macro (now an install-time \Sexpr) but
no other dynamic Rd content, ‘R CMD build’ now produces a smaller
tarball and is considerably faster - skipping temporary package
installation.
</P></LI>

<LI><P>
‘R CMD check’ can optionally (but included in ‘--as-cran’) validate the
HTML produced from the packages ‘.Rd’ files.  See
&lt;https://blog.r-project.org/2022/04/08/enhancements-to-html-documentation/&gt;:
this needs a fairly recent version of HTML Tidy to be available.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 C-Level Facilities </H4>
<UL>
<LI><P>
The non-API header ‘R_ext/R-ftp-http.h’ is no longer provided, as the
entry points it covered are now all defunct.
</P></LI>

<LI><P>
A number of non-API declarations and macro definitions have been moved
from the installed header ‘Rinternals.h’ to the internal header
‘Defn.h’. Packages that only use entry points and definitions
documented to be part of the API as specified in ‘Writing R Extensions’
§6 should not be affected.
</P></LI>

<LI><P>
The macro ‘USE_RINTERNALS’ no longer has any effect when compiling
package code.  Packages which also use ‘R_NO_REMAP’ will need to ensure
that the remapped names are used for calls to API functions that were
formerly also made available as macros.
</P></LI>

<LI><P>
The deprecated legacy S-compatibility macros ‘PROBLEM’, ‘MESSAGE’,
‘ERROR’, ‘WARN’, ‘WARNING’, ‘RECOVER’, ... are no longer defined in
‘R_ext/RS.h’ (included by ‘R.h’).  Replace these by calls to ‘Rf_error’
and ‘Rf_warning’ (defined in header ‘R_ext/Error.h’ included by ‘R.h’).
</P>
<P>
Header ‘R_ext/RS.h’ no longer includes ‘R_ext/Error.h’.
</P></LI>

<LI><P>
Header ‘R_ext/Constants.h’ (included by ‘R.h’) when included from C++
now includes the C++ header ‘cfloat’ rather than the C header ‘float.h’
(now possible as C++11 is required).
</P></LI>

<LI><P>
The legacy S-compatibility macros ‘DOUBLE_*’ in ‘R_ext/Constants.h’
(included by ‘R.h’) are deprecated.
</P></LI>

<LI><P>
The deprecated S-compatibility macros ‘SINGLE_*’ in ‘R_ext/Constants.h’
(included by ‘R.h’) have been removed.
</P></LI>

<LI><P>
‘R_Calloc’, ‘R_Free’ and ‘R_Realloc’ are preferred to their unprefixed
forms and error messages now use the prefix. These forms were
introduced in R 3.4.0 and are available even when ‘STRICT_R_HEADERS’ is
defined.
</P></LI>

<LI><P>
‘rmultinom’ has been documented in ‘Writing R Extensions’ §6 so is now
part of the R API.
</P></LI>

<LI><P>
Similarly, ‘Rtanpi’, called from R level ‘tanpi()’ is now part of the R
API.
</P></LI>

<LI><P>
The long-deprecated, undocumented and non-API entry point ‘call_R’ is
no longer declared in ‘R_ext/RS.h’ (included by ‘R.h’).
</P></LI>

<LI><P>
The header ‘S.h’ which has been unsupported since Jan 2016 has been
removed.  Use ‘R.h’ instead.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
The (non-default and deprecated) ‘method = &quot;internal&quot;’ for
‘download.file()’ and ‘url()’ no longer supports ‘http://’ nor ‘ftp://’
URIs.  (It is used only for ‘file://’ URIs.)
</P>
<P>
On Windows, ‘download.file(method = &quot;wininet&quot;)’ no longer supports
‘ftp://’ URIs.  (It is no longer the default method, which is
‘&quot;libcurl&quot;’ and does.)
</P>
<P>
On Windows, the deprecated ‘method = &quot;wininet&quot;’ now gives a warning for
‘http://’ and ‘https://’ URIs for both ‘download.file()’ and ‘url()’.
(It is no longer the default method.)
</P></LI>

<LI><P>
On Windows, the command-line option ‘--max-mem-size’ and environment
variable ‘R_MAX_MEM_SIZE’ are defunct.  The memory allocation limit was
important for 32-bit builds, but these are no longer supported.
</P></LI>

<LI><P>
‘default.stringsAsFactors()’ is now formally deprecated, where that was
only mentioned on its regular help page, previously.  So it now gives a
warning if called.
</P></LI>

<LI><P>
‘unix.time()’ is defunct now; it had been deprecated since R 3.4.0.
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 Bug Fixes </H4>
<UL>
<LI><P>
Setting ‘digits = 0’ in ‘format()’, ‘print.default()’ (and hence
typically ‘print()’) or ‘options()’ is again invalid.  Its behaviour
was platform-dependent, and it is unclear what “zero significant
digits” should mean (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18098">PR#18098</a>).
</P></LI>

<LI><P>
Messages from C code in the ‘cairo’ section of package ‘grDevices’ are
now also offered for translation, thanks to Michael Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18123">PR#18123</a>.
</P></LI>

<LI><P>
‘mean(x)’ with finite ‘x’ now is finite also without &quot;long.double&quot;
capability.
</P></LI>

<LI><P>
‘R CMD Rd2pdf’ no longer leaves an empty build directory behind when it
aborts due to an already existing output file.  (Thanks to Sebastian
Meyer's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18141">PR#18141</a>.)
</P></LI>

<LI><P>
‘density(x, weights = w, na.rm = TRUE)’ when ‘anyNA(x)’ is true, now
removes weights “in parallel” to ‘x’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18151">PR#18151</a>, reported by
Matthias Gondan.  Additionally, it gets a ‘subdensity’ option.
</P></LI>

<LI><P>
Conversion of \Sexpr[]{&lt;expR&gt;} to LaTeX or HTML no longer produces long
blocks of empty lines when ‘&lt;expR&gt;’ itself contains several lines all
producing empty output.  Thanks to a report and patch by Ivan Krylov
posted to R-devel.
</P></LI>

<LI><P>
‘R CMD build’ no longer fails if a package vignette uses child
documents and ‘inst/doc’ exists.  (Thanks to Sebastian Meyer's
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18156">PR#18156</a>.)
</P></LI>

<LI><P>
When an R documentation (‘help’ source) file ‘man/foo.Rd’ in a package
has \donttest{..} examples with a syntax error, it is now signalled as
ERROR and with correct line numbers relating to the ‘*-Ex.R’ file,
thanks to Duncan Murdoch and Sebastian Meyer's reports and patch
proposals in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17501">PR#17501</a>.
</P></LI>

<LI><P>
Improved determination of the correct translation domain in non-base
packages, addressing the combination of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18092">PR#18092</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17998">PR#17998</a> (‘#c6’)
with reports and _augmented_ patch #2904 by Suharto Anggono.
</P>
<P>
Note that ‘&quot;R-base&quot;’ is no longer the default domain e.g., for
top-level calls to ‘gettext()’; rather translation needs explicit
‘domain = *’ specification in such cases.
</P></LI>

<LI><P>
‘identical(attrib.as.set=FALSE)’ now works correctly with data frames
with default row names.  (Thanks to Charlie Gao's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18179">PR#18179</a>.)
</P></LI>

<LI><P>
‘txtProgressBar()’ now enforces a non-zero width for argument ‘char’,
without which no progress can be visible.
</P></LI>

<LI><P>
‘dimnames(table(d))’ is more consistent in the case where ‘d’ is a list
with a single component, thanks to Thomas Soeiro's report to R-devel.
</P>
<P>
Further, ‘table(d1, d2)’ now gives an error when ‘d1’ and ‘d2’ are data
frames as suggested by Thomas in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18224">PR#18224</a>.
</P></LI>

<LI><P>
Fix for drawing semi-transparent lines and fills on the native Windows
graphics device (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18219">PR#18219</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16694">PR#16694</a>).  Thanks to Nick Ray for
helpful diagnosis on Bugzilla.
</P></LI>

<LI><P>
The deparser now wraps sub-expressions such as ‘if(A) .. ’ with
parentheses when needed; thanks to Duncan Murdoch's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18232">PR#18232</a> and Lionel
Henry's patches there.
</P></LI>

<LI><P>
‘remove.packages()’ no longer tries to uninstall ‘Priority: base’
packages, thanks to a report and suggestions by Colin Fay in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18227">PR#18227</a>.
</P></LI>

<LI><P>
‘win.metafile()’ now has ‘xpinch’ and ‘ypinch’ arguments so that the
user can override Windows' (potentially wrong) guess at device
dimensions.
</P></LI>

<LI><P>
‘x[i]’ and ‘x[[i]]’ for non-integer ‘i’ should now behave in all cases
as always documented: the index used is equivalent to ‘as.integer(i)’
unless that would overflow where ‘trunc(i)’ is used instead; thanks to
Suharto Anggono's report and patch proposals in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17977">PR#17977</a>.
</P></LI>

<LI><P>
‘asOneSidedFormula()’ now associates the resulting formula with the
global environment rather than the evaluation environment created for
the call.
</P></LI>

<LI><P>
‘&lt;bibentry&gt;$name’ now matches the field name case-insensitively,
consistent with ‘bibentry()’ creation and the replacement method.
</P></LI>

<LI><P>
‘cbind()’ failed to detect some length mismatches with a mixture of
time-series and non-time-series inputs.
</P></LI>

<LI><P>
The default LaTeX style file ‘Sweave.sty’ used by the ‘RweaveLatex’
driver no longer loads the obsolete ‘ae’ package; thanks to a report by
Thomas Soeiro in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18271">PR#18271</a>.  Furthermore, it now skips
‘\usepackage[T1]{fontenc}’ for engines other than pdfTeX (if detected)
or if the new ‘[nofontenc]’ option is used.
</P></LI>

<LI><P>
‘smooth.spline()’ now stores its logical ‘cv’ argument more safely,
fixing a rare bug when printing, and also stores ‘n’.
</P></LI>

<LI><P>
‘smooth.spline(x,y,*)’ now computes the ‘cv.crit’ statistic correctly,
also when ‘is.unsorted(x)’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18294">PR#18294</a>.
</P></LI>

<LI><P>
The ‘data.frame’ method of ‘rbind()’ now warns when binding
not-wholly-recycling vectors, by analogy to the default method (for
matrices).
</P></LI>

<LI><P>
‘setAs()’ finds the correct class for name ‘to’ when multiple packages
define a class with that name. Thanks to Gabor Csardi for the report.
</P></LI>

<LI><P>
Fix for detaching a package when two classes of the same name are
present in method signatures for the same generic. Thanks to Gabor
Csardi for the report.
</P></LI>

<LI><P>
‘match.arg(&quot;&quot;, c(&quot;&quot;, &quot;a&quot;, &quot;B&quot;))’ gives a better error message, in part
from <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17959">PR#17959</a>, thanks to Elin Waring.
</P></LI>

<LI><P>
‘R CMD Sweave --clean’ no longer removes pre-existing files or
subdirectories (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18242">PR#18242</a>).
</P></LI>

<LI><P>
The ‘quartz()’ device no longer splits polylines into subpaths. That
has caused narrowly-spaced lines with many points to always look solid
even when dashed line type was used due to dash phase restarts.
</P></LI>

<LI><P>
Deparsing constructs such as ‘quote(1 + `!`(2) + 3)’ works again as
before R 3.5.0, thanks to the report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18284">PR#18284</a> by Suharto
Anggono.
</P></LI>

<LI><P>
‘as.list(f)’ for a ‘factor’ ‘f’ now keeps ‘names(f)’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18309">PR#18309</a>.
</P></LI>

<LI><P>
‘qbeta(.001, .9, .009)’ and analogous ‘qf()’ calls now return a correct
value instead of ‘NaN’ or wrongly ‘1’, all with a warning; thanks to
the report by Ludger Goeminne in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18302">PR#18302</a>.
</P></LI>

<LI><P>
‘plot.lm()’ failed to produce the plot of residuals vs.  factor levels
(i.e., ‘which=5’ when leverages are constant) for models with character
predictors (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17840">PR#17840</a>).
</P></LI>

<LI><P>
‘interaction.plot(..., xtick = TRUE)’ misplaced the x-axis line
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18305">PR#18305</a>).
</P></LI>

<LI><P>
Not strictly fixing a bug, ‘format()’ing and ‘print()’ing of non-finite
‘Date’ and ‘POSIXt’ values ‘NaN’ and +/-‘Inf’ no longer show as ‘NA’
but the respective string, e.g., ‘Inf’, for consistency with numeric
vector's behaviour, fulfilling the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18308">PR#18308</a>.
</P></LI>

<LI><P>
‘R CMD check’ no longer runs test scripts generated from corresponding
‘.Rin’ files twice and now signals an ERROR if processing an ‘.Rin’
script fails.
</P></LI>

<LI><P>
‘tools::Rd2txt()’ used for plain-text help pages now renders \hrefs (if
‘tools::Rd2txt_options(showURLs = TRUE)’) and \urls with
percent-encoding and standards-compliant delimiting style (angle
brackets and no ‘URL: ’ prefix).  \email is now rendered with a
‘mailto:’ prefix.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.3 New Features </H4>
<UL>
<LI><P>
The default version of Bioconductor has been changed to 3.14. (This is
used by ‘setRepositories’ and the menus in GUIs.)
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.3 Utilities </H4>
<UL>
<LI><P>
‘R CMD check --as-cran’ has a workaround for a bug in versions of
‘file’ up to at least 5.41 which mis-identify DBF files last changed in
2022 as executables.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.3 C-Level Facilities </H4>
<UL>
<LI><P>
The legacy S-compatibility macros ‘SINGLE_*’ in ‘R_ext/Constants.h’
(included by ‘R.h’) are deprecated and will be removed in R 4.2.0.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.3 Bug Fixes </H4>
<UL>
<LI><P>
Initialization of self-starting ‘nls()’ models with initialization
functions following the pre-R-4.1.0 API (without the ‘...’ argument)
works again for now, with a deprecation warning.
</P></LI>

<LI><P>
Fixed quoting of ‘~autodetect~’ in Java setting defaults to avoid
inadvertent user lookup due to leading ‘~’, reported in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18231">PR#18231</a> by
Harold Gutch.
</P></LI>

<LI><P>
‘substr(., start, stop) &lt;- v’ now treats _negative_ ‘stop’ values
correctly.  Reported with a patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18228">PR#18228</a> by Brodie Gaslam.
</P></LI>

<LI><P>
Subscripting an array ‘x’ without dimnames by a ‘length(dim(x))’-column
character matrix gave &quot;random&quot; non-sense, now an error; reported in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18244">PR#18244</a> by Mikael Jagan.
</P></LI>

<LI><P>
‘...names()’ now matches ‘names(list(...))’ closely, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18247">PR#18247</a>.
</P></LI>

<LI><P>
‘all.equal(*, scale = s)’ now works as intended when ‘length(s) &gt; 1’,
partly thanks to Michael Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18272">PR#18272</a>.
</P></LI>

<LI><P>
‘print(x)’ for long vectors ‘x’ now also works for named atomic vectors
or lists and prints the correct number when reaching the
‘getOption(&quot;max.print&quot;)’ limit; partly thanks to a report and proposal
by Hugh Parsonage to the R-devel list.
</P></LI>

<LI><P>
‘all.equal(&lt;selfStart&gt;, *)’ no longer signals a deprecation warning.
</P></LI>

<LI><P>
‘reformulate(*, response=r)’ gives a helpful error message now when
‘length(r) &gt; 1’, thanks to Bill Dunlap's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18281">PR#18281</a>.
</P></LI>

<LI><P>
Modifying ‘globalCallingHandlers’ inside ‘withCallingHandlers()’ now
works or fails correctly, thanks to Henrik Bengtsson's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18257">PR#18257</a>.
</P></LI>

<LI><P>
‘hist(&lt;Date&gt;, breaks = &quot;days&quot;)’ and ‘hist(&lt;POSIXt&gt;, breaks = &quot;secs&quot;)’
no longer fail for inputs of length 1.
</P></LI>

<LI><P>
‘qbeta(.001, .9, .009)’ and similar cases now converge correctly thanks
to Ben Bolker's report in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17746">PR#17746</a>.
</P></LI>

<LI><P>
‘window(x, start, end)’ no longer wrongly signals “'start' cannot be
after 'end'”, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17527">PR#17527</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18291">PR#18291</a>.
</P></LI>

<LI><P>
‘data()’ now checks that its (rarely used) ‘list’ argument is a
character vector - a couple of packages passed other types and gave
incorrect results.
</P></LI>

<LI><P>
‘which()’ now checks its ‘arr.ind’ argument is TRUE rather coercing to
logical and taking the first element - which gave incorrect results in
package code.
</P></LI>

<LI><P>
‘model.weights()’ and ‘model.offset()’ more carefully extract their
model components, thanks to Ben Bolker and Tim Taylor's R-devel post.
</P></LI>

<LI><P>
‘list.files(recursive = TRUE)’ now shows all broken symlinks
(previously, some of them may have been omitted, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18296">PR#18296</a>).
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.2 C-Level Facilities </H4>
<UL>
<LI><P>
The workaround in headers ‘R.h’ and ‘Rmath.h’ (‘using namespace std;’)
for the Oracle Developer Studio compiler is no longer needed now C++11
is required so has been removed.  A couple more usages of ‘log()’
(which should have been ‘std::log()’) with an ‘int’ argument are
reported on Solaris.
</P></LI>

<LI><P>
The undocumented limit of 4095 bytes on messages from the
S-compatibility macros ‘PROBLEM’ and ‘MESSAGE’ is now documented and
longer messages will be silently truncated rather than potentially
causing segfaults.
</P></LI>

<LI><P>
If the ‘R_NO_SEGV_HANDLER’ environment variable is non-empty, the
signal handler for SEGV/ILL/BUS signals (which offers recovery user
interface) is not set. This allows more reliable debugging of crashes
that involve the console.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.2 Deprecated and Defunct </H4>
<UL>
<LI><P>
The legacy S-compatibility macros ‘PROBLEM’, ‘MESSAGE’, ‘ERROR’,
‘WARN’, ‘WARNING’, ‘RECOVER’, ... are deprecated and will be hidden in
R 4.2.0. R's native interface of ‘Rf_error’ and ‘Rf_warning’ has long
been preferred.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.2 Bug Fixes </H4>
<UL>
<LI><P>
‘.mapply(F, dots, .)’ no longer segfaults when ‘dots’ is not a ‘list’
and uses ‘match.fun(F)’ as always documented; reported by Andrew
Simmons in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18164">PR#18164</a>.
</P></LI>

<LI><P>
‘hist(&lt;Date&gt;, ...)’ and ‘hist(&lt;POSIXt&gt;, ...)’ no longer pass arguments
for ‘rect()’ (such as ‘col’ and ‘density’) to ‘axis()’.  (Thanks to
Sebastian Meyer's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18171">PR#18171</a>.)
</P></LI>

<LI><P>
\Sexpr{ch} now preserves ‘Encoding(ch)’. (Thanks to report and patch by
Jeroen Ooms in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18152">PR#18152</a>.)
</P></LI>

<LI><P>
Setting the RNG to ‘&quot;Marsaglia-Multicarry&quot;’ e.g., by ‘RNGkind()’, now
warns in more places, thanks to André Gillibert's report and patch in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18168">PR#18168</a>.
</P></LI>

<LI><P>
‘gray(numeric(), alpha=1/2)’ no longer segfaults, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18183">PR#18183</a>,
reported by Till Krenz.
</P></LI>

<LI><P>
Fixed ‘dnbinom(x, size=&lt;very_small&gt;, .., log=TRUE)’ regression,
reported by Martin Morgan.
</P></LI>

<LI><P>
‘as.Date.POSIXlt(x)’ now keeps ‘names(x)’, thanks to Davis Vaughan's
report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18188">PR#18188</a>.
</P></LI>

<LI><P>
‘model.response()’ now strips an ‘&quot;AsIs&quot;’ class typically, thanks to
Duncan Murdoch's report and other discussants in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18190">PR#18190</a>.
</P></LI>

<LI><P>
‘try()’ is considerably faster in case of an error and long call, as
e.g., from some ‘do.call()’.  Thanks to Alexander Kaever's suggestion
posted to R-devel.
</P></LI>

<LI><P>
‘qqline(y = &lt;object&gt;)’ such as ‘y=I(.)’, now works, see also <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18190">PR#18190</a>.
</P></LI>

<LI><P>
Non-integer ‘mgp’ ‘par()’ settings are now handled correctly in
‘axis()’ and ‘mtext()’, thanks to Mikael Jagan and Duncan Murdoch's
report and suggestion in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18194">PR#18194</a>.
</P></LI>

<LI><P>
‘formatC(x)’ returns length zero ‘character()’ now, rather than ‘&quot;&quot;’
when ‘x’ is of length zero, as documented, thanks to Davis Vaughan's
post to R-devel.
</P></LI>

<LI><P>
‘removeSource(fn)’ now retains (other) ‘attributes(fn)’.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.1 New Features </H4>
<UL>
<LI><P>
‘require(&lt;pkg&gt;, quietly = TRUE)’ is quieter and in particular does not
warn if the package is not found.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.1 Deprecated and Defunct </H4>
<UL>
<LI><P>
Use of ‘ftp://’ URIs should be regarded as deprecated, with on-going
support confined to ‘method = &quot;libcurl&quot;’ and not routinely tested.
(Nowadays no major browser supports them.)
</P></LI>

<LI><P>
The non-default ‘method = &quot;internal&quot;’ is deprecated for ‘http://’ and
‘ftp://’ URIs for both ‘download.file’ and ‘url’.
</P></LI>

<LI><P>
On Windows, ‘method = &quot;wininet&quot;’ is deprecated for ‘http://’,
‘https://’ and ‘ftp://’ URIs for both ‘download.file’ and ‘url’.  (A
warning is only given for ‘ftp://’.)
</P>
<P>
For ‘ftp://’ URIs the default method is now ‘&quot;libcurl&quot;’ if available
(which it is on CRAN builds).
</P>
<P>
‘method = &quot;wininet&quot;’ remains the default for ‘http://’ and ‘https://’
URIs but if ‘libcurl’ is available, using ‘method = &quot;libcurl&quot;’ is
preferred.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.1 Installation </H4>
<UL>
<LI><P>
‘make check’ now works also without a LaTeX installation.  (Thanks to
Sebastian Meyer's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18103">PR#18103</a>.)
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.1 Bug Fixes </H4>
<UL>
<LI><P>
‘make check-devel’ works again in an R build configured with
‘--without-recommended-packages’.
</P></LI>

<LI><P>
‘qnbinom(p, size, mu)’ for large ‘size/mu’ is correct now in a range of
cases (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18095">PR#18095</a>); similarly for the ‘(size, prob)’ parametrization of
the negative binomial.  Also ‘qpois()’ and ‘qbinom()’ are better and or
faster for extreme cases.  The underlying C code has been modularized
and is common to all four cases of discrete distributions.
</P></LI>

<LI><P>
‘gap.axis’ is now part of the ‘axis()’ arguments which are passed from
‘bxp()’, and hence ‘boxplot()’.  (Thanks to Martin Smith's report and
suggestions in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18109">PR#18109</a>.)
</P></LI>

<LI><P>
‘.First’ and ‘.Last’ can again be set from the site profile.
</P></LI>

<LI><P>
‘seq.int(from, to, *)’ and ‘seq.default(..)’ now work better in large
range cases where ‘from-to’ is infinite where the two boundaries are
finite.
</P></LI>

<LI><P>
‘all.equal(x,y)’ now returns ‘TRUE’ correctly also when several entries
of ‘abs(x)’ and ‘abs(y)’ are close to ‘.Machine$double.xmax’, the
largest finite ‘numeric’.
</P></LI>

<LI><P>
‘model.frame()’ now clears the object bit when removing the ‘class’
attribute of a value via ‘na.action’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18100">PR#18100</a>).
</P></LI>

<LI><P>
‘charClass()’ now works with multi-character strings on Windows
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18104">PR#18104</a>, fixed by Bill Dunlap).
</P></LI>

<LI><P>
‘encodeString()’ on Solaris now works again in Latin-1 encoding on
characters represented differently in UTF-8.  Support for surrogate
pairs on Solaris has been improved.
</P></LI>

<LI><P>
‘file.show()’ on Windows now works with non-ASCII path names
representable in the current native encoding (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18132">PR#18132</a>).
</P></LI>

<LI><P>
Embedded R on Windows can now find R home directory via the registry
even when installed only for the current user (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18135">PR#18135</a>).
</P></LI>

<LI><P>
‘pretty(x)’ with finite ‘x’ now returns finite values also in the case
where the extreme ‘x’ values are close in size to the maximal
representable number ‘.Machine$double.xmax’.
</P>
<P>
Also, it's been tweaked for very small ranges and when a boundary is
close (or equal) to zero; e.g., ‘pretty(c(0,1e-317))’ no longer has
negative numbers, currently still warning about a very small range, and
‘pretty(2^-(1024 - 2^-1/(c(24,10))))’ is more accurate.
</P></LI>

<LI><P>
The error message for not finding vignette files when weaving has
correct file sizes now. (Thanks to Sebastian Meyer's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18154">PR#18154</a>.)
</P></LI>

<LI><P>
‘dnbinom(20, &lt;large&gt;, 1)’ now correctly gives 0, and similar cases are
more accurate with underflow precaution.  (Reported by Francisco Vera
Alcivar in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18072">PR#18072</a>.)
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Future Directions </H4>
<UL>
<LI><P>
It is planned that the 4.1.x series will be the last to support 32-bit
Windows, with production of binary packages for that series continuing
until early 2023.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
Data set ‘esoph’ in package ‘datasets’ now provides the correct numbers
of controls; previously it had the numbers of cases added to these.
(Reported by Alexander Fowler in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17964">PR#17964</a>.)
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 New Features </H4>
<UL>
<LI><P>
‘www.omegahat.net’ is no longer one of the repositories known by
default to ‘setRepositories()’.  (Nowadays it only provides source
packages and is often unavailable.)
</P></LI>

<LI><P>
Function ‘package_dependencies()’ (in package ‘tools’) can now use
different dependency types for direct and recursive dependencies.
</P></LI>

<LI><P>
The checking of the size of tarball in ‘R CMD check --as-cran &lt;pkg&gt;’
may be tweaked via the new environment variable
‘_R_CHECK_CRAN_INCOMING_TARBALL_THRESHOLD_’, as suggested in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17777">PR#17777</a>
by Jan Gorecki.
</P></LI>

<LI><P>
Using ‘c()’ to combine a factor with other factors now gives a factor,
an ordered factor when combining ordered factors with identical levels.
</P></LI>

<LI><P>
‘apply()’ gains a ‘simplify’ argument to allow disabling of
simplification of results.
</P></LI>

<LI><P>
The ‘format()’ method for class ‘&quot;ftable&quot;’ gets a new option ‘justify’.
(Suggested by Thomas Soeiro.)
</P></LI>

<LI><P>
New ‘...names()’ utility.  (Proposed by Neal Fultz in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17705">PR#17705</a>.)
</P></LI>

<LI><P>
‘type.convert()’ now warns when its ‘as.is’ argument is not specified,
as the help file always said it _should_.  In that case, the default is
changed to ‘TRUE’ in line with its change in ‘read.table()’ (related to
‘stringsAsFactors’) in R 4.0.0.
</P></LI>

<LI><P>
When printing list arrays, classed objects are now shown _via_ their
‘format()’ value if this is a short enough character string, or by
giving the first elements of their class vector and their length.
</P></LI>

<LI><P>
‘capabilities()’ gets new entry ‘&quot;Rprof&quot;’ which is ‘TRUE’ when R has
been configured with the equivalent of ‘--enable-R-profiling’ (as it is
by default).  (Related to Michael Orlitzky's report <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17836">PR#17836</a>.)
</P></LI>

<LI><P>
‘str(xS4)’ now also shows extraneous attributes of an S4 object ‘xS4’.
</P></LI>

<LI><P>
Rudimentary support for vi-style tags in ‘rtags()’ and ‘R CMD rtags’
has been added.  (Based on a patch from Neal Fultz in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17214">PR#17214</a>.)
</P></LI>

<LI><P>
‘checkRdContents()’ is now exported from ‘tools’; it and also
‘checkDocFiles()’ have a new option ‘chkInternal’ allowing to check Rd
files marked with keyword ‘&quot;internal&quot;’ as well.  The latter can be
activated for ‘R CMD check’ via environment variable
‘_R_CHECK_RD_INTERNAL_TOO_’.
</P></LI>

<LI><P>
New functions ‘numToBits()’ and ‘numToInts()’ extend the ‘raw’
conversion utilities to (double precision) ‘numeric’.
</P></LI>

<LI><P>
Functions ‘URLencode()’ and ‘URLdecode()’ in package ‘utils’ now work
on vectors of URIs.  (Based on patch from Bob Rudis submitted with
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17873">PR#17873</a>.)
</P></LI>

<LI><P>
‘path.expand()’ can expand ‘~user’ on most Unix-alikes even when
‘readline’ is not in use.  It tries harder to expand ‘~’, for example
should environment variable ‘HOME’ be unset.
</P></LI>

<LI><P>
For HTML help (both dynamic and static), Rd file links to help pages in
external packages are now treated as references to topics rather than
file names, and fall back to a file link only if the topic is not found
in the target package. The earlier rule which prioritized file names
over topics can be restored by setting the environment variable
‘_R_HELP_LINKS_TO_TOPICS_’ to a false value.
</P></LI>

<LI><P>
‘c()’ now removes ‘NULL’ arguments before dispatching to methods, thus
simplifying the implementation of ‘c()’ methods, _but_ for back
compatibility keeps ‘NULL’ when it is the first argument.  (From a
report and patch proposal by Lionel Henry in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17900">PR#17900</a>.)
</P></LI>

<LI><P>
‘Vectorize()’'s result function's environment no longer keeps unneeded
objects.
</P></LI>

<LI><P>
Function ‘...elt()’ now propagates visibility consistently with ‘..n’.
(Thanks to Lionel Henry's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17905">PR#17905</a>.)
</P></LI>

<LI><P>
‘capture.output()’ no longer uses non-standard evaluation to evaluate
its arguments.  This makes evaluation of functions like
‘parent.frame()’ more consistent.  (Thanks to Lionel Henry's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17907">PR#17907</a>.)
</P></LI>

<LI><P>
‘packBits(bits, type=&quot;double&quot;)’ now works as inverse of ‘numToBits()’.
(Thanks to Bill Dunlap's proposal in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17914">PR#17914</a>.)
</P></LI>

<LI><P>
‘curlGetHeaders()’ has two new arguments, ‘timeout’ to specify the
timeout for that call (overriding ‘getOption(&quot;timeout&quot;)’) and ‘TLS’ to
specify the minimum TLS protocol version to be used for ‘https://’ URIs
(_inter alia_ providing a means to check for sites using deprecated TLS
versions 1.0 and 1.1).
</P></LI>

<LI><P>
For ‘nls()’, an optional constant ‘scaleOffset’ may be added to the
denominator of the relative offset convergence test for cases where the
fit of a model is expected to be exact, thanks to a proposal by John
Nash.  ‘nls(*, trace=TRUE)’ now also shows the convergence criterion.
</P></LI>

<LI><P>
Numeric differentiation _via_ ‘numericDeriv()’ gets new optional
arguments ‘eps’ and ‘central’, the latter for taking central divided
differences.  The latter can be activated for ‘nls()’ via
‘nls.control(nDcentral = TRUE)’.
</P></LI>

<LI><P>
‘nls()’ now passes the ‘trace’ and ‘control’ arguments to
‘getInitial()’, notably for all self-starting models, so these can also
be fit in zero-noise situations via a ‘scaleOffset’.  For this reason,
the ‘initial’ function of a ‘selfStart’ model must now have ‘...’ in
its argument list.
</P></LI>

<LI><P>
‘bquote(splice = TRUE)’ can now splice expression vectors with
attributes: this makes it possible to splice the result of
‘parse(keep.source = TRUE)’.  (Report and patch provided by Lionel
Henry in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17869">PR#17869</a>.)
</P></LI>

<LI><P>
‘textConnection()’ gets an optional ‘name’ argument.
</P></LI>

<LI><P>
‘get()’, ‘exists()’, and ‘get0()’ now signal an error if the first
argument has length greater than 1.  Previously additional elements
were silently ignored.  (Suggested by Antoine Fabri on R-devel.)
</P></LI>

<LI><P>
R now provides a shorthand notation for creating functions, e.g. ‘\(x)
x + 1’ is parsed as ‘function(x) x + 1’.
</P></LI>

<LI><P>
R now provides a simple native forward pipe syntax ‘|&gt;’.  The simple
form of the forward pipe inserts the left-hand side as the first
argument in the right-hand side call.  The pipe implementation as a
syntax transformation was motivated by suggestions from Jim Hester and
Lionel Henry.
</P></LI>

<LI><P>
‘all.equal(f, g)’ for ‘function’s now by default also compares their
‘environment(.)’s, notably via new ‘all.equal’ method for class
‘function’.  Comparison of ‘nls()’ fits, e.g., may now need
‘all.equal(m1, m2, check.environment = FALSE)’.
</P></LI>

<LI><P>
‘.libPaths()’ gets a new option ‘include.site’, allowing to _not_
include the site library.  (Thanks to Dario Strbenac's suggestion and
Gabe Becker's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18016">PR#18016</a>.)
</P></LI>

<LI><P>
Lithuanian translations are now available.  (Thanks to Rimantas
Žakauskas.)
</P></LI>

<LI><P>
‘names()’ now works for ‘DOTSXP’ objects.  On the other hand, in
‘R-lang’, the R language manual, we now warn against relying on the
structure or even existence of such dot-dot-dot objects.
</P></LI>

<LI><P>
‘all.equal()’ no longer gives an error on ‘DOTSXP’ objects.
</P></LI>

<LI><P>
‘capabilities(&quot;cairo&quot;)’ now applies only to the file-based devices as
it is now possible (if very unusual) to build R with Cairo support for
those but not for ‘X11()’.
</P></LI>

<LI><P>
There is optional support for tracing the progress of ‘loadNamespace()’
- see its help.
</P></LI>

<LI><P>
(Not Windows.)  ‘l10n_info()’ reports an additional element, the name
of the encoding as reported by the OS (which may differ from the
encoding part (if any) of the result from ‘Sys.getlocale(&quot;LC_CTYPE&quot;)’).
</P></LI>

<LI><P>
New function ‘gregexec()’ which generalizes ‘regexec()’ to find _all_
disjoint matches and all substrings corresponding to parenthesized
subexpressions of the given regular expression.  (Contributed by Brodie
Gaslam.)
</P></LI>

<LI><P>
New function ‘charClass()’ in package ‘utils’ to query the
wide-character classification functions in use (such as ‘iswprint’).
</P></LI>

<LI><P>
The names of ‘quantile()’'s result no longer depend on the global
‘getOption(&quot;digits&quot;)’, but ‘quantile()’ gets a new optional argument
‘digits = 7’ instead.
</P></LI>

<LI><P>
‘grep()’, ‘sub()’, ‘regexp’ and variants work considerably faster for
long factors with few levels.  (Thanks to Michael Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18063">PR#18063</a>.)
</P></LI>

<LI><P>
Provide grouping of ‘x11()’ graphics windows within a window manager
such as ‘Gnome’ or ‘Unity’; thanks to a patch by Ivan Krylov posted to
R-devel.
</P></LI>

<LI><P>
The ‘split()’ method for class ‘data.frame’ now allows the ‘f’ argument
to be specified as a formula.
</P></LI>

<LI><P>
‘sprintf’ now warns on arguments unused by the format string.
</P></LI>

<LI><P>
New palettes ‘&quot;Rocket&quot;’ and ‘&quot;Mako&quot;’ for ‘hcl.colors()’ (approximating
palettes of the same name from the ‘viridisLite’ package).
</P>
<P>
Contributed by Achim Zeileis.
</P></LI>

<LI><P>
The base environment and its namespace are now locked (so one can no
longer add bindings to these or remove from these).
</P></LI>

<LI><P>
‘Rterm’ handling of multi-byte characters has been improved, allowing
use of such characters when supported by the current locale.
</P></LI>

<LI><P>
‘Rterm’ now accepts ‘ALT+ +xxxxxxxx’ sequences to enter Unicode
characters as hex digits.
</P></LI>

<LI><P>
Environment variable ‘LC_ALL’ on Windows now takes precedence over
‘LC_CTYPE’ and variables for other supported categories, matching the
POSIX behaviour.
</P></LI>

<LI><P>
‘duplicated()’ and ‘anyDuplicated()’ are now optimized for integer and
real vectors that are known to be sorted via the ALTREP framework.
Contributed by Gabriel Becker via <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17993">PR#17993</a>.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Graphics </H4>
<UL>
<LI><P>
The graphics engine version, ‘R_GE_version’, has been bumped to ‘14’
and so packages that provide graphics devices should be reinstalled.
</P></LI>

<LI><P>
Graphics devices should now specify ‘deviceVersion’ to indicate what
version of the graphics engine they support.
</P></LI>

<LI><P>
Graphics devices can now specify ‘deviceClip’.  If ‘TRUE’, the graphics
engine will never perform any clipping of output itself.
</P>
<P>
The clipping that the graphics engine does perform (for both ‘canClip =
TRUE’ and ‘canClip = FALSE’) has been improved to avoid producing
unnecessary artifacts in clipped output.
</P></LI>

<LI><P>
The ‘grid’ package now allows ‘gpar(fill)’ to be a ‘linearGradient()’,
a ‘radialGradient()’, or a ‘pattern()’.  The ‘viewport(clip)’ can now
also be a grob, which defines a clipping path, and there is a new
‘viewport(mask)’ that can also be a grob, which defines a mask.
</P>
<P>
These new features are only supported so far on the Cairo-based
graphics devices and on the ‘pdf()’ device.
</P></LI>

<LI><P>
(Not Windows.)  A warning is given when a Cairo-based type is specified
for a ‘png()’, ‘jpeg()’, ‘tiff()’ or ‘bmp()’ device but Cairo is
unsupported (so ‘type = &quot;Xlib&quot;’ is tried instead).
</P></LI>

<LI><P>
‘grSoftVersion()’ now reports the versions of FreeType and FontConfig
if they are used directly (not _via_ Pango), as is most commonly done
on macOS.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 C-Level Facilities </H4>
<UL>
<LI><P>
The _standalone_ ‘libRmath’ math library and R's C API now provide
‘log1pexp()’ again as documented, and gain ‘log1mexp()’.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
‘configure’ checks for a program ‘pkgconf’ if program ‘pkg-config’ is
not found.  These are now only looked for on the path (like almost all
other programs) so if needed specify a full path to the command in
‘PKG_CONFIG’, for example in file ‘config.site’.
</P></LI>

<LI><P>
C99 function ‘iswblank’ is required - it was last seen missing ca 2003
so the workaround has been removed.
</P></LI>

<LI><P>
There are new ‘configure’ options ‘--with-internal-iswxxxxx’,
‘--with-internal-towlower’ and ‘--with-internal-wcwidth’ which allows
the system functions for wide-character classification, case-switching
and width (‘wcwidth’ and ‘wcswidth’) to be replaced by internal ones.
The first has long been used on macOS, AIX (and Windows) but this
enables it to be unselected there and selected for other platforms (it
is the new default on Solaris).  The second is new in this version of R
and is selected by default on macOS and Solaris.  The third has long
been the default and remains so as it contains customizations for East
Asian languages.
</P>
<P>
System versions of these functions are often minimally implemented
(sometimes only for ASCII characters) and may not cover the full range
of Unicode points: for example Solaris (and Windows) only cover the
Basic Multilingual Plane.
</P></LI>

<LI><P>
Cairo installations without X11 are more likely to be detected by
‘configure’, when the file-based Cairo graphics devices will be
available but not ‘X11(type = &quot;cairo&quot;)’.
</P></LI>

<LI><P>
There is a new ‘configure’ option ‘--with-static-cairo’ which is the
default on macOS.  This should be used when only static cairo (and
where relevant, Pango) libraries are available.
</P></LI>

<LI><P>
Cairo-based graphics devices on platforms without Pango but with
FreeType/FontConfig will make use of the latter for font selection.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Link-Time Optimization on a Unix-Alike </H4>
<UL>
<LI><P>
Configuring with flag ‘--enable-lto=R’ now also uses LTO when
installing the recommended packages.
</P></LI>

<LI><P>
‘R CMD INSTALL’ and ‘R CMD SHLIB’ have a new flag ‘--use-LTO’ to use
LTO when compiling code, for use with R configured with
‘--enable-lto=R’.  For R configured with ‘--enable-lto’, they have the
new flag ‘--no-use-LTO’.
</P>
<P>
Packages can opt in or out of LTO compilation _via_ a ‘UseLTO’ field in
the ‘DESCRIPTION’ file.  (As usual this can be overridden by the
command-line flags.)
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Building R on Windows </H4>
<UL>
<LI><P>
for GCC &gt;= 8, ‘FC_LEN_T’ is defined in ‘config.h’ and hence character
lengths are passed from C to Fortran in _inter alia_ BLAS and LAPACK
calls.
</P></LI>

<LI><P>
There is a new text file ‘src/gnuwin32/README.compilation’, which
outlines how C/Fortran code compilation is organized and documents new
features:
</P>
<P>
        • R can be built with Link-Time Optimization with a suitable
          compiler - doing so with GCC 9.2 showed several
          inconsistencies which have been corrected.
</P>
<P>
        • There is support for cross-compiling the C and Fortran code
          in R and standard packages on suitable (Linux) platforms.
          This is mainly intended to allow developers to test later
          versions of compilers - for example using GCC 9.2 or 10.x has
          detected issues that GCC 8.3 in Rtools40 does not.
</P>
<P>
        • There is experimental support for cross-building R packages
          with C, C++ and/or Fortran code.
</P>
<P>
</P></LI>

<LI><P>
The R installer can now be optionally built to support a single
architecture (only 64-bit or only 32-bit).
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Package Installation </H4>
<UL>
<LI><P>
The default C++ standard has been changed to C++14 where available
(which it is on all currently checked platforms): if not (as before)
C++11 is used if available otherwise C++ is not supported.
</P>
<P>
Packages which specify C++11 will still be installed using C++11.
</P>
<P>
C++14 compilers may give deprecation warnings, most often for
‘std::random_shuffle’ (deprecated in C++14 and removed in C++17).
Either specify C++11 (see ‘Writing R Extensions’) or modernize the code
and if needed specify C++14.  The latter has been supported since R
3.4.0 so the package's ‘DESCRIPTION’ would need to include something
like
</P>
<P>
     Depends: R (&gt;= 3.4)
</P>
<P>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Package Installation on Windows </H4>
<UL>
<LI><P>
‘R CMD INSTALL’ and ‘R CMD SHLIB’ make use of their flag ‘--use-LTO’
when the ‘LTO_OPT’ make macro is set in file ‘etc/${R_ARCH}/Makeconf’
or in a personal/site ‘Makevars’ file.  (For details see ‘Writing R
Extensions’ §4.5.)
</P>
<P>
This provides a valuable check on code consistency.  It does work with
GCC 8.3 as in Rtools40, but that does not detect everything the CRAN
checks with current GCC do.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Package Installation on macOS </H4>
<UL>
<LI><P>
The default personal library directory on builds with ‘--enable-aqua’
(including CRAN builds) now differs by CPU type, one of
</P>
<P>
      ~/Library/R/x86_64/x.y/library
      ~/Library/R/arm64/x.y/library
</P>
<P>
This uses the CPU type R (and hence the packages) were built for, so
when a ‘x86_64’ build of R is run under Rosetta emulation on an ‘arm64’
Mac, the first is used.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ can now scan package functions for bogus ‘return’
statements, which were possibly intended as ‘return()’ calls (wish of
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17180">PR#17180</a>, patch by Sebastian Meyer). This check can be activated via
the new environment variable ‘_R_CHECK_BOGUS_RETURN_’, true for
‘--as-cran’.
</P></LI>

<LI><P>
‘R CMD build’ omits tarballs and binaries of previous builds from the
top-level package directory.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17828">PR#17828</a>, patch by Sebastian Meyer.)
</P></LI>

<LI><P>
‘R CMD check’ now runs sanity checks on the use of ‘LazyData’, for
example that a ‘data’ directory is present and that
‘LazyDataCompression’ is not specified without ‘LazyData’ and has a
documented value.  For packages with large LazyData databases without
specifying ‘LazyDataCompression’, there is a reference to the code
given in ‘Writing R Extensions’ §1.1.6 to test the choice of
compression (as in all the CRAN packages tested a non-default method
was preferred).
</P></LI>

<LI><P>
‘R CMD build’ removes ‘LazyData’ and ‘LazyDataCompression’ fields from
the ‘DESCRIPTION’ file of packages without a ‘data’ directory.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Encoding-Related Changes </H4>
<UL>
<LI><P>
The parser now treats ‘\Unnnnnnnn’ escapes larger than the upper limit
for Unicode points (‘\U10FFFF’) as an error as they cannot be
represented by valid UTF-8.
</P>
<P>
Where such escapes are used for outputting non-printable (including
unassigned) characters, 6 hex digits are used (rather than 8 with
leading zeros).  For clarity, braces are used, for example
‘\U{0effff}’.
</P></LI>

<LI><P>
The parser now looks for non-ASCII spaces on Solaris (as previously on
most other OSes).
</P></LI>

<LI><P>
There are warnings (including from the parser) on the use of unpaired
surrogate Unicode points such as ‘\uD834’.  (These cannot be converted
to valid UTF-8.)
</P></LI>

<LI><P>
Functions ‘nchar()’, ‘tolower()’, ‘toupper()’ and ‘chartr()’ and those
using regular expressions have more support for inputs with a marked
Latin-1 encoding.
</P></LI>

<LI><P>
The character-classification functions used (by default) to replace the
system ‘iswxxxxx’ functions on Windows, macOS and AIX have been updated
to Unicode 13.0.0.
</P>
<P>
The character-width tables have been updated to include new assignments
in Unicode 13.0.0.  This included treating all control characters as
having zero width.
</P></LI>

<LI><P>
The code for evaluating default (extended) regular expressions now uses
the same character-classification functions as the rest of R
(previously they differed on Windows, macOS and AIX).
</P></LI>

<LI><P>
There is a build-time option to replace the system's wide-character
‘wctrans’ C function by tables shipped with R: use ‘configure’ option
‘--with-internal-towlower’ or (on Windows) ‘-DUSE_RI18N_CASE’ in
‘CFLAGS’ when building R.  This may be needed to allow ‘tolower()’ and
‘toupper()’ to work with Unicode characters beyond the Basic
Multilingual Plane where not supported by system functions (e.g. on
Solaris where it is the new default).
</P></LI>

<LI><P>
R is more careful when truncating UTF-8 and other multi-byte strings
that are too long to be printed, passed to the system or libraries or
placed into an internal buffer.  Truncation will no longer produce
incomplete multibyte characters.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
Function ‘plclust()’ from the package ‘stats’ and
‘package.dependencies()’, ‘pkgDepends()’, ‘getDepList()’,
‘installFoundDepends()’, and ‘vignetteDepends()’ from package ‘tools’
are defunct.
</P></LI>

<LI><P>
Defunct functions ‘checkNEWS()’ and ‘readNEWS()’ from package ‘tools’
and ‘CRAN.packages()’ from ‘utils’ have been removed.
</P></LI>

<LI><P>
‘R CMD config CXXCPP’ is defunct (it was deprecated in R 3.6.2).
</P></LI>

<LI><P>
‘parallel::detectCores()’ drops support for IRIX (retired in 2013).
</P></LI>

<LI><P>
The ‘LINPACK’ argument to ‘chol.default()’, ‘chol2inv()’,
‘solve.default()’ and ‘svd()’ has been defunct since R 3.1.0.  It was
silently ignored up to R 4.0.3 but now gives an error.
</P></LI>

<LI><P>
Subsetting/indexing, such as ‘ddd[*]’ or ‘ddd$x’ on a ‘DOTSXP’
(dot-dot-dot) object ‘ddd’ has been disabled; it worked by accident
only and was undocumented.
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 Bug Fixes </H4>
<UL>
<LI><P>
Many more C-level allocations (mainly by ‘malloc’ and ‘strdup’) are
checked for success with suitable alternative actions.
</P></LI>

<LI><P>
Bug fix for ‘replayPlot()’; this was turning off graphics engine
display list recording if a recorded plot was replayed in the same
session.  The impact of the bug became visible if resize the device
after replay OR if attempted another ‘savePlot()’ after replay (empty
display list means empty screen on resize or empty saved plot).
</P></LI>

<LI><P>
‘R CMD check’ etc now warn when a package exports non-existing S4
classes or methods, also in case of no “methods” presence.  (Reported
by Alex Bertram; reproducible example and patch by Sebastian Meyer in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16662">PR#16662</a>.)
</P></LI>

<LI><P>
‘boxplot()’ now also accepts ‘call’s for labels such as ‘ylab’, the
same as ‘plot()’.  (Reported by Marius Hofert.)
</P></LI>

<LI><P>
The help page for ‘xtabs()’ now correctly states that ‘addNA’ is
setting ‘na.action = na.pass’ among others.  (Reported as <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17770">PR#17770</a> by
Thomas Soeiro.)
</P></LI>

<LI><P>
The ‘R CMD check &lt;pkg&gt;’ gives a longer and more comprehensible message
when ‘DESCRIPTION’ misses dependencies, e.g., in ‘Imports:’.  (Thanks
to the contributors of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17179">PR#17179</a>.)
</P></LI>

<LI><P>
‘update.default()’ now calls the generic ‘update()’ on the formula to
work correctly for models with extended formulas.  (As reported and
suggested by Neal Fultz in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17865">PR#17865</a>.)
</P></LI>

<LI><P>
The horizontal position of leaves in a dendrogram is now correct also
with ‘center = FALSE’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14938">PR#14938</a>, patch from Sebastian Meyer.)
</P></LI>

<LI><P>
‘all.equal.POSIXt()’ no longer warns about and subsequently ignores
inconsistent ‘&quot;tzone&quot;’ attributes, but describes the difference in its
return value (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17277">PR#17277</a>).  This check can be disabled _via_ the new
argument ‘check.tzone = FALSE’ as suggested by Sebastian Meyer.
</P></LI>

<LI><P>
‘as.POSIXct()’ now populates the ‘&quot;tzone&quot;’ attribute from its ‘tz’
argument when ‘x’ is a logical vector consisting entirely of ‘NA’
values.
</P></LI>

<LI><P>
‘x[[2^31]] &lt;- v’ now works.  (Thanks to the report and patch by Suharto
Anggono in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17330">PR#17330</a>.)
</P></LI>

<LI><P>
In log-scale graphics, ‘axis()’ ticks and label positions are now
computed more carefully and symmetrically in their range, typically
providing _more_ ticks, fulfilling wishes in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17936">PR#17936</a>.  The change
really corresponds to an improved ‘axisTicks()’ (package ‘grDevices’),
potentially influencing ‘grid’ and ‘lattice’, for example.
</P></LI>

<LI><P>
‘qnorm(&lt;very large negative&gt;, log.p=TRUE)’ is now correct to at least
five digits where it was catastrophically wrong, previously.
</P></LI>

<LI><P>
‘sum(df)’ and similar ‘&quot;Summary&quot;’- and ‘&quot;Math&quot;’-group member functions
now work for data frames ‘df’ with ‘logical’ columns, notably also of
zero rows.  (Reported to R-devel by Martin “b706”.)
</P></LI>

<LI><P>
‘unsplit()’ had trouble with tibbles due to unsound use of ‘rep(NA,
len)’-indexing, which should use ‘NA_integer_’ (Reported to R-devel by
Mario Annau.)
</P></LI>

<LI><P>
‘pnorm(x, log.p = TRUE)’ underflows to ‘-Inf’ slightly later.
</P></LI>

<LI><P>
‘show(&lt;hidden S4 generic&gt;)’ prints better and without quotes for
non-hidden S4 generics.
</P></LI>

<LI><P>
‘read.table()’ and relatives treated an &quot;NA&quot; column name as missing
when ‘check.names = FALSE’ <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18007">PR#18007</a>.
</P></LI>

<LI><P>
Parsing strings containing UTF-16 surrogate pairs such as
‘&quot;\uD834\uDD1E&quot;’ works better on some (uncommon) platforms.
‘sprintf(&quot;%X&quot;, utf8ToInt(&quot;\uD834\uDD1E&quot;))’ should now give ‘&quot;1D11E&quot;’ on
all platforms.
</P></LI>

<LI><P>
‘identical(x,y)’ is no longer true for differing ‘DOTSXP’ objects,
fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18032">PR#18032</a>.
</P></LI>

<LI><P>
‘str()’ now works correctly for ‘DOTSXP’ and related exotics, even when
these are doomed.
</P>
<P>
Additionally, it no longer fails for ‘list’s with a ‘class’ and
“irregular” method definitions such that e.g. ‘lapply(*)’ will
necessarily fail, as currently for different ‘igraph’ objects.
</P></LI>

<LI><P>
Message translation domains, e.g., for errors and warnings, are now
correctly determined also when e.g., a ‘base’ function is called from
“top-level” function (i.e., defined in ‘globalenv()’), thanks to a
patch from Joris Goosen fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17998">PR#17998</a>.
</P></LI>

<LI><P>
Too long lines in environment files (e.g., ‘Renviron’) no longer crash
R. This limit has been increased to 100,000 bytes.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18001">PR#18001</a>.)
</P></LI>

<LI><P>
There is a further workaround for FreeType giving incorrect italic font
faces with cairo-based graphics devices on macOS.
</P></LI>

<LI><P>
‘add_datalist(*, force = TRUE)’ (from package ‘tools’) now actually
updates an existing ‘data/datalist’ file for new content.  (Thanks to a
report and patch by Sebastian Meyer in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18048">PR#18048</a>.)
</P></LI>

<LI><P>
‘cut.Date()’ and ‘cut.POSIXt()’ could produce an empty last interval
for ‘breaks = &quot;months&quot;’ or ‘breaks = &quot;years&quot;’.  (Reported as <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18053">PR#18053</a>
by Christopher Carbone.)
</P></LI>

<LI><P>
Detection of the encoding of ‘regular’ macOS locales such as ‘en_US’
(which is UTF-8) had been broken by a macOS change: fortunately these
are now rarely used with ‘en_US.UTF-8’ being preferred.
</P></LI>

<LI><P>
‘sub()’ and ‘gsub(pattern, repl, x, *)’ now keep attributes of ‘x’ such
as ‘names()’ also when ‘pattern’ is ‘NA’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18079">PR#18079</a>).
</P></LI>

<LI><P>
Time differences (‘&quot;difftime&quot;’ objects) get a replacement and a ‘rep()’
method to keep ‘&quot;units&quot;’ consistent.  (Thanks to a report and patch by
Nicolas Bennett in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18066">PR#18066</a>.)
</P></LI>

<LI><P>
The \RdOpts macro, setting defaults for \Sexpr options in an Rd file,
had been ineffective since R 2.12.0: it now works again.  (Thanks to a
report and patch by Sebastian Meyer in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18073">PR#18073</a>.)
</P></LI>

<LI><P>
‘mclapply’ and ‘pvec’ no longer accidentally terminate parallel
processes started before by ‘mcparallel’ or related calls in package
‘parallel’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18078">PR#18078</a>).
</P></LI>

<LI><P>
‘grep’ and other functions for evaluating (extended) regular
expressions handle in Unicode also strings not explicitly flagged
UTF-8, but flagged native when running in UTF-8 locale.
</P></LI>

<LI><P>
Fixed a crash in ‘fifo’ implementation on Windows (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18031">PR#18031</a>).
</P></LI>

<LI><P>
Binary mode in ‘fifo’ on Windows is now properly detected from argument
‘open’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15600">PR#15600</a>, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18031">PR#18031</a>).
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.5 Bug Fixes </H4>
<UL>
<LI><P>
The change to the internal table in R 4.0.4 for ‘iswprint’ has been
reverted: it contained some errors in printability of ‘East Asian’
characters.
</P></LI>

<LI><P>
For packages using ‘LazyData’, ‘R CMD build’ ignored the
‘--resave-data’ option and the ‘BuildResaveData’ field of the
‘DESCRIPTION’ file (in R versions 4.0.0 to 4.0.4).
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.4 New Features </H4>
<UL>
<LI><P>
File ‘share/texmf/tex/latex/jss.cls’ has been updated to work with
LaTeX versions since Oct 2020.
</P></LI>

<LI><P>
Unicode character width tables (as used by ‘nchar(, type = &quot;w&quot;)’) have
been updated to Unicode 12.1 by Brodie Gaslam (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17781">PR#17781</a>), including
many emoji.
</P></LI>

<LI><P>
The internal table for ‘iswprint’ (used on Windows, macOS and AIX) has
been updated to include many recent Unicode characters.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.4 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
If an external BLAS is specified by ‘--with-blas=foo’ or _via_
environment variable ‘BLAS_LIBS’ is not found, this is now a
configuration error.  The previous behaviour was not clear from the
documentation: it was to continue the search as if ‘--with-blas=yes’
was specified.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.4 Bug Fixes </H4>
<UL>
<LI><P>
‘all.equal(x,y)’ now “sees” the two different ‘NA’s in factors, thanks
to Bill Dunlap and others in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17897">PR#17897</a>.
</P></LI>

<LI><P>
‘(~ NULL)[1]’ and similar formula subsetting now works, thanks to a
report and patch by Henrik Bengtsson in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17935">PR#17935</a>.  Additionally,
subsetting leaving an empty formula now works too, thanks to
suggestions by Suharto Anggono.
</P></LI>

<LI><P>
‘.traceback(n)’ keeps source references again, as before R 4.0.0,
fixing a regression; introduced by the <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17580">PR#17580</a>, reported including two
patch proposals by Brodie Gaslam.
</P></LI>

<LI><P>
‘unlist(plst, recursive=FALSE)’ no longer drops content for pairlists
with list components, thanks to the report and patch by Suharto Anggono
in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17950">PR#17950</a>.
</P></LI>

<LI><P>
‘iconvlist()’ now also works on MUSL based (Linux) systems, from a
report and patch suggestion by Wesley Chan in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17970">PR#17970</a>.
</P></LI>

<LI><P>
‘round()’ and ‘signif()’ no longer tolerate wrong argument names,
notably in 1-argument calls; reported by Shane Mueller on R-devel
(mailing list); later reported as <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17976">PR#17976</a>.
</P></LI>

<LI><P>
‘.Machine’ has ‘longdouble.*’ elements only if
‘capabilities(&quot;long.double&quot;)’ is true, as documented.  (Previously they
were included if the platform had ‘long double’ identical to ‘double’,
as ARM does.)
</P></LI>

<LI><P>
‘p.adjust(numeric(), n=0)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18002">PR#18002</a>.
</P></LI>

<LI><P>
‘identical(x,y)’ no longer prints &quot;Unknown Type ..&quot; for ‘typeof(x) ==
&quot;...&quot;’ objects.
</P></LI>

<LI><P>
Fix (auto-)‘print()’ing of named complex vectors, see <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17868">PR#17868</a> and
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18019">PR#18019</a>.
</P></LI>

<LI><P>
‘all.equal(&lt;language&gt;, &lt;...&gt;)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18029">PR#18029</a>.
</P></LI>

<LI><P>
‘as.data.frame.list(L, row.names=NULL)’ now behaves in line with
‘data.frame()’, disregarding names of components of ‘L’, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18034">PR#18034</a>, reported by Kevin Tappe.
</P></LI>

<LI><P>
‘checkRdaFiles(ff)$version’ is now correct also when ‘ff’ contains
files of different versions, thanks to a report and patch from
Sebastian Meyer in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18041">PR#18041</a>.
</P></LI>

<LI><P>
macOS: Quartz device live drawing could fail (no plot is shown) if the
system changes the drawing context after view update (often the case
since macOS Big Sur). System log may show
&quot;CGContextDelegateCreateForContext: invalid context&quot; error.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.3 New Features </H4>
<UL>
<LI><P>
On platforms using ‘configure’ option ‘--with-internal-tzcode’,
additional values ‘&quot;internal&quot;’ and (on macOS only) ‘&quot;macOS&quot;’ are
accepted for the environment variable ‘TZDIR’.  (See ‘?TZDIR’.)
</P>
<P>
On macOS, ‘&quot;macOS&quot;’ is used by default if the system timezone database
is a newer version than that in the R installation.
</P></LI>

<LI><P>
When ‘install.packages(type = &quot;source&quot;)’ fails to find a package in a
repository it mentions package versions which are excluded by their R
version requirement and links to hints on why a package might not be
found.
</P></LI>

<LI><P>
The default value for ‘options(&quot;timeout&quot;)’ can be set from environment
variable ‘R_DEFAULT_INTERNET_TIMEOUT’, still defaulting to 60 (seconds)
if that is not set or invalid.
</P>
<P>
This may be needed when child R processes are doing downloads, for
example during the installation of source packages which download jars
or other forms of data.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.3 Link-Time Optimization on a Unix-Alike </H4>
<UL>
<LI><P>
There is now support for parallelized Link-Time Optimization (LTO) with
GCC and for ‘thin’ LTO with ‘clang’ _via_ setting the ‘LTO’ macro.
</P></LI>

<LI><P>
There is support for setting a different LTO flag for the Fortran
compiler, including to empty when mixing ‘clang’ and ‘gfortran’ (as on
macOS).  See file ‘config.site’.
</P></LI>

<LI><P>
There is a new ‘LTO_LD’ macro to set linker options for LTO
compilation, for example to select an alternative linker or to
parallelize thin LTO.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.3 Deprecated and Defunct </H4>
<UL>
<LI><P>
The ‘LINPACK’ argument to ‘chol.default()’, ‘chol2inv()’,
‘solve.default()’ and ‘svd()’ has been defunct since R 3.1.0.  Using it
now gives a warning which will become an error in R 4.1.0.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.3 Bug Fixes </H4>
<UL>
<LI><P>
The code mitigating stack overflow with PCRE regexps on very long
strings is enabled for PCRE2 &lt; 10.30 also when JIT is enabled, since
stack overflows have been seen in that case.
</P></LI>

<LI><P>
Fix to correctly show the group labels in ‘dotchart()’ (which where
lost in the ‘ylab’ improvement for R 4.0.0).
</P></LI>

<LI><P>
‘addmargins(*, ..)’ now also works when ‘fn()’ is a local function,
thanks to bug report and patch <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17124">PR#17124</a> from Alex Bertram.
</P></LI>

<LI><P>
‘rank(x)’ and hence ‘sort(x)’ now work when ‘x’ is an object (as per
‘is.object(x)’) of type ‘&quot;raw&quot;’ _and_ provides a valid ‘`[`’ method,
e.g., for ‘gmp::as.bigz(.)’ numbers.
</P></LI>

<LI><P>
‘chisq.test(*, simulate.p.value=TRUE)’ and ‘r2dtable()’ now work
correctly for large table entries (in the millions).  Reported by
Sebastian Meyer and investigated by more helpers in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16184">PR#16184</a>.
</P></LI>

<LI><P>
Low-level socket read/write operations have been fixed to correctly
signal communication errors. Previously, such errors could lead to a
segfault due to invalid memory access. Reported and debugged by Dmitriy
Selivanov in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17850">PR#17850</a>.
</P></LI>

<LI><P>
‘quantile(x, pr)’ works more consistently for ‘pr’ values slightly
outside [0,1], thanks to Suharto Anggono's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17891">PR#17891</a>.
</P>
<P>
Further, ‘quantile(x, prN, names=FALSE)’ now works even when ‘prN’
contains ‘NA’s, thanks to Anggono's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17892">PR#17892</a>.  Ditto for ordered
factors or ‘Date’ objects when ‘type = 1’ or ‘3’, thanks to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17899">PR#17899</a>.
</P></LI>

<LI><P>
Internet access based on libcurl, including ‘curlGetHeaders()’, was not
respecting the ‘&quot;timeout&quot;’ option.  If this causes unanticipated
timeouts, consider increasing the default by setting
‘R_DEFAULT_INTERNET_TIMEOUT’.
</P></LI>

<LI><P>
‘as.Date(&lt;char&gt;)’ now also works with an initial ‘&quot;&quot;’, thanks to
Michael Chirico's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17909">PR#17909</a>.
</P></LI>

<LI><P>
‘isS3stdGeneric(f)’ now detects an S3 generic also when it is
‘trace()’d, thanks to Gabe Becker's <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17917">PR#17917</a>.
</P></LI>

<LI><P>
‘R_allocLD()’ has been fixed to return memory aligned for long double
type <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16534">PR#16534</a>.
</P></LI>

<LI><P>
‘fisher.test()’ no longer segfaults when called again after its
internal stack has been exceeded <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17904">PR#17904</a>.
</P></LI>

<LI><P>
Accessing a long vector represented by a compact integer sequence no
longer segfaults (reported and debugged by Hugh Parsonage).
</P></LI>

<LI><P>
‘duplicated()’ now works also for strings with multiple encodings
inside a single vector <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17809">PR#17809</a>.
</P></LI>

<LI><P>
‘phyper(11, 15, 0, 12, log.p=TRUE)’ no longer gives ‘NaN’; reported as
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17271">PR#17271</a> by Alexey Stukalov.
</P></LI>

<LI><P>
Fix incorrect calculation in ‘logLik.nls()’ <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16100">PR#16100</a>, patch from
Sebastian Meyer.
</P></LI>

<LI><P>
A very old bug could cause a segfault in ‘model.matrix()’ when terms
involved logical variables.  Part of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17879">PR#17879</a>.
</P></LI>

<LI><P>
‘model.frame.default()’ allowed ‘data = 1’, leading to involuntary
variable capture (rest of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17879">PR#17879</a>).
</P></LI>

<LI><P>
‘tar()’ no longer skips non-directory files, thanks to a patch by
Sebastian Meyer, fixing the remaining part of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16716">PR#16716</a>.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.2 Utilities </H4>
<UL>
<LI><P>
‘R CMD check’ skips vignette re-building (with a warning) if the
‘VignetteBuilder’ package(s) are not available.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.2 Bug Fixes </H4>
<UL>
<LI><P>
Paths with non-ASCII characters caused problems for package loading on
Windows <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17833">PR#17833</a>.
</P></LI>

<LI><P>
Using ‘tcltk’ widgets no longer crashes R on Windows.
</P></LI>

<LI><P>
‘source(*, echo=TRUE)’ no longer fails in some cases with empty lines;
reported by Bill Dunlap in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17769">PR#17769</a>.
</P></LI>

<LI><P>
‘on.exit()’ now correctly matches named arguments, thanks to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17815">PR#17815</a>
(including patch) by Brodie Gaslam.
</P></LI>

<LI><P>
‘regexpr(*, perl=TRUE)’ no longer returns incorrect positions into text
containing characters outside of the Unicode Basic Multilingual Plane
on Windows.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.1 New Features </H4>
<UL>
<LI><P>
‘paste()’ and ‘paste0()’ gain a new optional argument ‘recycle0’.  When
set to true, zero-length arguments are recycled leading to
‘character(0)’ after the ‘sep’-concatenation, i.e., to the empty string
‘&quot;&quot;’ if ‘collapse’ is a string and to the zero-length value
‘character(0)’ when ‘collapse = NULL’.
</P>
<P>
A package whose code uses this should depend on ‘R (&gt;= 4.0.1)’.
</P></LI>

<LI><P>
The ‘summary(&lt;warnings&gt;)’ method now maps the counts correctly to the
warning messages.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.1 Bug Fixes </H4>
<UL>
<LI><P>
‘aov(frml, ...)’ now also works where the ‘formula’ deparses to more
than 500 characters, thanks to a report and patch proposal by Jan
Hauffa.
</P></LI>

<LI><P>
Fix a dozen places (code, examples) as ‘Sys.setlocale()’ returns the
new rather than the previous setting.
</P></LI>

<LI><P>
Fix for adding two complex ‘grid’ units via ‘sum()’.  Thanks to Gu
Zuguang for the report and Thomas Lin Pedersen for the patch.
</P></LI>

<LI><P>
Fix ‘parallel::mclapply(..., mc.preschedule=FALSE)’ to handle raw
vector results correctly. <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17779">PR#17779</a>
</P></LI>

<LI><P>
Computing the ‘base’ value, i.e., 2, “everywhere”, now uses
‘FLT_RADIX’, as the original ‘machar’ code looped indefinitely on the
ppc64 architecture for the ‘longdouble’ case.
</P></LI>

<LI><P>
In R 4.0.0, ‘sort.list(x)’ when ‘is.object(x)’ was true, e.g., for ‘x
&lt;- I(letters)’, was accidentally using ‘method = &quot;radix&quot;’.
Consequently, e.g., ‘merge(&lt;data.frame&gt;)’ was much slower than
previously; reported in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17794">PR#17794</a>.
</P></LI>

<LI><P>
‘plot(y ~ x, ylab = quote(y[i]))’ now works, as e.g., for ‘xlab’;
related to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=10525">PR#10525</a>.
</P></LI>

<LI><P>
‘parallel::detect.cores(all.tests = TRUE)’ tries a matching OS name
before the other tests (which were intended only for unknown OSes).
</P></LI>

<LI><P>
Parse data for raw strings is now recorded correctly. Reported by Gabor
Csardi.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 Significant User-Visible Changes </H4>
<UL>
<LI><P>
Packages need to be (re-)installed under this version (4.0.0) of R.
</P></LI>

<LI><P>
‘matrix’ objects now also inherit from class ‘&quot;array&quot;’, so e.g.,
‘class(diag(1))’ is ‘c(&quot;matrix&quot;, &quot;array&quot;)’.  This invalidates code
incorrectly assuming that ‘class(matrix_obj))’ has length one.
</P>
<P>
S3 methods for class ‘&quot;array&quot;’ are now dispatched for ‘matrix’ objects.
</P></LI>

<LI><P>
There is a new syntax for specifying _raw_ character constants similar
to the one used in C++: ‘r&quot;(...)&quot;’ with ‘...’ any character sequence
not containing the sequence ‘)&quot;’.  This makes it easier to write
strings that contain backslashes or both single and double quotes.  For
more details see ‘?Quotes’.
</P></LI>

<LI><P>
R now uses a ‘stringsAsFactors = FALSE’ default, and hence by default
no longer converts strings to factors in calls to ‘data.frame()’ and
‘read.table()’.
</P>
<P>
A large number of packages relied on the previous behaviour and so have
needed/will need updating.
</P></LI>

<LI><P>
The ‘plot()’ S3 generic function is now in package ‘base’ rather than
package ‘graphics’, as it is reasonable to have methods that do not use
the ‘graphics’ package.  The generic is currently re-exported from the
‘graphics’ namespace to allow packages importing it from there to
continue working, but this may change in future.
</P>
<P>
Packages which define S4 generics for ‘plot()’ should be re-installed
and package code using such generics from other packages needs to
ensure that they are imported rather than rely on their being looked
for on the search path (as in a namespace, the base namespace has
precedence over the search path).
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 Reference Counting </H4>
<UL>
<LI><P>
Reference counting is now used instead of the ‘NAMED’ mechanism for
determining when objects can be safely mutated in base C code.  This
reduces the need for copying in some cases and should allow further
optimizations in the future.  It should help make the internal code
easier to maintain.
</P>
<P>
This change is expected to have almost no impact on packages using
supported coding practices in their C/C++ code.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 Migration to PCRE2 </H4>
<UL>
<LI><P>
This version of R is built against the PCRE2 library for Perl-like
regular expressions, if available.  (On non-Windows platforms PCRE1 can
optionally be used if PCRE2 is not available at build time.)  The
version of PCRE in use can be obtained _via_ ‘extSoftVersion()’: PCRE1
(formerly known as ‘PCRE’) has versions &lt;= 8, PCRE2 versions &gt;= 10.
</P></LI>

<LI><P>
Making PCRE2 available when building R from source is strongly
recommended (preferably version 10.30 or later) as PCRE1 is no longer
developed: version 8.44 is ‘likely to be the final release’.
</P></LI>

<LI><P>
PCRE2 reports errors for some regular expressions that were accepted by
PCRE1.  A hyphen now has to be escaped in a character class to be
interpreted as a literal (unless first or last in the class
definition).  ‘\R’, ‘\B’ and ‘\X’ are no longer allowed in character
classes (PCRE1 treated these as literals).
</P></LI>

<LI><P>
Option ‘PCRE_study’ is no longer used with PCRE2, and is reported as
‘FALSE’ when that is in use.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 New Features </H4>
<UL>
<LI><P>
‘assertError()’ and ‘assertWarning()’ (in package ‘tools’) can now
check for _specific_ error or warning classes _via_ the new optional
second argument ‘classes’ (which is not back compatible with previous
use of an unnamed second argument).
</P></LI>

<LI><P>
‘DF2formula()’, the utility for the data frame method of ‘formula()’,
now works without parsing and explicit evaluation, starting from
Suharto Anggono's suggestion in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17555">PR#17555</a>.
</P></LI>

<LI><P>
‘approxfun()’ and ‘approx()’ gain a new argument ‘na.rm’ defaulting to
true.  If set to false, missing ‘y’ values now propagate into the
interpolated values.
</P></LI>

<LI><P>
Long vectors are now supported as the ‘seq’ argument of a ‘for()’ loop.
</P></LI>

<LI><P>
‘str(x)’ gets a new ‘deparse.lines’ option with a default to speed it
up when ‘x’ is a large ‘call’ object.
</P></LI>

<LI><P>
The internal traceback object produced when an error is signalled
(‘.Traceback’), now contains the ‘call’s rather than the _‘deparse()’d_
calls, deferring the deparsing to the user-level functions
‘.traceback()’ and ‘traceback()’.  This fulfils the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17580">PR#17580</a>,
reported including two patch proposals by Brodie Gaslam.
</P></LI>

<LI><P>
‘data.matrix()’ now converts character columns to factors and from this
to integers.
</P></LI>

<LI><P>
‘package.skeleton()’ now explicitly lists all exports in the
‘NAMESPACE’ file.
</P></LI>

<LI><P>
New function ‘.S3method()’ to register S3 methods in R scripts.
</P></LI>

<LI><P>
‘file.path()’ has some support for file paths not in the session
encoding, e.g. with UTF-8 inputs in a non-UTF-8 locale the output is
marked as UTF-8.
</P></LI>

<LI><P>
Most functions with file-path inputs will give an explicit error if a
file-path input in a marked encoding cannot be translated (to the
native encoding or in some cases on Windows to UTF-8), rather than
translate to a different file path using escapes.  Some (such as
‘dir.exists()’, ‘file.exists()’, ‘file.access()’, ‘file.info()’,
‘list.files()’, ‘normalizePath()’ and ‘path.expand()’) treat this like
any other non-existent file, often with a warning.
</P></LI>

<LI><P>
There is a new help document accessed by ‘help(&quot;file path encoding&quot;)’
detailing how file paths with marked encodings are handled.
</P></LI>

<LI><P>
New function ‘list2DF()’ for creating data frames from lists of
variables.
</P></LI>

<LI><P>
‘iconv()’ has a new option ‘sub = &quot;Unicode&quot;’ to translate UTF-8 input
invalid in the ‘to’ encoding using ‘&lt;U+xxxx&gt;’ escapes.
</P></LI>

<LI><P>
There is a new function ‘infoRDS()’ providing information about the
serialization format of a serialized object.
</P></LI>

<LI><P>
S3 method lookup now by default skips the elements of the search path
between the global and base environments.
</P></LI>

<LI><P>
Added an argument ‘add_datalist(*, small.size = 0)’ to allow the
creation of a ‘data/datalist’ file even when the total size of the data
sets is small.
</P></LI>

<LI><P>
The backquote function ‘bquote()’ has a new argument ‘splice’ to enable
splicing a computed list of values into an expression, like ‘,@’ in
LISP's backquote.
</P></LI>

<LI><P>
The formula interface to ‘t.test()’ and ‘wilcox.test()’ has been
extended to handle one-sample and paired tests.
</P></LI>

<LI><P>
The ‘palette()’ function has a new default set of colours (which are
less saturated and have better accessibility properties).  There are
also some new built-in palettes, which are listed by the new
‘palette.pals()’ function.  These include the old default palette under
the name ‘&quot;R3&quot;’. Finally, the new ‘palette.colors()’ function allows a
subset of colours to be selected from any of the built-in palettes.
</P></LI>

<LI><P>
‘n2mfrow()’ gains an option ‘asp = 1’ to specify the aspect ratio,
fulfilling the wish and extending the proposal of Michael Chirico in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17648">PR#17648</a>.
</P></LI>

<LI><P>
For ‘head(x, n)’ and ‘tail()’ the default and other S3 methods notably
for _vector_ ‘n’, e.g. to get a “corner” of a matrix, has been extended
to ‘array’'s of higher dimension thanks to the patch proposal by Gabe
Becker in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17652">PR#17652</a>.  Consequently, optional argument ‘addrownums’ is
deprecated and replaced by the (more general) argument ‘keepnums’.  An
invalid second argument ‘n’ now leads to typically more easily readable
error messages.
</P></LI>

<LI><P>
New function ‘.class2()’ provides the full character vector of class
names used for S3 method dispatch.
</P></LI>

<LI><P>
Printing ‘methods(..)’ now uses a new ‘format()’ method.
</P></LI>

<LI><P>
‘sort.list(x)’ now works for non-atomic objects ‘x’ and ‘method =
&quot;auto&quot;’ (the default) or ‘&quot;radix&quot;’ in cases ‘order(x)’ works, typically
via a ‘xtfrm()’ method.
</P></LI>

<LI><P>
Where they are available, ‘writeBin()’ allows long vectors.
</P></LI>

<LI><P>
New function ‘deparse1()’ produces one string, wrapping ‘deparse()’, to
be used typically in ‘deparse1(substitute(*))’, e.g., to fix <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17671">PR#17671</a>.
</P></LI>

<LI><P>
‘wilcox.test()’ enhancements: In the (non-paired) two-sample case,
‘Inf’ values are treated as very large for robustness consistency.  If
exact computations are used, the result now has ‘&quot;exact&quot;’ in the
‘method’ element of its return value.  New arguments ‘tol.root’ and
‘digits.rank’ where the latter may be used for stability to treat very
close numbers as ties.
</P></LI>

<LI><P>
‘readBin()’ and ‘writeBin()’ now report an error for an invalid
‘endian’ value.  The affected code needs to be fixed with care as the
old undocumented behavior was to swap endianness in such cases.
</P></LI>

<LI><P>
‘sequence()’ is now an S3 generic with an internally implemented
default method, and gains arguments to generate more complex sequences.
Based on code from the ‘S4Vectors’ Bioconductor package and the advice
of Hervé Pagès.
</P></LI>

<LI><P>
‘print()’'s default method and many other methods (by calling the
default eventually and passing ‘...’) now make use of a new optional
‘width’ argument, avoiding the need for the user to set and reset
‘options(&quot;width&quot;)’.
</P></LI>

<LI><P>
‘memDecompress()’ supports the RFC 1952 format (e.g. in-memory copies
of ‘gzip’-compressed files) as well as RFC 1950.
</P></LI>

<LI><P>
‘memCompress()’ and ‘memDecompress()’ support long raw vectors for
types ‘&quot;gzip&quot;’ and ‘&quot;zx&quot;’.
</P></LI>

<LI><P>
‘sweep()’ and ‘slice.index()’ can now use names of dimnames for their
‘MARGIN’ argument (‘apply’ has had this for almost a decade).
</P></LI>

<LI><P>
New function ‘proportions()’ and ‘marginSums()’. These should replace
the unfortunately named ‘prop.table()’ and ‘margin.table()’. They are
drop-in replacements, but also add named-margin functionality. The old
function names are retained as aliases for back-compatibility.
</P></LI>

<LI><P>
Functions ‘rbinom()’, ‘rgeom()’, ‘rhyper()’, ‘rpois()’, ‘rnbinom(),’
‘rsignrank()’ and ‘rwilcox()’ which have returned integer since R 3.0.0
and hence ‘NA’ when the numbers would have been outside the integer
range, now return double vectors (without NAs, typically) in these
cases.
</P></LI>

<LI><P>
‘matplot(x,y)’ (and hence ‘matlines()’ and ‘matpoints()’) now call the
corresponding methods of ‘plot()’ and ‘lines()’, e.g, when ‘x’ is a
‘&quot;Date&quot;’ or ‘&quot;POSIXct&quot;’ object; prompted by Spencer Graves' suggestion.
</P></LI>

<LI><P>
‘stopifnot()’ now allows customizing error messages via argument names,
thanks to a patch proposal by Neal Fultz in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17688">PR#17688</a>.
</P></LI>

<LI><P>
‘unlink()’ gains a new argument ‘expand’ to disable wildcard and tilde
expansion.  Elements of ‘x’ of value ‘&quot;~&quot;’ are now ignored.
</P></LI>

<LI><P>
‘mle()’ in the ‘stats4’ package has had its interface extended so that
arguments to the negative log-likelihood function can be one or more
vectors, with similar conventions applying to bounds, start values, and
parameter values to be kept fixed.  This required a minor extension to
class ‘&quot;mle&quot;’, so saved objects from earlier versions may need to be
recomputed.
</P></LI>

<LI><P>
The default for ‘pdf()’ is now ‘useDingbats = FALSE’.
</P></LI>

<LI><P>
The default fill colour for ‘hist()’ and ‘boxplot()’ is now ‘col =
&quot;lightgray&quot;’.
</P></LI>

<LI><P>
The default order of the levels on the y-axis for ‘spineplot()’ and
‘cdplot()’ has been reversed.
</P></LI>

<LI><P>
If the ‘R_ALWAYS_INSTALL_TESTS’ environment variable is set to a true
value, ‘R CMD INSTALL’ behaves as if the ‘--install-tests’ option is
always specified. Thanks to Reinhold Koch for the suggestion.
</P></LI>

<LI><P>
New function ‘R_user_dir()’ in package ‘tools’ suggests paths
appropriate for storing R-related user-specific data, configuration and
cache files.
</P></LI>

<LI><P>
‘capabilities()’ gains a new logical option ‘Xchk’ to avoid warnings
about X11-related capabilities.
</P></LI>

<LI><P>
The internal implementation of ‘grid’ units has changed, but the only
visible effects at user-level should be
</P>
<P>
        • a slightly different print format for some units (especially
          unit arithmetic),
</P>
<P>
        • faster performance (for unit operations) and
</P>
<P>
        • two new functions ‘unitType()’ and ‘unit.psum()’.
</P>
<P>
Based on code contributed by Thomas Lin Pedersen.
</P></LI>

<LI><P>
When internal dispatch for ‘rep.int()’ and ‘rep_len()’ fails, there is
an attempt to dispatch on the equivalent call to ‘rep()’.
</P></LI>

<LI><P>
Object ‘.Machine’ now contains new ‘longdouble.*’ entries (when R uses
long doubles internally).
</P></LI>

<LI><P>
‘news()’ has been enhanced to cover the news on R 3.x and 2.x.
</P></LI>

<LI><P>
For consistency, ‘N &lt;- NULL; N[[1]] &lt;- val’ now turns ‘N’ into a ‘list’
also when ‘val)’ has length one.  This enables ‘dimnames(r1)[[1]] &lt;-
&quot;R1&quot;’ for a 1-row matrix ‘r1’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17719">PR#17719</a> reported by Serguei
Sokol.
</P></LI>

<LI><P>
‘deparse(..)’, ‘dump(..)’, and ‘dput(x, control = &quot;all&quot;)’ now include
control option ‘&quot;digits17&quot;’ which typically ensures 1:1 invertibility.
New option ‘control = &quot;exact&quot;’ ensures numeric exact invertibility via
‘&quot;hexNumeric&quot;’.
</P></LI>

<LI><P>
When loading data sets via ‘read.table()’, ‘data()’ now uses
‘LC_COLLATE=C’ to ensure locale-independent results for possible
string-to-factor conversions.
</P></LI>

<LI><P>
A server socket connection, a new connection type representing a
listening server socket, is created via ‘serverSocket()’ and can accept
multiple socket connections via ‘socketAccept()’.
</P></LI>

<LI><P>
New function ‘socketTimeout()’ changes the connection timeout of a
socket connection.
</P></LI>

<LI><P>
The time needed to start a homogeneous ‘PSOCK’ cluster on ‘localhost’
with many nodes has been significantly reduced (package ‘parallel’).
</P></LI>

<LI><P>
New ‘globalCallingHandlers()’ function to establish global condition
handlers.  This allows registering default handlers for specific
condition classes. Developed in collaboration with Lionel Henry.
</P></LI>

<LI><P>
New function ‘tryInvokeRestart()’ to invoke a specified restart if one
is available and return without signaling an error if no such restart
is found.  Contributed by Lionel Henry in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17598">PR#17598</a>.
</P></LI>

<LI><P>
‘str(x)’ now shows the length of ‘attributes’ in some cases for a data
frame ‘x’.
</P></LI>

<LI><P>
‘Rprof()’ gains a new argument ‘filter.callframes’ to request that
intervening call frames due to lazy evaluation or explicit ‘eval()’
calls be omitted from the recorded profile data.  Contributed by Lionel
Henry in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17595">PR#17595</a>.
</P></LI>

<LI><P>
The handling of ‘${FOO-bar}’ and ‘${FOO:-bar}’ in ‘Renviron’ files now
follows POSIX shells (at least on a Unix-alike), so the first treats
empty environment variables as set and the second does not.  Previously
both ignored empty variables.  There are several uses of the first form
in ‘etc/Renviron’.
</P></LI>

<LI><P>
New ‘classes’ argument for ‘suppressWarnings()’ and
‘suppressMessages()’ to selectively suppress only warnings or messages
that inherit from particular classes.  Based on patch from Lionel Henry
submitted with <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17619">PR#17619</a>.
</P></LI>

<LI><P>
New function ‘activeBindingFunction()’ retrieves the function of an
active binding.
</P></LI>

<LI><P>
New ‘&quot;cairoFT&quot;’ and ‘&quot;pango&quot;’ components in the output of
‘grSoftVersion()’.
</P></LI>

<LI><P>
New argument ‘symbolfamily’ in cairo-based graphics devices and new
function ‘cairoSymbolFont()’ that can be used to provide the value for
that argument.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 Deprecated and Defunct </H4>
<UL>
<LI><P>
Make macro ‘F77_VISIBILITY’ has been removed and replaced by
‘F_VISIBILITY’.
</P></LI>

<LI><P>
Make macros ‘F77’, ‘FCPIFCPLAGS’ and ‘SHLIB_OPENMP_FCFLAGS’ have been
removed and replaced by ‘FC’, ‘FPICFLAGS’ and ‘SHLIB_OPENMP_FFLAGS’
respectively.  (Most ‘make’ programs will set ‘F77’ to the value of
‘FC’, which is set for package compilation.  But portable code should
not rely on this.)
</P></LI>

<LI><P>
The deprecated support for specifying C++98 for package installation
has been removed.
</P></LI>

<LI><P>
‘R CMD config’ no longer knows about the unused settings ‘F77’ and
‘FCPIFCPLAGS’, nor ‘CXX98’ and similar.
</P></LI>

<LI><P>
Either PCRE2 or PCRE1 &gt;= 8.32 (Nov 2012) is required: the deprecated
provision for 8.20-8.31 has been removed.
</P></LI>

<LI><P>
Defunct functions ‘mem.limits()’, ‘.readRDS()’, ‘.saveRDS()’,
‘.find.package()’, and ‘.path.package()’ from package ‘base’ and
‘allGenerics()’, ‘getAccess()’, ‘getAllMethods()’, ‘getClassName()’,
‘getClassPackage()’, ‘getExtends()’, ‘getProperties()’,
‘getPrototype()’, ‘getSubclasses()’, ‘getVirtual()’, ‘mlistMetaName()’,
‘removeMethodsObject()’, ‘seemsS4Object()’, ‘traceOff()’, and
‘traceOn()’ from ‘methods’ have been removed.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 C-Level Facilities </H4>
<UL>
<LI><P>
‘installChar’ is now remapped in ‘Rinternals.h’ to ‘installTrChar’, of
which it has been a wrapper since R 3.6.0.  Neither are part of the
API, but packages using ‘installChar’ can replace it if they depend on
‘R &gt;= 3.6.2’.
</P></LI>

<LI><P>
Header ‘R_ext/Print.h’ defines ‘R_USE_C99_IN_CXX’ and hence exposes
‘Rvprintf’ and ‘REvprintf’ if used with a C++11 (or later) compiler.
</P></LI>

<LI><P>
There are new Fortran subroutines ‘dblepr1’, ‘realpr1’ and ‘intpr1’ to
print a scalar variable (‘gfortran’ 10 enforces the distinction between
scalars and length-one arrays).  Also ‘labelpr’ to print just a label.
</P></LI>

<LI><P>
‘R_withCallingErrorHandler’ is now available for establishing a calling
handler in C code for conditions inheriting from class ‘error’.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 Installation on a Unix-Alike </H4>
<UL>
<LI><P>
User-set ‘DEFS’ (e.g., in ‘config.site’) is now used for compiling
packages (including base packages).
</P></LI>

<LI><P>
There is a new variant option ‘--enable-lto=check’ for checking
consistency of BLAS/LAPACK/LINPACK calls - see ‘Writing R Extensions’.
</P></LI>

<LI><P>
A C++ compiler default is set only if the C++11 standard is supported:
it no longer falls back to C++98.
</P></LI>

<LI><P>
PCRE2 is used if available.  To make use of PCRE1 if PCRE2 is
unavailable, configure with option ‘--with-pcre1’.
</P></LI>

<LI><P>
The minimum required version of ‘libcurl’ is now 7.28.0 (Oct 2012).
</P></LI>

<LI><P>
New make target ‘distcheck’ checks
</P>
<P>
        • R can be rebuilt from the tarball created by ‘make dist’,
</P>
<P>
        • the build from the tarball passes ‘make check-all’,
</P>
<P>
        • the build installs and uninstalls,
</P>
<P>
        • the source files are properly cleaned by ‘make distclean’.
</P>
<P>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 Utilities </H4>
<UL>
<LI><P>
‘R --help’ now mentions the option ‘--no-echo’ (renamed from ‘--slave’)
and its previously undocumented short form ‘-s’.
</P></LI>

<LI><P>
‘R CMD check’ now optionally checks ‘configure’ and ‘cleanup’ scripts
for non-Bourne-shell code (‘bashisms’).
</P></LI>

<LI><P>
‘R CMD check --as-cran’ now runs \donttest examples (which are run by
‘example()’) instead of instructing the tester to do so.  This can be
temporarily circumvented during development by setting environment
variable ‘_R_CHECK_DONTTEST_EXAMPLES_’ to a false value.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 Package Installation </H4>
<UL>
<LI><P>
There is the beginnings of support for the recently approved C++20
standard, specified analogously to C++14 and C++17.  There is currently
only limited support for this in compilers, with flags such as
‘-std=c++20’ and ‘-std=c++2a’.  For the time being the ‘configure’ test
is of accepting one of these flags and compiling C++17 code.
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 Bug Fixes </H4>
<UL>
<LI><P>
‘formula(x)’ with ‘length(x) &gt; 1’ character vectors, is deprecated now.
Such use has been rare, and has ‘worked’ as expected in some cases
only.  In other cases, wrong ‘x’ have silently been truncated, not
detecting previous errors.
</P></LI>

<LI><P>
Long-standing issue where the X11 device could lose events shortly
after startup has been addressed (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16702">PR#16702</a>).
</P></LI>

<LI><P>
The ‘data.frame’ method for ‘rbind()’ no longer drops ‘&lt;NA&gt;’ levels
from factor columns by default (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17562">PR#17562</a>).
</P></LI>

<LI><P>
‘available.packages()’ and hence ‘install.packages()’ now pass their
‘...’ argument to ‘download.file()’, fulfilling the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17532">PR#17532</a>;
subsequently, ‘available.packages()’ gets new argument ‘quiet’, solving
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17573">PR#17573</a>.
</P></LI>

<LI><P>
‘stopifnot()’ gets new argument ‘exprObject’ to allow an R object of
class ‘expression’ (or other ‘language’) to work more consistently,
thanks to suggestions by Suharto Anggono.
</P></LI>

<LI><P>
‘conformMethod()’ now works correctly in cases containing a “‘&amp;&amp;’
logic” bug, reported by Henrik Bengtsson.  It now creates methods with
‘&quot;missing&quot;’ entries in the signature.  Consequently,
‘rematchDefinition()’ is amended to use appropriate ‘.local()’ calls
with named arguments where needed.
</P></LI>

<LI><P>
‘format.default(*, scientific = FALSE)’ now corresponds to a
practically most extreme ‘options(scipen = n)’ setting rather than
arbitrary ‘n = 100’.
</P></LI>

<LI><P>
‘format(as.symbol(&quot;foo&quot;))’ now works (returning ‘&quot;foo&quot;’).
</P></LI>

<LI><P>
‘postscript(.., title = *)’ now signals an error when the title string
contains a character which would produce corrupt PostScript, thanks to
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17607">PR#17607</a> by Daisuko Ogawa.
</P></LI>

<LI><P>
Certain ‘Ops’ (notably comparison such as ‘==’) now also work for
0-length data frames, after reports by Hilmar Berger.
</P></LI>

<LI><P>
‘methods(class = class(glm(..)))’ now warns more usefully and only
once.
</P></LI>

<LI><P>
‘write.dcf()’ no longer mangles field names (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17589">PR#17589</a>).
</P></LI>

<LI><P>
Primitive replacement functions no longer mutate a referenced first
argument when used outside of a complex assignment context.
</P></LI>

<LI><P>
A better error message for ‘contour(*, levels = Inf)’.
</P></LI>

<LI><P>
The return value of ‘contourLines()’ is no longer ‘invisible()’.
</P></LI>

<LI><P>
The Fortran code for calculating the ‘coefficients’ component in
‘lm.influence()’ was very inefficient. It has (for now) been replaced
with much faster R code (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17624">PR#17624</a>).
</P></LI>

<LI><P>
‘cm.colors(n)’ _etc_ no longer append the code for ‘alpha = 1’, ‘&quot;FF&quot;’,
to all colors.  Hence all eight ‘*.colors()’ functions and ‘rainbow()’
behave consistently and have the same non-explicit default (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17659">PR#17659</a>).
</P></LI>

<LI><P>
‘dnorm’ had a problematic corner case with ‘sd == -Inf’ or negative
‘sd’ which was not flagged as an error in all cases. Thanks to Stephen
D. Weigand for reporting and Wang Jiefei for analyzing this; similar
change has been made in ‘dlnorm()’.
</P></LI>

<LI><P>
The optional ‘iter.smooth’ argument of ‘plot.lm()’, (the ‘plot()’
method for ‘lm’ and ‘glm’ fits) now defaults to ‘0’ for all ‘glm’ fits.
Especially for binary observations with high or low fitted
probabilities, this effectively deleted all observations of 1 or 0.
Also, the type of residuals used in the ‘glm’ case has been switched to
‘&quot;pearson&quot;’ since deviance residuals do not in general have
approximately zero mean.
</P></LI>

<LI><P>
In ‘plot.lm’, Cook's distance was computed from unweighted residuals,
leading to inconsistencies.  Replaced with usual weighted version.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16056">PR#16056</a>)
</P></LI>

<LI><P>
Time-series ‘ts(*, start, end, frequency)’ with fractional ‘frequency’
are supported more consistently; thanks to a report from Johann
Kleinbub and analysis and patch by Duncan Murdoch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17669">PR#17669</a>.
</P></LI>

<LI><P>
In case of errors ‘mcmapply()’ now preserves attributes of returned
‘&quot;try-error&quot;’ objects and avoids simplification, overriding ‘SIMPLIFY’
to ‘FALSE’. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17653">PR#17653</a>)
</P></LI>

<LI><P>
‘as.difftime()’ gets new optional ‘tz = &quot;UTC&quot;’ argument which should
fix behaviour during daylight-savings-changeover days, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16764">PR#16764</a>,
thanks to proposals and analysis by Johannes Ranke and Kirill Müller.
</P></LI>

<LI><P>
‘round()’ does a better job of rounding _“to nearest”_ by _measuring_
and _“to even”_; thanks to a careful algorithm originally prompted by
the report from Adam Wheeler and then others, in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17668">PR#17668</a>.
‘round(x, dig)’ for _negative_ digits is much more rational now,
notably for large |dig|.
</P></LI>

<LI><P>
Inheritance information on S4 classes is maintained more consistently,
particularly in the case of class unions (in part due to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17596">PR#17596</a> and a
report from Ezra Tucker).
</P></LI>

<LI><P>
‘is()’ behaves more robustly when its argument ‘class2’ is a
‘classRepresentation’ object.
</P></LI>

<LI><P>
The warning message when attempting to export an nonexistent class is
now more readable; thanks to Thierry Onkelinx for recognizing the
problem.
</P></LI>

<LI><P>
‘choose()’ misbehaved in corner cases where it switched ‘n - k’ for ‘k’
and ‘n’ was only _nearly_ integer (report from Erik Scott Wright).
</P></LI>

<LI><P>
‘mle()’ in the ‘stats4’ package had problems combining use of box
constraints and fixed starting values (in particular, confidence
intervals were affected).
</P></LI>

<LI><P>
Operator ‘?’ now has lower precedence than ‘=’ to work as documented,
so ‘=’ behaves like ‘&lt;-’ in help expressions (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16710">PR#16710</a>).
</P></LI>

<LI><P>
‘smoothEnds(x)’ now returns ‘integer’ type in _both_ cases when ‘x’ is
‘integer’, thanks to a report and proposal by Bill Dunlap <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17693">PR#17693</a>.
</P></LI>

<LI><P>
The ‘methods’ package does a better job of tracking inheritance
relationships across packages.
</P></LI>

<LI><P>
‘norm(diag(c(1, NA)), &quot;2&quot;)’ now works.
</P></LI>

<LI><P>
‘subset()’ had problems with 0-col dataframes (reported by Bill Dunlap,
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17721">PR#17721</a>).
</P></LI>

<LI><P>
Several cases of integer overflow detected by the ‘undefined behaviour
sanitizer’ of ‘clang’ 10 have been circumvented.  One in ‘rhyper()’ may
change the generated value for large input values.
</P></LI>

<LI><P>
‘dotchart()’ now places the y-axis label (‘ylab’) much better, not
overplotting labels, thanks to a report and suggestion by Alexey
Shipunov.
</P></LI>

<LI><P>
A rare C-level array overflow in ‘chull()’ has been worked around.
</P></LI>

<LI><P>
Some invalid specifications of the day-of-the-year (_via_ ‘%j’, e.g.
day 366 in 2017) or week plus day-of-the-week are now detected by
‘strptime()’.  They now return ‘NA’ but give a warning as they may have
given random results or corrupted memory in earlier versions of R.
</P></LI>

<LI><P>
‘socketConnection(server = FALSE)’ now respects the connection timeout
also on Linux.
</P></LI>

<LI><P>
‘socketConnection(server = FALSE)’ no longer leaks a connection that is
available right away without waiting (e.g. on ‘localhost’).
</P></LI>

<LI><P>
Socket connections are now robust against spurious readability and
spurious availability of an incoming connection.
</P></LI>

<LI><P>
‘blocking = FALSE’ is now respected also on the server side of a socket
connection, allowing non-blocking read operations.
</P></LI>

<LI><P>
‘anova.glm()’ and ‘anova.glmlist()’ computed incorrect score (Rao)
tests in no-intercept cases. (André Gillibert, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17735">PR#17735</a>)
</P></LI>

<LI><P>
‘summaryRprof()’ now should work correctly for the ‘Rprof(*,
memory.profiling=TRUE)’ case with small chunk size (and ‘&quot;tseries&quot;’ or
similar) thanks to a patch proposal by Benjamin Tyner, in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15886">PR#15886</a>.
</P></LI>

<LI><P>
‘xgettext()’ ignores strings passed to ‘ngettext()’, since the latter
is handled by ‘xngettext()’. Thanks to Daniele Medri for the report and
all the recent work he has done on the Italian translations.
</P></LI>

<LI><P>
‘data(package = &quot;P&quot;)’ for ‘P’ in ‘base’ and ‘stats’ no longer reports
the data sets from package ‘datasets’ (which it did for back
compatibility for 16 years), fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17730">PR#17730</a>.
</P></LI>

<LI><P>
‘x[[Inf]]’ (returning ‘NULL’) no longer leads to undefined behavior,
thanks to a report by Kirill Müller in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17756">PR#17756</a>.  Further, ‘x[[-Inf]]’
and ‘x[[-n]]’ now give more helpful error messages.
</P></LI>

<LI><P>
‘Gamma()’ family sometimes had trouble storing link name <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15891">PR#15891</a>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 Bug Fixes (Windows) </H4>
<UL>
<LI><P>
‘Sys.glob()’ now supports all characters from the Unicode Basic
Multilingual Plane, no longer corrupting some (less commonly used)
characters (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17638">PR#17638</a>).
</P></LI>

<LI><P>
‘Rterm’ now correctly displays multi-byte-coded characters
representable in the current native encoding (at least on Windows 10
they were sometimes omitted, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17632">PR#17632</a>).
</P></LI>

<LI><P>
‘scan()’ issues with UTF-8 data when running in a DBCS locale have been
resolved (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16520">PR#16520</a>, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16584">PR#16584</a>).
</P></LI>

<LI><P>
‘Rterm’ now accepts enhanced/arrow keys also with ConPTY.
</P></LI>

<LI><P>
R can now be started _via_ the launcher icon in a user documents
directory whose path is not representable in the system encoding.
</P></LI>

<LI><P>
‘socketConnection(server = FALSE)’ now returns instantly also on
Windows when connection failure is signalled.
</P></LI>

<LI><P>
Problems with UTF-16 surrogate pairs have been fixed in several
functions, including ‘tolower()’ and ‘toupper()’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17645">PR#17645</a>).
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-03-20</title>
<pubDate>Fri, 20 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/20#n2026-03-20</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/20#n2026-03-20</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New experimental API for working with variable bindings in environments. The function ‘R_GetBindingType’ identifies the binding type without forcing a delayed or active binding.  New bindings care created by ‘R_MakeDelayedBinding’, ‘R_MakeForcedBinding’ and ‘R_MakeMissingBinding’.  Delayed and forced bindings can be inspected with ‘R_ForcedBindingExpression’, ‘R_DelayedBindingExpression’, and ‘R_DelayedBindingEnvironment’.  Bindings for ‘...’ in function call environments can be examined with ‘R_DotsExist’, ‘R_DotsLength’, ‘R_DotsNames’, ‘R_DotsElt’, ‘R_GetDotType’, ‘R_DotDelayedExpression’, ‘R_DotDelayedEnvironment’, and ‘R_DotForcedExpression’. Contributed by Lionel Henry and Davis Vaughan in PR#18928.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The functions ‘Rf_findVar’ and ‘findVarInFrame’ are now marked as non-API, and uses in packages will now receive check ‘WARNING’s.  See ‘Writing R Extensions’ for alternatives to use.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-19</title>
<pubDate>Thu, 19 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/19#n2026-03-19</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/19#n2026-03-19</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The default ‘summary()’ is more informative for character vectors, optionally resorting to the factor method via the new argument ‘character.method = "factor"’, e.g., when summarizing a data frame (PR#16750).  </P>
<P>  It also provides more useful summaries for complex vectors, with ‘polar’ determining if polar or cartesian coordinates are more relevant; mostly based on a proposal by Mikael Jagan.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New experimental API for working with variable bindiongs in environments. The function ‘R_GetBindingType’ identifies the binding type without forcing a delayed or active binding.  New bindings care created by ‘R_MakeDelayedBinding’, ‘R_MakeForcedBinding’ and ‘R_MakeMissingBinding’.  Delayed and forced bindings can be inspected with ‘R_ForcedBindingExpression’, ‘R_DelayedBindingExpression’, and ‘R_DelayedBindingEnvironment’.  Bindings for ‘...’ in function call environments can be examined with ‘R_DotsExist’, ‘R_DotsLength’, ‘R_DotsNames’, ‘R_DotsElt’, ‘R_GetDotType’, ‘R_DotDelayedExpression’, ‘R_DotDelayedEnvironment’, and ‘R_DotForcedExpression’. Contributed by Lionel Henry and Davis Vaughan in PR#18928.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-17</title>
<pubDate>Tue, 17 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/17#n2026-03-17</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/17#n2026-03-17</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
‘R CMD check’ ‘NOTE’s on the use of the non-API entry points ‘PRCODE’,
‘SET_PRCODE’, ‘PRENV’, ‘SET_PRENV’, ‘PRVALUE’, ‘SET_PRVALUE’,
‘R_PromiseExpr’, and ‘Rf_allocSExp’ have been upgraded to ‘WARNING’s in
preparation for removing declarations and, where possible, hiding these
entry points.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-03-16</title>
<pubDate>Mon, 16 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/16#n2026-03-16</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/16#n2026-03-16</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
New function ‘R_envSymbols’ returns a vector of the symbols for which
an environment contains bindings (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18928">PR#18928</a>).
</P></LI>

<LI><P>
The functions ‘Rf_findVar’ and ‘findVarInFrame’ are now marked as
non-API, and uses in packages will now receive check ‘NOTE’s.  See
‘Writing R Extensions’ for alternatives to use.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’, ‘R_tryWrap’, ‘Rf_GetOption’, ‘R_lsInternal’, ‘BODY’, ‘FORMALS’, ‘CLOENV’, ‘SET_TYPEOF’, ‘STRING_PTR’, ‘R_duplicate_attr’, ‘getConnection’, ‘R_data_class’, ‘STRING_PTR’, ‘SET_OBJECT’, ‘ATTRIB’, ‘SET_ATTRIB’, ‘Rf_findVarInFrame3’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New experimental function ‘R_GetBindingType’ to support inspecting environment bindings without forcing delayed or active bindings.  New functions ‘R_MakeDelayedBinding’, ‘R_MakeForcedBinding’ and ‘R_MakeMissingBinding’ for creating bindings. For examining features of bindings: ‘R_ForcedBindingExpression’, ‘R_DelayedBindingExpression’, and ‘R_DelayedBindingEnvironment’ (PR#18928).  New functions for examining ‘...’ bindings in environments: ‘R_DotsExist’, ‘R_DotsLength’, ‘R_DotsNames’, ‘R_DotsElt’, ‘R_GetDotType’, ‘R_DotDelayedExpression’, ‘R_DotDelayedEnvironment’, and ‘R_DotForcedExpression’ (PR#18928).</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-15</title>
<pubDate>Sun, 15 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/15#n2026-03-15</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/15#n2026-03-15</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
New function ‘bitstring()’ as a user-friendly wrapper around
‘intToBits()’, etc.
</P></LI>

</UL>
<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New experimental function ‘R_GetBindingType’ to support inspecting environment bindings without forcing delayed or active bindings.  New functions ‘R_MakeDelayedBinding’, ‘R_MakeForcedBinding’ and ‘R_MakeMissingBinding’ for creating bindings. For examining features of bindings: ‘R_ForcedBindingExpression’, ‘R_DelayedBindingExpression’, and ‘R_DelayedBindingEnvironment’ (PR#18928).  New functions for examning ‘...’ bindings in environments: ‘R_DotsLength’, ‘R_DotsNames’, ‘R_DotsElt’, ‘R_GetDotType’, ‘R_DotDelayedExpression’, ‘R_DotDelayedEnvironment’, and ‘R_DotForcedExpression’ (PR#18928).</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-14</title>
<pubDate>Sat, 14 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/14#n2026-03-14</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/14#n2026-03-14</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New experimental function ‘R_GetBindingType’ to support inspecting environment bindings without forcing delayed or active bindings.  New functions ‘R_MakeDelayedBinding’, ‘R_MakeForcedBinding’ and ‘R_MakeMissingBinding’ for creating bindings. For examining features of bindings: ‘R_ForcedBindingExpression’, ‘R_DelayedBindingExpression’, and ‘R_DelayedBindingEnvironment’ (PR#18928).</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
‘R CMD build’ now installs packages providing their own vignette engine
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18191">PR#18191</a>).  Patch by Paul Smith.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.3 BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘Ops’ group (‘Arith’, ‘Compare’, ...) methods for matrix-‘"ts"’ now do return (zero length) matrices even when the two series do not overlap; a very partial fix of PR#18972, which is to be fully addressed later.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-13</title>
<pubDate>Fri, 13 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/13#n2026-03-13</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/13#n2026-03-13</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
New experimental function ‘R_GetBindingType’ to support inspecting
environments without forcing delayed or active bindings.  New functions
‘R_MakeDelayedBinding’, ‘R_MakeForcedBinding’ and
‘R_MakeMissingBinding’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18928">PR#18928</a>).
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.3 BUG FIXES </H4>
<UL>
<LI><P>
‘Ops’ group (Arith, Compare,..) methods for matrix-‘&quot;ts&quot;’ now do return
(zero length) matrices even when the two series do not overlap, a very
partial fix of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a> which is to be fully addressed later.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.0 C-LEVEL API </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Further non-API entry points have been added to those reported by ‘R CMD check’: ‘COMPLEX0’, ‘ddfind’, ‘DDVAL’, ‘ENSURE_NAMEDMAX’, ‘ENVFLAGS’, ‘FRAME’, ‘HASHTAB’, ‘INTERNAL’, ‘IS_ASCII’, ‘IS_UTF8’, ‘LEVELS’, ‘NAMED’, ‘PRSEEN’, ‘RDEBUG’, ‘REAL0’, ‘Rf_findVarInFrame3’, ‘SET_BODY’, ‘SET_CLOENV’, ‘SET_FORMALS’, ‘SET_PRSEEN’, ‘SET_RDEBUG’, ‘STRING_PTR’, ‘SYMVALUE’, and ‘VECTOR_PTR’. Any declarations for these in public header files will be removed in the near future, and they will be hidden where possible.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-10</title>
<pubDate>Tue, 10 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/10#n2026-03-10</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/10#n2026-03-10</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
Class ‘&quot;difftime&quot;’ is now also among the S4 ‘&quot;OldClasses&quot;’.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-03-09</title>
<pubDate>Mon, 09 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/09#n2026-03-09</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/09#n2026-03-09</guid>
<description><![CDATA[<H4>CHANGES IN R-devel UTILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘package.skeleton()’ now invisibly returns the path of the created directory, similar to ‘prompt()’ et al., and allows creating blank skeletons without any R objects.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-08</title>
<pubDate>Sun, 08 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/08#n2026-03-08</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/08#n2026-03-08</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
In intervals with very low density ‘cdplot()’ was unreliable, returning
probabilities that are greater than one or ‘NaN’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19011">PR#19011</a>).  Fix from
Christoph Dalitz and Achim Zeileis.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-03-06</title>
<pubDate>Fri, 06 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/06#n2026-03-06</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/06#n2026-03-06</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
New Rd macro \linkS4methods{}, e.g., for easier linking to method docs
in other packages, proposed and coded by Mikael Jagan in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18998">PR#18998</a>.
</P></LI>

</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
The ‘&quot;tzcode&quot;’ attribute of ‘&quot;POSIXlt&quot;’ objects should no longer depend
on earlier calls, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19005">PR#19005</a> thanks to Ivan Krylov, a patch by
Suharto Anggono and reports of “Non-deterministic POSIXlt tzone in
Europe/London ..” on R-devel.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-03-04</title>
<pubDate>Wed, 04 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/04#n2026-03-04</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/04#n2026-03-04</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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’, ‘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’, ‘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’,
‘SET_GROWABLE_BIT’, ‘TRUELENGTH’, ‘SET_TRUELENGTH’, ‘SETLENGTH’.
</DEL>
</P></LI>

<LI><P>
‘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’, ‘R_tryWrap’,
‘Rf_GetOption’, ‘R_lsInternal’, ‘BODY’, ‘FORMALS’, ‘CLOENV’,
‘SET_TYPEOF’, ‘STRING_PTR’, ‘R_duplicate_attr’, ‘getConnection’,
‘R_data_class’, ‘STRING_PTR’, ‘SET_OBJECT’, ‘ATTRIB’, ‘SET_ATTRIB’.
</P></LI>

<LI><P>
The function ‘Rf_isFrame’ has been removed; use ‘Rf_isDataFrame’
instead.
</P></LI>

<LI><P>
The function ‘VECTOR_PTR’ has been removed.
</P>
<P>
The non-API function ‘DATAPTR’ is no longer declared in an installed
header file.
</P></LI>

<LI><P>
These entry points are now marked as hidden and no longer have
declarations in installed header files: ‘ENVFLAGS’, ‘EXTPTR_PROT’,
‘FRAME’, ‘ENCLOS’, ‘EXTPTR_PTR’, ‘EXTPTR_TAG’, ‘HASHTAB’,
‘IS_S4_OBJECT’, ‘LEVELS’, ‘NAMED’, ‘OBJECT’,
‘R_shallow_duplicate_attr’, ‘Rf_isValidString’, ‘Rf_lazy_duplicate’,
‘Rf_NonNullStringMatch’, ‘SETLENGTH’, ‘SETLEVELS’, ‘SET_BODY’,
‘SET_CLOENV’, ‘SET_ENCLOS’, ‘SET_FORMALS’, ‘SET_ENVFLAGS’, ‘SET_FRAME’,
‘SET_GROWABLE_BIT’, ‘SET_HASHTAB’, ‘SET_NAMED’, ‘SET_S4_OBJECT’,
‘SET_TRUELENGTH’, ‘STDVEC_DATAPTR’, ‘TRUELENGTH’, ‘UNSET_S4_OBJECT’,
‘XTRUELENGTH’.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New function ‘R_getAttributes’ returns the same result as the R function ‘attributes’. New functions ‘R_getAttribCount’, ‘R_getAttribNames’, ‘R_hasAttrib’, ‘R_nrow’, and ‘R_ncol’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-03</title>
<pubDate>Tue, 03 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/03#n2026-03-03</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/03#n2026-03-03</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Large (tall) subscripts in plotmath expressions are now positioned
correctly.  They were being positioned too high.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.3 BUG FIXES </H4>
<UL>
<LI><P>
Large (tall) subscripts in plotmath expressions are now positioned
correctly.  They were being positioned too high.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-03-02</title>
<pubDate>Mon, 02 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/02#n2026-03-02</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/02#n2026-03-02</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’, ‘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’, ‘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’, ‘SET_GROWABLE_BIT’, ‘TRUELENGTH’, ‘SET_TRUELENGTH’, ‘SETLENGTH’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New function ‘R_getAttributes’ returns the same result as the R function ‘attributes’. New functions ‘R_getAttribCount’, ‘R_getAttribNames’, ‘R_hasAttrib’, ‘R_nrow’, and ‘R_ncol’.  </P>
<P>  The function ‘Rf_isFrame’ has been removed; use ‘Rf_isDataFrame’ instead.  </P>
<P>  The function ‘VECTOR_PTR’ has been removed.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R 4.5.0 C-LEVEL API </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Further non-API entry points have been added to those reported by ‘R CMD check’: ‘COMPLEX0’, ‘ddfind’, ‘DDVAL’, ‘ENSURE_NAMEDMAX’, ‘ENVFLAGS’, ‘FRAME’, ‘HASHTAB’, ‘INTERNAL’, ‘IS_ASCII’, ‘IS_UTF8’, ‘LEVELS’, ‘NAMED’, ‘PRSEEN’, ‘RDEBUG’, ‘REAL0’, ‘Rf_findVarInFrame3’, ‘SET_BODY’, ‘SET_CLOENV’, ‘SET_FORMALS’, ‘SET_PRSEEN’, ‘SET_RDEBUG’, ‘STRING_PTR’, and ‘SYMVALUE’. Any declarations for these in public header files will be removed in the near future, and they will be hidden where possible.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-03-01</title>
<pubDate>Sun, 01 Mar 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/01#n2026-03-01</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/03/01#n2026-03-01</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
‘as.POSIXlt(ch)’, ‘as.Date(ch)’ etc now also work correctly when ‘ch’
contains ‘&quot;Inf&quot;’, via ‘strptime(.)’, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19006">PR#19006</a>.
</P></LI>

<LI><P>
‘c(&lt;POSIXlt&gt;, ..)’ now fully preserves sub-second accuracy, fulfilling
a part of Suharto Anggono's wishlist <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18989">PR#18989</a>.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.3 UTILITIES </H4>
<UL>
<LI><P>
‘tools/fetch-recommended’ can be used instead of
‘tools/rsync-recommended’ to fetch recommended packages into R sources
using ‘curl’ on systems without ‘rsync’ or behind firewalls.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.3 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
C++ standard specifications (‘CXX_STD =’ in ‘src/Makevars*’ and in the
‘SystemRequirements’ field of the ‘DESCRIPTION’ file) are now checked
more thoroughly.  Invalid values are still ignored but now give a
warning, as do contradictory specifications.
</P></LI>

<LI><P>
(Preliminary) support for C++26 has been extended to Windows.
</P></LI>

<LI><P>
A non-zero exit status from ‘cleanup’, ‘cleanup.win’ or ‘cleanup.ucrt’,
if requested via options ‘--clean’ or ‘--preclean’, is now reported
with a warning.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.3 BUG FIXES </H4>
<UL>
<LI><P>
‘all.equal(obj, simple, check.class=FALSE)’ now is true, also when
‘simple’ is a bare atomic vector and ‘obj’ has a simple class, fixing
the first part of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18971">PR#18971</a> thanks to Jan Gorecki.
</P></LI>

<LI><P>
‘str(x, give.attr=FALSE)’ no longer shows attributes when ‘x’ is a zero
length ‘&quot;Date&quot;’ or ‘&quot;POSIXt&quot;’ object.
</P></LI>

<LI><P>
Tweaks to binning for ‘bw.SJ()’ and ‘bw.ucv()’ in the very rare case of
data which have an extremely small range compared to their absolute
values, e.g., ‘x &lt;- 6e9 + 6:9’.
</P></LI>

<LI><P>
Formatting book-type ‘bibentry’ objects now converts LaTeX accents also
in the publisher and series fields.
</P></LI>

<LI><P>
‘model.frame(~1, list(), na.action=na.pass)’ and similar “border-line”
uses no longer produce invalid data frames, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18977">PR#18977</a>, reported
with patch by Mikael Jagan.
</P></LI>

<LI><P>
‘length(&lt;POSIXlt&gt;) &lt;- v’ is more careful about balancing, notably when
‘v’ is not integer, thanks to Suharto Anggono's remarks on the mailing
list R-devel.
</P></LI>

<LI><P>
‘approx(&lt;x_with_ties&gt;, &lt;y_with_NA&gt;, na.rm = FALSE)’ now should always
call the ‘ties()’ function, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17604">PR#17604</a> reported by Bill Dunlap.
</P></LI>

<LI><P>
‘besselJ(1, 1e-15)’ and similar now give correct results, thanks to Leo
Mada and other “R-help”ers.
</P></LI>

<LI><P>
‘vignette(&lt;pkg&gt;::&lt;topic&gt;)’ is now a documented usage variant and
confines vignette retrieval to the specified package.
</P></LI>

<LI><P>
‘pretty(ch)’ again correctly works with ‘ch’ a character vector of
numbers.
</P></LI>

<LI><P>
‘persp()’ labels the three axes correctly also when C level ‘atan2pi()’
is available, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19007">PR#19007</a> by Klaus Schliep.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-02-28</title>
<pubDate>Sat, 28 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/28#n2026-02-28</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/28#n2026-02-28</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
New argument ‘panel.first’ for ‘hist()’ (via ‘plot.histogram()’),
‘barplot()’, ‘bxp()’, and hence implicitly ‘boxplot()’.  All except the
former also gain a new ‘panel.last’.  Suggested by Marieke Stolte and
Julian Welz.
</P></LI>

</UL>
<H4>CHANGES IN R-devel UTILITIES </H4>
<UL>
<LI><P>
‘package.skeleton()’ now invisibly returns the path of the created
directory, along the lines of ‘prompt()’ et al..
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-02-27</title>
<pubDate>Fri, 27 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/27#n2026-02-27</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/27#n2026-02-27</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
‘plot.data.frame()’ now supports a ‘formula’ argument.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Error messages from failed Rd \Sexpr code now include the call from the original condition (if available).  Warning messages now include Rd source locations.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’, ‘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’, ‘SET_GROWABLE_BIT’, ‘TRUELENGTH’, ‘SET_TRUELENGTH’, ‘SETLENGTH’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New function ‘R_getAttributes’ returns the same result as the R function ‘attributes’. New functions ‘R_getAttribCount’, ‘R_getAttribNames’, ‘R_hasAttrib’, ‘R_nrow’, and ‘R_ncol’.  </P>
<P>  The function ‘Rf_isFrame’ has been removed; use ‘Rf_isDataFrame’ instead.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-02-26</title>
<pubDate>Thu, 26 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/26#n2026-02-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/26#n2026-02-26</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Function ‘free1way()’ implementing semiparametrically efficient inference procedures (likelihood- and permutation-based) in distribution-free stratified K-sample one-way layouts was added to the ‘stats’ package.  Approximate (via ‘power.free1way.test()’) and simulation-based (utilising ‘rfree1way()’ for random number generation) power-assessment and sample-size planning as well as model diagnostics (available from a ‘plot’ method and probability-probability plots in ‘ppplot()’) complement the functionality.  Provided by Torsten Hothorn.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-02-25</title>
<pubDate>Wed, 25 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/25#n2026-02-25</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/25#n2026-02-25</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
Function ‘free1way()’ implementing semiparametrically efficient
inference procedures (likelihood- and permutation-based) in
distribution-free stratified K-sample oneway layouts was added to the
‘stats’ package.  Approximate (via ‘power.free1way.test()’) and
simulation-based (utilising ‘rfree1way()’ for random number generation)
power-assessment and sample-size planning as well as model diagnostics
(available from a ‘plot’ method and probability-probability plots in
‘ppplot()’) complement the functionality.
</P></LI>

</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
Large (tall) subscripts in plotmath expressions are now positioned
correctly.  They were being positioned too high.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-02-24</title>
<pubDate>Tue, 24 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/24#n2026-02-24</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/24#n2026-02-24</guid>
<description><![CDATA[<H4>CHANGES IN R-devel SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The default C++ standard has been changed to C++20 where available (which it is on all known platforms from 2021 on): if not C++17 is used if available otherwise C++ is not supported (as before).  </P>
<P>  (GCC 16 has also switched to C++20 as its default.)  </P>
<P>  Packages can request C++17 if essential.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘approx(&lt;x_with_ties&gt;, &lt;y_with_NA&gt;, na.rm = FALSE)’ now should always
call the ‘ties()’ function, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17604">PR#17604</a> reported by Bill Dunlap.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘model.frame(~1, list(), na.action=na.pass)’ and similar “border-line”
uses no longer produce invalid data frames, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18977">PR#18977</a>, reported
with patch by Mikael Jagan.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘length(&lt;POSIXlt&gt;) &lt;- v’ is more careful about balancing, notably when
‘v’ is not integer, thanks to Suharto Anggono's remarks on the mailing
list R-devel.
</DEL>
</P></LI>

<LI><P>
‘diff(m, lag, dif)’ for matrix ‘m’ now still returns matrices, also
when ‘lag * dif &gt; nrow(m)’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>, thanks to Mikael Jagan and
Suharto Anggono).  ‘diff(&lt;ts-matrix&gt;)’ remains matrix, even when it has
length zero.
</P></LI>

<LI><P>
‘str(x)’ with a ‘list’-like ‘x’ of a class having an ‘str()’ S3 method
using ‘NextMethod()’, now no longer outputs ‘&quot;List of &lt;...&gt;&quot;’ in the
default method, thanks to Ian Farm's report and fix proposal in
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19001">PR#19001</a>.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 patched PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
A non-zero exit status from ‘cleanup’, ‘cleanup.win’ or ‘cleanup.ucrt’,
if requested via options ‘--clean’ or ‘--preclean’, is now reported
with a warning.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 patched BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘diff(m, lag, dif)’ for matrix ‘m’ now still returns matrices, also
when ‘lag * dif &gt; nrow(m)’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>, thanks to Mikael Jagan and
Suharto Anggono).  ‘diff(&lt;ts-matrix&gt;)’ remains matrix, even when it has
length zero.
</DEL>
</P></LI>

<LI><P>
‘model.frame(~1, list(), na.action=na.pass)’ and similar “border-line”
uses no longer produce invalid data frames, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18977">PR#18977</a>, reported
with patch by Mikael Jagan.
</P></LI>

<LI><P>
‘length(&lt;POSIXlt&gt;) &lt;- v’ is more careful about balancing, notably when
‘v’ is not integer, thanks to Suharto Anggono's remarks on the mailing
list R-devel.
</P></LI>

<LI><P>
‘approx(&lt;x_with_ties&gt;, &lt;y_with_NA&gt;, na.rm = FALSE)’ now should always
call the ‘ties()’ function, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17604">PR#17604</a> reported by Bill Dunlap.
</P></LI>

<LI><P>
‘persp()’ labels the three axes correctly also when C level ‘atan2pi()’
is available, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=19007">PR#19007</a> by Klaus Schliep.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-02-17</title>
<pubDate>Tue, 17 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/17#n2026-02-17</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/17#n2026-02-17</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Several influence measures for ‘"glm"’ objects have been updated to use Pearson residuals rather than deviance residuals (the latter are not unbiased) and to not use leave-one-out estimates of dispersion in models with fixed dispersion. Thanks to Ravi Varadhan for discussions and testing of these updates.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel CHECKING AN INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">There is a new directory ‘tests/C++Standards’ which contains small packages which can be test-installed to check support for various C++ standards.  This is principally for use on Windows as on a Unix-alike this partially duplicates tests done by ‘configure’ - although it can also be used to test the behaviour of ‘R CMD INSTALL’ on unsupported standards.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-02-15</title>
<pubDate>Sun, 15 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/15#n2026-02-15</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/15#n2026-02-15</guid>
<description><![CDATA[<H4>CHANGES IN R-devel CHECKING AN INSTALLATION </H4>
<UL>
<LI><P>
There is a new directiory ‘tests/C++Standards’ which contains small
packages which can be test-installed to check support for various C++
standards.  This is principally for use on Windows as on a Unix-alike
this partially duplicates tests done by ‘configure’ - although it can
also be used to test the behaaiour of ‘R CMD INSTALL’ on unsupported
standards.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-02-12</title>
<pubDate>Thu, 12 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/12#n2026-02-12</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/12#n2026-02-12</guid>
<description><![CDATA[<H4>CHANGES IN R 4.5.2 patched PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
(Preliminary) support for C++26 has been extended to Windows.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-02-10</title>
<pubDate>Tue, 10 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/10#n2026-02-10</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/10#n2026-02-10</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
Several influence measures for ‘&quot;glm&quot;’ objects have been updated to use
Pearson residuals rather than deviance residuals (the latter are not
unbiased) and to not use leave-one-out estimates of dispersion in
models with fixed dispersion.
</P></LI>

</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
‘rep.int()’ and ‘rep_len()’ again drop names also for factors, fixing a
regression in R 4.0.0.  (Thanks to a report by Rui Barradas and
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18999">PR#18999</a> by Suharto Anggono.)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-02-09</title>
<pubDate>Mon, 09 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/09#n2026-02-09</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/09#n2026-02-09</guid>
<description><![CDATA[<H4>CHANGES IN R-devel SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
The default C++ standard has been changed to C++20 where available
(which it is on all known platforms from 2021 on): if not C++17 is used
if available otherwise C++ is not supported (as before).
</P>
<P>
Packages can request C++17 if essential.
</P></LI>

</UL>
<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default C++ standard will be changed to C++20 ‘where available’
(which it is on all known platforms since 2021): if not C++17 is used
if available otherwise C++ is not supported (as before).
</P>
<P>
Several CRAN packages already require C++20 and have hundreds of others
depending on them.  (Packages can request C++17 if essential.)
</P>
<P>
For now this default can be selected by configuring R with
‘--with-CXX20’: the changeover is scheduled for 2026-02-08.  For ways
to test a package with C++20, see
&lt;https://www.stats.ox.ac.uk/pub/bdr/C++20/README.txt&gt;.
</DEL>
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-02-07</title>
<pubDate>Sat, 07 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/07#n2026-02-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/07#n2026-02-07</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">R now supports custom binary types which are of the form ‘"&lt;system&gt;.binary.&lt;build&gt;"’ where ‘&lt;system&gt;’ is lower-case name (letters only) of the system and ‘&lt;build&gt;’ is the name of the build (alphanumeric and dashes). The corresponding paths returned by ‘contrib.url’ (which govern repository layout) with the above ‘type=’ have the form ‘bin/&lt;system&gt;/&lt;build&gt;/contrib/&lt;x.y&gt;’ where ‘&lt;x.y&gt;’ is the R version without patch level. This is a generalisation of the binary types previously supported on macOS. In addition, binary packages can have the extensions ‘.tar.bz2’, ‘.tar.xz’, ‘.tar.zst’ and ‘.tar.zstd’ with the corresponding compression support.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Asymmetric ‘toeplitz(x, r)’ is type consistent now, even when ‘r’ of length 0 or 1 is not used directly.  Fixes PR#18996, thanks to Mikael Jagan's patch and test.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-02-05</title>
<pubDate>Thu, 05 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/05#n2026-02-05</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/05#n2026-02-05</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
Experimentally, several math library (‘math.h’) functions, such as
‘exp(.)’, ‘log1p()’, ‘sin()’, ‘atanh()’, when called from R, are now
ensured to give fully accurate results in a small neighbourhood of
special values, such as ‘exp(0) == 1’, ‘log1p(0) == 0’, etc.  This
makes R slightly less platform dependent for these functions, notably
on platforms with less accurate system math libraries, see also
&lt;https://blog.r-project.org/2026/01/30/debugging-sensitivity-to-c-math-library-on-linux/&gt;.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-02-03</title>
<pubDate>Tue, 03 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/03#n2026-02-03</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/03#n2026-02-03</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
R now supports custom binary types which are of the form
‘&quot;&lt;system&gt;.binary.&lt;build&gt;&quot;’ where ‘&lt;system&gt;’ is lower-case name
(letters only) of the system and ‘&lt;build&gt;’ is the name of the build
(alphanumeric and dashes). The corresponding paths returned by
‘contrib.url’ (which govern repository layout) with the above ‘type=’
have the form ‘bin/&lt;system&gt;/&lt;build&gt;/contrib/&lt;x.y&gt;’ where ‘&lt;x.y&gt;’ is the
R version without patch level. This is a generalisation of the binary
types previously supported on macOS. In additon, binary packages can
have the extensions ‘.tar.bz2’, ‘.tar.xz’, ‘.tar.zst’ and ‘.tar.zstd’
with the corresponding compression support.
</P></LI>

<LI><P>
The value of ‘.Platform$pkgType’ which defines the native binary type
for the current build of R can be overridden with ‘R_PLATFORM_PKGTYPE’
environment variable (previously this was only set by the macOS builds
of R). This should be typically only done by the author of a binary R
distribution to define the type of binaries supported by that build of
R.
</P></LI>

</UL>
<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
When installing binary packages the time stamp in the ‘&quot;Built&quot;’ field
is considered even if the package version is identical to allow binary
package repositories to update binaries without the need to increase
the package version.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-02-01</title>
<pubDate>Sun, 01 Feb 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/01#n2026-02-01</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/02/01#n2026-02-01</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The default ‘summary()’ is more informative for character vectors, optionally resorting to the factor method via the new argument ‘character.method = "factor"’, e.g., when summarizing a data frame (PR#16750).  </P>
<P>  It also provides more useful summaries for complex vectors, with ‘polar’ determining if polar or cartesian coordinates are more relevant; mostly based on a proposal by Mikael Jagan.  Experimentally, and to be changed before release, ‘summary(&lt;raw&gt;)’ also provides quantitative information.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel INSTALLATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
A new ‘LIBR_LDFLAGS’ defaulting to ‘LDFLAGS’ allows more flexibility,
e.g., for distributions such as Gentoo, Debian or Ubuntu, fixing
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18992">PR#18992</a>; additionally a ‘make’ failure to create ‘libR.pc’ should no
longer be ignored, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18993">PR#18993</a>; both thanks to Benjamin Drung.
</P></LI>

</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
‘format(r)’ now keeps ‘names(r)’ also for raw objects ‘r’.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-01-30</title>
<pubDate>Fri, 30 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/30#n2026-01-30</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/30#n2026-01-30</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The default ‘summary()’ is more informative for character vectors, optionally resorting to the factor method via the new argument ‘character.method = "factor"’, e.g., when summarizing a data frame (PR#16750).  </P>
<P>  It also provides more useful summaries for complex and raw vectors, for the former with ‘polar’ determining if polar or cartesian coordinates are more relevant; mostly based on a proposal by Mikael Jagan.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel UTILITIES </H4>
<UL>
<LI><P>
Package ‘README.md’ files are now installed and featured in HTML help.
</P></LI>

</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
Asymmetric toeplitz, ‘toeplitz(x, r)’, is type consistent now, even
when ‘r’ of length 0 or 1 is not used directly.  Fixes <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18996">PR#18996</a>, thanks
to Mikael Jagan's patch and test.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-01-29</title>
<pubDate>Thu, 29 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/29#n2026-01-29</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/29#n2026-01-29</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
‘weighted.residuals()’ now returns weighted working residuals for
‘&quot;glm&quot;’ objects. It used to return deviance residuals, but these do not
give the one-step approximated ‘dfbeta’ values, as pointed out by Ravi
Varadhan. ‘influence.glm()’ has been amended so that it now returns an
object with both a ‘&quot;wt.res&quot;’ and a ‘&quot;dev.res&quot;’ element.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-01-28</title>
<pubDate>Wed, 28 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/28#n2026-01-28</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/28#n2026-01-28</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
When the environment variable ‘R_WARN_BOUNDS_OPT’ is set to ‘&quot;yes&quot;’,
‘options(warn = val)’ will check if ‘val’ is inside ‘-1:2’; this may
happen unconditionally in the future.
</P></LI>

</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘pretty(ch)’ again correctly works with ‘ch’ a character vector of
numbers.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 patched BUG FIXES </H4>
<UL>
<LI><P>
‘pretty(ch)’ again correctly works with ‘ch’ a character vector of
numbers.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-01-26</title>
<pubDate>Mon, 26 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/26#n2026-01-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/26#n2026-01-26</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
Error messages from failed Rd \Sexpr code now include the call from the
original condition (if available).
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 patched BUG FIXES </H4>
<UL>
<LI><P>
‘vignette(&lt;pkg&gt;::&lt;topic&gt;)’ is now a documented usage variant and
confines vignette retrieval to the specified package.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-01-23</title>
<pubDate>Fri, 23 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/23#n2026-01-23</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/23#n2026-01-23</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
The default ‘summary()’ is more informative for character vectors,
optionally resorting to the factor method via the new argument
‘character.method = &quot;factor&quot;’, e.g., when summarizing a data frame
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16750">PR#16750</a>).
</P></LI>

</UL>
<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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, stub files ‘R_ext/Callbacks.h’ and
‘R_ext/PrtUtil.h’ have been added. These stub files contain ‘#warning’
directives to signal warnings that these files should not be used. The
stub ‘R_ext/Callbacks.h’ also includes ‘R_ext/ObjectTable.h’. Packages
including these headers will install successfully but with warnings for
using these files.
</DEL>
</P></LI>

<LI><P>
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’.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-01-22</title>
<pubDate>Thu, 22 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/22#n2026-01-22</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/22#n2026-01-22</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘chol(x, pivot=TRUE)’ now zeroes the trailing submatrix when the algorithm stops early. Following the help page instructions on how to reconstruct the matrix in positive semidefinite cases gave incorrect results if the rank was 2 or more less than the dimension (PR#15853).</INS>
</P></LI>
</UL>
<H4>CHANGES IN R 4.4.0 BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘pairwise.t.test()’ misbehaved when subgroups had 0 DF for variance, even with ‘pool.sd = TRUE’.  (PR#18594 by Jack Berry.)</INS>
</P></LI>
</UL>
<H4>CHANGES IN R 4.2.0 BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘identical(attrib.as.set=FALSE)’ now works correctly with data frames with default row names.  (Thanks to Charlie Gao's PR#18179.)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-01-19</title>
<pubDate>Mon, 19 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/19#n2026-01-19</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/19#n2026-01-19</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
The default ‘summary()’ and its factor method now label missing values
‘NAs’ rather than ‘NA's’, fixing a decades-old grammatical faux pas
inherited from S (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16348">PR#16348</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18948">PR#18948</a>).
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-01-16</title>
<pubDate>Fri, 16 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/16#n2026-01-16</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/16#n2026-01-16</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The default C++ standard will be changed to C++20 ‘where available’ (which it is on all known platforms since 2021): if not C++17 is used if available otherwise C++ is not supported (as before).  </P>
<P>  Several CRAN packages already require C++20 and have hundreds of others depending on them.  (Packages can request C++17 if essential.)  </P>
<P>  For now this default can be selected by configuring R with ‘--with-CXX20’: the changeover is scheduled for 2026-02-08.  For ways to test a package with C++20, see &lt;https://www.stats.ox.ac.uk/pub/bdr/C++20/README.txt&gt;.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-01-15</title>
<pubDate>Thu, 15 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/15#n2026-01-15</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/15#n2026-01-15</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
On Windows terminals ‘Ctrl-C’ now breaks out of waiting for keyboard
input, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18982">PR#18982</a>.
</P></LI>

<LI><P>
‘pretty(ch)’ again correctly works with ‘ch’ a character vector of
numbers.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘length(&lt;POSIXlt&gt;) &lt;- v’ is more careful about balancing, notably when ‘v’ is not integer, thanks to Suharto Anggono's remarks on the mailing list R-devel.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-01-11</title>
<pubDate>Sun, 11 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/11#n2026-01-11</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/11#n2026-01-11</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’, ‘SET_GROWABLE_BIT’, ‘TRUELENGTH’, ‘SET_TRUELENGTH’, ‘SETLENGTH’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-01-09</title>
<pubDate>Fri, 09 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/09#n2026-01-09</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/09#n2026-01-09</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
‘provideDimnames()’ gets new switch ‘use.names’, as proposed including
patch by Mikael Jagan, in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18975">PR#18975</a>.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 patched BUG FIXES </H4>
<UL>
<LI><P>
‘besselJ(1, 1e-15)’ and similar now give correct results, thanks to Leo
Mada and other “R-help”ers.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-01-08</title>
<pubDate>Thu, 08 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/08#n2026-01-08</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/08#n2026-01-08</guid>
<description><![CDATA[<H4>CHANGES IN R 4.5.2 patched UTILITIES </H4>
<UL>
<LI><P>
‘tools/fetch-recommended’ can be used instead of
‘tools/rsync-recommended’ to fetch recommended packages into R sources
using ‘curl’ on systems without ‘rsync’ or behind firewalls.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools/fetch-recommended’ can be used instead of
‘tools/rsync-recommended’ to fetch recommended packages into R sources
using ‘curl’ on systems without ‘rsync’ or behind firewalls.
</DEL>
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2026-01-07</title>
<pubDate>Wed, 07 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/07#n2026-01-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/07#n2026-01-07</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘length(&lt;POSIXlt&gt;) &lt;- v’ is more careful about balancing, notably when ‘v’ is not integer, thanks to Suharto Anggono's remarks on the mailing list R-devel.  </P>
<P>  On Windows terminals ‘Ctrl-C’ now breaks out of waiting for keyboard input, fixing PR#18982.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R 4.5.2 patched PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">C++ standard specifications (‘CXX_STD =’ in ‘src/Makevars*’ and in the ‘SystemRequirements’ field of the ‘DESCRIPTION’ file) are now checked more thoroughly.  Invalid values are still ignored but now give a warning, as do contradictory specifications.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2026-01-06</title>
<pubDate>Tue, 06 Jan 2026 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/06#n2026-01-06</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2026/01/06#n2026-01-06</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
C++ standard specifications (‘CXX_STD =’ in ‘src/Makevars*’ and in the
‘SystemRequirements’ field of the ‘DESCRIPTION’ file) are now checked
more thoroughly.  Invalid values are still ignored but now give a
warning.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 patched PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
C++ standard specifications (‘CXX_STD =’ in ‘src/Makevars*’ and in the
‘SystemRequirements’ field of the ‘DESCRIPTION’ file) are now checked
more thoroughly.  Invalid values are still ignored but now give a
warning, as do contradicting specifications.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 UTILITIES </H4>
<UL>
<LI><P>
‘tools/fetch-recommended’ can be used instead of
‘tools/rsync-recommended’ to fetch recommended packages into R sources
using ‘curl’ on systems without ‘rsync’ or behind firewalls.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-12-31</title>
<pubDate>Wed, 31 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/31#n2025-12-31</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/31#n2025-12-31</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Specifying C++11 or C++14 in ‘src/Makevars’ has long given a note: in 99% of CRAN packages the specification was unnecessary as the default C++17 sufficed (in a few cases with a deprecation warning from some compilers).  </P>
<P>  Support for these standards has been removed: the default C++ standard will be used.  </P>
<P>  ‘R CMD config’ variables ‘CXX11’, ‘CXX14’ and their associated ‘CXXxxFLAGS’, ‘CXXxxPICFLAGS’ ‘CXXxxSTD’, ‘SHLIBCXXxxLD’ and ‘SHLIBCXXxxLDFLAGS’ variables are no longer supported and reported as ‘defunct’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-30</title>
<pubDate>Tue, 30 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/30#n2025-12-30</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/30#n2025-12-30</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
New functions ‘R_altrep_class_name’ and ‘R_altrep_class_package’ for
retrieving the class name symbol and package name symbol of an ALTREP
object. These should be used instead of ‘ALTREP_CLASS’.
</P></LI>

<LI><P>
New function ‘R_getAttributes’ returns the same result as the R
function ‘attributes’. New functions ‘R_getAttribCount’,
‘R_getAttribNames’, ‘R_hasAttrib’, ‘R_nrow’, and ‘R_ncol’.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New function ‘DATAPTR_RW()’ for use in implementing ALTREP ‘Dataptr’ methods. This function should not be used in any other contexts.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-29</title>
<pubDate>Mon, 29 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/29#n2025-12-29</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/29#n2025-12-29</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Specifying C++11 or C++14 in ‘src/Makevars’ has long given a note: in 99% of CRAN packages the specification was unnecessary as the default C++17 sufficed (in a few cases with a deprecation warning from some compilers).  </P>
<P>  Supoport for these standards has been removed: the default C++ standard will be used.  </P>
<P>  ‘R CMD config’ variables ‘CXX11’, ‘CXX14’ and their associated ‘CXXxxFLAGS’, ‘CXXxxPICFLAGS’ ‘CXXxxSTD’, ‘SHLIBCXXxxLD’ and ‘SHLIBCXXxxLDFLAGS’ variables are no longer supported and reported as ‘defunct’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The default C++ standard will be changed to C++20 ‘where available’ (which it is on all known platforms since 2021): if not C++17 is used if available otherwise C++ is not supported (as before).  </P>
<P>  Several CRAN packages already require C++20 and have hundreds of others depending on them.  (Packages can request C++17 if essential.)  </P>
<P>  For now this can be selected by configuring R with ‘--with-CXX20’: it is planned that this will become the default before release.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-28</title>
<pubDate>Sun, 28 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/28#n2025-12-28</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/28#n2025-12-28</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
‘match.arg()’ gets a new option ‘several.ok = &quot;all&quot;’, fulfilling the
wish of Jim Hester in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16659">PR#16659</a>.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-12-27</title>
<pubDate>Sat, 27 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/27#n2025-12-27</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/27#n2025-12-27</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
‘ftable()’s default method and the ‘as.table()’ method for ‘&quot;ftable&quot;’s
get a ‘perm’ argument with back compatible default.  The ‘as.table()’
method also gets a ‘named.dim = FALSE’ switch, no longer creating a
named ‘dim(&lt;result&gt;)’ by default.
</P></LI>

<LI><P>
‘approx(&lt;x_with_ties&gt;, &lt;y_with_NA&gt;, na.rm = FALSE)’ now should always
call the ‘ties()’ function, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17604">PR#17604</a> reported by Bill Dunlap.
</P></LI>

</UL>
<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Specifying C++11 or C++14 in ‘src/Makevars’ has long given a note: in 99% of CRAN packages the specification was unnecessary as the default C++17 suffices (in a few cases with a deprecation warning from some compilers).  </P>
<P>  Supoport for these standards has been removed: the default C++ standard (currently C++17) will be used.  </P>
<P>  ‘R CMD config’ variables ‘CXX11’, ‘CXX14’ and their associated ‘CXXxxFLAGS’, ‘CXXxxPICFLAGS’ ‘CXXxxSTD’, ‘SHLIBCXXxxLD’ and ‘SHLIBCXXxxLDFLAGS’ variables are no longer supported and reported as ‘defunct’.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘diff(m, lag, dif)’ for matrix ‘m’ now still returns matrices, also
when ‘lag * dif &gt; nrow(m)’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>, thanks to Mikael Jagan and
Suharto Anggono).  ‘diff(&lt;ts-matrix&gt;)’ remains matrix, even when it has
length zero.
</DEL>
</P></LI>

<LI><P>
‘length(&lt;POSIXlt&gt;) &lt;- v’ is more careful about balancing, notably when
‘v’ is not integer, thanks to Suharto Anggono's remarks on the mailing
list R-devel.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 patched BUG FIXES </H4>
<UL>
<LI><P>
‘diff(m, lag, dif)’ for matrix ‘m’ now still returns matrices, also
when ‘lag * dif &gt; nrow(m)’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>, thanks to Mikael Jagan and
Suharto Anggono).  ‘diff(&lt;ts-matrix&gt;)’ remains matrix, even when it has
length zero.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-12-25</title>
<pubDate>Thu, 25 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/25#n2025-12-25</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/25#n2025-12-25</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Specifying C++11 or C++14 in ‘src/Makevars’ has long given a note: in 99% of CRAN packages the specification was unnecessary as the default C++17 suffices (in a few cases with a deprecation warning from some compilers).  </P>
<P>  The intention is that support for those standards will be withdrawn before release.  </P>
<P>  ‘R CMD config’ variables ‘CXX11’, ‘CXX14’ and their associated ‘CXXxxFLAGS’, ‘CXXxxPICFLAGS’ ‘CXXxxSTD’, ‘SHLIBCXXxxLD’ and ‘SHLIBCXXxxLDFLAGS’ variables are no longer supported and reported as ‘defunct’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The default C++ standard will be changed to C++20 ‘where available’ (which it is on all known platforms since 2021): if not C++17 is used if available otherwise C++ is not supported (as before).  </P>
<P>  Several CRAN packages already require C++20 and have hundreds of others depending on them.  (Packages can request C++17 if essential.)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">C++ standard specifications (‘CXX_STD =’ in ‘src/Makevars*’ and in the ‘SystemRequirements’ field of the ‘DESCRIPTION’ file) are now checked more thoroughly.  Invalid values are still ignored but now give a warning.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-22</title>
<pubDate>Mon, 22 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/22#n2025-12-22</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/22#n2025-12-22</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">A C++ standard specification (‘CXX_STD =’) in ‘src/Makevars*’ is now checked more thoroughly.  Invalid values are still ignored but now give a warning.  </P>
<P>  C++ standard specifications in the ‘SystemRequirements’ field of the ‘DESCRIIPTON’ file are checked more thoroughly.  Unknown values are still ignored but now give a warning.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-21</title>
<pubDate>Sun, 21 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/21#n2025-12-21</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/21#n2025-12-21</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
The S4 method ‘norm(&lt;ANY&gt;, type = &lt;missing&gt;)’ for the implicit generic
‘norm()’ now uses ‘type = &quot;O&quot;’ as has been the intention for more than
ten years, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18979">PR#18979</a> thanks to Mikael Jagan.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Formatting book-type ‘bibentry’ objects now converts LaTeX accents also in the publisher and series fields.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-20</title>
<pubDate>Sat, 20 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/20#n2025-12-20</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/20#n2025-12-20</guid>
<description><![CDATA[<H4>CHANGES IN R 4.5.2 patched BUG FIXES </H4>
<UL>
<LI><P>
Formatting book-type ‘bibentry’ objects now converts LaTeX syntax also
in the publisher and series fields.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-12-19</title>
<pubDate>Fri, 19 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/19#n2025-12-19</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/19#n2025-12-19</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
‘cacheMetaData()’ does not to mangle primitive generics.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Tweaks to binning for ‘bw.SJ()’ and ‘bw.ucv()’ in the very rare case of data which have an extremely small range compared to their absolute values, e.g., ‘x &lt;- 6e9 + 6:9’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-18</title>
<pubDate>Thu, 18 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/18#n2025-12-18</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/18#n2025-12-18</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
A C++ standard specification (‘CXX_STD =’) in ‘src/Makevars*’ is now
checked more thoroughly.  Invalid values are still ignored but now give
a warning.
</P></LI>

</UL>
<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
New function ‘Rf_isScalarString’.
</P></LI>

<LI><P>
New function ‘R_mapAttrib’ for iterating over the attributes of an
object.
</P></LI>

<LI><P>
Packages using the non-API functions ‘ATTRIB’ and ‘SET_ATTRIB’ will now
receive check ‘NOTE’s.  See ‘Writing R Extensions’ for alternatives to
use.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-12-17</title>
<pubDate>Wed, 17 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/17#n2025-12-17</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/17#n2025-12-17</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Specifying C++11 or C++14 has long given a note: in 99% of CRAN packages the specification is unnecessary as the default C++17 suffices (in a few cases with a deprecation warning from some compilers).  </P>
<P>  The intention is that support for those standards will be withdrawn before release.  </P>
<P>  ‘R CMD config’ will no longer support ‘CXX11’, ‘CXX14’ nor their associated ‘FLAGS’, ‘STD’ and ‘LDFLAGS’ values.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
Some legal but strange nested complex assignments are handled a bit
more robustly in interpreted code.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘chol(x, pivot=TRUE)’ now zeroes the trailing submatrix when the algorithm stops early. Following the help page instructions on how to reconstruct the matrix in positive semidefinite cases gave incorrect results if the rank was 2 or more less than the dimension.  (PR#15853).</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-14</title>
<pubDate>Sun, 14 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/14#n2025-12-14</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/14#n2025-12-14</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘chol(x, pivot=TRUE)’ now zeroes the trailing submatrix when the algorithm stops early. Following the help page instructions on how to reconstruct the matrix in positive semidefinite cases gave incorrect results if the rank was 2 or more less than the dimension.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The default method of ‘sequence()’ now allows to fully recycle all three of ‘(nvec, from, by)’ as always documented; with thanks to Mikael Jagan's report and patch in PR#18304.  Its behaviour remains back compatible for now, but can be switched to future behaviour via environment variable ‘R_sequence_recycle’, or explicit ‘recycle = TRUE’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The ‘implicitGeneric’ definition for ‘toeplitz()’ produced a default method that failed when ‘toeplitz(x, r)’ was called with more than the first argument.  Simple fix from Mikael Jagan.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-13</title>
<pubDate>Sat, 13 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/13#n2025-12-13</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/13#n2025-12-13</guid>
<description><![CDATA[<H4>CHANGES IN R 4.5.2 patched BUG FIXES </H4>
<UL>
<LI><P>
Tweaks to binning for ‘bw.SJ()’, ‘bw.bcv()’ and ‘bw.bcv()’ in the very
rare case of data which have an extremely small range of very large
absolute values.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-12-12</title>
<pubDate>Fri, 12 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/12#n2025-12-12</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/12#n2025-12-12</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
The implicitGeneric definition for ‘toeplitz()’ produced a default
method that failed when ‘toeplitz(x, r)’ was called with more than the
first argument.  Simple fix from Mikael Jagan.
</P></LI>

<LI><P>
The error message for ‘array(dim = c())’ now uses ‘&quot;'dim'&quot;’, thanks to
Hugo Gruson.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-12-11</title>
<pubDate>Thu, 11 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/11#n2025-12-11</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/11#n2025-12-11</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
Subassignment, ‘x[ind] &lt;- val’, to 1-dimensional ‘array’s no longer
“drops” them to simple vectors when ‘ind’ is a name, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18973">PR#18973</a>,
reported by Thomas Soeiro.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-12-10</title>
<pubDate>Wed, 10 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/10#n2025-12-10</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/10#n2025-12-10</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
‘chol(x, pivot=TRUE)’ now zeroes the trailing submatrix when the
algorithm stops early. Following the help page instructions on how to
reconstruct the matrix in postive semidefinite cases gave incorrect
results if the rank was 2 or more less than the dimension.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-12-09</title>
<pubDate>Tue, 09 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/09#n2025-12-09</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/09#n2025-12-09</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
The default method of ‘sequence()’ gets a new option ‘recycle’ to swap
between current (not fully recycling) and future behaviour where all
three of ‘(nvec, from, by)’ are jointly recycled.
</P></LI>

</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
Values returned by active binding functions are now marked as not
mutable to prevent unintended mutation in complex assignment
operations.
</P></LI>

<LI><P>
The default method of ‘sequence()’ now allows to fully recycle all
three of ‘(nvec, from, by)’ as always documented; with thanks to Mikael
Jagan's report and patch in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18304">PR#18304</a>.  Its behaviour remains back
compatible for now, but can be switched to future behaviour via
enviroment variable ‘R_sequence_recycle’, or explicit ‘recycle = TRUE’.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-12-07</title>
<pubDate>Sun, 07 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/07#n2025-12-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/07#n2025-12-07</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The default C++ standard will be changed to C++20 ‘where available’ (which it is on all known platforms from 2021): if not C++17 is used if available otherwise C++ is not supported (as before).  </P>
<P>  Several CRAN packages already require C++20 and have hundreds of others depending on them.  (Packages can request C++17 if essential.)</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘all.equal(obj, simple, check.class=FALSE)’ now is true, also when
‘simple’ is a bare atomic vector and ‘obj’ has a simple class, fixing
the first part of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18971">PR#18971</a> thanks to Jan Gorecki.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘str(x, give.attr=FALSE)’ no longer shows attributes when ‘x’ is a zero
length ‘&quot;Date&quot;’ or ‘&quot;POSIXt&quot;’ object.
</DEL>
</P></LI>

<LI><P>
‘model.frame(~1, list(), na.action=na.pass)’ and similar “border-line”
uses no longer produce invalid data frames, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18977">PR#18977</a>, reported
with patch by Mikael Jagan.
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 patched BUG FIXES </H4>
<UL>
<LI><P>
‘str(x, give.attr=FALSE)’ no longer shows attributes when ‘x’ is a zero
length ‘&quot;Date&quot;’ or ‘&quot;POSIXt&quot;’ object.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘all.equal(obj, simple, check.class=FALSE)’ now is true, also when ‘simple’ is a bare atomic vector and ‘obj’ has a simple class, fixing the first part of PR#18971 thanks to Jan Gorecki.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-06</title>
<pubDate>Sat, 06 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/06#n2025-12-06</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/06#n2025-12-06</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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, stub files ‘R_ext/Callbacks.h’ and ‘R_ext/PrtUtil.h’ have been added. These stub files contain ‘#warning’ directives to signal warnings that these files should not be used. The stub ‘R_ext/Callbacks.h’ also includes ‘R_ext/ObjectTable.h’. Packages including these headers will install successfully but with warnings for using these files.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-05</title>
<pubDate>Fri, 05 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/05#n2025-12-05</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/05#n2025-12-05</guid>
<description><![CDATA[<H4>CHANGES IN R-devel NEW FEATURES </H4>
<UL>
<LI><P>
‘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.
</P></LI>

</UL>
<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
New function ‘R_class()’ as the ‘C’ equivalent of ‘class()’ in R.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New function ‘DATAPTR_RW()’ for use in implementing ‘ALTREP’ ‘Dataptr’ methods. This function should not be used in any other contexts.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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’.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘diff(m, lag, dif)’ for matrix ‘m’ now still returns matrices, also when ‘lag * dif &gt; nrow(m)’ (PR#18972, thanks to Mikael Jagan and Suharto Anggono).  ‘diff(&lt;ts-matrix&gt;)’ remains matrix, even when it has length zero.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-12-04</title>
<pubDate>Thu, 04 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/04#n2025-12-04</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/04#n2025-12-04</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
The non-API header files ‘R_ext/Callbacks.h’ and ‘R_ext/PrtUtil.h’ are
no longer copied to the installed includes directory.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-12-01</title>
<pubDate>Mon, 01 Dec 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/01#n2025-12-01</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/12/01#n2025-12-01</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
The default C++ standard will be changed to C++20 ‘where available’
(which it is on all known platforms from 2021): if not C++17 is used if
available otherwise C++ is not supported (as before).
</P>
<P>
Several CRAN packages already require C++20 and have hundreds of others
depending on them.  (Packages can request C++17 if esssential.)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-11-30</title>
<pubDate>Sun, 30 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/30#n2025-11-30</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/30#n2025-11-30</guid>
<description><![CDATA[<H4>CHANGES IN R 4.5.2 patched BUG FIXES </H4>
<UL>
<LI><P>
.
</P></LI>

</UL>
<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
‘str(x, give.attr=FALSE)’ no longer shows attributes when ‘x’ is a zero
length ‘&quot;Date&quot;’ or ‘&quot;POSIXt&quot;’ object.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-11-28</title>
<pubDate>Fri, 28 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/28#n2025-11-28</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/28#n2025-11-28</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Specifying C++11 or C++14 has long given a note: in 99% of CRAN packages the specification is unnecessary as the default C++17 suffices (in a few cases with a deprecation warning from some compilers).  The intention is that support for those standards will be withdrawn before release.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
‘diff(m, lag, dif)’ for matrix ‘m’ now still returns matrices, also
when ‘lag * dif &gt; nrow(m)’ (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18972">PR#18972</a>, thanks to Mikael Jagan).
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-11-27</title>
<pubDate>Thu, 27 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/27#n2025-11-27</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/27#n2025-11-27</guid>
<description><![CDATA[<H4>CHANGES IN R-devel PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Specifying C++11 or C++14 has long given a note: in 98% of CRAN packages the specification is unnecessary as the default C++17 suffices.  The intention is that support for those standards will be withdrawn before release.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-11-26</title>
<pubDate>Wed, 26 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/26#n2025-11-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/26#n2025-11-26</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
‘all.equal(obj, simple, check.class=FALSE)’ now is true, also when
‘simple’ is a bare atomic vector and ‘obj’ has a simple class, fixing
the first part of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18971">PR#18971</a> thanks to Jan Gorecki.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-11-23</title>
<pubDate>Sun, 23 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/23#n2025-11-23</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/23#n2025-11-23</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-11-20</title>
<pubDate>Thu, 20 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/20#n2025-11-20</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/20#n2025-11-20</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-11-19</title>
<pubDate>Wed, 19 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/19#n2025-11-19</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/19#n2025-11-19</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-11-18</title>
<pubDate>Tue, 18 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/18#n2025-11-18</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/18#n2025-11-18</guid>
<description><![CDATA[<H4>CHANGES IN R 4.5.0 NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New connection type ‘zstdfile’ for files compressed by ‘zstd’ if R was built with such support.  ‘file()’ and ‘gzfile()’ can automagically read such files.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘memCompress()’ and ‘memDecompress()’ have options to use ‘zstd’ compression if R was built with support for it.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-11-16</title>
<pubDate>Sun, 16 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/16#n2025-11-16</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/16#n2025-11-16</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
New function ‘DATAPTR_RW’ for use in implementing ‘ALTREP’ ‘Dataptr’
methods. This function should not be used in any other contexts.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-11-15</title>
<pubDate>Sat, 15 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/15#n2025-11-15</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/15#n2025-11-15</guid>
<description><![CDATA[<H4>CHANGES IN R 4.5.0 NEW FEATURES </H4>
<UL>
<LI><P>
New connection type ‘zstdfile’ for files compressed by ‘zstd’ if R was
built with such support.  ‘file()’ and ‘gafile()’ can automagically
read such files.
</P></LI>

<LI><P>
‘memCompress()’ and ‘memDecompress()’ have optiosn to use ‘zstd’
compression if R was built with support for it.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-11-12</title>
<pubDate>Wed, 12 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/12#n2025-11-12</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/12#n2025-11-12</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
The deprecated macros ‘CHARACTER_DATA’ and ‘CHARACTER_POINTER’ now
return ‘const’ pointers since using writable pointers in packages is
not safe.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-11-11</title>
<pubDate>Tue, 11 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/11#n2025-11-11</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/11#n2025-11-11</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-11-07</title>
<pubDate>Fri, 07 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/07#n2025-11-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/07#n2025-11-07</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
The help page ‘example(matplot)’ now correctly labels Sepal vs Petal
dimensions in its first iris data plot, thanks to Jeff Dick's post on
R-devel.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-11-06</title>
<pubDate>Thu, 06 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/06#n2025-11-06</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/06#n2025-11-06</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2025-11-05</title>
<pubDate>Wed, 05 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/05#n2025-11-05</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/05#n2025-11-05</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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’.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
‘terms(&lt;formula&gt;, simplify=TRUE)’ now works correctly also in the cases
where the formula has more than one term with NAs such as ‘f(u, b=NA)’
or ‘g(NA)’, finally fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15275">PR#15275</a> thanks to Mikael Jagan's patch.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-11-04</title>
<pubDate>Tue, 04 Nov 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/04#n2025-11-04</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/11/04#n2025-11-04</guid>
<description><![CDATA[<H4>CHANGES IN R-devel C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
‘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’.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-10-26</title>
<pubDate>Sun, 26 Oct 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/10/26#n2025-10-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/10/26#n2025-10-26</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
‘poly(fct, n)’ signals an error again, for a non-‘ordered’ factor
‘fct’, thanks to Roland Fuss' notice on R-devel.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2025-10-23</title>
<pubDate>Thu, 23 Oct 2025 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/10/23#n2025-10-23</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2025/10/23#n2025-10-23</guid>
<description><![CDATA[<H4>CHANGES IN R-devel BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
When ‘&quot;POSIXlt&quot;’ date-time objects are ‘NA’-padded from subsetting or
increasing ‘length’ in the ‘`[`’ or ‘`length&lt;-`’ methods, the
‘&quot;balanced&quot;’ attribute is set to ‘NA’, now; noted in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18681">PR#18681</a>, thanks
to Mikael Jagan.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.5.2 BUG FIXES </H4>
<UL>
<LI><P>
When ‘&quot;POSIXlt&quot;’ date-time objects are ‘NA’-padded from subsetting or
increasing ‘length’ in the ‘`[`’ or ‘`length&lt;-`’ methods, the
‘&quot;balanced&quot;’ attribute is set to ‘NA’, now; noted in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18681">PR#18681</a>, thanks
to Mikael Jagan.
</P></LI>

</UL>]]></description>  
</item>
     </channel>
</rss>