Manage libraries efficiently
Packages are a vital component of the R ecosystem, serving as the cornerstone for enhancing the base language.
In this section, we delve into the essential best practices for efficiently utilizing these packages.
1️⃣ Do you really need a package?
Using a package also means you rely on somebody's else code.
If the code has errors, you will insert errors in your analysis. If the package functions are updated, your code might not work anymore. If the package loads 1000 dependencies, so will your analysis.
So make sure to select only well-maintained and widely-used packages.
You can evaluate the credibility of a package by looking at the number of downloads, last update date, and the number of stars on github.
2️⃣ Load at the start
Always load your packages at the beginning of your script.
This lesson is not ready yet! 🙃
Become a member now: you'll be the first accessing it, at a very preferential price.
Or Login
Use shortcuts
What is a notebook?