Exercise

Adding the import to the description

If your package imports functions from other packages, they must be listed in the DESCRIPTION file. You don't need to manually add these - you can use the use_package() function to automatically add packages to your DESCRIPTION file. By default, they are added as imports, but if you alter the type parameter, you can change whether the package is listed as depends, imports, suggests, or a different option.

Instructions

100 XP
  • Add dplyr, tidyr, and purrr as imported dependencies to the DESCRIPTION file of your package.