Desert分享 http://blog.sciencenet.cn/u/chuangma2006 Early Birds

博文

Steps to generate R packages

已有 2428 次阅读 2012-3-10 09:29 |个人分类:R|系统分类:科研笔记

There are some differences to generate R packages on Linux/Windows platforms. Here are the steps for Linux.

1) Upgrade your R to the latest version.

2) Generate RD files: package.skeleton(name = "packagename", code_files=c("**.R", "***.R"))
 
3) Annotate RD files with the information you wanted to be shown out.

4) R CMD check packagename

5) R CMD build packagename

6) R CMD check --as-cran packagename

7) Check your zipped package on the windows platform (http://win-builder.r-project.org/)

8) upload ".tar.gz" file to ftp://cran.r-project.org/income and send email to CRAN@R-project.org.
  with the emphasis that "we have read and agreed to the CRAN policy at http://cran.r-project.org/web/packages/policies.html, and approved to release it to R community."

OR use the submission form at: http://cran.r-project.org/submit.html.






https://blog.sciencenet.cn/blog-655584-546093.html


下一篇:From cluster to tree view
收藏 IP: 150.135.38.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-21 14:42

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部