Development of a example R package (CC266)

Описание к видео Development of a example R package (CC266)

The number and diversity of packages in R is one of its greatest strengths. Development of R packages has always been tricky and frought with pain. Thankfully, Hadley Wickham and Jenny Bryan have removed a lot of the pain with their book R Packages. We'll go through the first chapter of their book to develop an example R package before creating our own package in future episodes. We'll use a number of functions from the devtools, usethis, and testthat, packages to develop the example R package.

If you want to get a physical copy of R Packages: https://amzn.to/43pMR8L
If you want a free, online version of R packages: https://r-pkgs.org/

You can find my blog post for this episode at https://www.riffomonas.org/code_club/....

#R #package #devtools #usethis #testtaht #git #Rstats #github

Support Riffomonas by becoming a Patreon member!
  / riffomonas  

Want more practice on the concepts covered in Code Club? You can sign up for my weekly newsletter at https://shop.riffomonas.org/youtube to get practice problems, tips, and insights.

If you're interested in purchasing a video workshop be sure to check out https://riffomonas.org/workshops/

You can also find complete tutorials for learning R with the tidyverse using...
Microbial ecology data: https://www.riffomonas.org/minimalR/
General data: https://www.riffomonas.org/generalR/

0:00 Introduction
3:28 Creating the skeleton of regexcite package
9:28 Setting up git for our package
11:06 Loading devtools when launching R
13:26 Adjusting tabs in Environment panel
14:04 Adding R code to package
19:39 Adding documentation to package
25:08 Installing package
25:56 Creating a testing framework
30:08 Refactoring strsplit1 with stringr::str_split
38:19 Pushing package to GitHub
40:24 Creating and rendering a README
43:42 Installing package from GitHub

Комментарии

Информация по комментариям в разработке