Skip to contents

ckanr (development version)

ckanr 0.9.0

BUG FIXES

  • Refresh the DataStore DBI and dbplyr integration for the dbplyr 2nd-edition interface. Use dplyr::tbl() with a CKANConnection as the primary interface. The connection remains read-only (#187, #240).
  • Mark median() and quantile() as unsupported DataStore translations. Add execution tests for joins, semi-joins, set operations, wrapped queries, and the supported custom aggregate translations (#188).
  • revision_list() and package_revision_list() no longer crash when the CKAN version is unknown. An unknown version passes through to the API call (#200).
  • parse_version_number() returns NA with no warning for short or missing input.
  • ping() validates the as argument. as = "logical" returns FALSE on failure. as = "json" signals an error on failure.
  • Availability checks (ckan_action_available(), activity_email_notifications_enabled()) no longer cache transient failures.
  • read_session() stops with a clear error for unsupported file formats instead of returning NULL. ckan_fetch() rejects a missing format before any download.
  • resolve_group_or_org_id() returns the name for name-only lists, matching the sibling helpers.
  • The related_*() helpers stop with a clear message when the CKAN instance lacks the related API.
  • Startup resets an empty CKANR_DEFAULT_URL to the default. Docs name the correct default URL.
  • Add ds_upsert() for inserting or updating records in an existing DataStore resource (#98).
  • Requests now stop early with a clear message when the CKAN URL is empty or does not start with http:// or https:// (#154).
  • HTTP API calls now report a clear error when CKAN or a proxy returns a non-JSON response instead of exposing a JSON parsing error (#92).
  • CSV downloads that trigger EOF within quoted string now use a base R fallback that preserves the remaining rows without adding a dependency (#180).

DOCS

  • Rewrote package prose (help pages, README, vignette, NEWS) in plain language. No facts changed.
  • Added ds_search() examples for selecting fields and filtering several fields (#101). Added migration guidance for deprecated ds_create_dataset() users (#214).
  • Added guidance for package_patch() with ckanext-scheming custom fields (#233), thanks @sboots.
  • Added a vignette example for listing all datasets in an organization (#183).

MAINTENANCE

ckanr 0.8.1

MAINTENANCE

  • Change the default CKAN URL to https://demo.ckan.org/
  • Update servers(), thanks @nn-at (#176)
  • Replace the deprecated lazyeval dependency with rlang. Update dplyr tests and development tooling. Contributors need only the modern tidy-eval stack (#93)

ckanr 0.8.0

NEW FEATURES

This release adds the remaining endpoints of the CKAN 2.11 API.

TESTS

  • Add integration coverage for collaborator and membership endpoints. Tests skip when the target CKAN instance lacks the relevant feature flags.
  • Cover the new relationship and dataset maintenance helpers. Opt-in purge coverage runs 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. Tests skip otherwise.
  • Expand the follower tests to follow/unfollow datasets, groups, and users. Tests verify the followee dashboards and clean up temporary relationships.
  • Add skips keyed off status_show() for all activity and dashboard tests. Tests use the new helpers when the activity plugin is available.
  • Cover the new vocabulary lifecycle and tag_autocomplete() helpers. Tests skip when the configured CKAN user lacks sysadmin rights.
  • Exercise the admin/ops helpers with sysadmin-gated tests. They verify task-status roundtrips, term translations, config changes, job management, API tokens, and diagnostics. Tests skip when the test key lacks sufficient privileges.

MAINTENANCE

  • Add file .github/copilot-instructions.md to allow GenAI to reason over the codebase. The file also helps human contributors.

ckanr 0.7.1

NEW FEATURES

MAINTENANCE

  • A devcontainer provides a disposable CKAN instance for testing. It replaces an external CKAN instance and GitHub secrets for testing. It offers 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

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 its 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

ckanr 0.1.0

CRAN release: 2015-10-22

NEW FEATURES

  • Released to CRAN.