[Prob-commits] r43 - in pkg: . R man vignettes

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Oct 27 23:29:16 CET 2013


Author: gkerns
Date: 2013-10-27 23:29:16 +0100 (Sun, 27 Oct 2013)
New Revision: 43

Modified:
   pkg/NAMESPACE
   pkg/R/prob.r
   pkg/man/prob.rd
   pkg/vignettes/prob.Rnw
Log:
added deprecated version of "prob", changed encoding of prob vignette to 
UTF-8


Modified: pkg/NAMESPACE
===================================================================
--- pkg/NAMESPACE	2013-10-27 22:08:18 UTC (rev 42)
+++ pkg/NAMESPACE	2013-10-27 22:29:16 UTC (rev 43)
@@ -2,25 +2,25 @@
 
 export(
 addrv,
-cards,
-cfbeta,
-cfbinom,
-cfcauchy,
-cfchisq,
-cfexp,
-cff,
-cfgamma,
-cfgeom,
-cfhyper,
-cflnorm,
-cflogis,
-cfnbinom,
-cfnorm,
-cfpois,
-cfsignrank,
-cft,
-cfunif,
-cfweibull,
+cards,
+cfbeta,
+cfbinom,
+cfcauchy,
+cfchisq,
+cfexp,
+cff,
+cfgamma,
+cfgeom,
+cfhyper,
+cflnorm,
+cflogis,
+cfnbinom,
+cfnorm,
+cfpois,
+cfsignrank,
+cft,
+cfunif,
+cfweibull,
 cfwilcox,
 countrep,
 empirical,
@@ -34,6 +34,7 @@
 noorder,
 nsamp,
 permsn,
+prob,
 Prob,
 probspace,
 rolldie,

Modified: pkg/R/prob.r
===================================================================
--- pkg/R/prob.r	2013-10-27 22:08:18 UTC (rev 42)
+++ pkg/R/prob.r	2013-10-27 22:29:16 UTC (rev 43)
@@ -2,6 +2,10 @@
 `Prob` <- function (x, ...)
 UseMethod("Prob")
 
+`prob` <- function (x, ...){
+    message("'prob' is deprecated; use 'Prob' instead.")
+    Prob(x, ...)
+}
 
 `Prob.default` <- function (x, event = NULL, given = NULL, ...){
     if (is.null(x$probs)) {

Modified: pkg/man/prob.rd
===================================================================
--- pkg/man/prob.rd	2013-10-27 22:08:18 UTC (rev 42)
+++ pkg/man/prob.rd	2013-10-27 22:29:16 UTC (rev 43)
@@ -1,4 +1,5 @@
 \name{prob}
+\alias{prob}
 \alias{Prob}
 \alias{Prob.default}
 \alias{Prob.ps}

Modified: pkg/vignettes/prob.Rnw
===================================================================
--- pkg/vignettes/prob.Rnw	2013-10-27 22:08:18 UTC (rev 42)
+++ pkg/vignettes/prob.Rnw	2013-10-27 22:29:16 UTC (rev 43)
@@ -15,6 +15,7 @@
 \usepackage{layout}
 \usepackage{color}
 \usepackage{multicol}
+\usepackage[utf8]{inputenc}
 
 \pagenumbering{roman}
 \let\myTOC\tableofcontents



More information about the Prob-commits mailing list