R Packages设计和创建|R书籍
R语言之所以威力巨大,R包功不可没啊。有很多经典的R包,我们可以容易下载和应用以解决我们的诸多问题,然则,也有些问题,需要设计和构建属于我们自己的R包,如何解决这个问题?R Packages设计和创建这本书籍能够很好地回答这个问题。
书籍描述:
Turn your R code into packages that others can easily download and use. This practical book shows you how to bundle reusable R functions, sample data, and documentation together by applying author Hadley Wickham’s package development philosophy. In the process, you’ll work with devtools, roxygen, and testthat, a set of R packages that automate common development tasks. Devtools encapsulates best practices that Hadley has learned from years of working with this programming language.
Ideal for developers, data scientists, and programmers with various backgrounds, this book starts you with the basics and shows you how to improve your package writing over time. You’ll learn to focus on what you want your package to do, rather than think about package structure.
Learn about the most useful components of an R package, including vignettes and unit tests
Automate anything you can, taking advantage of the years of development experience embodied in devtools
Get tips on good style, such as organizing functions into files
Streamline your development process with devtools
Learn the best way to submit your package to the Comprehensive R Archive Network (CRAN)
Learn from a well-respected member of the R community who created 30 R packages, including ggplot2, dplyr, and tidyr
书籍下载:
点击【阅读原文】,进入【下载区域】
书籍寻宝:
1 如何设计和构建自己的R包?思路和流程是什么?
2 请设计一个属于自己的R包,期待您的共享哦?
3 你常用那些R包?用它来解决什么问题?
感谢作者分享
数据人网是数据人学习、交流和分享的平台http://shujuren.org 。专注于从数据中学习。
平台的理念:人人投稿,知识共享;人人分析,洞见驱动;智慧聚合,普惠人人。
您在数据人网平台,可以1)学习数据知识;2)创建数据博客;3)认识数据朋友;4)寻找数据工作;5)找到其它与数据相关的干货。
我们努力坚持做原创,分享和传播数据知识干货!
我们都是数据人,数据是有价值的,坚定不移地利用数据价值创造价值!
【众包写书】通告:以机器学习十大经典算法为线索,用R语言来实现,并且与实际应用场景关联,有这种意愿、情怀、分享、协同的数据人请加微信:luqin360。
您不是一个人在奋斗!!
1 数据科学自媒体,分享数据科学干货。
2 脚印英语JoyEnglish,带你说口语。
分享和传播R语言知识,让更多数据人用R语言改善生活!
请关注“恒诺新知”微信公众号,感谢“R语言“,”数据那些事儿“,”老俊俊的生信笔记“,”冷🈚️思“,“珞珈R”,“生信星球”的支持!