In test file datetime3.R, one call to stopifnot() has an argument named "expr"
which should probably be "exprs". There are three tests wrapped in braces of
which only the last one, "omitted 195 entries", is currently checked.
Proposed patch:
--- tests/datetime3.R (revision 84544)
+++ tests/da
On a Windows computer (other platforms not tested), installing a
package from source may fail if the environment variable R_ICU_LOCALE
is set, depending on the package and the locale.
For example, after setting R_ICU_LOCALE to "fi_FI",
install.packages("seriation", type = "source")
(package ve
I stumbled upon a typo in a time zone name: Irtutsk should be Irkutsk.
A patch is attached. I also checked that this is the only bug of its
kind in this file, i.e., all the other Olson time zones occurring in
the file can also be found in Unicode Common Locale Data Repository.
- Mikko Korpela
Ind
I found a few occurrences of "\uxxx" which should probably have
one more "x". A patch follows:
Index: doc/manual/R-ints.texi
===
--- doc/manual/R-ints.texi (revision 74580)
+++ doc/manual/R-ints.texi (working copy)
@@ -1277,
Vastaanottaja: Korpela Mikko (MML)
Kopio: r-devel@r-project.org
Aihe: Re: [Rd] Possible bug in package installation when R_ICU_LOCALE is set
I can reproduce this on Linux, so it is not Windows-specific.
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running un
If the "Matrix" package is attached, 'example(dget)' fails:
> library(Matrix)
> example(dget)
dget> fil <- tempfile()
dget> ## Write an ASCII version of function mean to our temp file
dget> dput(mean, fil)
dget> ## And read it back into 'bar'
dget> bar <- dget(fil)
Error in
There is a small typo in file 'src/library/base/man/grep.Rd'.
Current text:
## collation order is aAbBcCdEe ...
Suggested text ("D" instead of "E"):
## collation order is aAbBcCdDe ...
Best regards,
- Mikko Korpela
__
R-devel@r-project.org mailing li
I noticed that sub() gives unexpected results for the following test
case. In the test case, the (initial) input is ASCII but the
replacements are UTF-8. The first sub() produces an UTF-8 result with
an "unknown" Encoding. This makes the result garbled in Windows (no
UTF-8 locale there). The second
Thanks for the confirmation. The bug report is now online at
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17509
- Mikko
-Original Message-
From: Martin Maechler [mailto:maech...@stat.math.ethz.ch]
Sent: Monday, December 10, 2018 12:09 PM
To: Korpela Mikko (MML)
Cc: r-devel@r
Hi Neonira!
The \blacktriangleright macro is defined in LaTeX package "amssymb". According
to Writing R Extensions (section 2.6 Mathematics), "only basic LaTeX can be
used, there being no provision to specify LaTeX style files such as the AMS
extensions" (in Rd files).
Best,
- Mikko
-Alk
I found three little typos in the ?regex manual. Apologies for the lack of a
diff, as the utility is not (yet) installed on this machine.
1. "There is a also" should probably be "There is also".
2. In the list of functions following "This section covers the regular
expressions"..., "grep" appear
It seems there is a problem in tests/d-p-q-r-tst-2.R (R-devel r79091): NA / NaN
mismatch is not allowed by a test on lines 590--592, but the comment suggests
otherwise. A run of "make check" fails there when tested on a Raspberry Pi with
Raspberry Pi OS (based on Debian Buster): all 'NaN' is exp
))) { ## allow NA/NaN mismatch in these cases
for now:
stop(" .. not giving expected NA/NaN's ")
}
where the test is less forgiving, both with respect to the conditions and the
type of "nag" (cat vs stop).
- Mikko
-Alkuperäinen viesti-
Lähettäjä: Mar
A recent R-devel commit introduces a change in the way non-printable Unicode
characters are shown as an escape code. Whereas large code points were
previously printed using an escape code of 8 hexadecimal digits, with initial
zeros, the present code (tested with R-devel r79623 on Ubuntu Linux) o
Lähettäjä: R-devel Puolesta Korpela Mikko (MML)
Lähetetty: maanantai 14. joulukuuta 2020 11.51
Vastaanottaja: r-devel
Aihe: [Rd] Printing Unicode escapes with 6 digits may be problematic
A recent R-devel commit introduces a change in the way non-printable Unicode
characters are shown as an e
15 matches
Mail list logo