[adegenet-commits] r84 - pkg/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Apr 2 11:03:49 CEST 2008
Author: jombart
Date: 2008-04-02 11:03:49 +0200 (Wed, 02 Apr 2008)
New Revision: 84
Modified:
pkg/man/monmonier.Rd
Log:
Added if(require...) to monmonier example (R CMD check failed when spdep not installed).
Modified: pkg/man/monmonier.Rd
===================================================================
--- pkg/man/monmonier.Rd 2008-04-02 08:25:13 UTC (rev 83)
+++ pkg/man/monmonier.Rd 2008-04-02 09:03:49 UTC (rev 84)
@@ -119,8 +119,7 @@
\seealso{\code{\link{spca}},\code{\link[pkg:spdep]{nb}}}
\examples{
-require(spdep)
-require(ade4)
+if(require(spdep) & require(ade4)){
### non-interactive example
@@ -193,5 +192,6 @@
plot(mon2,x2,method="greylevel",add.arr=FALSE,bwd=6,col="red",csize=.5)
}
}
+}
\keyword{multivariate}
\keyword{spatial}
More information about the adegenet-commits
mailing list