[Pomp-commits] r942 - in pkg/pomp: . R inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Apr 30 15:28:48 CEST 2014


Author: kingaa
Date: 2014-04-30 15:28:47 +0200 (Wed, 30 Apr 2014)
New Revision: 942

Removed:
   pkg/pomp/R/version.R
Modified:
   pkg/pomp/DESCRIPTION
   pkg/pomp/inst/doc/manual.pdf
Log:
- drop unnecessary 'version' function


Modified: pkg/pomp/DESCRIPTION
===================================================================
--- pkg/pomp/DESCRIPTION	2014-04-30 13:28:27 UTC (rev 941)
+++ pkg/pomp/DESCRIPTION	2014-04-30 13:28:47 UTC (rev 942)
@@ -1,8 +1,8 @@
 Package: pomp
 Type: Package
 Title: Statistical inference for partially observed Markov processes
-Version: 0.50-2
-Date: 2014-04-23
+Version: 0.50-3
+Date: 2014-04-30
 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")),
@@ -25,7 +25,7 @@
 BuildVignettes: true
 VignetteBuilder: knitr
 MailingList: Subscribe to pomp-announce at r-forge.r-project.org for announcements by going to http://lists.r-forge.r-project.org/mailman/listinfo/pomp-announce.
-Collate: aaa.R authors.R generics.R version.R eulermultinom.R
+Collate: aaa.R authors.R generics.R eulermultinom.R
 	 csnippet.R pomp-fun.R plugins.R 
 	 parmat.R logmeanexp.R slice-design.R 
 	 profile-design.R sobol.R bsplines.R sannbox.R

Deleted: pkg/pomp/R/version.R
===================================================================
--- pkg/pomp/R/version.R	2014-04-30 13:28:27 UTC (rev 941)
+++ pkg/pomp/R/version.R	2014-04-30 13:28:47 UTC (rev 942)
@@ -1,15 +0,0 @@
-version <- function (at.least = NULL) {
-  version <- library(help=pomp)$info[[1]]
-  version <- strsplit(version[pmatch("Version",version)]," ")[[1]]
-  version <- version[nchar(version)>0][2]
-  splv <- as.numeric(strsplit(version,"[-.]")[[1]])
-  if (is.null(at.least)) {
-    list(major=splv[1],minor=splv[2],rev=splv[3],version.string=version)
-  } else {
-    minv <- as.numeric(strsplit(as.character(at.least),"[-.]")[[1]])
-    (splv[1]>minv[1]) ||
-    (splv[1]==minv[1]) && (splv[2]>minv[2]) ||
-    (splv[1]==minv[1]) && (splv[2]==minv[2]) && (splv[3]>=minv[3])
-  }
-}
-

Modified: pkg/pomp/inst/doc/manual.pdf
===================================================================
(Binary files differ)



More information about the pomp-commits mailing list