[Dplr-commits] r1062 - in pkg/dplR: . R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Feb 28 11:17:38 CET 2017
Author: mvkorpel
Date: 2017-02-28 11:17:37 +0100 (Tue, 28 Feb 2017)
New Revision: 1062
Modified:
pkg/dplR/ChangeLog
pkg/dplR/DESCRIPTION
pkg/dplR/R/helpers.R
Log:
Another update for the rare C locale
Modified: pkg/dplR/ChangeLog
===================================================================
--- pkg/dplR/ChangeLog 2017-02-22 13:19:58 UTC (rev 1061)
+++ pkg/dplR/ChangeLog 2017-02-28 10:17:37 UTC (rev 1062)
@@ -1,5 +1,11 @@
* CHANGES IN dplR VERSION 1.6.6
+File: helpers.R
+----------------
+
+- Internal helper fix.names() is more robust when working in the C
+ locale.
+
File: latexify.R
----------------
Modified: pkg/dplR/DESCRIPTION
===================================================================
--- pkg/dplR/DESCRIPTION 2017-02-22 13:19:58 UTC (rev 1061)
+++ pkg/dplR/DESCRIPTION 2017-02-28 10:17:37 UTC (rev 1062)
@@ -3,7 +3,7 @@
Type: Package
Title: Dendrochronology Program Library in R
Version: 1.6.6
-Date: 2017-02-22
+Date: 2017-02-28
Authors at R: c(person("Andy", "Bunn", role = c("aut", "cph",
"cre", "trl"), email = "andy.bunn at wwu.edu"), person("Mikko",
"Korpela", role = c("aut", "trl")), person("Franco", "Biondi",
Modified: pkg/dplR/R/helpers.R
===================================================================
--- pkg/dplR/R/helpers.R 2017-02-22 13:19:58 UTC (rev 1061)
+++ pkg/dplR/R/helpers.R 2017-02-28 10:17:37 UTC (rev 1062)
@@ -204,7 +204,8 @@
}
rename.flag[idx.bad] <- TRUE
## Remove inappropriate characters (replace with nothing)
- x.cut[idx.bad] <- gsub(bad.chars, "", x.cut[idx.bad])
+ x.cut[idx.bad] <- gsub(bad.chars, "", x.cut[idx.bad],
+ useBytes = !l10n_info()[["MBCS"]])
}
}
if (!is.null(limit)) {
More information about the Dplr-commits
mailing list