Commit 10a9851d authored by Dirk Eddelbuettel's avatar Dirk Eddelbuettel

New upstream version 3.5.0.20180627

parent b7eaf9cd
Revision: 74626
Last Changed Date: 2018-04-23
Revision: 74934
Last Changed Date: 2018-06-24
Joy in Playing
Feather Spray
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for R 3.5.0.
# Generated by GNU Autoconf 2.69 for R 3.5.1.
#
# Report bugs to <https://bugs.r-project.org>.
#
......@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='R'
PACKAGE_TARNAME='R'
PACKAGE_VERSION='3.5.0'
PACKAGE_STRING='R 3.5.0'
PACKAGE_VERSION='3.5.1'
PACKAGE_STRING='R 3.5.1'
PACKAGE_BUGREPORT='https://bugs.r-project.org'
PACKAGE_URL='https://www.r-project.org'
......@@ -1705,7 +1705,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures R 3.5.0 to adapt to many kinds of systems.
\`configure' configures R 3.5.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
......@@ -1780,7 +1780,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of R 3.5.0:";;
short | recursive ) echo "Configuration of R 3.5.1:";;
esac
cat <<\_ACEOF
......@@ -2067,7 +2067,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
R configure 3.5.0
R configure 3.5.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
......@@ -3219,7 +3219,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by R $as_me 3.5.0, which was
It was created by R $as_me 3.5.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
......@@ -50170,7 +50170,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by R $as_me 3.5.0, which was
This file was extended by R $as_me 3.5.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
......@@ -50237,7 +50237,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
R config.status 3.5.0
R config.status 3.5.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
R News
CHANGES IN R 3.5.0 patched:
BUG FIXES:
* file("stdin") is no longer considered seekable.
* dput() and dump() are no longer truncating when
options(deparse.max.lines = *) is set.
* Calls with an S3 class are no longer evaluated when printed,
fixing part of PR#17398, thanks to a patch from Lionel Henry.
* Allow file argument of Rscript to include space even when it is
first on the command line.
* callNextMethod() uses the generic from the environment of the
calling method. Reported by Herv'e Pag`es with well documented
examples.
* Compressed file connections are marked as blocking.
* optim(*, lower = c(-Inf, -Inf)) no longer warns (and switches the
method), thanks to a suggestion by John Nash.
* predict(fm, newdata) is now correct also for models where the
formula has terms such as splines::ns(..) or stats::poly(..),
fixing PR#17414, based on a patch from Duncan Murdoch.
* simulate.lm(glm(*, gaussian(link = <non-default>))) has been
corrected, fixing PR#17415 thanks to Alex Courtiol.
* unlist(x) no longer fails in some cases of nested empty lists.
Reported by Steven Nydick.
* qr.coef(qr(<all 0, w/ colnames>)) now works. Reported by Kun
Ren.
* The radix sort is robust to vectors with >1 billion elements (but
long vectors are still unsupported). Thanks to Matt Dowle for the
fix.
* Terminal connections (e.g., stdin) are no longer buffered. Fixes
PR#17432.
* deparse(x), dput(x) and dump() now respect c()'s argument names
recursive and use.names, e.g., for x <- setNames(0, "recursive"),
thanks to Suharto Anggono's PR#17427.
* Unbuffered connections now work with encoding conversion.
Reported by Stephen Berman.
* .Renviron on Windows with Rgui is again by default searched for
in user documents directory when invoked _via_ the launcher icon.
Reported by Jeroen Ooms.
* printCoefmat() now also works with explicit right=TRUE.
* print.noquote() now also works with explicit quote=FALSE.
* The default method for pairs(.., horInd=*, verInd=*) now gets the
correct order, thanks to reports by Chris Andrews and Gerrit
Eichner. Additionally, when horInd or verInd contain only a
subset of variables, all the axes are labeled correctly now.
* agrep("..|..", .., fixed=FALSE) now matches when it should,
thanks to a reminder by Andreas Kolter.
* str(ch) now works for more invalid multibyte strings.
CHANGES IN R 3.5.0:
SIGNIFICANT USER-VISIBLE CHANGES:
......@@ -320,7 +389,7 @@ CHANGES IN R 3.5.0:
versions of R prior to version 3.5.0.
* The "Date" and "date-time" classes "POSIXlt" and "POSIXct" now
have a working `length<-` method, as wished in PR#17387.
have a working length<-() method, as wished in PR#17387.
* optim(*, control = list(warn.1d.NelderMead = FALSE)) allows to
turn off the warning when applying the default "Nelder-Mead"
......
......@@ -5,6 +5,81 @@
\title{R News}
\encoding{UTF-8}
\section{\Rlogo CHANGES IN R 3.5.0 patched}{
\subsection{BUG FIXES}{
\itemize{
\item \code{file("stdin")} is no longer considered seekable.
\item \code{dput()} and \code{dump()} are no longer truncating
when \code{options(deparse.max.lines = *)} is set.
\item Calls with an S3 class are no longer evaluated when printed,
fixing part of \PR{17398}, thanks to a patch from Lionel Henry.
\item Allow \code{file} argument of \command{Rscript} to include space
even when it is first on the command line.
\item \code{callNextMethod()} uses the generic from the
environment of the calling method. Reported by Hervé Pagès with
well documented examples.
\item Compressed file connections are marked as blocking.
\item \code{optim(*, lower = c(-Inf, -Inf))} no longer warns (and
switches the method), thanks to a suggestion by John Nash.
\item \code{predict(fm, newdata)} is now correct also for models
where the formula has terms such as \code{splines::ns(..)} or
\code{stats::poly(..)}, fixing \PR{17414}, based on a patch from
Duncan Murdoch.
\item \code{simulate.lm(glm(*, gaussian(link = <non-default>)))}
has been corrected, fixing \PR{17415} thanks to Alex Courtiol.
\item \code{unlist(x)} no longer fails in some cases of nested
empty lists. Reported by Steven Nydick.
\item \code{qr.coef(qr(<all 0, w/ colnames>))} now works.
Reported by Kun Ren.
\item The radix sort is robust to vectors with >1 billion elements
(but long vectors are still unsupported). Thanks to Matt Dowle for
the fix.
\item Terminal connections (e.g., stdin) are no longer
buffered. Fixes \PR{17432}.
\item \code{deparse(x)}, \code{dput(x)} and \code{dump()} now
respect \code{c()}'s argument names \code{recursive} and
\code{use.names}, e.g., for \code{x <- setNames(0, "recursive")},
thanks to Suharto Anggono's \PR{17427}.
\item Unbuffered connections now work with encoding conversion.
Reported by Stephen Berman.
\item \file{.Renviron} on Windows with \command{Rgui} is again by
default searched for in user documents directory when invoked
\emph{via} the launcher icon. Reported by Jeroen Ooms.
\item \code{printCoefmat()} now also works with explicit \code{right=TRUE}.
\item \code{print.noquote()} now also works with explicit \code{quote=FALSE}.
\item The default method for \code{pairs(.., horInd=*, verInd=*)}
now gets the correct order, thanks to reports by Chris Andrews and
Gerrit Eichner. Additionally, when \code{horInd} or \code{verInd}
contain only a subset of variables, all the axes are labeled
correctly now.
\item \code{agrep("..|..", .., fixed=FALSE)} now matches when it
should, thanks to a reminder by Andreas Kolter.
\item \code{str(ch)} now works for more invalid multibyte strings.
}
}
}
\section{\Rlogo CHANGES IN R 3.5.0}{
\subsection{SIGNIFICANT USER-VISIBLE CHANGES}{
......@@ -357,7 +432,7 @@
\item The \code{"Date"} and \dQuote{date-time} classes
\code{"POSIXlt"} and \code{"POSIXct"} now have a working
\code{`length<-`} method, as wished in \PR{17387}.
\code{length<-()} method, as wished in \PR{17387}.
\item \code{optim(*, control = list(warn.1d.NelderMead = FALSE))}
allows to turn off the warning when applying the default
......
No preview for this file type
......@@ -7,6 +7,107 @@
<h2>R News</h2>
<h3><img src="../help/figures/../../html/Rlogo.svg" class="toplogo" alt="[R logo]" /> CHANGES IN R 3.5.0 patched</h3>
<h4>BUG FIXES</h4>
<ul>
<li> <p><code>file("stdin")</code> is no longer considered seekable.
</p>
</li>
<li> <p><code>dput()</code> and <code>dump()</code> are no longer truncating
when <code>options(deparse.max.lines = *)</code> is set.
</p>
</li>
<li><p> Calls with an S3 class are no longer evaluated when printed,
fixing part of <a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=17398">PR#17398</a>, thanks to a patch from Lionel Henry.
</p>
</li>
<li><p> Allow <code>file</code> argument of <code>Rscript</code> to include space
even when it is first on the command line.
</p>
</li>
<li> <p><code>callNextMethod()</code> uses the generic from the
environment of the calling method. Reported by Hervé Pagès with
well documented examples.
</p>
</li>
<li><p> Compressed file connections are marked as blocking.
</p>
</li>
<li> <p><code>optim(*, lower = c(-Inf, -Inf))</code> no longer warns (and
switches the method), thanks to a suggestion by John Nash.
</p>
</li>
<li> <p><code>predict(fm, newdata)</code> is now correct also for models
where the formula has terms such as <code>splines::ns(..)</code> or
<code>stats::poly(..)</code>, fixing <a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=17414">PR#17414</a>, based on a patch from
Duncan Murdoch.
</p>
</li>
<li> <p><code>simulate.lm(glm(*, gaussian(link = &lt;non-default&gt;)))</code>
has been corrected, fixing <a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=17415">PR#17415</a> thanks to Alex Courtiol.
</p>
</li>
<li> <p><code>unlist(x)</code> no longer fails in some cases of nested
empty lists. Reported by Steven Nydick.
</p>
</li>
<li> <p><code>qr.coef(qr(&lt;all 0, w/ colnames&gt;))</code> now works.
Reported by Kun Ren.
</p>
</li>
<li><p> The radix sort is robust to vectors with &gt;1 billion elements
(but long vectors are still unsupported). Thanks to Matt Dowle for
the fix.
</p>
</li>
<li><p> Terminal connections (e.g., stdin) are no longer
buffered. Fixes <a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=17432">PR#17432</a>.
</p>
</li>
<li> <p><code>deparse(x)</code>, <code>dput(x)</code> and <code>dump()</code> now
respect <code>c()</code>'s argument names <code>recursive</code> and
<code>use.names</code>, e.g., for <code>x &lt;- setNames(0, "recursive")</code>,
thanks to Suharto Anggono's <a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=17427">PR#17427</a>.
</p>
</li>
<li><p> Unbuffered connections now work with encoding conversion.
Reported by Stephen Berman.
</p>
</li>
<li> <p>&lsquo;<span class="file">.Renviron</span>&rsquo; on Windows with <code>Rgui</code> is again by
default searched for in user documents directory when invoked
<em>via</em> the launcher icon. Reported by Jeroen Ooms.
</p>
</li>
<li> <p><code>printCoefmat()</code> now also works with explicit <code>right=TRUE</code>.
</p>
</li>
<li> <p><code>print.noquote()</code> now also works with explicit <code>quote=FALSE</code>.
</p>
</li>
<li><p> The default method for <code>pairs(.., horInd=*, verInd=*)</code>
now gets the correct order, thanks to reports by Chris Andrews and
Gerrit Eichner. Additionally, when <code>horInd</code> or <code>verInd</code>
contain only a subset of variables, all the axes are labeled
correctly now.
</p>
</li>
<li> <p><code>agrep("..|..", .., fixed=FALSE)</code> now matches when it
should, thanks to a reminder by Andreas Kolter.
</p>
</li>
<li> <p><code>str(ch)</code> now works for more invalid multibyte strings.
</p>
</li></ul>
<h3><img src="../help/figures/../../html/Rlogo.svg" class="toplogo" alt="[R logo]" /> CHANGES IN R 3.5.0</h3>
......@@ -439,7 +540,7 @@ to version 3.5.0.
</li>
<li><p> The <code>"Date"</code> and &ldquo;date-time&rdquo; classes
<code>"POSIXlt"</code> and <code>"POSIXct"</code> now have a working
<code>`length&lt;-`</code> method, as wished in <a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=17387">PR#17387</a>.
<code>length&lt;-()</code> method, as wished in <a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=17387">PR#17387</a>.
</p>
</li>
<li> <p><code>optim(*, control = list(warn.1d.NelderMead = FALSE))</code>
......
This diff is collapsed.
......@@ -5060,11 +5060,11 @@ There are installers@footnote{Some of these are unsigned packages: to
install them you may need to right-click and select @code{Open with ->
Installer}.} for Fortran compilers for El Capitan and Sierra at
@uref{http://coudert.name/@/software/@/gfortran-6.1-ElCapitan.dmg} and
@uref{http://coudert.name/@/software/@/gfortran-6.3-Sierra.dmg}. (These
compilers are also available from a @code{CRAN} mirror: select `Other'
under `Software' from the left-hand menu.) One way to use these builds
with a binary distribution of @R{} is to have a @file{~/.R/Makevars}
file similar to (El Capitan)
@uref{http://coudert.name/@/software/@/gfortran-6.3-Sierra.dmg}. (An
Apple package for 6.1 is also available at
@uref{https://cran.r-project.org/@/bin/@/macosx/@/tools/@/gfortran-6.1.pkg}.)
One way to use these builds with a binary distribution of @R{} is to
have a @file{~/.R/Makevars} file similar to (El Capitan)
@example
F77 = /usr/local/gfortran/bin/gfortran
FC = $F77
......@@ -5081,36 +5081,37 @@ FLIBS = -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin16/6.3.0
@noindent
(with lines broken here for legibility).
More recent and complete distributions of @command{clang} are often
available from @uref{http://llvm.org/releases/}: for example at the time
of writing@footnote{It is unstated what the minimum OS requirement is
for these: the distribution of 5.0.0 required Sierra or later.} of 5.0.1
and 6.0.0. In particular, these include support for OpenMP. Another
build of clang 4.0.0 with OpenMP is available at
@uref{https://r.research.att.com/@/libs/@/clang-4.0.0-darwin15.6-Release.tar.gz}
and used for the @acronym{CRAN} binary distributions. Suppose one of
these distributions is installed under @file{/usr/local/clang4}. Then
@R{} could be configured by something like
Current @acronym{CRAN} binary distributions use the build of
@command{clang} 6.0.0 contained in
@uref{https://cran.r-project.org/@/bin/@/macosx/@/tools/@/clang-6.0.0.pkg}.
Other recent distributions of @command{clang} are often available from
@uref{http://llvm.org/releases/}: for example at the time of
writing@footnote{It is unstated what the minimum OS requirement is for
these: the distribution of 5.0.0 required Sierra or later.} of 5.0.1 and
6.0.0. In particular, all of these include support for OpenMP which
Apple builds of @command{clang} do not. Suppose one of these
distributions is installed under @file{/usr/local/clang6}. Then @R{}
could be configured by something like
@example
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib \
PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig \
DYLD_FALLBACK_LIBRARY_PATH=/usr/local/clang4/lib:/usr/local/lib
DYLD_FALLBACK_LIBRARY_PATH=/usr/local/clang6/lib:/usr/local/lib
@end example
@noindent
with @file{config.site} containing
@example
CC=/usr/local/clang4/bin/clang
CC=/usr/local/clang6/bin/clang
OBJC=$CC
F77=/usr/local/gfortran/bin/gfortran
FC=$F77
CXX=/usr/local/clang4/bin/clang++
LDFLAGS="-L/usr/local/clang4/lib -L/usr/local/lib"
R_LD_LIBRARY_PATH=/usr/local/clang4/lib:/usr/local/lib
CXX=/usr/local/clang6/bin/clang++
LDFLAGS="-L/usr/local/clang6/lib -L/usr/local/lib"
R_LD_LIBRARY_PATH=/usr/local/clang6/lib:/usr/local/lib
@end example
@noindent
The care to specify library paths is to ensure that the OpenMP runtime
library, here @file{/usr/local/clang4/lib/libomp.dylib}, is found when
needed. If this works, you should see the line
library, here @file{/usr/local/clang6/lib/libomp.dylib}, is found when
needed. If this works, you should see the line
@example
checking whether OpenMP SIMD reduction is supported... yes
@end example
......@@ -5127,7 +5128,7 @@ installation from source of many packages: it will also be used if
present when configuring the @code{X11()} and bitmap devices.
Support for @code{cairo} (without @code{Pango}) can be enabled if
@code{pkg-config} and XQuartz are available, Make sure the XQuartz's
@code{pkg-config} and XQuartz are available. Make sure the XQuartz's
@code{pkg-config} files are found first on the configuration path: for
example by setting
@example
......@@ -5150,7 +5151,7 @@ can be used @emph{via} the configuration options
to provide potentially higher-performance versions of the @acronym{BLAS}
and LAPACK routines.@footnote{It was reported that for some non-Apple
toolchains @code{CPPFLAGS} needed to contain @code{-D__ACCELERATE__}:
not needed for @command{clang} 4.0.0, though.} This also includes a
not needed for @command{clang} 6.0.0, though.} This also includes a
full LAPACK which can be used @emph{via} @option{--with-lapack}:
however, the version of LAPACK it contains is currently seriously old
(@samp{3.2.1} in macOS 10.13.2).
......@@ -5165,7 +5166,7 @@ will show the compilers and configuration options used for the
@acronym{CRAN} binary package for @R{}: at the time of writing the
non-default options
@example
--enable-memory-profiling --enable-R-framework
--enable-memory-profiling --enable-R-framework --x-libraries=/opt/X11/lib
@end example
@noindent
were used.
......@@ -5250,9 +5251,7 @@ tclvalue(.Tcl("tk windowingsystem")) # "x11" or "aqua"
The situation with Java support on macOS is messy,@footnote{For more
details see @uref{http://www.macstrategy.com/@/article.php?3}.} and
distribution of Java for all platforms is changing during 2018. The
@acronym{CRAN} distribution of @CRANpkg{rJava} currently requires Java
8.
distribution of Java for all platforms is changing during 2018.
macOS no longer comes with an installed Java runtime (JRE), and a macOS
upgrade may remove one if already installed: it is intended to be
......
......@@ -463,7 +463,7 @@ standard, RFC 5322, allows periods but RFC 2822 did not.)
Both @samp{Author} and @samp{Maintainer} fields can be omitted if a
suitable @samp{Authors@@R} field is given. This field can be used to
provide a refined and machine-readable description of the package
``authors'' (in particular specifying their precise @emph{roles}), via
``authors'' (in particular specifying their precise @emph{roles}), @emph{via}
suitable @R{} code. It should create an object of class @code{"person"},
by either a call to @code{person} or a series of calls (one per
``author'') concatenated by @code{c()}: see the example
......@@ -2159,7 +2159,7 @@ first level. The correctness of the detected number of `CPUs' and the
assumption that the @R{} process is entitled to use them all are both
dubious assumptions. The best way to limit resources is to limit the
overall number of threads available to OpenMP in the @R{} process: this
can be done via environment variable @env{OMP_THREAD_LIMIT}, where
can be done @emph{via} environment variable @env{OMP_THREAD_LIMIT}, where
implemented.@footnote{Which it was at the time of writing with GCC,
Oracle, Intel and Clang compilers.} Alternatively, the
number of threads per region can be limited by the environment variable
......@@ -3418,8 +3418,8 @@ the package. If you do supply a @file{inst/doc/index.html} file it
should contain relative links only to files under the installed
@file{doc} directory, or perhaps (not really an index) to @HTML{} help
files or to the @file{DESCRIPTION} file, and be valid @HTML{} as
confirmed via the @uref{https://validator.w3.org, W3C Markup Validation
Service} or @uref{https://validator.nu/, Validator.nu}.
confirmed @emph{via} the @uref{https://validator.w3.org, W3C Markup
Validation Service} or @uref{https://validator.nu/, Validator.nu}.
Sweave/Stangle allows the document to specify the @code{split=TRUE}
option to create a single @R{} file for each code chunk: this will not
......@@ -4583,19 +4583,20 @@ Make sure that any version requirement for Java code is both declared in
the @samp{SystemRequirements} field and tested at runtime (not least as
the Java installation when the package is installed might not be the
same as when the package is run and will not be for binary packages).
Java 8 is available for fewer platforms than Java 7, and Java 9 for
Java 8 is available for fewer platforms than Java 7, and Java 9/10 for
fewer still (at the time of writing, only @cputype{x86_64} Linux, macOS,
64-bit Windows and 64-bit Sparc Solaris from Oracle).
When specifying a minimum Java version please use the official version
names, which are (confusingly)
@example
1.1 1.2 1.3 1.4 5.0 6 7 8 9 10
1.1 1.2 1.3 1.4 5.0 6 7 8 9 10 11
@end example
@noindent
and supposedly will in 2018 move to a year.month scheme such as @samp{18.9}.
and as from 2018 a year.month scheme such as @samp{18.3} is also in use.
A suitable test for packages using @CRANpkg{rJava} would be something like
A suitable test Java at least version 8 for packages using
@CRANpkg{rJava} would be something like
@example
.jinit()
jv <- .jcall("java/lang/System", "S", "getProperty", "java.runtime.version")
......@@ -4605,8 +4606,11 @@ if(substr(jv, 1L, 2L) == "1.") @{
@}
@end example
@noindent
(Java 9 changed the format of this string, and Java 10 gives @code{jv}
as something like @samp{10+46}.)
Java 9 changed the format of this string (which used to be something
like @samp{1.8.0_162-b12}); Java 10 gives @code{jv} as @samp{10+46}:
whereas Java 10.0.1 gives
@samp{10.0.1+10}. (@uref{http://openjdk.java.net/jeps/322} details the
current scheme.)
Note too that the compiler used to produce a @code{jar} can impose a minimum
Java version, often resulting in an arcane message like
......@@ -4618,13 +4622,15 @@ java.lang.UnsupportedClassVersionError: ... Unsupported major.minor version 52.0
(Where @uref{https://en.wikipedia.org/@/wiki/@/Java_class_file} maps
class-file version numbers to Java versions.) Compile with something
like @command{javac -target 1.6} to ensure this is avoided. (As from
Java 8, @command{javac} defaults to compiling for Java 8.) Note this
also applies to packages distributing compiled Java code (such as
@pkg{jgraph}) produced by others, so their requirements need to be
checked (they are often not documented accurately) and accounted for.
The class-file version can in principle be checked @emph{via}
command-line utility @command{javap}, if necessary after extracting the
@file{.class} files from a @file{.jar} archive.
Java 8, @command{javac} defaults to compiling for Java 8. Versions as
old as @samp{1.6} are already deprecated and will give a warning with
Java 10's @command{javac}.) Note this also applies to packages
distributing (or even downloading) compiled Java code produced by
others, so their requirements need to be checked (they are often not
documented accurately) and accounted for. It should be possible to
check the class-file version @emph{via} command-line utility
@command{javap}, if necessary after extracting the @file{.class} files
from a @file{.jar} archive.
Some packages have stated a requirement on a particular JDK, but a
package should only be requiring a JRE unless providing its own Java
......@@ -4876,9 +4882,9 @@ There is a portable way to have arbitrary text in character strings
@code{\uxxxx} escapes. If there are any characters not in the current
encoding the parser will encode the character string as UTF-8 and mark
it as such. This applies also to character strings in datasets: they
can be prepared using @code{\uxxxx} escapes or encoded in UTF-8 in a
UTF-8 locale, or even converted to UTF-8 via @samp{iconv()}. If you do
this, make sure you have @samp{R (>= 2.10)} (or later) in the
can be prepared using @samp{\uxxxx} escapes or encoded in UTF-8 in a
UTF-8 locale, or even converted to UTF-8 @emph{via} @code{iconv()}. If
you do this, make sure you have @samp{R (>= 2.10)} (or later) in the
@samp{Depends} field of the @file{DESCRIPTION} file.
@R{} sessions running in non-UTF-8 locales will if possible re-encode
......@@ -5624,9 +5630,9 @@ information which can be provided.
In case a bibentry contains @LaTeX{} markup (e.g., for accented
characters or mathematical symbols), it may be necessary to provide a
text representation to be used for printing via the @code{textVersion}
argument to @code{bibentry}. E.g., earlier versions of
@CRANpkg{nlme} additionally used
text representation to be used for printing @emph{via} the
@code{textVersion} argument to @code{bibentry}. E.g., earlier versions
of @CRANpkg{nlme} additionally used
@example
textVersion =
......@@ -7726,7 +7732,7 @@ dominated, so those calls were cached for @R{} 3.0.3: the time spent in
@code{no-vmlinux} (the kernel) was reduced dramatically.
On platforms which support it, call graphs can be produced by
@command{opcontrol --callgraph} if collected via @command{operf
@command{opcontrol --callgraph} if collected @emph{via} @command{operf
--callgraph}.
The profiling data is by default stored in sub-directory
......@@ -8700,7 +8706,7 @@ where @code{float-divide-by-zero} is not desirable for @R{} uses and
@c and @code{vptr} checks produced many warnings on GCC's own C++ headers,
@c so should be disabled.
From GCC 8 @code{signed-integer-overflow} will no longer be a default
From GCC 8 @code{signed-integer-overflow} is no longer be a default
part of @option{-fsanitize=undefined}, but can be specified separately.
It adds options @option{-fsanitize=pointer-overflow} an
@option{-fsanitize=builtin}.
......@@ -9303,10 +9309,10 @@ integer code: similarly FORTRAN code that wants to generate diagnostic
messages can pass an integer code to a C or @R{} wrapper which will
convert it to a character string.
It is possible to pass some @R{} objects other than atomic vectors via
It is possible to pass some @R{} objects other than atomic vectors @emph{via}
@code{.C}, but this is only supported for historical compatibility: use
the @code{.Call} or @code{.External} interfaces for such objects. Any
C/C++ code that includes @file{Rinternals.h} should be called via
C/C++ code that includes @file{Rinternals.h} should be called @emph{via}
@code{.Call} or @code{.External}.
@node dyn.load and dyn.unload, Registering native routines, Interface functions .C and .Fortran, System and foreign language interfaces
......@@ -11257,8 +11263,8 @@ rho, inherits = TRUE)}.
@subsection Some convenience functions
Some operations are done so frequently that there are convenience
functions to handle them. (All these are provided via the header file
@file{Rinternals.h}.)
functions to handle them. (All these are provided @emph{via} the header
file @file{Rinternals.h}.)
Suppose we wanted to pass a single logical argument
@code{ignore_quotes}: we could use
......@@ -14568,11 +14574,11 @@ R CMD make
R CMD myfe
@end example
Even though not recommended, @code{$@{R_HOME@}} may contain spaces. In that
case, it cannot be passed as an argument to @code{include} in the makefile.
Instead, one can instruct @command{make} using the @code{-f} option to
include @file{Makeconf}, for example via recursive invocation of
@command{make}, see @ref{Writing portable packages}.
Even though not recommended, @code{$@{R_HOME@}} may contain spaces. In
that case, it cannot be passed as an argument to @code{include} in the
makefile. Instead, one can instruct @command{make} using the @code{-f}
option to include @file{Makeconf}, for example @emph{via} recursive
invocation of @command{make}, see @ref{Writing portable packages}.
@example
all:
......
This diff is collapsed.
## Makefile to be run on a Unix box with zic
VERSION = 2018c
VERSION = 2018e
TZDIR = zoneinfo
TZTMP = tz
TARFILE = tzdata$(VERSION).tar.gz
......
......@@ -22,11 +22,11 @@ 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
make -f Make.zi VERSION=2018c
make -f Make.zi VERSION=2018e
for the appropriate version. If zic is not on the path, use something like
make -f Make.zi VERSION=2018c ZIC=/usr/sbin/zic
make -f Make.zi VERSION=2018e 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
......