Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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_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.

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_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()


chk

Check User-Supplied Function Arguments

v0.5.1
MIT + file LICENSE
Authors
Joe Thorley [aut, cre] (<https://orcid.org/0000-0002-7683-4592>), Kirill Müller [aut] (<https://orcid.org/0000-0002-1416-3412>), Ayla Pearson [ctb] (<https://orcid.org/0000-0001-7388-1222>), Poisson Consulting [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.