# NOT RUN {
# Setup
ckanr_setup(url = "https://demo.ckan.org/", key = getOption("ckan_demo_key"))
# Create a package
(pkg <- package_create("hello-world11", author="Jane Doe"))
# Next show the package to see the fields
(res <- package_show(pkg$id))
## update just chosen things
# Make some changes
x <- list(maintainer_email = "heythere2@things.com")
# Then update the packge
package_update(x, pkg$id)
# }
Run the code above in your browser using DataLab