Skip to contents

chk 0.9.2.9000

  • Same as previous version.

chk 0.9.2

CRAN release: 2024-07-09

  • No longer officially supports R 3.6 as dependency evaluate of suggested dependency testthat switched to 4.0.
  • check_key() now preserves active status of sfc column of sf object.
  • Fixed vld_join(by = NULL) with R 4.5.

chk 0.9.1

CRAN release: 2023-10-06

  • Fixes incorrect error message with chk_null_or() when vld = chk::vld_xx.

chk 0.9.0

CRAN release: 2023-05-27

chk 0.8.1

CRAN release: 2022-08-26

chk 0.8.0

CRAN release: 2022-02-05

  • Updated deprecated argument .subclass to class in rlang function calls
  • Added chk_valid_name().
  • Fixed chk_join() with sf data frames.

chk 0.7.0

CRAN release: 2021-09-03

Added

  • Added chkor_vld() as faster replacement for soft-deprecated chkor().
  • Sped up chk_null_or() by soft-deprecating chk argument for vld argument.
  • Un-deprecated chk_count() and chk_length() because so useful.
  • Updated error messages to precede objects which are described by their class by ‘the y object of class’.

Fixed

Deprecated

chk 0.6.0

CRAN release: 2021-07-04

  • All chk_xx() functions now return invisible copy of x (if passes check).
  • Fixed bug in check_key() and check_data() when key is undefined for sfobjects.
  • chk_whole_numeric() now accepts Inf values.
  • Removed LazyData: true for DESCRIPTION file to avoid CRAN check note.

chk 0.5.0

CRAN release: 2020-05-29

chk 0.4.0

CRAN release: 2020-03-04

chk 0.3.1

CRAN release: 2020-02-05

chk 0.3.0

CRAN release: 2020-01-15

chk 0.2.1

CRAN release: 2019-11-26

Minor Changes

  • Removed chk-benchmarking.Rmd vignette that was causing problems for many CRAN checks.

chk 0.2.0

CRAN release: 2019-11-15

Major Changes

  • Added x_name = NULL argument to relevant chk_ functions.
  • Replaced err = FALSE variant with vld_ variant.
  • Switched from stop(), warning() and message() to rlang variants abort(), warn() and inform().
  • All error messages now start with x_name.
  • Err capitalizes first character and adds missing period (tidyverse style).

Newly Exported Functions

New Arguments

  • formals argument to chk_function().
  • tidy = TRUE argument to errors, warnings and messages.
  • n = NULL and call. = FALSE args to error message generating functions.
  • ellipsis = 10L argument to cc().
  • sep = ", " arg to cc().
  • incomparables = FALSE argument to chk_unique().
  • %y to sprintf-like types.

Minor Changes

chk 0.0.1

  • Initial release.