Man pages for johnrbryant/demcheck
Checking for Demographic Packages

chk_all_0_1Check that a vector consists entirely of of 1s and 0s
chk_all_x1_in_x2Check whether all elements of 'x1' are in 'x2'
chk_array_metadata_completeCheck that an array has complete metadata
chk_at_most_one_na_vectorCheck that a vector or list has 0 or 1 NAs
chk_character_completeCheck that a character vector has no NAs, blanks, or...
chk_comp_type_indicesCheck that 'i_comp_type_self' consistent with...
chk_difference_divisibleCheck that differences between two variables is divisible by...
chk_dim_min_lengthCheck that a dimension equals or exceeeds a minimum length
chk_dimnames_completeCheck that all dimensions of an array have complete dimnames
chk_dimtypes_mutually_compatibleCheck that dimtypes obey rules about appearing at most once,...
chk_finite_scalarCheck that a scalar or vector only has finite values
chk_first_day_unit_scalarCheck dates are the first day of the specified unit
chk_geCheck that 'x1' is greater than or equal to 'x2'
chk_ge_break_min_ageCheck that implied ages are greater than or equal to...
chk_ge_break_min_dateCheck that dates are greater than or equal to 'break_min'
chk_gtCheck that 'x1' is greater than 'x2'
chk_has_dimnamesCheck that an array has dimnames
chk_has_non_naCheck that a vector has at least one non-NA element
chk_has_nonzeroCheck that a vector has at least one non-zero element
chk_increasingCheck that elements in a vector of numbers or dates are...
chk_indices_distinctCheck that dimension indices all refer to different...
chk_integer_in_rangeCheck all elements of an integer vector are within a given...
chk_interval_diff_ge_oneCheck that difference between upper and lower limits of...
chk_interval_label_ge_break_minCheck that all intervals fall within limits imposed by...
chk_intervals_inside_breaksCheck that invervals defined by 'int_low' and 'int_high' fall...
chk_is_characterCheck that a value has type "character"
chk_is_classCheck that object or elements of list inherit from specified...
chk_is_dateCheck that a value inherits from class "Date"
chk_is_date_equivCheck that a scalar or vector is dates or can be coerced to...
chk_is_date_or_numericCheck that a vector is dates or numbers
chk_is_factorCheck that a value has type "factor"
chk_is_integerCheck that a scalar or vector has type integer
chk_is_integer_equivCheck that a scalar or vector is integer or can be coerced to...
chk_is_listCheck that a vector has class "list"
chk_is_logicalCheck that a vector has type "logical"
chk_is_logical_flagCheck that 'x' is a non-NA logical vector of length 1
chk_is_naCheck that a scalar is NA, or a vector is all NA
chk_is_numericCheck that a scalar or vector has type numeric
chk_is_stringCheck that an object is a non-NA character vector of length 1
chk_items_dateCheck that all items in a list are Date vectors
chk_items_increasingCheck that elements within each item are increasing or...
chk_items_integerCheck that all items in a list are integer vectors
chk_items_length_kCheck that all items in a list have length k
chk_items_no_naCheck that not items have NAs, except where specified in...
chk_items_one_greaterCheck that, in items of list, second element one greater than...
chk_leCheck that 'x1' is less than or equal to 'x2'
chk_length_1Check that a vector has length 1, ie is a scalar
chk_length_equalsCheck that 'x1' has length specified by 'x2'
chk_length_sameCheck that 'x1' and 'x2' have same length
chk_length_same_or_1Check that 'x1' and 'x2' have same (non-zero) length or has...
chk_lengths_elements_equal_vecCheck that 'x2' gives the lengths of the elements of 'x1'
chk_ltCheck that 'x1' is less than 'x2'
chk_lt_break_max_ageCheck that implied ages are less than 'break_max'
chk_lt_break_max_dateCheck that dates are less than 'break_max'
chk_map_dimCheck 'map_dim'
chk_map_posCheck 'map_dim'
chk_member_comp_typeCheck that 'x' is a valid type of account component
chk_member_dimtypeCheck that 'x' consists of valid dimtypes
chk_member_unitCheck that 'x' is a valid time unit
chk_multiple_ofCheck that 'x1' is a multiple of 'x2'
chk_multiple_of_nCheck that 'x1' is a multiple of 'n'
chk_names_completeCheck that an object has a complete set of names
chk_names_dimnames_completeCheck that names for an array are complete
chk_names_pairs_completeCheck that dimensions that should have pairs do in fact have...
chk_names_pairs_suffixCheck that dimension names have pair suffixes if and only if...
chk_no_dimnamesCheck that an array does not have dimnames
chk_no_duplicatesCheck that a vector has no duplicates
chk_no_namesCheck that an object does not have names
chk_non_negativeCheck that elements of a scalar or vector are non-negative
chk_nonzero_uniqueCheck that non-zero elements in an integer vector are unique
chk_no_open_ageCheck that labels do not have any open age groups, assuming...
chk_no_open_cohortCheck that labels do not have any open cohorts, assuming that...
chk_no_open_firstCheck that calendar labels not open on left
chk_no_overlapCheck that pairs of numbers specifying labels do not overlap
chk_not_blankCheck that a character scalar or vector is not blank
chk_not_equal_integer_scalarCheck that integers 'x1' and 'x2' are not equal
chk_not_naCheck that an object does not have NAs
chk_nullCheck NULL status of 'x1' given NULL status of 'x2'
chk_omittedCheck whether dimension(s) identified by an index are...
chk_open_left_le_break_minCheck that open intervals do not overlap with 'break_min' or...
chk_pos_initialCheck that an initial 'pos' argument
chk_positiveCheck that elements of a scalar or vector are positive
chk_positive_dimCheck a 'dim' argument for an array with positive length
chk_positive_lengthCheck that a vector has positive length, ie not length 0
chk_trans_listCheck that a list describing general transitions between...
chk_valid_label_single_monthCheck that a label has the correct format for a single...
chk_valid_quantileCheck that a vector is a valid quantile
chk_values_categoriesCheck values for Categories labels
chk_values_datepointsCheck values for DatePoints labels
chk_values_daterangesCheck values for DateRanges labels
chk_values_directionsCheck values for Directions labels
chk_values_integersCheck values for Integers labels
chk_values_intervalsCheck values for Intervals labels
chk_values_monthsCheck values for Months labels
chk_values_pairsChecking function for subclasses of Pairs virtual superclass
chk_values_quantilesCheck values for Quantiles labels
chk_values_quantitiesCheck values for Quantities labels
chk_values_quartersCheck values for Quarters labels
chk_values_trianglesCheck values for Triangles labels
chk_zeroCheck if 'x1' is zero, conditional on whether 'x2' is zero
demcheckdemcheck: Checking functions for the dem packages
err_tdy_break_min_max_dateCheck and tidy minimum and maximum dates
err_tdy_break_min_max_integerCheck and tidy minimum and maximum integers
err_tdy_breaks_date_cohortCheck and tidy a vector of breaks used to define cohorts
err_tdy_breaks_date_periodCheck and tidy a vector of breaks used to define periods
err_tdy_breaks_integer_ageCheck and tidy a vector of integer breaks used to define age...
err_tdy_breaks_integer_cohortCheck and tidy a vector of integer breaks used to define...
err_tdy_breaks_integer_periodCheck and tidy a vector of integer breaks used to define...
err_tdy_date_dobCheck and tidy dates and birth dates
err_tdy_date_scalarCheck and tidy a date scalar or vector
err_tdy_integerCheck and tidy integers or objects that can be coerced to...
err_tdy_lower_upper_enumerationCheck and tidy 'lower' and 'upper' vectors used to define...
err_tdy_many_to_oneCheck and tidy a data frame describing a many-to-one mapping
err_tdy_map_dimCheck and tidy 'map_dim'
err_tdy_map_posCheck and tidy 'map_pos'
err_tdy_monthCheck and tidy numeric or character vector of months
err_tdy_month_labelCheck and tidy month label
err_tdy_month_startCheck and tidy 'month_start' argument, used in defining years
err_tdy_non_negative_integerCheck and tidy a non-negative integer scalar or vector
err_tdy_positive_integerCheck and tidy a non-negative integer scalar or vector
err_tdy_quarter_labelCheck and tidy quarter label
err_tdy_same_lengthEnsure that two vectors have same length, if necessary by...
err_tdy_unitCheck and tidy time unit
johnrbryant/demcheck documentation built on Dec. 31, 2021, 11:57 a.m.