Check your R package
You've done it! You've successfully built an R package from beginning to end. You've added functions and data, documented them, learned about licensing your package, updated the DESCRIPTION
file, set package dependencies, and so much more! As one final assurance, we can run a function from the devtools
package. This function goes through an exhaustive list of diagnostics to ensure package integrity.
devtools
has been loaded for you along with a current version of the unitConverter
package.
Note that this exercise will take up to 30 seconds to initialize. It could take up to 15 seconds to run your code too. Be patient and you'll get all the lovely messages with a summary at the end of your package's assessment.
This exercise is part of the course
Developing R Packages
Exercise instructions
- Run a final check of your package.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Assess the package
___