Log message:
- Update to 3.4.3
Upstream changes:
CHANGES IN R 3.4.3:
INSTALLATION on a UNIX-ALIKE:
* A workaround has been added for the changes in location of
time-zone files in macOS 10.13 'High Sierra' and again in
10.13.1, so the default time zone is deduced correctly from the
system setting when R is configured with --with-internal-tzcode
(the default on macOS).
* R CMD javareconf has been updated to recognize the use of a Java
9 SDK on macOS.
BUG FIXES:
* raw(0) & raw(0) and raw(0) | raw(0) again return raw(0) (rather
than logical(0)).
* intToUtf8() converts integers corresponding to surrogate code
points to NA rather than invalid UTF-8, as well as values larger
than the current Unicode maximum of 0x10FFFF. (This aligns with
the current RFC3629.)
* Fix calling of methods on S4 generics that dispatch on ... when
the call contains ....
* Following Unicode 'Corrigendum 9', the UTF-8 representations of
U+FFFE and U+FFFF are now regarded as valid by utf8ToInt().
* range(c(TRUE, NA), finite = TRUE) and similar no longer return
NA. (Reported by Lukas Stadler.)
* The self starting function attr(SSlogis, "initial") now also
works when the y values have exact minimum zero and is slightly
changed in general, behaving symmetrically in the y range.
* The printing of named raw vectors is now formatted nicely as for
other such atomic vectors, thanks to Lukas Stadler.
|
Log message:
R: update to 3.4.2
CHANGES IN R 3.4.2:
NEW FEATURES:
* Setting the LC_ALL category in Sys.setlocale() invalidates any
cached locale-specific day/month names and the AM/PM indicator
for strptime() (as setting LC_TIME has since R 3.1.0).
* The version of LAPACK included in the sources has been updated to
3.7.1, a bug-fix release.
* The default for tools::write_PACKAGES(rds_compress=) has been
changed to "xz" to match the compression used by CRAN.
* c() and unlist() are now more efficient in constructing the
names(.) of their return value, thanks to a proposal by Suharto
Anggono. (PR#17284)
CHANGES IN R 3.4.0:
SIGNIFICANT USER-VISIBLE CHANGES:
* (Unix-alike) The default methods for download.file() and url()
now choose "libcurl" except for file:// URLs. There will be
small changes in the format and wording of messages, including in
rare cases if an issue is a warning or an error. For example,
when HTTP re-direction occurs, some messages refer to the final
URL rather than the specified one.
Those who use proxies should check that their settings are
compatible (see ?download.file: the most commonly used forms work
for both "internal" and "libcurl").
* table() has been amended to be more internally consistent and
become back compatible to R <= 2.7.2 again. Consequently,
table(1:2, exclude = NULL) no longer contains a zero count for
<NA>, but useNA = "always" continues to do so.
* summary.default() no longer rounds, but its print method does
resulting in less extraneous rounding, notably of numbers in the
ten thousands.
* factor(x, exclude = L) behaves more rationally when x or L are
character vectors. Further, exclude = <factor> now behaves as
documented for long.
* Arithmetic, logic (&, |) and comparison (aka 'relational', e.g.,
<, ==) operations with arrays now behave consistently, notably
for arrays of length zero.
Arithmetic between length-1 arrays and longer non-arrays had
silently dropped the array attributes and recycled. This now
gives a warning and will signal an error in the future, as it has
always for logic and comparison operations in these cases (e.g.,
compare matrix(1,1) + 2:3 and matrix(1,1) < 2:3).
* The JIT ('Just In Time') byte-code compiler is now enabled by
default at its level 3. This means functions will be compiled on
first or second use and top-level loops will be compiled and then
run. (Thanks to Tomas Kalibera for extensive work to make this
possible.)
For now, the compiler will not compile code containing explicit
calls to browser(): this is to support single stepping from the
browser() call.
JIT compilation can be disabled for the rest of the session using
compiler::enableJIT(0) or by setting environment variable
R_ENABLE_JIT to 0.
* xtabs() works more consistently with NAs, also in its result no
longer setting them to 0. Further, a new logical option addNA
allows to count NAs where appropriate. Additionally, for the
case sparse = TRUE, the result's dimnames are identical to the
default case's.
* Matrix products now consistently bypass BLAS when the inputs have
NaN/Inf values. Performance of the check of inputs has been
improved. Performance when BLAS is used is improved for
matrix/vector and vector/matrix multiplication (DGEMV is now used
instead of DGEMM).
One can now choose from alternative matrix product
implementations _via_ options(matprod = ). The "internal"
implementation is not optimized for speed but consistent in
precision with other summations in R (using long double
accumulators where available). "blas" calls BLAS directly for
best speed, but usually with undefined behavior for inputs with
NaN/Inf.
NEW FEATURES:
* User errors such as integrate(f, 0:1, 2) are now caught.
* Add signature argument to debug(), debugonce(), undebug() and
isdebugged() for more conveniently debugging S3 and S4 methods.
(Based on a patch by Gabe Becker.)
* Add utils::debugcall() and utils::undebugcall() for debugging the
function that would be called by evaluating the given expression.
When the call is to an S4 generic or standard S3 generic,
debugcall() debugs the method that would be dispatched. A number
of internal utilities were added to support this, most notably
utils::isS3stdGeneric(). (Based on a patch by Gabe Becker.)
And many more - see the NEWS file for details.
|