First steps towards my first real R package (CC267)

preview_player
Показать описание
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
Рекомендации по теме
Комментарии
Автор

Great to see you back (to microecology) ;-) and excited to follow this project. I kind of like the combination of your top 2 ideas - phylotypR.

linieffi
Автор

I care! Love the series idea...so happy you are back! Appreciate all the time that it takes to build the content!

NATS
Автор

That's a terrific project! Thanks!

stes
Автор

this is an excellent meditation on package naming, which is very hard to do yet important to get right, when one thinks of many commonly used bioinformatics packages they often have meaningful and catchy names...but this is challenging. quite like phylotype, only additional thought might be phylotype_r, which would be a nod to both R and to tidyverse, which presumably will be used extensively

drjzee
Автор

What about "phyloprofiler"? 🤔
Thanks for sharing the journey with us!

ngn
Автор

How about classiphy or classiphyR or something like that

man_shooo
Автор

there is only one rule in naming an R package... it must contain a capital R :D

svenr