exbutton_statdoc: Add Extra staticdocs Icons

Description Usage Arguments Examples

View source: R/exbutton_statdoc.R

Description

staticdocs writes multiple files contained in an .Rd file to one icon followed by a parenthesis with the other functions. This function adds extra icons for supplied parenthesis functions.

Usage

1
exbutton_statdoc(path, extra, file = NULL)

Arguments

path

Path to the index.html file.

extra

The extra functions found in the parenthesis for who new icons should be added.

file

The path/file name to output.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
(examp <- system.file("extdata/qdap", package = "acc.roxygen2"))
file.copy(examp, to=getwd(), recursive = TRUE)
path <- paste0(getwd(), "/qdap/index.html")
file <- paste0(getwd(), "/qdap/index2.html")
library(qdap)
extras <- qcv(right.just, coleman_liau, flesch_kincaid, fry, linsear_write, SMOG)
exbutton_statdoc(path, extras)
exbutton_statdoc(path, extras, file)

## End(Not run)

trinker/acc.roxygen2 documentation built on May 27, 2017, 1:45 p.m.