设为首页收藏本站获取积分奖励

R语言中文网

 找回密码
 立即注册
查看: 659|回复: 0

R语言为新的源包创建骨架package.skeleton()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:08:13 | 显示全部楼层 |阅读模式
        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%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|R语言中文网    

GMT+8, 2024-5-20 20:48 , Processed in 0.036069 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表