[Pomp-commits] r1003 - in pkg/pomp: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Sep 2 16:53:23 CEST 2014


Author: kingaa
Date: 2014-09-02 16:53:23 +0200 (Tue, 02 Sep 2014)
New Revision: 1003

Modified:
   pkg/pomp/DESCRIPTION
   pkg/pomp/R/builder.R
Log:
- under windows, modify pathname backslashes to forward slashes

Modified: pkg/pomp/DESCRIPTION
===================================================================
--- pkg/pomp/DESCRIPTION	2014-07-28 00:07:29 UTC (rev 1002)
+++ pkg/pomp/DESCRIPTION	2014-09-02 14:53:23 UTC (rev 1003)
@@ -1,8 +1,8 @@
 Package: pomp
 Type: Package
 Title: Statistical inference for partially observed Markov processes
-Version: 0.53-5
-Date: 2014-07-27
+Version: 0.53-6
+Date: 2014-09-02
 Authors at R: c(person(given=c("Aaron","A."),family="King",
 		role=c("aut","cre"),email="kingaa at umich.edu"),
 	  person(given=c("Edward","L."),family="Ionides",role=c("aut")),

Modified: pkg/pomp/R/builder.R
===================================================================
--- pkg/pomp/R/builder.R	2014-07-28 00:07:29 UTC (rev 1002)
+++ pkg/pomp/R/builder.R	2014-09-02 14:53:23 UTC (rev 1003)
@@ -176,6 +176,10 @@
   obsnames <- cleanForC(obsnames)
 
   stem <- if (save) name else file.path(tempdir(),name)
+  if (.Platform$OS.type=="windows") {
+    stem <- gsub("\\","/",stem,fixed=TRUE)
+  }
+
   modelfile <- paste0(stem,".c") 
   solib <- paste0(stem,.Platform$dynlib.ext)
 



More information about the pomp-commits mailing list