![]() While we don’t recommend forcing yourself to do everything above on day one of your first “hello world” project, we actually do believe these tools are broadly applicable for R package development. You might think that these pro-style tools are overkill for someone who doesn’t do software development for a living. In Section 21.2, we show how to do this with GitHub Actions. Typically you’ll want to run R CMD check and to re-build and deploy your package website. All this really means is that you set up specific package development tasks to happen automatically when you push new work to your hosted repository. This terminology comes from the general software engineering world and can sound somewhat grandiose or intimidating when applied to your personal R package. This is also covered in Section 21.1.Ĭontinuous integration and deployment, a.k.a. We strongly recommend syncing your local Git repositories to a hosted service and, at this point in time, GitHub is the or, at least, “an” obvious choice. ![]() In Section 21.1, we explain why we think version control is so important. We say that based on Git’s general prevalence and, specifically, its popularity within the R package ecosystem. We strongly recommend the use of formal version control and, at this point in time, Git is the obvious choice. ![]() But even if it’s not RStudio, we strongly recommend working with an IDE that has specific support for R and R package development. That’s what we document, since it’s what we use and devtools is developed to work especially well with RStudio. In Section 5.2 we encouraged the use of the RStudio IDE for package development work. You will notice that we recommend using certain tools:Īn integrated development environment (IDE). ![]() In Chapter 22 we discuss how the nature of package maintenance varies over the lifecycle of a package. Here we’ll discuss the use of version control and continuous integration. In this last part of the book, we zoom back out to consider development practices that can make you more productive and raise the quality of your work.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |