Skip to contents

checkr 0.5.0

CRAN release: 2019-04-25

  • fixed check_key with no columns
  • added units testing
  • added names = TRUE and class = TRUE arguments to check_attributes(), check_no_attributes() and check_vector()
  • added na_distinct = FALSE argument to check_key
  • replace internal deparse_x_name() with exported chk_deparse()
  • added check_name() to check if elements of character vector are each a syntactically valid name
  • check_named() now only gives 1 warning if error = FALSE and not named
  • removed check_tz()

checkr 0.4.0

CRAN release: 2018-11-01

Major Changes

  • added err as dependency for message generation
  • check_data argument values now NULL by default (as opposed to missing)
  • lengths including nrows and ncols can now be checked by a vector of possible values
  • coerce = TRUE now also strips attributes for flag, int, dbl, string and logical, integer, double, character.

Exported

New Functions

New Arguments

Deprecated

checkr 0.3.0

CRAN release: 2018-06-27

  • redefined check_scalar (following previous deprecation)
  • added only = FALSE argument to check_vector() to check whether only the actual values are permitted.
  • added check_rbind() to check two data frames can be smoothly rbinded

checkr 0.2.0

CRAN release: 2018-03-26

checkr 0.1.0

CRAN release: 2018-03-02

  • added check_nchar() function
  • check_vector() and check_list() now allow named argument to be a regular expression or count range
  • added nchar = c(0L, .Machine$max.integer) and regex = ".*" arguments to check_named()
  • added check_regex() function
  • added all_y = TRUE argument to check_join() to check all rows in y in join
  • changed check_join() error message to
    …join in x and y must include all the rows in x as opposed to …join in x and y violates referential integrity
  • added check_number() to check that object is a scalar real
  • added assertive-programming vignette
  • vector length are now checked before values
  • lengths can now be specified using TRUE, FALSE or NA (# 2)

checkr 0.0.2

CRAN release: 2018-01-29

checkr 0.0.1

  • first official release