[Distr-commits] r367 - branches/distr-2.1/pkg/SweaveListingUtils/chm branches/distr-2.1/pkg/distr/inst/doc pkg/distrMod pkg/distrMod/man pkg/utils
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Dec 8 11:45:40 CET 2008
Author: ruckdeschel
Date: 2008-12-08 11:45:40 +0100 (Mon, 08 Dec 2008)
New Revision: 367
Modified:
branches/distr-2.1/pkg/SweaveListingUtils/chm/0SweaveListingUtils-package.html
branches/distr-2.1/pkg/SweaveListingUtils/chm/SweaveListingUtils.chm
branches/distr-2.1/pkg/distr/inst/doc/Rplots.pdf
branches/distr-2.1/pkg/distr/inst/doc/newDistributions.pdf
pkg/distrMod/DESCRIPTION
pkg/distrMod/man/0distrMod-package.Rd
pkg/distrMod/man/solve-methods.Rd
pkg/distrMod/man/sqrt-methods.Rd
pkg/utils/DESCRIPTIONutils.R
Log:
patch for Brian Ripley's
Re: [Rd] Warning: missing text for item ... in \describe?
Modified: branches/distr-2.1/pkg/SweaveListingUtils/chm/0SweaveListingUtils-package.html
===================================================================
--- branches/distr-2.1/pkg/SweaveListingUtils/chm/0SweaveListingUtils-package.html 2008-12-02 21:42:40 UTC (rev 366)
+++ branches/distr-2.1/pkg/SweaveListingUtils/chm/0SweaveListingUtils-package.html 2008-12-08 10:45:40 UTC (rev 367)
@@ -33,10 +33,10 @@
<td align="left">Package: </td> <td align="left"> SweaveListingUtils</td>
</tr>
<tr>
- <td align="left"> Version: </td> <td align="left"> 0.2</td>
+ <td align="left"> Version: </td> <td align="left"> 0.2 </td>
</tr>
<tr>
- <td align="left"> Date: </td> <td align="left"> 2008-11-25</td>
+ <td align="left"> Date: </td> <td align="left"> 2008-11-27 </td>
</tr>
<tr>
<td align="left"> Depends: </td> <td align="left"> R(>= 2.0.0), startupmsg</td>
Modified: branches/distr-2.1/pkg/SweaveListingUtils/chm/SweaveListingUtils.chm
===================================================================
(Binary files differ)
Modified: branches/distr-2.1/pkg/distr/inst/doc/Rplots.pdf
===================================================================
--- branches/distr-2.1/pkg/distr/inst/doc/Rplots.pdf 2008-12-02 21:42:40 UTC (rev 366)
+++ branches/distr-2.1/pkg/distr/inst/doc/Rplots.pdf 2008-12-08 10:45:40 UTC (rev 367)
@@ -2,8 +2,8 @@
%âãÏÓ\r
1 0 obj
<<
-/CreationDate (D:20081124193851)
-/ModDate (D:20081124193851)
+/CreationDate (D:20081203142619)
+/ModDate (D:20081203142619)
/Title (R Graphics Output)
/Producer (R 2.9.0)
/Creator (R)
@@ -47,7 +47,7 @@
38.97 172.78 m 148.04 172.78 l S
38.97 227.22 m 148.04 227.22 l S
38.97 281.66 m 148.04 281.66 l S
-38.97 336.09 m 148.04 336.09 l S
+38.97 336.10 m 148.04 336.10 l S
38.97 390.53 m 148.04 390.53 l S
38.97 444.97 m 148.04 444.97 l S
0.000 0.000 0.000 RG
@@ -275,7 +275,7 @@
65.15 74.45 l
65.25 74.75 l
65.35 75.05 l
-65.45 75.37 l
+65.45 75.36 l
65.55 75.68 l
65.65 76.01 l
65.75 76.34 l
@@ -315,12 +315,12 @@
69.19 93.26 l
69.29 93.95 l
69.39 94.66 l
-69.49 95.38 l
+69.49 95.37 l
69.59 96.11 l
69.70 96.85 l
69.80 97.61 l
69.90 98.39 l
-70.00 99.17 l
+70.00 99.18 l
70.10 99.98 l
70.20 100.79 l
70.30 101.62 l
@@ -352,14 +352,14 @@
72.93 128.67 l
73.03 129.93 l
73.13 131.22 l
-73.23 132.51 l
+73.23 132.52 l
73.34 133.83 l
73.44 135.17 l
73.54 136.52 l
73.64 137.89 l
73.74 139.28 l
73.84 140.68 l
-73.94 142.11 l
+73.94 142.10 l
74.04 143.55 l
74.14 145.01 l
74.25 146.48 l
@@ -380,9 +380,9 @@
75.76 170.77 l
75.86 172.53 l
75.96 174.31 l
-76.06 176.11 l
+76.06 176.10 l
76.17 177.92 l
-76.27 179.74 l
+76.27 179.75 l
76.37 181.59 l
76.47 183.45 l
76.57 185.33 l
@@ -390,7 +390,7 @@
76.77 189.14 l
76.87 191.06 l
76.97 193.01 l
-77.08 194.97 l
+77.08 194.96 l
77.18 196.94 l
77.28 198.93 l
77.38 200.93 l
@@ -401,7 +401,7 @@
77.88 211.18 l
77.99 213.27 l
78.09 215.38 l
-78.19 217.50 l
+78.19 217.49 l
78.29 219.63 l
78.39 221.77 l
78.49 223.93 l
@@ -414,9 +414,9 @@
79.20 239.36 l
79.30 241.61 l
79.40 243.87 l
-79.50 246.13 l
+79.50 246.14 l
79.60 248.41 l
-79.70 250.70 l
+79.70 250.69 l
79.81 252.99 l
79.91 255.29 l
80.01 257.60 l
@@ -446,7 +446,7 @@
82.43 314.20 l
82.54 316.56 l
82.64 318.92 l
-82.74 321.26 l
+82.74 321.27 l
82.84 323.61 l
82.94 325.95 l
83.04 328.28 l
@@ -459,7 +459,7 @@
83.75 344.37 l
83.85 346.63 l
83.95 348.88 l
-84.05 351.11 l
+84.05 351.12 l
84.15 353.34 l
84.25 355.55 l
84.35 357.75 l
@@ -468,12 +468,12 @@
84.66 364.26 l
84.76 366.40 l
84.86 368.52 l
-84.96 370.62 l
+84.96 370.63 l
85.06 372.71 l
-85.16 374.79 l
+85.16 374.78 l
85.26 376.84 l
85.37 378.87 l
-85.47 380.89 l
+85.47 380.88 l
85.57 382.88 l
85.67 384.85 l
85.77 386.81 l
@@ -485,7 +485,7 @@
86.38 398.05 l
86.48 399.85 l
86.58 401.61 l
-86.68 403.35 l
+86.68 403.36 l
86.78 405.07 l
86.88 406.76 l
86.98 408.42 l
@@ -493,7 +493,7 @@
87.19 411.66 l
87.29 413.24 l
87.39 414.79 l
-87.49 416.32 l
+87.49 416.31 l
87.59 417.81 l
87.69 419.27 l
87.79 420.70 l
@@ -556,7 +556,7 @@
93.55 443.69 l
93.66 443.01 l
93.76 442.29 l
-93.86 441.53 l
+93.86 441.54 l
93.96 440.74 l
94.06 439.92 l
94.16 439.06 l
@@ -603,12 +603,12 @@
98.31 377.79 l
98.41 375.79 l
98.51 373.78 l
-98.61 371.75 l
+98.61 371.74 l
98.71 369.70 l
98.81 367.63 l
98.91 365.56 l
99.01 363.46 l
-99.11 361.35 l
+99.11 361.36 l
99.22 359.23 l
99.32 357.10 l
99.42 354.96 l
@@ -632,44 +632,44 @@
101.24 314.79 l
101.34 312.50 l
101.44 310.21 l
-101.54 307.92 l
+101.54 307.93 l
101.64 305.63 l
101.74 303.34 l
101.84 301.05 l
-101.95 298.75 l
+101.95 298.76 l
102.05 296.46 l
102.15 294.17 l
102.25 291.88 l
102.35 289.59 l
102.45 287.30 l
102.55 285.02 l
-102.65 282.73 l
+102.65 282.74 l
102.75 280.46 l
102.86 278.18 l
102.96 275.91 l
103.06 273.64 l
103.16 271.38 l
-103.26 269.12 l
-103.36 266.87 l
+103.26 269.13 l
+103.36 266.88 l
103.46 264.63 l
103.56 262.39 l
103.66 260.16 l
103.77 257.93 l
103.87 255.72 l
103.97 253.51 l
-104.07 251.30 l
+104.07 251.31 l
104.17 249.11 l
104.27 246.93 l
104.37 244.75 l
-104.47 242.58 l
+104.47 242.59 l
104.57 240.43 l
104.68 238.28 l
-104.78 236.14 l
+104.78 236.15 l
104.88 234.02 l
104.98 231.90 l
105.08 229.80 l
105.18 227.71 l
-105.28 225.63 l
+105.28 225.62 l
105.38 223.55 l
105.48 221.50 l
105.59 219.45 l
@@ -682,7 +682,7 @@
106.29 205.49 l
106.39 203.55 l
106.49 201.63 l
-106.60 199.71 l
+106.60 199.72 l
106.70 197.82 l
106.80 195.93 l
106.90 194.07 l
@@ -700,10 +700,10 @@
108.11 172.83 l
108.21 171.16 l
108.31 169.51 l
-108.42 167.87 l
+108.42 167.88 l
108.52 166.26 l
108.62 164.65 l
-108.72 163.07 l
+108.72 163.06 l
108.82 161.49 l
108.92 159.94 l
109.02 158.40 l
@@ -733,8 +733,8 @@
111.45 126.35 l
111.55 125.21 l
111.65 124.09 l
-111.75 122.99 l
-111.85 121.89 l
+111.75 122.98 l
+111.85 121.90 l
111.95 120.82 l
112.06 119.76 l
112.16 118.71 l
@@ -793,12 +793,12 @@
117.51 81.70 l
117.62 81.29 l
117.72 80.88 l
-117.82 80.48 l
+117.82 80.49 l
117.92 80.10 l
118.02 79.71 l
118.12 79.34 l
118.22 78.97 l
-118.32 78.61 l
+118.32 78.62 l
118.42 78.26 l
118.53 77.92 l
118.63 77.58 l
@@ -1093,7 +1093,7 @@
38.97 172.78 m 34.21 172.78 l S
38.97 227.22 m 34.21 227.22 l S
38.97 281.66 m 34.21 281.66 l S
-38.97 336.09 m 34.21 336.09 l S
+38.97 336.10 m 34.21 336.10 l S
38.97 390.53 m 34.21 390.53 l S
38.97 444.97 m 34.21 444.97 l S
BT
@@ -1589,9 +1589,9 @@
254.07 179.66 l
254.17 180.85 l
254.28 182.05 l
-254.38 183.26 l
+254.38 183.25 l
254.48 184.47 l
-254.58 185.69 l
+254.58 185.68 l
254.68 186.91 l
254.78 188.14 l
254.88 189.38 l
@@ -1679,7 +1679,7 @@
263.17 300.35 l
263.27 301.67 l
263.37 302.98 l
-263.48 304.29 l
+263.48 304.28 l
263.58 305.59 l
263.68 306.89 l
263.78 308.18 l
@@ -1703,8 +1703,8 @@
265.60 330.49 l
265.70 331.67 l
265.80 332.85 l
-265.90 334.02 l
-266.00 335.18 l
+265.90 334.01 l
+266.00 335.17 l
266.10 336.33 l
266.20 337.47 l
266.31 338.61 l
@@ -1818,7 +1818,7 @@
277.22 415.64 l
277.33 415.96 l
277.43 416.29 l
-277.53 416.61 l
+277.53 416.60 l
277.63 416.92 l
277.73 417.22 l
277.83 417.53 l
@@ -1998,7 +1998,7 @@
295.42 431.94 l
295.52 431.95 l
295.62 431.95 l
-295.73 431.96 l
+295.73 431.95 l
295.83 431.96 l
295.93 431.96 l
296.03 431.97 l
@@ -2871,7 +2871,7 @@
468.22 305.72 l
468.41 306.18 l
468.60 306.65 l
-468.79 307.11 l
+468.78 307.11 l
468.97 307.58 l
469.15 308.04 l
469.33 308.50 l
@@ -2900,7 +2900,7 @@
472.90 319.18 l
473.03 319.64 l
473.16 320.11 l
-473.29 320.57 l
+473.28 320.57 l
473.41 321.04 l
473.53 321.50 l
473.65 321.96 l
@@ -2957,7 +2957,7 @@
477.82 345.64 l
477.87 346.10 l
477.92 346.56 l
-477.97 347.03 l
+477.96 347.03 l
478.01 347.49 l
478.06 347.96 l
478.10 348.42 l
Modified: branches/distr-2.1/pkg/distr/inst/doc/newDistributions.pdf
===================================================================
(Binary files differ)
Modified: pkg/distrMod/DESCRIPTION
===================================================================
--- pkg/distrMod/DESCRIPTION 2008-12-02 21:42:40 UTC (rev 366)
+++ pkg/distrMod/DESCRIPTION 2008-12-08 10:45:40 UTC (rev 367)
@@ -1,6 +1,6 @@
Package: distrMod
-Version: 2.0.3
-Date: 2008-11-27
+Version: 2.0.4
+Date: 2008-12-08
Title: Object orientated implementation of probability models
Description: Object orientated implementation of probability models
based on packages 'distr' and 'distrEx'
Modified: pkg/distrMod/man/0distrMod-package.Rd
===================================================================
--- pkg/distrMod/man/0distrMod-package.Rd 2008-12-02 21:42:40 UTC (rev 366)
+++ pkg/distrMod/man/0distrMod-package.Rd 2008-12-08 10:45:40 UTC (rev 367)
@@ -15,8 +15,8 @@
\details{
\tabular{ll}{
Package: \tab distrMod\cr
-Version: \tab 2.0.3 \cr
-Date: \tab 2008-11-27 \cr
+Version: \tab 2.0.4\cr
+Date: \tab 2008-12-08\cr
Depends: \tab R(>= 2.6.0), methods, startupmsg, distr(>= 2.0), distrEx(>=
2.0), RandVar(>= 0.6.3), MASS, stats4\cr
LazyLoad: \tab yes\cr
Modified: pkg/distrMod/man/solve-methods.Rd
===================================================================
--- pkg/distrMod/man/solve-methods.Rd 2008-12-02 21:42:40 UTC (rev 366)
+++ pkg/distrMod/man/solve-methods.Rd 2008-12-08 10:45:40 UTC (rev 367)
@@ -33,10 +33,10 @@
\section{Methods}{\describe{
\item{solve}{\code{signature(a = "ANY", b = "ANY")}: tries to evaluate \code{solve.default} method from \pkg{base} in classical way;
if this gives an error, this one is returned if \code{generalized} is \code{TRUE}, else it will then
-return \eqn{a^-b} where \eqn{a^-} is the pseudo or Moore-Penrose inverse of \eqn{a} }
+return \eqn{a^-b} where \eqn{a^-} is the pseudo or Moore-Penrose inverse of \eqn{a}.}
\item{solve}{\code{signature(a = "PosSemDefSymmMatrix", b = "ANY")}: evaluates \eqn{a^-b} where \eqn{a^-} is the pseudo or Moore-Penrose
-inverse of \eqn{a}}
-\item{solve}{\code{signature(a = "PosDefSymmMatrix", b = "ANY")}: evaluates solve method from \pkg{base} in classical way}
+inverse of \eqn{a}.}
+\item{solve}{\code{signature(a = "PosDefSymmMatrix", b = "ANY")}: evaluates solve method from \pkg{base} in classical way.}
}}
\details{The method for the Moore-Penrose inverse for
\code{signature(a = "PosSemDefSymmMatrix", b = "ANY")} uses \code{eigen} to find the eigenvalue
Modified: pkg/distrMod/man/sqrt-methods.Rd
===================================================================
--- pkg/distrMod/man/sqrt-methods.Rd 2008-12-02 21:42:40 UTC (rev 366)
+++ pkg/distrMod/man/sqrt-methods.Rd 2008-12-08 10:45:40 UTC (rev 367)
@@ -14,7 +14,7 @@
}
\section{Methods}{\describe{
\item{sqrt}{\code{signature(x = "PosSemDefSymmMatrix")}: produces a symmetric,
- p.s.d. matrix \eqn{y} such that \eqn{x = y^2}}
+ p.s.d. matrix \eqn{y} such that \eqn{x = y^2}.}
}}
\author{Peter Ruckdeschel \email{Peter.Ruckdeschel at itwm.fraunhofer.de}}
\seealso{
Modified: pkg/utils/DESCRIPTIONutils.R
===================================================================
--- pkg/utils/DESCRIPTIONutils.R 2008-12-02 21:42:40 UTC (rev 366)
+++ pkg/utils/DESCRIPTIONutils.R 2008-12-08 10:45:40 UTC (rev 367)
@@ -22,16 +22,16 @@
-changeDescription <- function(startDir, names, values,
- pkgs = NULL,
+changeDescription <- function(startDir, names, values,
+ pkgs = NULL,
withPackageHelpUpdate = TRUE){
oldDir <- getwd()
on.exit(setwd(oldDir))
setwd(startDir)
-
- if(is.matrix(values) && is.null(colnames(values)))
+
+ if(is.matrix(values) && is.null(colnames(values)))
colnames(values) <- rep(pkgs, length.out = ncol(values))
-
+
if(is.null(pkgs)) {
pkgs <- pkgs <- dir("pkg/")
idx <- grep(".+\\.",pkgs)
@@ -43,18 +43,19 @@
file.exists(paste("pkg/",x,"/DESCRIPTION",sep="")))]
if(!is.matrix(values))
- values <- matrix(values, length(names), length(pkgs),
+ values <- matrix(values, length(names), length(pkgs),
dimnames = list(names, pkgs))
- else values <- values[,pkgs]
+ else values <- values[,pkgs, drop = FALSE]
# get packages
sapply(pkgs, function(x){
FN <- file.path("pkg",x,"DESCRIPTION")
xx <- read.dcf(FN)
- xx[,names] <- values[names,x]
- write.dcf(xx, file=FN)
+ xx[, names] <- values[names, x, drop = FALSE]
+ write.dcf(xx, file = FN)
if(withPackageHelpUpdate)
- updatePackageHelp(package=file.path("pkg",x))
+ updatePackageHelp(package = file.path("pkg",x))
})
+ return(invisible())
}
}
@@ -79,7 +80,17 @@
colnames(Values) <- Pkgs
rownames(Values) <- Names
+Pkgs <- "distrMod"
+Names <- c("Version", "Date")
+Values <- matrix(c("2.0.4",
+ format(Sys.time(), format="%Y-%m-%d")),2,length(Pkgs))
+colnames(Values) <- Pkgs
+rownames(Values) <- Names
+changeDescription(startDir = "C:/rtest/distr",names=Names,
+ pkgs=c("distrMod"), values=Values)
+
+
changeDescription(startDir = "C:/rtest/distr",names="Date",
pkgs=Pkgs, values=format(Sys.time(), format="%Y-%m-%d"))
More information about the Distr-commits
mailing list