R语言为新的源包创建骨架package.skeleton()函数-中英文对照帮助文档
By MicroRbt Martinez PhD
R语言函数名:package.skeleton()
R语言函数功能:为新的源包创建骨架
来自资源库:基础库(R语言自带)
package.skeleton()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。
描述-----Description-----
package.skeleton automates some of the setup for a new source package. It creates directories, saves functions, data, and R code files to appropriate places, and creates skeleton help files and a <code>Read-and-delete-me</code> file describing further steps in packaging.
package.skeleton自动执行一些新的源软件包的设置。它创建目录,将函数,数据和R代码文件保存到适当的位置,并创建框架帮助文件和<code>Read-and-delete-me </ code>文件,以描述打包的进一步步骤。
使用方法-----Usage-----
package.skeleton(name = "anRpackage", list,
environment = .GlobalEnv,
path = ".", force = FALSE,
code_files = character(), encoding = "unknown")
参数-----Arguments-----
参数name介绍: character string: the package name and directory name for your package. Must be a valid package name.
字符串:软件包的软件包名称和目录名称。必须是有效的软件包名称。
参数list介绍: character vector naming the R objects to put in the package. Usually, at most one of list, environment, or code_files will be supplied. See Details .
字符向量,命名R对象放入包装中。通常,最多将提供listc,environment或code_files中的一种。请参阅Details。
参数environment介绍: an environment where objects are looked for. See Details .
寻找对象的环境。请参阅Details。
参数path介绍: path to put the package directory in.
放置软件包目录的路径。
参数force介绍: If FALSE will not overwrite an existing directory.
如果FALSE不会覆盖现有目录。
参数code_files介绍: a character vector with the paths to R code files to build the package around. See Details .
带有R代码文件路径的字符向量,用于围绕该
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
|