2. More on R & Building Packages
Today’s agenda
- Going through the process of
- building and R package
- publishing our R package to GitHub and GitHub Pages
- Installing our R package locally
- Installing R packages from GitHub
- Overview of this week’s and next week’s plan and assignments
This week’s plan
- Tuesday: Introduction to R packages and VSCode Setup (Today)
- Thursday: More on R packages (Thursday)
Introduction to our course r package
Redo on our Repos
- Let’s delete the death repos we created last class from Github
- Let’s fork simplemaths to our personal GitHub accounts.
- Clone our forked repos to our local machines
- Add your assigned function
- Test locally
- Do a pull request to the original repo
- Install the package from GitHub and use your function
- What functions should we include?
- What assignments can each of us take?
Pitches on your personal package ideas
- What kind of package would you like to build for your personal use?
Class Assignments
- Make sure your environment is setup and that you can publish to GitHub pages
- Read through The Getting started section (Chapters 1-5)
- Create your own package repository for your personal R package.