[Dplr-commits] r1065 - in pkg/dplR: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Apr 25 11:57:26 CEST 2017


Author: mvkorpel
Date: 2017-04-25 11:57:25 +0200 (Tue, 25 Apr 2017)
New Revision: 1065

Modified:
   pkg/dplR/DESCRIPTION
   pkg/dplR/R/helpers.R
Log:
When recreating temporary directory, try to set mode "0700"...

which should be the mode of the initial tempdir (made by mkdtemp).
Does not apply to Windows.


Modified: pkg/dplR/DESCRIPTION
===================================================================
--- pkg/dplR/DESCRIPTION	2017-04-24 07:59:32 UTC (rev 1064)
+++ pkg/dplR/DESCRIPTION	2017-04-25 09:57:25 UTC (rev 1065)
@@ -3,7 +3,7 @@
 Type: Package
 Title: Dendrochronology Program Library in R
 Version: 1.6.6
-Date: 2017-04-24
+Date: 2017-04-25
 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-04-24 07:59:32 UTC (rev 1064)
+++ pkg/dplR/R/helpers.R	2017-04-25 09:57:25 UTC (rev 1065)
@@ -2,7 +2,7 @@
 check.tempdir <- function() {
     td <- tempdir()
     if (!file.exists(td)) {
-        dir.create(td)
+        dir.create(td, mode = "0700")
     }
 }
 



More information about the Dplr-commits mailing list