[Robast-commits] r103 - in branches/robast-0.6/pkg/RandVar: . R inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jun 3 13:20:22 CEST 2008


Author: stamats
Date: 2008-06-03 13:20:22 +0200 (Tue, 03 Jun 2008)
New Revision: 103

Modified:
   branches/robast-0.6/pkg/RandVar/DESCRIPTION
   branches/robast-0.6/pkg/RandVar/R/EuclRandVariable.R
   branches/robast-0.6/pkg/RandVar/inst/doc/RandVar.pdf
Log:
There was a warning during R CMD build indicating
"Arguments of method and generic are not in the same order".
This is now corrected.

Modified: branches/robast-0.6/pkg/RandVar/DESCRIPTION
===================================================================
--- branches/robast-0.6/pkg/RandVar/DESCRIPTION	2008-05-21 07:55:19 UTC (rev 102)
+++ branches/robast-0.6/pkg/RandVar/DESCRIPTION	2008-06-03 11:20:22 UTC (rev 103)
@@ -1,6 +1,6 @@
 Package: RandVar
 Version: 0.6.3
-Date: 2008-04-23
+Date: 2008-06-03
 Title: Implementation of random variables
 Description: Implementation of random variables by means
     of S4 classes and methods

Modified: branches/robast-0.6/pkg/RandVar/R/EuclRandVariable.R
===================================================================
--- branches/robast-0.6/pkg/RandVar/R/EuclRandVariable.R	2008-05-21 07:55:19 UTC (rev 102)
+++ branches/robast-0.6/pkg/RandVar/R/EuclRandVariable.R	2008-06-03 11:20:22 UTC (rev 103)
@@ -230,7 +230,7 @@
 setMethod("evalRandVar", signature(RandVar = "EuclRandMatrix", 
                                    x = "numeric",
                                    distr = "missing"), 
-    function(x, RandVar){
+    function(RandVar, x){
         if(!is.null(RandVar at Domain)){
             if(length(x) != RandVar at Domain@dimension)
                 stop("x has wrong dimension")
@@ -271,7 +271,7 @@
 setMethod("evalRandVar", signature(RandVar = "EuclRandMatrix", 
                                    x = "numeric",
                                    distr = "Distribution"), 
-    function(x, RandVar, distr){
+    function(RandVar, x, distr){
         if(is.null(RandVar at Domain))
             stop("domain of 'RandVar' is 'NULL'")
         if(ncol(x) != RandVar at Domain@dimension)

Modified: branches/robast-0.6/pkg/RandVar/inst/doc/RandVar.pdf
===================================================================
(Binary files differ)



More information about the Robast-commits mailing list