[Vegan-commits] r2588 - in pkg/vegan: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Aug 23 08:45:23 CEST 2013


Author: jarioksa
Date: 2013-08-23 08:45:23 +0200 (Fri, 23 Aug 2013)
New Revision: 2588

Modified:
   pkg/vegan/NAMESPACE
   pkg/vegan/R/vegandocs.R
Log:
startDynamicHelp and Rd2txt were exported from tools: no ::: needed

Modified: pkg/vegan/NAMESPACE
===================================================================
--- pkg/vegan/NAMESPACE	2013-08-19 13:29:50 UTC (rev 2587)
+++ pkg/vegan/NAMESPACE	2013-08-23 06:45:23 UTC (rev 2588)
@@ -65,6 +65,7 @@
 import(graphics)
 import(permute)
 importFrom(utils, head, tail, str)
+importFrom(tools, Rd2txt, startDynamicHelp)
 import(lattice)
 ## nobs only exists in R 2.13.0 -- import from permute with older R
 if (getRversion() < "2.13.0") {

Modified: pkg/vegan/R/vegandocs.R
===================================================================
--- pkg/vegan/R/vegandocs.R	2013-08-19 13:29:50 UTC (rev 2587)
+++ pkg/vegan/R/vegandocs.R	2013-08-23 06:45:23 UTC (rev 2588)
@@ -17,11 +17,11 @@
         helptype <- getOption("help_type")
         if (length(helptype) && helptype == "html") {
             if (!tools:::httpdPort)
-                tools:::startDynamicHelp()
+                startDynamicHelp()
             browseURL(paste("http://127.0.0.1:", tools:::httpdPort,
                             "/library/vegan/doc/NEWS.html", sep=""))
         } else {
-            file.show(tools:::Rd2txt(file.path(system.file(package="vegan"),
+            file.show(Rd2txt(file.path(system.file(package="vegan"),
                                                "NEWS.Rd"), tempfile()))
         }
     } else {



More information about the Vegan-commits mailing list