This project is based on the one Created by Milos Popovic. I also followed his detailed tutorial
If you are also a rookie like me trying to learn github, please follow this amazing tutorial where Mouna Belaid makes a step by step tutorial on how to start with R and github
To follow my code just download the basins and rivers from the links specified in the code and save them in the folder of your project.
The resulting map is this: