|
Abstract: . . . HOWTO generate repository HTML S. Falcon April 30, 2006 1 Overview This document assumes you have a collection of R packages . . . . . . as(object, "pdAuthorMaintainerInfo") > dom$addNode(htmlValue(authorInfo)) One advantage of this setup is that we can now define a method to generate complete HTML documents that will work for all the dummy classes. Hence mix and match. 6.2 A note on the htmlValue method for . . . . . . VIEWS file and the known repository structure (location of packages and extracted vignettes), we represent the details for each package in the repository in a PackageDetail-class instance. packageDetail-class objects know how to write themselves to HTML using the htmlValue method. . . . . . . dom$addTag(sec$heading$tag, sec$heading$text) secObj <- as(object, sec$content) 3 Page 4 dom$addNode(htmlValue(secObj)) } lapply(list(details, downloads, vignettes), doSection) 4 . . . --1201,4,150,1305,6003
|