Nothing
names = TRUE
and class = TRUE
arguments to check_attributes()
, check_no_attributes()
and check_vector()
na_distinct = FALSE
argument to check_key
deparse_x_name()
with exported chk_deparse()
check_name()
to check if elements of character vector are each a syntactically valid namecheck_named()
now only gives 1 warning if error = FALSE and not namedcheck_tz()
err
as dependency for message generationcheck_data
argument values
now NULL by default (as opposed to missing)coerce = TRUE
now also strips attributes for flag, int, dbl, string and logical, integer, double, character.chk_deparse()
to deparse dealing with NAs for packages which extendchk_fail()
to have conditional error or warning messages for packages which extend.chk_max_int()
, chk_min_int()
, chk_min_dbl()
, chk_max_dbl()
and chk_tiny_dbl()
to get integer and numeric ranges for system.check_intersection()
to check the intersection between two atomic vectorscheck_integer()
, check_numeric()
, check_double()
, check_logical()
and check_character()
check_int()
and check_dbl()
both of which do coercioncheck_prob()
to check a probabilitycheck_pos_dbl()
, check_neg_dbl()
and check_noneg_dbl()
check_pos_int()
, check_neg_int()
and check_noneg_int()
check_attributes()
to check an objects attributes and check_no_attributes()
check_lgl()
, check_chr()
, check_day()
, check_dttm()
check_grepl()
attributes
argument to check_vector()
and check_scalar()
which now only accept a flag for namedcomplete = TRUE
argument to check_names()
exclusive = FALSE
and order = FALSE
to check_list()
unique = FALSE
, length = NA
and named = NA
from check_list()
as checked through values
argument or with specific functionscheck_regex()
and check_pattern()
(and added check_grepl()
)
and deprecated regex
argument for pattern
argumentcheck_flag_na()
check_scalar
(following previous deprecation)only = FALSE
argument to check_vector()
to check whether
only the actual values are permitted.check_rbind()
to check two data frames can be smoothly rbind
edcheck_tz()
for check_tzone()
check_unused()
to check ...
is unused within a functioncheck_homogenous()
to check object's elements are the same classcheck_flag_na()
to check is scalar logicalcheck_nchar()
functioncheck_vector()
and check_list()
now allow named
argument to be a regular expression or count rangenchar = c(0L, .Machine$max.integer)
and regex = ".*"
arguments to check_named()
check_regex()
functionall_y = TRUE
argument to check_join()
to check all rows in y in joincheck_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 integritycheck_number()
to check that object is a scalar realassertive-programming
vignetteTRUE
, FALSE
or NA
(# 2)check_inherits()
and check_classes()
functionscheck_named()
now only checks unique when unique = TRUE
check_names()
(and check_colnames()
) can now check names are unique and
also accept names = character(0)
(and colnames = character(0)
)Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.