# NOT RUN {
# Setup
ckanr_setup(url = "https://demo.ckan.org", key = getOption("ckan_demo_key"))
# create a group
(res <- group_create("lions", description="A group about lions"))
# show the group
group_show(res$id)
# delete the group
group_delete(res)
## or with it's id
# group_delete(res$id)
# }
Run the code above in your browser using DataLab