Create a Google API package
gar_create_package(api_json, directory, rstudio = TRUE, check = TRUE, github = TRUE, format = TRUE, overwrite = TRUE)
json from gar_discovery_api
Where to build the package
Passed to create, creates RStudio project file
Perform a check on the package once done
If TRUE will upload package to your github
If TRUE will use tidy_eval on content
Whether to overwrite an existing directory if it exists
If check is TRUE, the results of the CRAN check, else FALSE
For github upload to work you need to have your github PAT setup. See use_github.
A Github repository with https://github.com/MarkEdmondson1234/autoGoogleAPI generated by this function.