How to create a data only R package with devtools (CC296)

Описание к видео How to create a data only R package with devtools (CC296)

Did you know that an R package does not necessarily need to contain any code? In this Code Club, Pat creates a data package that provides two versions of the RDP's trainset19 16S rRNA gene sequence reference sequences. This is a great review of creating a package and how to work with data in packages. This episode is part of an ongoing effort to develop an R package that implements the naive Bayesian classifier.

The link to the mothur wiki for the RDP reference files: https://mothur.org/wiki/rdp_reference...
Other reference files can be accessed here: https://mothur.org/wiki/taxonomy_outl...


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/....

Check out the GitHub repository at the:
Beginning of the episode: https://github.com/riffomonas/phyloty...
End of the episode: https://github.com/mothur/trainset19/...

#rstats #readr #vroom #data.table #read.delim #rdp #16S #classification #classifier #microbialecology #microbiome

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
4:03 Creating package skeleton
8:12 Setting up R to use devtools for package development
10:39 Setting up git and GitHub
12:21 Creating README file
14:29 Create R file with documentation for data
17:59 Create datasets from downloaded data
30:11 Regenerating documentation
31:40 Rendering README.Rmd file
33:35 Check build of package
34:45 Pushing trainset19 package to GitHub
37:18 Installing trainset19 package from GitHub

Комментарии

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