This chapter will make use of the methods and R6 packages to load the S4 and R6 object models functionality. You should know that interactive R sessions load the methods by default, but non-interactive sessions don't, so you need to explicitly load it in such cases. The jsonlite and lubridate packages are brought to simplify some common tasks like getting data from JSON APIs and transforming dates. For more information, take a look at Appendix, Required Packages.
Package |
Reason |
R6 |
R6 object model |
methods |
S4 object model |
lubridate |
Easily transform dates |
jsonlite |
Retrieve data from JSON APIs |