Create an R package
Follow the workflow
Download PDF
Download ePub
Welcome
Use git and GitHub
1
Cloning the repository
2
Pulling remote changes
3
Creating our own branch
4
Adding changes to our branch
5
Pushing our changes
6
Creating a pull request
7
Solving conflicts
Create an R package
8
Project structure
9
Virtual environments with renv
10
Writing code
11
Function documentation
12
Package data
13
Writing tests
14
R CMD Check
15
Writing articles
16
Environment variables and secrets
17
R code style and formatting
18
Reading large files
19
Automatic checks on Pull Requests
Write reproducible papers
20
Bye RStudio, welcome Positron
21
Embrace Quarto
22
But how do I write in Quarto syntax?
23
But how do I cite my people?
24
But you know, papers are collaborative…
25
But there’s this collaborator who can’t code…
26
But how to follow the journal’s style?
Create an R package
This is the R package part.
7
Solving conflicts
8
Project structure