Commit 3f3f94d1 authored by Dirk Eddelbuettel's avatar Dirk Eddelbuettel

Update upstream source from tag 'upstream/3.5.2.20190304'

Update to upstream version '3.5.2.20190304'
with Debian dir e49277ec785b7a7334318bc9b484a74bcd975831
parents 0a7f02ce 8b250160
Revision: 75870
Last Changed Date: 2018-12-20
Revision: 76198
Last Changed Date: 2019-03-04
Eggshell Igloo
Great Truth
This diff is collapsed.
R News
CHANGES IN R 3.5.3:
INSTALLATION on a UNIX-ALIKE:
* Detection of flags for C++98/11/14/17 has been improved: in
particular if CXX??STD is set, it is tried first with no
additional flags.
PACKAGE INSTALLATION:
* New macro F_VISIBILITY as an alternative to F77_VISIBILITY. This
will become the preferred form in R 3.6.0.
BUG FIXES:
* writeLines(readLines(fnam), fnam) now works as expected, thanks
to Peter Meissner's PR#17528.
* setClassUnion() no longer warns, but uses message() for now, when
encountering "non local" subclasses of class members.
* stopifnot(exprs = T) no longer fails.
CHANGES IN R 3.5.2:
PACKAGE INSTALLATION:
......
......@@ -5,6 +5,37 @@
\title{R News}
\encoding{UTF-8}
\section{\Rlogo CHANGES IN R 3.5.3}{
\subsection{INSTALLATION on a UNIX-ALIKE}{
\itemize{
\item Detection of flags for C++98/11/14/17 has been improved: in
particular if CXX??STD is set, it is tried first with no
additional flags.
}
}
\subsection{PACKAGE INSTALLATION}{
\itemize{
\item New macro \samp{F_VISIBILITY} as an alternative to
\samp{F77_VISIBILITY}. This will become the preferred form in
\R 3.6.0.
}
}
\subsection{BUG FIXES}{
\itemize{
\item \code{writeLines(readLines(fnam), fnam)} now works as expected,
thanks to Peter Meissner's \PR{17528}.
\item \code{setClassUnion()} no longer warns, but uses \code{message()}
for now, when encountering \dQuote{non local} subclasses of class members.
\item \code{stopifnot(exprs = T)} no longer fails.
}
}
}
\section{\Rlogo CHANGES IN R 3.5.2}{
\subsection{PACKAGE INSTALLATION}{
......
No preview for this file type
......@@ -7,6 +7,55 @@
<h2>R News</h2>
<h3><img src="../help/figures/../../html/Rlogo.svg" class="toplogo" alt="[R logo]" /> CHANGES IN R 3.5.3</h3>
<h4>INSTALLATION on a UNIX-ALIKE</h4>
<ul>
<li><p> Detection of flags for C++98/11/14/17 has been improved: in
particular if CXX??STD is set, it is tried first with no
additional flags.
</p>
</li></ul>
<h4>PACKAGE INSTALLATION</h4>
<ul>
<li><p> New macro <span class="samp">F_VISIBILITY</span> as an alternative to
<span class="samp">F77_VISIBILITY</span>. This will become the preferred form in
<span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span> 3.6.0.
</p>
</li></ul>
<h4>BUG FIXES</h4>
<ul>
<li> <p><code>writeLines(readLines(fnam), fnam)</code> now works as expected,
thanks to Peter Meissner's <a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=17528">PR#17528</a>.
</p>
</li>
<li> <p><code>setClassUnion()</code> no longer warns, but uses <code>message()</code>
for now, when encountering &ldquo;non local&rdquo; subclasses of class members.
</p>
</li>
<li> <p><code>stopifnot(exprs = T)</code> no longer fails.
</p>
</li></ul>
<h3><img src="../help/figures/../../html/Rlogo.svg" class="toplogo" alt="[R logo]" /> CHANGES IN R 3.5.2</h3>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -54,6 +54,7 @@ FCLIBS = @FCLIBS@
## F77 is the compiler used for fixed-form Fortran, ext .f
F77 = @F77@
F77_VISIBILITY = @F77_VISIBILITY@
F_VISIBILITY = @F77_VISIBILITY@
FFLAGS = @FFLAGS@ $(LTO)
FLIBS = @FLIBS_IN_SO@
FCPICFLAGS = @FCPICFLAGS@
......
......@@ -71,14 +71,19 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl
AC_LANG_PUSH([C++])dnl
ac_success=no
switch=""
# AC_CACHE_CHECK(whether $CXX supports C++$1 features by default,
# ax_cv_cxx_compile_cxx$1,
# [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
# [ax_cv_cxx_compile_cxx$1=yes],
# [ax_cv_cxx_compile_cxx$1=no])])
# if test x$ax_cv_cxx_compile_cxx$1 = xyes; then
# ac_success=yes
# fi
dnl If e.g. CXX11STD is set, test it first. Otherwise test default last.
if test "x${CXX$1STD}" != x; then
AC_CACHE_CHECK(whether $CXX supports C++$1 features,
ax_cv_cxx_compile_cxx$1,
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
[ax_cv_cxx_compile_cxx$1=yes],
[ax_cv_cxx_compile_cxx$1=no])])
if test x$ax_cv_cxx_compile_cxx$1 = xyes; then
ac_success=yes
fi
fi
m4_if([$2], [noext], [], [dnl
if test x$ac_success = xno; then
......@@ -135,6 +140,18 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl
fi
done
fi])
if test x$ac_success = xno; then
AC_CACHE_CHECK(whether $CXX supports C++$1 features by default,
ax_cv_cxx_compile_cxx$1,
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
[ax_cv_cxx_compile_cxx$1=yes],
[ax_cv_cxx_compile_cxx$1=no])])
if test x$ax_cv_cxx_compile_cxx$1 = xyes; then
ac_success=yes
fi
fi
AC_LANG_POP([C++])
if test x$ax_cxx_compile_cxx$1_required = xtrue; then
if test x$ac_success = xno; then
......
This diff is collapsed.
## Makefile to be run on a Unix box with zic
VERSION = 2018e
VERSION = 2018i
TZDIR = zoneinfo
TZTMP = tz
TARFILE = tzdata$(VERSION).tar.gz
......
......@@ -20,13 +20,13 @@ signed, which it is on all sensible platforms. This is only used with
R's implemntation, where time_t is int_fast64_t, hence signed.)
To remake it, download the current version of tzdataXXXXx.tar.gz from
http://www.iana.org/time-zones to this directory and run
https://www.iana.org/time-zones to this directory and run
make -f Make.zi VERSION=2018e
make -f Make.zi VERSION=2018i
for the appropriate version. If zic is not on the path, use something like
make -f Make.zi VERSION=2018e ZIC=/usr/sbin/zic
make -f Make.zi VERSION=2018i ZIC=/usr/sbin/zic
NB: it seems that this needs to be done on a system with 64-bit time_t
or the catalogs will be confined to 1902-2038. And even that did not
......
class_7.3-14.tar.gz
\ No newline at end of file
class_7.3-15.tar.gz
\ No newline at end of file
codetools_0.2-15.tar.gz
\ No newline at end of file
codetools_0.2-16.tar.gz
\ No newline at end of file
mgcv_1.8-26.tar.gz
\ No newline at end of file
mgcv_1.8-27.tar.gz
\ No newline at end of file
# File src/library/base/R/connections.R
# Part of the R package, https://www.R-project.org
#
# Copyright (C) 1995-2016 The R Core Team
# Copyright (C) 1995-2019 The R Core Team
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -38,6 +38,8 @@ readLines <- function(con = stdin(), n = -1L, ok = TRUE, warn = TRUE,
writeLines <- function(text, con = stdout(), sep = "\n", useBytes = FALSE)
{
if(!is.character(text))
stop("can only write character objects")
if(is.character(con)) {
con <- file(con, "w")
on.exit(close(con))
......
......@@ -45,7 +45,7 @@ stopifnot <- function(..., exprs, local = TRUE)
else if (is.environment(local)) local
else stop("'local' must be TRUE, FALSE or an environment")
exprs <- substitute(exprs) # protect from evaluation
E1 <- exprs[[1]]
E1 <- if(is.symbol(exprs)) exprs else exprs[[1]]
if(identical(quote(`{`), E1)) # { ... }
do.call(expression, as.list(exprs[-1]))
else if(identical(quote(expression), E1))
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
R version 3.5.2 RC (2018-12-13 r75856) -- "Eggshell Igloo"
Copyright (C) 2018 The R Foundation for Statistical Computing
R version 3.5.3 RC (2019-03-03 r76193) -- "Great Truth"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
......@@ -95,4 +95,4 @@ null device
>
> proc.time()
user system elapsed
0.501 0.034 0.514
0.492 0.034 0.505
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment