Learn R Programming

chk (version 0.4.0)

chk_deprecated: Deprecated functions

Description

Deprecated chk_() functions.

Usage

chk_count(x, x_name = NULL)

chk_dirs(x)

chk_files(x)

chk_has(x, values, x_name = NULL)

chk_in(x, values, x_name = NULL)

chk_is(x, class, x_name = NULL)

vld_is(x, class)

chk_length(x, length = 1L, x_name = NULL)

chk_no_missing(x, x_name = NULL)

vld_no_missing(x)

chk_off()

chk_on()

is_chk_on()

chk_proportion(x, x_name = NULL)

deparse_backtick(x)

Arguments

x

The object to check.

x_name

A string of the name of object x or NULL.

class

A string of the class of the object.

length

A count of the length.

Functions

  • chk_count: Check Count

    soft-deprecated

    Replace by [chk_whole_number](x); [chk_gte](x)

  • chk_dirs: Check Directories Exist

    soft-deprecated

    Replace with [chk_all](x, [chk_dir])

  • chk_files: Check Files Exist

    soft-deprecated

    Replace with [chk_all](x, [chk_file])

  • chk_has: Check Has

    soft-deprecated

    Replace by chk_superset()

  • chk_in: Check In

    soft-deprecated

    Replace by chk_subset()

  • chk_is: Check Is

    soft-deprecated

    Replace by chk_s3_class() or chk_s4_class()

  • vld_is: Validate Is

    soft-deprecated

    Replace by vld_s3_class() or vld_s4_class()

  • chk_length: Check Length

    soft-deprecated

    Replace by [chk_range](length(x))

  • chk_no_missing: Check No Missing Values

    soft-deprecated

    Replace with chk_not_any_na()

  • vld_no_missing: Validate No Missing Values

    soft-deprecated

    Replace with vld_not_any_na()

  • chk_off: Turns checking off

    deprecated

    This approach is no longer recommended

  • chk_on: Turns checking on

    deprecated

    This approach is no longer recommended

  • is_chk_on: Tests checking on

    deprecated

    This approach is no longer recommended

  • chk_proportion: Check Proportion

    soft-deprecated

    Replace by [chk_number](x); [chk_range](x)

  • deparse_backtick: Deparse Backtick

    soft-deprecated

    Replace with deparse_backtick_chk()