updateViews(repos = ".", css = "../../../R.css", reposname = "CRAN", ...)read.ctv(file)
ctv2html(x, file = NULL, css = "../../../R.css", packageURL = "../Descriptions/", reposname = "CRAN")
ctv2html."ctv" as returned by read.ctv.updateViews returns an object of class "ctvlist" containing
the "ctv" objects available.
ctv2html returns invisibly a vector with the HTML code generated.
read.ctv returns a list of class "ctv" with slots:
name
(character, name of package) and core (logical, Is priority core?).read.ctv can read a "ctv". This functions requires the availability
of the
ctv2html generates a "ctv" object.
updateViews reads all "ctv" objects in a "ctvlist" object in a file install.views or CRAN.views.
install.views## read .ctv file
x <- read.ctv(file.path(.find.package("ctv"), "ctv", "Econometrics.ctv"))
x
## generate corresponding .html file
ctv2html(x)Run the code above in your browser using DataLab