powered by
Generate a R documentation file from an offensive programming instrumented object.
generateDocumentationContent(targetFolder_s_1, kind_s_1, name_s_1, object_o_1, packageName_s_1, extraneous_l = list(), typeFactory_o_1 = FunctionParameterTypeFactory(), overwrite_b_1 = FALSE)
the target folder to write files to
a single string taken amongst 'package', 'class', 'method'.
'package'
'class'
'method'
Either the package name, the class name or the method name, depending on previous argument.
an object of the given class
the name of the targeted package to produce documentation for
a list of extraneous data, to consider when producing R documentation content.
a type factory object. See FunctionParameterTypeFactory
FunctionParameterTypeFactory
a boolean, allowing file overwriting when file already exists.
A list with two entries named filename and overwritten, expressing the filename and the overwritten boolean flag.
list
filename
overwritten
If a single file is produced, then a such list is returned, otherwise, a list of a such list is returned.
Refer to Writing R extensions to know more about R documentation requirements.
# NOT RUN { # see system.file('inst/ut-generateDocumentationFiles.R', package = 'wyz.code.rdoc') # for a complete example # }
Run the code above in your browser using DataLab