[CHNOSZ-commits] r15 - in pkg/Rpad: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Sep 21 15:11:56 CEST 2012


Author: jedick
Date: 2012-09-21 15:11:55 +0200 (Fri, 21 Sep 2012)
New Revision: 15

Modified:
   pkg/Rpad/R/Rpad-internal.R
   pkg/Rpad/man/RpadGraphing.Rd
Log:
Rpad: remove library and require calls in .onLoad() and examples


Modified: pkg/Rpad/R/Rpad-internal.R
===================================================================
--- pkg/Rpad/R/Rpad-internal.R	2012-09-21 12:54:52 UTC (rev 14)
+++ pkg/Rpad/R/Rpad-internal.R	2012-09-21 13:11:55 UTC (rev 15)
@@ -2,8 +2,6 @@
 
 ".onLoad" <-
 function(lib, pkg) {
-    require("graphics")
-    require("utils")
     isR2HMTLAvailable <- length(.find.package("R2HTML", quiet = TRUE)) != 0
     if (isR2HMTLAvailable) { 
       options(R2HTML.sortableDF = TRUE)

Modified: pkg/Rpad/man/RpadGraphing.Rd
===================================================================
--- pkg/Rpad/man/RpadGraphing.Rd	2012-09-21 12:54:52 UTC (rev 14)
+++ pkg/Rpad/man/RpadGraphing.Rd	2012-09-21 13:11:55 UTC (rev 15)
@@ -118,6 +118,7 @@
   showgraph("graph_B")
 
 # an example with Simon Urbanek's GDD device:
+\donttest{
   if (require(GDD)) {
     graphoptions(type = GDD, width = 4, height = 3) # note the use of inches
     newgraph()
@@ -126,5 +127,6 @@
     showgraph()
   }
 }
+}
 
 \keyword{ math }



More information about the CHNOSZ-commits mailing list