[Vegan-commits] r1745 - pkg/vegan/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Aug 23 16:40:27 CEST 2011
Author: jarioksa
Date: 2011-08-23 16:40:27 +0200 (Tue, 23 Aug 2011)
New Revision: 1745
Modified:
pkg/vegan/R/vegandocs.R
Log:
path.package() is an R-2.13 novelty
Modified: pkg/vegan/R/vegandocs.R
===================================================================
--- pkg/vegan/R/vegandocs.R 2011-08-23 13:22:11 UTC (rev 1744)
+++ pkg/vegan/R/vegandocs.R 2011-08-23 14:40:27 UTC (rev 1745)
@@ -18,7 +18,7 @@
browseURL(paste("http://127.0.0.1:", tools:::httpdPort,
"/library/vegan/doc/NEWS.html", sep=""))
} else {
- file.show(tools:::Rd2txt(file.path(path.package("vegan"),
+ file.show(tools:::Rd2txt(file.path(system.file(package="vegan"),
"NEWS.Rd"), tempfile()))
}
} else {
More information about the Vegan-commits
mailing list