How to use GitHub actions to build on other operating systems and test code coverage (CC299)

Описание к видео How to use GitHub actions to build on other operating systems and test code coverage (CC299)

There are some awesome integrations for developing R packages that leverage the power of GitHub actions. In this episode, Pat will show how we can test whether a package will build on other operating systems than the OS you are developing on. Then he will quantify the level of code coverage using the covr package and leverage Codecov and GitHub actions to make sure the coverage is calculated every time we push to the repository. The results of these GitHub actions will be included as new badges in the package's README file. This episode is part of an ongoing effort to develop an R package that implements the naive Bayesian classifier for classifying 16S rRNA gene sequences.

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

#rstats #usethis #pkgdown #devtools #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
3:02 Build package on Windows, Linux, and Mac OSX
7:09 Resolve error in build
11:27 Test code coverage locally
13:54 Test code coverage with GitHub actions
15:54 Get and apply CodeCov token
20:57 Add coverage badge to README

Комментарии

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