<?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-4-4-branch/NEWS</title>
    <link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS</link>
    <atom:link href="https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/index.rss" rel="self" type="application/rss+xml" />
    <description>Daily updates to R-4-4-branch/NEWS</description>
    <language>en</language>

<item>
<title>2024-08-27</title>
<pubDate>Tue, 27 Aug 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/08/27#n2024-08-27</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/08/27#n2024-08-27</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.1 patched BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Mathlib function ‘lgammacor(x)’ no longer warns about underflow to zero
for large ‘x’.
</DEL>
</P></LI>

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

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

</UL>
<H4>CHANGES IN R 4.4.1 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The non-API entry points ‘Rf_setSVector’, ‘Rf_StringFalse’,
‘Rf_StringTrue’ and ‘Rf_isBlankString’ have been added to those
reported by ‘R CMD check’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The new function ‘Rf_allocLang’ is now available. This provides an
alternative to the idiom of calling ‘Rf_allocList’ followed by
‘SET_TYPEOF’.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.1 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.1 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.data.frame(m, make.names=NA)’ now works correctly for a matrix ‘m’
with ‘NA’'s in row names.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The internal help server on Windows can again serve requests sent in
quick succession, fixing a regression in R 4.4.0.
</DEL>
</P></LI>

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

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

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

</UL>
<H4>CHANGES IN R 4.4.0 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.4.0 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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’.)
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In ‘setRepositories()’ the repositories can be set using their names
via ‘name =’ instead of index ‘ind =’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘methods()’ and ‘.S3methods()’ gain a ‘all.names’ option for the (rare)
case where functions starting with a ‘.’ should be included.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
R on Windows (since Windows 10 2004) now uses the new Segment Heap
allocator. This may improve performance of some memory-intensive
applications.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New ‘.internalGenerics’ object complementing ‘.S3PrimitiveGenerics’,
for documentation and low-level book-keeping.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘grid()’ now invisibly returns the x- and y- coordinates at which the
grid-lines were drawn.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘norm(., type)’ now also works for complex matrices.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘diff()’ for objects of class ‘&quot;Date&quot;’, ‘&quot;POSIXct&quot;’, and ‘&quot;POSIXlt&quot;’
accepts a ‘units’ argument passed via ‘...’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Dynamic help now does a much better job of rendering package
‘DESCRIPTION’ metadata.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘filled.contour()’ gains a ‘key.border’ argument.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::update_pkg_po()’ gets arguments ‘pot_make’ and ‘mo_make’ for
_not_ re-making the corresponding files, and additionally a ‘verbose’
argument.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Plain-text help shows \var markup by angle brackets.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘sort()’ is now an implicit S4 generic in ‘methods’.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New experimental functions ‘Tailcall()’ and ‘Exec()’ to support writing
stack-space-efficient recursive functions.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The matrix multiplication functions ‘crossprod()’ and ‘tcrossprod()’
are now also primitive and S3 generic, as ‘%*%’ had become in R 4.3.0.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘source()’ and ‘example()’ have a new optional argument ‘catch.aborts’
which allows continued evaluation of the R code after an error.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The non-Quartz ‘tiff()’ devices allow additional types of compression
if supported by the platform's ‘libtiff’ library.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The list of base and recommended package names is now provided by
‘tools::standard_package_names()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘cairo_pdf()’ and ‘cairo_ps()’ default to ‘onefile = TRUE’ to closer
match ‘pdf()’ and ‘postscript()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New option ‘catch.script.errors’ provides a documented way to catch
errors and then continue in non-interactive use.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.complex(&quot;1i&quot;)’ now returns ‘0 + 1i’ instead of ‘NA’ with a warning.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘NCOL(NULL)’ now returns 0 instead of 1, for consistency with
‘cbind()’.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The included BLAS sources have been updated to those shipped with
LAPACK version 3.12.0.  The changes are almost entirely cosmetic.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The included LAPACK sources have been updated to version 3.12.0 and
some further double-complex routines added.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default and ‘numeric’ methods of ‘all.equal()’ get a ‘check.class’
option.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The Rd filter for ‘aspell()’ gains an ‘ignore’ argument.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘pkg2HTML()’ in ‘tools’ to create single-page HTML
reference manuals for R packages.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The numeric version creators now stop on invalid non-character version
specifications.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 INSTALLATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
System valgrind headers are now required to use ‘configure’ option
‘--with-valgrind-instrumentation’ with value ‘1’ or ‘2’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘configure’ will warn if it encounters a 32-bit build, as that is
nowadays almost untested.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘configure’ option ‘--enable-lto=check’ has not worked reliably since
2019 and has been removed.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The minimum version requirement for an external LAPACK has been reduced
to 3.9.0.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.4.0 INSTALLATION on macOS </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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).
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 INSTALLATION on WINDOWS </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Rtools44 has experimental support for 64-bit ARM (‘aarch64’) CPUs _via_
the LLVM 17 toolchain using ‘lld’, ‘clang’/‘flang-new’ and ‘libc++’.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ notes when S4-style exports are used without declaring a
strong dependence on package ‘methods’.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ now visits ‘inst/NEWS.Rd’ and OS-specific ‘man’
subdirectories when checking Rd files.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD Rdiff’ gets option ‘--useEx’.
</DEL>
</P></LI>

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

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

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

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

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

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

</UL>
<H4>CHANGES IN R 4.4.0 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘pow1p(x,y)’ for accurate ‘(1+x)^y’.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.4.0 DEPRECATED AND DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘data()’ no longer handles zipped data from long-defunct (since R
2.13.0) ‘--use-zip-data’ installations.
</DEL>
</P></LI>

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
For ‘terms.formula()’, deprecate ‘abb’ and ‘neg.out’ arguments
_formally_ in addition to just documenting it.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘methods’ package is more robust to not being attached to the
search path.  More work needs to be done.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.complex(x)’ now returns ‘complex(real = x, imaginary = 0)’ for
_all_ numerical and logical ‘x’, notably also for ‘NA’ or
‘NA_integer_’.
</DEL>
</P></LI>

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::xgettext()’ no longer extracts the (non-translatable) class
names from ‘warningCondition’ and ‘errorCondition’ calls.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Rd \Sexpr macros with nested #ifdef conditionals were not processed.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Plain-text help no longer outputs spurious colons in the arguments list
(for multi-line \item labels in the Rd source).
</DEL>
</P></LI>

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘keep.source’ option for Rd \Sexpr blocks is no longer ignored.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The level reported in the ‘browser’ prompt was often too large. It now
shows the number of browser contexts on the stack.
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘formals(f) &lt;- formals(f)’ now also works for a function w/o arguments
and atomic _constant_ ‘body(f)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Correct ‘as.function(&lt;invalid list&gt;, .)’'s error message.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘warning()’ with ‘options(warn = 1)’ has improved output for multi-line
messages.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘axis.Date()’ and ‘axis.POSIXct()’ now respect the ‘par(&quot;lab&quot;)’ setting
for the number of ‘pretty()’ intervals.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Plain-text help (‘Rd2txt’) now correctly preserves blank lines
following single-line \dontrun code.
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::testInstalledPackage()’ is no longer silent about failures from
running examples or tests and its return code no longer ignores
failures from checking vignettes.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.3 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘iconv()’ now fixes up variant encoding names such as ‘&quot;utf8&quot;’
case-insensitively.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.3 DEPRECATED AND DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The legacy ‘encoding = &quot;MacRoman&quot;’ is deprecated in ‘pdf()’ and
‘postscript()’: support was incomplete in earlier versions of R.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.3 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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>.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘quartz(file = NA)’ opened a file called ‘NA’, including when used as a
Quartz-based bitmap device.  It now gives an error.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘seq.int()’ did not adequately check its ‘length.out’ argument.
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

</UL>
<H4>CHANGES IN R 4.3.2 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘qr.X()’ is now an implicit S4 generic in ‘methods’.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::showNonASCII()’ has been rewritten to work better on macOS 14
(which has a changed implementation of ‘iconv()’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tiff(type = &quot;quartz&quot;)’ (the default on macOS) now warns if
‘compression’ is specified: it continues to be ignored.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.2 INSTALLATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is support for using LLVM's ‘flang-new’ as the Fortran compiler
from LLVM 16.0.x (preferably 17.0.0 or later).
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.2 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.2 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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’.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘lapply(&lt;list&gt;, as.data.frame)’ no longer warns falsely for some base
vector components.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Build-stage Rd macros \packageAuthor and \packageMaintainer now process
‘Authors@R’, fixing ‘NA’ results when the package ‘DESCRIPTION’ omits
‘Author’ and ‘Maintainer’ fields.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Formatting and printing complex numbers could give things like
‘0.1683-0i’ because of rounding error: ‘-0i’ is now replaced by ‘+0i’.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tiff(type = &quot;Xlib&quot;)’ was only outputting the last page of multi-page
plots.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::checkRd()’ no longer produces spurious notes about “unnecessary
braces” from multi-line Rd results of \Sexpr macros.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.1 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.3.1 INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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>
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.1 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘.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()’.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package code syntax on Windows is checked in UTF-8 when UTF-8 is the
native encoding.
</DEL>
</P></LI>

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

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

</UL>
<H4>CHANGES IN R 4.3.0 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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).
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘toeplitz()’ is now generalized for asymmetric cases, with a
‘toeplitz2()’ variant.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Regular expression functions now check more thoroughly whether their
inputs are valid strings (in their encoding, e.g. in UTF-8).
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘apropos()’ gains an argument ‘dot_internals’ which is used by the
completion (‘help(rcompgen)’) engine to also see ‘base’ internals such
as ‘.POSIXct()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Support in ‘tools::Rdiff()’ for comparing uncompressed PDF files is
further reduced - see its help page.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Performance of ‘package_dependencies()’ has been improved for cases
when the number of dependencies is large.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Support for ‘readLines(encoding = &quot;bytes&quot;)’ has been added to allow
processing special text files byte-by-byte, without creating invalid
strings.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘compactPDF()’ gets a ‘verbose’ option.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘as.data.frame.vector()’ utility now errors for wrong-length
‘row.names’.  It warned for almost six years, with “Will be an error!”.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘R_compiled_by()’ reports the C and Fortran compilers used
to build R, if known.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘predict(&lt;lm&gt;, newdata = *)’ no longer unnecessarily creates an
‘offset’ of all ‘0’s.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘solve()’ for complex inputs now uses argument ‘tol’ and by default
checks for ‘computational singularity’ (as it long has done for numeric
inputs).
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘qnorm(&lt;very large negative&gt;, log.p=TRUE)’ is now fully accurate
(instead of to “only” minimally five digits).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘demo(error.catching)’ now also shows off ‘withWarnings()’ and
‘tryCatchWEMs()’.
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Detection of BLAS/LAPACK in use (‘sessionInfo()’) with FlexiBLAS now
reports the current backend.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘&quot;data.frame&quot;’ method for ‘subset()’ now warns about extraneous
arguments, typically catching the use of ‘=’ instead of ‘==’ in the
‘subset’ expression.
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘array2DF()’ to convert arrays to data frames,
particularly useful for the list arrays created by ‘tapply()’.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 DATES and TIMES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.)
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘strftime()’ tries harder to determine the offset for the ‘&quot;%z&quot;’
format, and succeeds on the mainstream R platforms.
</DEL>
</P></LI>

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.POSIXct(&lt;numeric&gt;)’ and ‘as.POSIXlt(.)’ (without specifying
‘origin’) now work.  So does ‘as.Date(&lt;numeric&gt;)’.
</DEL>
</P></LI>

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

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

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

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

</UL>
<H4>CHANGES IN R 4.3.0 GRAPHICS </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The graphics engine version, ‘R_GE_version’, has been bumped to ‘16’
and so packages that provide graphics devices should be reinstalled.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Support for gradients, patterns, clipping paths, masks, groups,
compositing operators, and affine transformations has been added to the
‘quartz()’ device.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 INSTALLATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘configure’ now checks conversion of datetimes between ‘POSIXlt’ and
‘POSIXct’ around year 2020.  Failure (which has been seen on platforms
missing ‘tzdata’) is fatal.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘libcurl’ 8.x is now accepted by ‘configure’: despite a change in major
version number it changes neither API nor ABI.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 INSTALLATION on WINDOWS </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Old make targets ‘rsync-extsoft’ and 32-bit ones that are no longer
needed have been removed.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.3.0 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

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

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

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

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

</UL>
<H4>CHANGES IN R 4.3.0 FORTRAN FLAGS </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.)
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.3.0 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The deprecated S-compatibility macros ‘DOUBLE_*’ in ‘R_ext/Constants.h’
(included by ‘R.h’) have been removed.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New macro ‘CAD5R()’ is provided in ‘Rinternals.h’ and used in a few
places in the R sources.
</DEL>
</P></LI>

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

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

</UL>
<H4>CHANGES IN R 4.3.0 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ now also reports problems when reading package news in md
(file ‘NEWS.md’) and (optionally) plain text (file ‘NEWS’) formats.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ can optionally (but included in ‘--as-cran’) check
whether HTML math rendering _via_ KaTeX works for the package ‘.Rd’
files.
</DEL>
</P></LI>

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

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

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

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

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

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

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

</UL>
<H4>CHANGES IN R 4.3.0 DEPRECATED AND DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘default.stringsAsFactors()’ is defunct.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.3.0 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Hashed ‘environment’s with sizes less than 5 can now grow.  (Reported
to R-devel by Duncan Garmonsway.)
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD Stangle’: improved message about ‘Output’ files.
</DEL>
</P></LI>

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

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Plain-text help (‘tools::Rd2txt()’) now preserves an initial blank line
for text following description list items.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::Rd2HTML()’ and ‘tools::Rd2latex()’ no longer split \arguments
and \value lists at Rd comments.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Similarly, the ‘as.character.hexmode()’ and ‘*.octmode()’ methods also
behave as ‘good citizen’ methods and back compatibility option ‘keepStr
= TRUE’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘as.POSIXlt(&lt;POSIXlt&gt;)’ and ‘as.POSIXct(&lt;POSIXct&gt;)’ default methods
now do obey their ‘tz’ argument, also in this case.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.Date.POSIXlt(x)’ now also works when the list components are of
unequal length, aka “partially filled” or “ragged”.
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Sporadic crashes of ‘Rterm’ when using completion have been fixed.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Cursor placement in ‘Rgui’ now works even after a fixed-width font is
selected.
</DEL>
</P></LI>

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fix for possible segfault when using recently-added graphics features,
such as gradients, clipping paths, masks, and groups with
‘pdf(file=NULL)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘class(m) &lt;- class(m)’ no longer changes a matrix ‘m’ by adding a class
_attribute_.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘packageDate(pkg)’ now only warns once if there is no ‘pkg’.
</DEL>
</P></LI>

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
An error in ‘table()’ could permanently set ‘options(warn=2)’ promoting
all subsequent warnings to errors.
</DEL>
</P></LI>

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

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

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

</UL>
<H4>CHANGES IN R 4.2.3 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.2.3 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
(Windows) The default C++ standard had accidentally been left at C++11
when it was changed to C++14 on Unix.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.3 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.POSIXlt.Date()’ could underflow for dates in the far past (more
than half a million years BCE).
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ failed to apply enabled ‘_R_CHECK_SUGGESTS_ONLY_’ to
examples and vignettes (regression in R 4.2.0).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ did not re-build vignettes in separate processes by
default (regression in R 4.2.0).
</DEL>
</P></LI>

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘solve.default(a, b)’ works around issues with some versions of LAPACK
when ‘a’ contains ‘NA’ or ‘NaN’ values.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘packageDescription()’ again catches errors from encoding conversions.
This also fixes broken ‘packageVersion()’ in C locale on systems where
‘iconv’ does not support transliteration.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.2 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
(Windows) The default format of ‘readClipboard()’ and
‘writeClipboard()’ has been changed to ‘13’ (‘CF_UNICODETEXT’).
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.2 INSTALLATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The PDF manuals (if built) can be compacted by the new target ‘make
compact-pdf’ (at the top level or in directory ‘doc/manual’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is now ‘configure’ support for LLVM clang 15 on Linux, which
defaults to position-independent (PIE) executables whereas ‘gfortran’
does not.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Many small changes to ease compilation (and suppress warnings) with
LLVM ‘clang’ 15.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.2 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rscript -e’ would fail if ‘stdin’ were closed (Reported by Henrik
Bengtsson.)
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::Rd2latex()’ now escapes hashes and ampersands when writing
URLs, fixing LaTeX errors with such URLs in \tabular.
</DEL>
</P></LI>

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘source(&quot;&quot;)’ and ‘source(character())’ now give more helpful error
messages.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check --as-cran’ set ‘_R_CHECK_TIMINGS_’ too late to have the
intended effect.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Added methods for ‘is.finite()’, ‘is.infinite()’ and ‘is.nan()’ for
‘&quot;POSIXlt&quot;’ date-time objects.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.2 BUG FIXES on Windows </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Find and replace operations work again in the script editor in ‘Rgui’
on Windows.
</DEL>
</P></LI>

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

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

</UL>
<H4>CHANGES IN R 4.2.1 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.1 INSTALLATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The included LAPACK sources have been updated to 3.10.1.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.1 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The (full path to) the command ‘tidy’ to be used for HTML validation
can be set by environment variable ‘R_TIDYCMD’.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.2.1 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The undocumented legacy declarations of ‘Sint’, ‘Sfloat’, ‘SINT_MAX’
and ‘SINT_MIN’ in header ‘R.h’ are deprecated.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.1 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The HTML code generated by ‘tools::Rd2HTML()’ has been improved to pass
‘tidy’ 5.8.0.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.1 BUG FIXES on Windows </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Completion in ‘Rgui’ now works also with non-ASCII characters.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rgui’ no longer truncates usage information with ‘--help’.
</DEL>
</P></LI>

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

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

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

</UL>
<H4>CHANGES IN R 4.2.0 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Calling ‘&amp;&amp;’ or ‘||’ with either argument of length greater than one
now gives a warning (which it is intended will become an error).
</DEL>
</P></LI>

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

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

</UL>
<H4>CHANGES IN R 4.2.0 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Function ‘file_test()’ in package ‘utils’ gains tests for symlinks,
readability and writability.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘simplify2array()’ gains an ‘except’ argument for controlling the
exceptions used by ‘sapply()’.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘contrasts’ setter function ‘`contrasts&lt;-`’ gains an explicit
default ‘how.many = NULL’ rather than just using ‘missing(how.many)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘grid.pretty()’ gains a new optional argument ‘n = 5’.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘nclass.FD()’ gains a ‘digits’ option.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘write.ftable()’ gains ‘sep = &quot; &quot;’ argument as suggested by Thomas
Soeiro.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘hist.default()’ gains new ‘fuzz’ argument, and the histogram ‘plot’
method no longer uses fractional axis ticks when displaying counts
(‘&quot;Frequency&quot;’).
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘substr(ch, start,end) &lt;- new’ now e.g., preserves ‘names(ch)’; ditto
for ‘substring()’, thanks to a patch from Brodie Gaslam.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Subscript-out-of-bounds errors are now signaled as errors of class
‘subscriptOutOfBoundsError’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Stack-overflow errors are now signaled as errors inheriting from class
‘stackOverflowError’. See ‘?stackOverflowError’ for more details.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
An experimental implementation of hash tables is now available.  See
‘?hashtab’ for more details.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘identical()’ gains a ‘extptr.as.ref’ argument for requesting that
external pointer objects be compared as reference objects.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Deparsing no longer remaps attribute names ‘dim’, ‘dimnames’, ‘levels’,
‘names’ and ‘tsp’ to historical S-compatible names (which ‘structure()’
maps back).
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘ks.test()’ now provides exact p-values also with ties and MC p-values
in the two-sample (Smirnov) case.  By Torsten Hothorn.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New functions ‘psmirnov()’, ‘qsmirnov()’ and ‘rsmirnov()’ in package
‘stats’ implementing the asymptotic and exact distributions of the
two-sample Smirnov statistic.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘iconv()’ now allows ‘sub = &quot;c99&quot;’ to use C99-style escapes for UTF-8
inputs which cannot be converted to encoding ‘to’.
</DEL>
</P></LI>

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘list2DF()’ now checks that its arguments are of the same length,
rather than use recycling.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.2.0 GRAPHICS </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The graphics engine version, ‘R_GE_version’, has been bumped to ‘15’
and so packages that provide graphics devices should be reinstalled.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘dev.capabilities()’ reports on device support for the new features.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘par()’ now warns about unnamed non-character arguments to prevent
misuse such as ‘{usr &lt;- par(&quot;usr&quot;); par(usr)}’.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 WINDOWS </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Make files and installer scripts for Windows have been tailored to
‘Rtools42’, the newly recommended 64-bit ‘gcc’ 10.3 MinGW-W64 UCRT
toolchain.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rtools42’ by default uses the Windows security features ASLR and DEP;
hence CRAN builds of R and packages also do.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R.version’ gains a new field ‘crt’ (only on Windows) to denote the C
runtime.  The value is ‘&quot;ucrt&quot;’.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Installer builds of R automatically find the ‘Rtools42’ software
collection as well as the compiler toolchain.  No ‘PATH’ setting is
required from the user.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘libcurl’ is now required for building from source.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘memory.limit()’ and ‘memory.size()’ are now stubs on Windows (as on
Unix-alikes).
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.2.0 INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Facilities for accessing ‘ftp://’ sites are no longer tested (except
_pro tem_ for ‘curlGetHeaders()’) as modern browsers have removed
support.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
R can now be built with ‘DEFS = -DSTRICT_R_HEADERS’ .
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

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

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

</UL>
<H4>CHANGES IN R 4.2.0 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘_R_CHECK_DEPENDS_ONLY_’ can be applied selectively to examples, tests
and/or vignettes in ‘R CMD check’: see the “R Internals” manual.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check --as-cran’ makes use of the environment variable
‘AUTORECONF’.  See the “R Internals” manual §8 for further details.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD Rd2pdf’ gains a ‘--quiet’ option that is used by ‘R CMD build’
when building the PDF package manual.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD Rd2pdf’ now always runs LaTeX in batch mode, consistent with
Texinfo &gt;= 6.7. The ‘--batch’ option is ignored.
</DEL>
</P></LI>

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

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

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

</UL>
<H4>CHANGES IN R 4.2.0 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The non-API header ‘R_ext/R-ftp-http.h’ is no longer provided, as the
entry points it covered are now all defunct.
</DEL>
</P></LI>

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The legacy S-compatibility macros ‘DOUBLE_*’ in ‘R_ext/Constants.h’
(included by ‘R.h’) are deprecated.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The deprecated S-compatibility macros ‘SINGLE_*’ in ‘R_ext/Constants.h’
(included by ‘R.h’) have been removed.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘rmultinom’ has been documented in ‘Writing R Extensions’ §6 so is now
part of the R API.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Similarly, ‘Rtanpi’, called from R level ‘tanpi()’ is now part of the R
API.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The long-deprecated, undocumented and non-API entry point ‘call_R’ is
no longer declared in ‘R_ext/RS.h’ (included by ‘R.h’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The header ‘S.h’ which has been unsupported since Jan 2016 has been
removed.  Use ‘R.h’ instead.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 DEPRECATED AND DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.)
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘unix.time()’ is defunct now; it had been deprecated since R 3.4.0.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.2.0 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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>).
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘mean(x)’ with finite ‘x’ now is finite also without &quot;long.double&quot;
capability.
</DEL>
</P></LI>

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

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘txtProgressBar()’ now enforces a non-zero width for argument ‘char’,
without which no progress can be visible.
</DEL>
</P></LI>

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘win.metafile()’ now has ‘xpinch’ and ‘ypinch’ arguments so that the
user can override Windows' (potentially wrong) guess at device
dimensions.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘asOneSidedFormula()’ now associates the resulting formula with the
global environment rather than the evaluation environment created for
the call.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘&lt;bibentry&gt;$name’ now matches the field name case-insensitively,
consistent with ‘bibentry()’ creation and the replacement method.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘cbind()’ failed to detect some length mismatches with a mixture of
time-series and non-time-series inputs.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘smooth.spline()’ now stores its logical ‘cv’ argument more safely,
fixing a rare bug when printing, and also stores ‘n’.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘data.frame’ method of ‘rbind()’ now warns when binding
not-wholly-recycling vectors, by analogy to the default method (for
matrices).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘setAs()’ finds the correct class for name ‘to’ when multiple packages
define a class with that name. Thanks to Gabor Csardi for the report.
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

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

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

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

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

</UL>
<H4>CHANGES IN R 4.1.3 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default version of Bioconductor has been changed to 3.14. (This is
used by ‘setRepositories’ and the menus in GUIs.)
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.3 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.3 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.3 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘...names()’ now matches ‘names(list(...))’ closely, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18247">PR#18247</a>.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘all.equal(&lt;selfStart&gt;, *)’ no longer signals a deprecation warning.
</DEL>
</P></LI>

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘data()’ now checks that its (rarely used) ‘list’ argument is a
character vector - a couple of packages passed other types and gave
incorrect results.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘model.weights()’ and ‘model.offset()’ more carefully extract their
model components, thanks to Ben Bolker and Tim Taylor's R-devel post.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.1.2 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

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

</UL>
<H4>CHANGES IN R 4.1.2 DEPRECATED AND DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.2 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘.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>.
</DEL>
</P></LI>

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fixed ‘dnbinom(x, size=&lt;very_small&gt;, .., log=TRUE)’ regression,
reported by Martin Morgan.
</DEL>
</P></LI>

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘removeSource(fn)’ now retains (other) ‘attributes(fn)’.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.1 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘require(&lt;pkg&gt;, quietly = TRUE)’ is quieter and in particular does not
warn if the package is not found.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.1 DEPRECATED AND DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The non-default ‘method = &quot;internal&quot;’ is deprecated for ‘http://’ and
‘ftp://’ URIs for both ‘download.file’ and ‘url’.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.1.1 INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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>.)
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.1 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘make check-devel’ works again in an R build configured with
‘--without-recommended-packages’.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘.First’ and ‘.Last’ can again be set from the site profile.
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

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

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

</UL>
<H4>CHANGES IN R 4.1.0 FUTURE DIRECTIONS </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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>.)
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Function ‘package_dependencies()’ (in package ‘tools’) can now use
different dependency types for direct and recursive dependencies.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Using ‘c()’ to combine a factor with other factors now gives a factor,
an ordered factor when combining ordered factors with identical levels.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘apply()’ gains a ‘simplify’ argument to allow disabling of
simplification of results.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘format()’ method for class ‘&quot;ftable&quot;’ gets a new option ‘justify’.
(Suggested by Thomas Soeiro.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New ‘...names()’ utility.  (Proposed by Neal Fultz in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17705">PR#17705</a>.)
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘str(xS4)’ now also shows extraneous attributes of an S4 object ‘xS4’.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New functions ‘numToBits()’ and ‘numToInts()’ extend the ‘raw’
conversion utilities to (double precision) ‘numeric’.
</DEL>
</P></LI>

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Vectorize()’'s result function's environment no longer keeps unneeded
objects.
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘textConnection()’ gets an optional ‘name’ argument.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
R now provides a shorthand notation for creating functions, e.g. ‘\(x)
x + 1’ is parsed as ‘function(x) x + 1’.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Lithuanian translations are now available.  (Thanks to Rimantas
Žakauskas.)
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘all.equal()’ no longer gives an error on ‘DOTSXP’ objects.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is optional support for tracing the progress of ‘loadNamespace()’
- see its help.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘charClass()’ in package ‘utils’ to query the
wide-character classification functions in use (such as ‘iswprint’).
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘split()’ method for class ‘data.frame’ now allows the ‘f’ argument
to be specified as a formula.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘sprintf’ now warns on arguments unused by the format string.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The base environment and its namespace are now locked (so one can no
longer add bindings to these or remove from these).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rterm’ handling of multi-byte characters has been improved, allowing
use of such characters when supported by the current locale.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rterm’ now accepts ‘ALT+ +xxxxxxxx’ sequences to enter Unicode
characters as hex digits.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Environment variable ‘LC_ALL’ on Windows now takes precedence over
‘LC_CTYPE’ and variables for other supported categories, matching the
POSIX behaviour.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.1.0 GRAPHICS </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The graphics engine version, ‘R_GE_version’, has been bumped to ‘14’
and so packages that provide graphics devices should be reinstalled.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Graphics devices should now specify ‘deviceVersion’ to indicate what
version of the graphics engine they support.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘grSoftVersion()’ now reports the versions of FreeType and FontConfig
if they are used directly (not _via_ Pango), as is most commonly done
on macOS.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The _standalone_ ‘libRmath’ math library and R's C API now provide
‘log1pexp()’ again as documented, and gain ‘log1mexp()’.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 INSTALLATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
C99 function ‘iswblank’ is required - it was last seen missing ca 2003
so the workaround has been removed.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Cairo-based graphics devices on platforms without Pango but with
FreeType/FontConfig will make use of the latter for font selection.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 LINK-TIME OPTIMIZATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Configuring with flag ‘--enable-lto=R’ now also uses LTO when
installing the recommended packages.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.1.0 BUILDING R on Windows </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The R installer can now be optionally built to support a single
architecture (only 64-bit or only 32-bit).
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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>
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 PACKAGE INSTALLATION on Windows </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 PACKAGE INSTALLATION on macOS </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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’.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD build’ removes ‘LazyData’ and ‘LazyDataCompression’ fields from
the ‘DESCRIPTION’ file of packages without a ‘data’ directory.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.1.0 ENCODING-RELATED CHANGES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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}’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The parser now looks for non-ASCII spaces on Solaris (as previously on
most other OSes).
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Functions ‘nchar()’, ‘tolower()’, ‘toupper()’ and ‘chartr()’ and those
using regular expressions have more support for inputs with a marked
Latin-1 encoding.
</DEL>
</P></LI>

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

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

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

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

</UL>
<H4>CHANGES IN R 4.1.0 DEPRECATED AND DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Function ‘plclust()’ from the package ‘stats’ and
‘package.dependencies()’, ‘pkgDepends()’, ‘getDepList()’,
‘installFoundDepends()’, and ‘vignetteDepends()’ from package ‘tools’
are defunct.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Defunct functions ‘checkNEWS()’ and ‘readNEWS()’ from package ‘tools’
and ‘CRAN.packages()’ from ‘utils’ have been removed.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD config CXXCPP’ is defunct (it was deprecated in R 3.6.2).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘parallel::detectCores()’ drops support for IRIX (retired in 2013).
</DEL>
</P></LI>

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

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

</UL>
<H4>CHANGES IN R 4.1.0 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Many more C-level allocations (mainly by ‘malloc’ and ‘strdup’) are
checked for success with suitable alternative actions.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘boxplot()’ now also accepts ‘call’s for labels such as ‘ylab’, the
same as ‘plot()’.  (Reported by Marius Hofert.)
</DEL>
</P></LI>

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.POSIXct()’ now populates the ‘&quot;tzone&quot;’ attribute from its ‘tz’
argument when ‘x’ is a logical vector consisting entirely of ‘NA’
values.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘qnorm(&lt;very large negative&gt;, log.p=TRUE)’ is now correct to at least
five digits where it was catastrophically wrong, previously.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘pnorm(x, log.p = TRUE)’ underflows to ‘-Inf’ slightly later.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘show(&lt;hidden S4 generic&gt;)’ prints better and without quotes for
non-hidden S4 generics.
</DEL>
</P></LI>

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is a further workaround for FreeType giving incorrect italic font
faces with cairo-based graphics devices on macOS.
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fixed a crash in ‘fifo’ implementation on Windows (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18031">PR#18031</a>).
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.0.5 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.0.4 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
File ‘share/texmf/tex/latex/jss.cls’ has been updated to work with
LaTeX versions since Oct 2020.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The internal table for ‘iswprint’ (used on Windows, macOS and AIX) has
been updated to include many recent Unicode characters.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.4 INSTALLATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.4 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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>.
</DEL>
</P></LI>

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘p.adjust(numeric(), n=0)’ now works, fixing <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=18002">PR#18002</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘identical(x,y)’ no longer prints &quot;Unknown Type ..&quot; for ‘typeof(x) ==
&quot;...&quot;’ objects.
</DEL>
</P></LI>

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

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

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

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

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

</UL>
<H4>CHANGES IN R 4.0.3 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

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

</UL>
<H4>CHANGES IN R 4.0.3 LINK-TIME OPTIMIZATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is now support for parallelized Link-Time Optimization (LTO) with
GCC and for ‘thin’ LTO with ‘clang’ _via_ setting the ‘LTO’ macro.
</DEL>
</P></LI>

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

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

</UL>
<H4>CHANGES IN R 4.0.3 DEPRECATED AND DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.3 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fix to correctly show the group labels in ‘dotchart()’ (which where
lost in the ‘ylab’ improvement for R 4.0.0).
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Accessing a long vector represented by a compact integer sequence no
longer segfaults (reported and debugged by Hugh Parsonage).
</DEL>
</P></LI>

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

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

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

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

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

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

</UL>
<H4>CHANGES IN R 4.0.2 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ skips vignette re-building (with a warning) if the
‘VignetteBuilder’ package(s) are not available.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.2 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Using ‘tcltk’ widgets no longer crashes R on Windows.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘regexpr(*, perl=TRUE)’ no longer returns incorrect positions into text
containing characters outside of the Unicode Basic Multilingual Plane
on Windows.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.1 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘summary(&lt;warnings&gt;)’ method now maps the counts correctly to the
warning messages.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.1 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘aov(frml, ...)’ now also works where the ‘formula’ deparses to more
than 500 characters, thanks to a report and patch proposal by Jan
Hauffa.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fix a dozen places (code, examples) as ‘Sys.setlocale()’ returns the
new rather than the previous setting.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fix for adding two complex ‘grid’ units via ‘sum()’.  Thanks to Gu
Zuguang for the report and Thomas Lin Pedersen for the patch.
</DEL>
</P></LI>

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘parallel::detect.cores(all.tests = TRUE)’ tries a matching OS name
before the other tests (which were intended only for unknown OSes).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Parse data for raw strings is now recorded correctly. Reported by Gabor
Csardi.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Packages need to be (re-)installed under this version (4.0.0) of R.
</DEL>
</P></LI>

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

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

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

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

</UL>
<H4>CHANGES IN R 4.0.0 REFERENCE COUNTING </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 MIGRATION TO PCRE2 </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Option ‘PCRE_study’ is no longer used with PCRE2, and is reported as
‘FALSE’ when that is in use.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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).
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Long vectors are now supported as the ‘seq’ argument of a ‘for()’ loop.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘str(x)’ gets a new ‘deparse.lines’ option with a default to speed it
up when ‘x’ is a large ‘call’ object.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘data.matrix()’ now converts character columns to factors and from this
to integers.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘package.skeleton()’ now explicitly lists all exports in the
‘NAMESPACE’ file.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘.S3method()’ to register S3 methods in R scripts.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is a new help document accessed by ‘help(&quot;file path encoding&quot;)’
detailing how file paths with marked encodings are handled.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘list2DF()’ for creating data frames from lists of
variables.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is a new function ‘infoRDS()’ providing information about the
serialization format of a serialized object.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
S3 method lookup now by default skips the elements of the search path
between the global and base environments.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The formula interface to ‘t.test()’ and ‘wilcox.test()’ has been
extended to handle one-sample and paired tests.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘.class2()’ provides the full character vector of class
names used for S3 method dispatch.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Printing ‘methods(..)’ now uses a new ‘format()’ method.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Where they are available, ‘writeBin()’ allows long vectors.
</DEL>
</P></LI>

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘memDecompress()’ supports the RFC 1952 format (e.g. in-memory copies
of ‘gzip’-compressed files) as well as RFC 1950.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘memCompress()’ and ‘memDecompress()’ support long raw vectors for
types ‘&quot;gzip&quot;’ and ‘&quot;zx&quot;’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘sweep()’ and ‘slice.index()’ can now use names of dimnames for their
‘MARGIN’ argument (‘apply’ has had this for almost a decade).
</DEL>
</P></LI>

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘unlink()’ gains a new argument ‘expand’ to disable wildcard and tilde
expansion.  Elements of ‘x’ of value ‘&quot;~&quot;’ are now ignored.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default for ‘pdf()’ is now ‘useDingbats = FALSE’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default fill colour for ‘hist()’ and ‘boxplot()’ is now ‘col =
&quot;lightgray&quot;’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default order of the levels on the y-axis for ‘spineplot()’ and
‘cdplot()’ has been reversed.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘R_user_dir()’ in package ‘tools’ suggests paths
appropriate for storing R-related user-specific data, configuration and
cache files.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘capabilities()’ gains a new logical option ‘Xchk’ to avoid warnings
about X11-related capabilities.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
When internal dispatch for ‘rep.int()’ and ‘rep_len()’ fails, there is
an attempt to dispatch on the equivalent call to ‘rep()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Object ‘.Machine’ now contains new ‘longdouble.*’ entries (when R uses
long doubles internally).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘news()’ has been enhanced to cover the news on R 3.x and 2.x.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
When loading data sets via ‘read.table()’, ‘data()’ now uses
‘LC_COLLATE=C’ to ensure locale-independent results for possible
string-to-factor conversions.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘socketTimeout()’ changes the connection timeout of a
socket connection.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The time needed to start a homogeneous ‘PSOCK’ cluster on ‘localhost’
with many nodes has been significantly reduced (package ‘parallel’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New ‘globalCallingHandlers()’ function to establish global condition
handlers.  This allows registering default handlers for specific
condition classes. Developed in collaboration with Lionel Henry.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘str(x)’ now shows the length of ‘attributes’ in some cases for a data
frame ‘x’.
</DEL>
</P></LI>

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘activeBindingFunction()’ retrieves the function of an
active binding.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New ‘&quot;cairoFT&quot;’ and ‘&quot;pango&quot;’ components in the output of
‘grSoftVersion()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New argument ‘symbolfamily’ in cairo-based graphics devices and new
function ‘cairoSymbolFont()’ that can be used to provide the value for
that argument.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 Windows </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rterm’ now works also when invoked from MSYS2 terminals.  Line editing
is possible when command ‘winpty’ is installed.
</DEL>
</P></LI>

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
R falls back to copying when junction creation fails during package
checking (patch from Duncan Murdoch).
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 DEPRECATED AND DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Make macro ‘F77_VISIBILITY’ has been removed and replaced by
‘F_VISIBILITY’.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The deprecated support for specifying C++98 for package installation
has been removed.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD config’ no longer knows about the unused settings ‘F77’ and
‘FCPIFCPLAGS’, nor ‘CXX98’ and similar.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Either PCRE2 or PCRE1 &gt;= 8.32 (Nov 2012) is required: the deprecated
provision for 8.20-8.31 has been removed.
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.0.0 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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’.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R_withCallingErrorHandler’ is now available for establishing a calling
handler in C code for conditions inheriting from class ‘error’.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 INSTALLATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
User-set ‘DEFS’ (e.g., in ‘config.site’) is now used for compiling
packages (including base packages).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is a new variant option ‘--enable-lto=check’ for checking
consistency of BLAS/LAPACK/LINPACK calls - see ‘Writing R Extensions’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A C++ compiler default is set only if the C++11 standard is supported:
it no longer falls back to C++98.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
PCRE2 is used if available.  To make use of PCRE1 if PCRE2 is
unavailable, configure with option ‘--with-pcre1’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The minimum required version of ‘libcurl’ is now 7.28.0 (Oct 2012).
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.0.0 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R --help’ now mentions the option ‘--no-echo’ (renamed from ‘--slave’)
and its previously undocumented short form ‘-s’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ now optionally checks ‘configure’ and ‘cleanup’ scripts
for non-Bourne-shell code (‘bashisms’).
</DEL>
</P></LI>

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

</UL>
<H4>CHANGES IN R 4.0.0 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
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.
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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.
</DEL>
</P></LI>

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘format.default(*, scientific = FALSE)’ now corresponds to a
practically most extreme ‘options(scipen = n)’ setting rather than
arbitrary ‘n = 100’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘format(as.symbol(&quot;foo&quot;))’ now works (returning ‘&quot;foo&quot;’).
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Certain ‘Ops’ (notably comparison such as ‘==’) now also work for
0-length data frames, after reports by Hilmar Berger.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘methods(class = class(glm(..)))’ now warns more usefully and only
once.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘write.dcf()’ no longer mangles field names (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17589">PR#17589</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Primitive replacement functions no longer mutate a referenced first
argument when used outside of a complex assignment context.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A better error message for ‘contour(*, levels = Inf)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The return value of ‘contourLines()’ is no longer ‘invisible()’.
</DEL>
</P></LI>

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

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

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

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

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

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘is()’ behaves more robustly when its argument ‘class2’ is a
‘classRepresentation’ object.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The warning message when attempting to export an nonexistent class is
now more readable; thanks to Thierry Onkelinx for recognizing the
problem.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘choose()’ misbehaved in corner cases where it switched ‘n - k’ for ‘k’
and ‘n’ was only _nearly_ integer (report from Erik Scott Wright).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘mle()’ in the ‘stats4’ package had problems combining use of box
constraints and fixed starting values (in particular, confidence
intervals were affected).
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘methods’ package does a better job of tracking inheritance
relationships across packages.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘norm(diag(c(1, NA)), &quot;2&quot;)’ now works.
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘dotchart()’ now places the y-axis label (‘ylab’) much better, not
overplotting labels, thanks to a report and suggestion by Alexey
Shipunov.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A rare C-level array overflow in ‘chull()’ has been worked around.
</DEL>
</P></LI>

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘socketConnection(server = FALSE)’ now respects the connection timeout
also on Linux.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘socketConnection(server = FALSE)’ no longer leaks a connection that is
available right away without waiting (e.g. on ‘localhost’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Socket connections are now robust against spurious readability and
spurious availability of an incoming connection.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘blocking = FALSE’ is now respected also on the server side of a socket
connection, allowing non-blocking read operations.
</DEL>
</P></LI>

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

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

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

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Gamma()’ family sometimes had trouble storing link name <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15891">PR#15891</a>
</DEL>
</P></LI>

</UL>
<H4>CHANGES IN R 4.0.0 BUG FIXES (Windows) </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘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>).
</DEL>
</P></LI>

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

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

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rterm’ now accepts enhanced/arrow keys also with ConPTY.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
R can now be started _via_ the launcher icon in a user documents
directory whose path is not representable in the system encoding.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘socketConnection(server = FALSE)’ now returns instantly also on
Windows when connection failure is signalled.
</DEL>
</P></LI>

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

</UL>]]></description>  
</item>
   <item>
<title>2024-08-06</title>
<pubDate>Tue, 06 Aug 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/08/06#n2024-08-06</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/08/06#n2024-08-06</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.1 patched 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>

</UL>]]></description>  
</item>
   <item>
<title>2024-06-04</title>
<pubDate>Tue, 04 Jun 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/06/04#n2024-06-04</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/06/04#n2024-06-04</guid>
<description><![CDATA[<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>]]></description>  
</item>
   <item>
<title>2024-06-01</title>
<pubDate>Sat, 01 Jun 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/06/01#n2024-06-01</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/06/01#n2024-06-01</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 patched BUG FIXES </H4>
<UL>
<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>

</UL>]]></description>  
</item>
   <item>
<title>2024-05-26</title>
<pubDate>Sun, 26 May 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/26#n2024-05-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/26#n2024-05-26</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 patched C-LEVEL FACILITIES </H4>
<UL>
<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>]]></description>  
</item>
   <item>
<title>2024-05-19</title>
<pubDate>Sun, 19 May 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/19#n2024-05-19</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/19#n2024-05-19</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 patched BUG FIXES </H4>
<UL>
<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>]]></description>  
</item>
   <item>
<title>2024-05-18</title>
<pubDate>Sat, 18 May 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/18#n2024-05-18</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/18#n2024-05-18</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 patched BUG FIXES </H4>
<UL>
<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>

</UL>]]></description>  
</item>
   <item>
<title>2024-05-14</title>
<pubDate>Tue, 14 May 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/14#n2024-05-14</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/14#n2024-05-14</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 patched 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.0 patched BUG FIXES </H4>
<UL>
<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>

</UL>]]></description>  
</item>
   <item>
<title>2024-05-07</title>
<pubDate>Tue, 07 May 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/07#n2024-05-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/07#n2024-05-07</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 patched BUG FIXES </H4>
<UL>
<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>

</UL>]]></description>  
</item>
   <item>
<title>2024-05-01</title>
<pubDate>Wed, 01 May 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/01#n2024-05-01</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/05/01#n2024-05-01</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 patched BUG FIXES </H4>
<UL>
<LI><P>
‘as.data.frame(m, make.names=NA)’ now works correctly for a matrix ‘m’
with ‘NA’'s in row names.
</P></LI>

</UL>
<H4>CHANGES IN R 4.4.0 NEW FEATURES </H4>
<UL>
<LI><P>
The numeric version creators now stop on invalid non-character version
specifications.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2024-04-26</title>
<pubDate>Fri, 26 Apr 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/26#n2024-04-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/26#n2024-04-26</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 patched 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>

</UL>
<H4>CHANGES IN R 4.4.0 patched 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>

</UL>
<H4>CHANGES IN R 4.4.0 NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2024-04-17</title>
<pubDate>Wed, 17 Apr 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/17#n2024-04-17</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/17#n2024-04-17</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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).</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘kappa(., exact = TRUE, norm = *)’ now works for all norms and also for complex matrices.  In symmetric / triangular cases, the new argument ‘uplo = "U" | "L"’ allows the upper or lower triangular part to be specified.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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 PR#18582.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The icence headers for the RPC code in ‘src/extra/xdr’ have been updated to use the GPL-compatible licence published by Oracle America in 2010.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R 4.4.0 DEPRECATED AND DEFUNCT </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R 4.3.0 NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘as.data.frame()’'s default method now also works fine with atomic objects inheriting from classes such as ‘"roman"’, ‘"octmode"’ and ‘"hexmode"’, thus fulfilling the wish of PR#18421, by Benjamin Feakins.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2024-04-15</title>
<pubDate>Mon, 15 Apr 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/15#n2024-04-15</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/15#n2024-04-15</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 BUG FIXES </H4>
<UL>
<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>]]></description>  
</item>
   <item>
<title>2024-04-10</title>
<pubDate>Wed, 10 Apr 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/10#n2024-04-10</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/10#n2024-04-10</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 BUG FIXES </H4>
<UL>
<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>

</UL>]]></description>  
</item>
   <item>
<title>2024-04-08</title>
<pubDate>Mon, 08 Apr 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/08#n2024-04-08</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/08#n2024-04-08</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 NEW FEATURES </H4>
<UL>
<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>

</UL>]]></description>  
</item>
   <item>
<title>2024-04-04</title>
<pubDate>Thu, 04 Apr 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/04#n2024-04-04</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/04#n2024-04-04</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 NEW FEATURES </H4>
<UL>
<LI><P>
New function ‘pkg2HTML()’ in ‘tools’ to create single-page HTML
reference manuals for R packages.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2024-04-03</title>
<pubDate>Wed, 03 Apr 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/03#n2024-04-03</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/03#n2024-04-03</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R 4.4.0 INSTALLATION on WINDOWS </H4>
<UL>
<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>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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.</INS>
</P></LI>
</UL>
<H4>CHANGES IN R 4.4.0 DEPRECATED AND DEFUNCT </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2024-04-02</title>
<pubDate>Tue, 02 Apr 2024 00:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/02#n2024-04-02</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-4-4-branch/NEWS/2024/04/02#n2024-04-02</guid>
<description><![CDATA[<H4>CHANGES IN R 4.4.0 NEW FEATURES </H4>
<UL>
<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>

</UL>
<H4>CHANGES IN R 4.4.0 INSTALLATION on a UNIX-ALIKE </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">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).</INS>
</P></LI>
</UL>
<H4>CHANGES IN R 4.4.0 C-LEVEL FACILITIES </H4>
<UL>
<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.0.0 UTILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘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.</INS>
</P></LI>
</UL>]]></description>  
</item>
     </channel>
</rss>