filmov
tv
First steps towards my first real R package (CC267)

Показать описание
Picking a name for an R package is a bit like picking a name for your kid. What if I screw up? We have time to finalize the name, so let me know if you don't like what I come up with. This video gives some explanation for the name that I have settled on for now. After picking a name, I create a skeleton for the package including getting it up on GitHub, creating a README, setting up tests, and roughing in documentation. Thankfully, Hadley Wickham and Jenny Bryan have removed a lot of the pain of pulling off these steps with their book R Packages. I'll apply the first chapter of their book to start the development of my R package. We'll use a number of functions from the devtools, usethis, and testthat, packages to develop the skeleton.
#R #package #devtools #usethis #testtaht #git #Rstats #github
Support Riffomonas by becoming a Patreon member!
You can also find complete tutorials for learning R with the tidyverse using...
0:00 Introduction
2:32 Picking a name for our package
10:21 Creating phylotyper package skeleton
12:03 Setting up git and GitHub
15:03 Adding first drafts of documentation
18:44 Creating testthat skeleton
19:19 Checking package and resolving issues
#R #package #devtools #usethis #testtaht #git #Rstats #github
Support Riffomonas by becoming a Patreon member!
You can also find complete tutorials for learning R with the tidyverse using...
0:00 Introduction
2:32 Picking a name for our package
10:21 Creating phylotyper package skeleton
12:03 Setting up git and GitHub
15:03 Adding first drafts of documentation
18:44 Creating testthat skeleton
19:19 Checking package and resolving issues
Комментарии