Skip to contents

# ckanr (development version)

MAINTENANCE

  • Replace the deprecated lazyeval dependency with rlang, updating our dplyr tests and development tooling accordingly so contributors only need the modern tidy-eval stack (#93)

ckanr 0.8.1

MAINTENANCE

ckanr 0.8.0

NEW FEATURES

Remaining endpoints of the CKAN 2.11 API have been implemented.

TESTS

  • Add integration coverage for collaborator and membership endpoints with dynamic skips when the target CKAN instance lacks the relevant feature flags.
  • Cover the new relationship and dataset maintenance helpers, including opt-in purge coverage behind the CKANR_ALLOW_PURGE_TESTS gate.
  • Exercise the resource view lifecycle (create/list/show/update/reorder/delete) plus default view helpers when the text_view plugin is available, while skipping gracefully otherwise.
  • Expand the follower tests to follow/unfollow datasets, groups, and users, verifying the followee dashboards while automatically cleaning up temporary relationships.
  • Add skips keyed off status_show() for all activity and dashboard tests, exercising new helpers whenever the activity plugin is available.
  • Cover the new vocabulary lifecycle and tag_autocomplete() helpers, skipping gracefully when the configured CKAN user lacks sysadmin rights.
  • Exercise the admin/ops helpers with sysadmin-gated tests that verify task-status roundtrips, term translations, config changes, job management, API tokens, and diagnostics while skipping when the test key lacks sufficient privileges.

MAINTENANCE

  • Add file .github/copilot-instructions.md to allow GenAI to reason over the codebase. The file is also a great read for human contributors.

ckanr 0.7.1

NEW FEATURES

MAINTENANCE

  • New developer experience: A devcontainer provides a disposable CKAN instance for testing, replacing the need for an external CKAN instance and GitHub secrets for testing, and offering the choice of CKAN v2.9-2.11 (#216 #212)
  • New maintainer @florianm

ckanr 0.7.0

CRAN release: 2023-03-17

NEW FEATURES

MINOR IMPROVEMENTS

  • revision_list and package_revision_list return NULL instead of error for CKAN 2.9+ (#200)
  • fix notes and warnings from CRAN package check results (#195)

ckanr 0.6.0

CRAN release: 2021-02-03

NEW FEATURES

MINOR IMPROVEMENTS

ckanr 0.5.0

CRAN release: 2020-07-30

NEW FEATURES

MINOR IMPROVEMENTS

BUG FIXES

  • fix for resource_search() and tag_search: both were not allowing a query to be more than length 1 (#153)
  • fix for print.ckan_package: wasn’t handling well results from package_search() that had a named list of locale specific results (#152)

ckanr 0.4.0

CRAN release: 2019-10-11

NEW FEATURES

MINOR IMPROVEMENTS

ckanr 0.3.0

CRAN release: 2019-07-23

NEW FEATURES

  • new package author Sharla Gelfand !!!
  • new functions for users: user_create() and user_delete() (#82)
  • package_show() gains key parameter to pass an API key (#97)
  • package_search() gains new parameters: include_drafts, include_private, use_default_schema, and facet.mincount (#107)
  • function fetch() changed to ckan_fetch()
  • gains function organization_delet() to delete an organization (#83)
  • gains function ckan_version() to get version info for a CKAN instance
  • gains methods for creating a CKAN remote instance as a dplyr backend: gains src_ckan() and it’s s3 methods tbl and src_tbls, sql_translate_env. in addition gains the S3 methods db_begin, db_explain, db_has_table, db_insert_into, db_query_fields, db_query_rows

MINOR IMPROVEMENTS

BUG FIXES

  • fix to resource_create(): upload param was inappropriately a required param (#75) thanks @mingbogo
  • fixes to resource_update(): date sent in last_modified in request body needed to be converted to character (#96) (thanks @jasonajones73); and the date format needed fixing (#119) (thanks @florianm)
  • fix to ckan_fetch() - use sf instead of maptools; in addition ckan_fetch can now parse xlsx files in addition to xls files; (#114) (#115) thanks @sharlagelfand
  • fix to package_search(): this route fails if parameters that did not exist in the CKAN instance are given; internally remove parameters as needed from query params by pinging the CKAN instance for its version (#120)

ckanr 0.1.0

CRAN release: 2015-10-22

NEW FEATURES

  • Released to CRAN.