Learn R Programming

tester (version 0.2.0)

Tests and Checks Characteristics of R Objects

Description

Allows users to test characteristics of common R objects.

Copy Link

Version

Install

install.packages('tester')

Monthly Downloads

2,067

Version

0.2.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

April 4th, 2024

Functions in tester (0.2.0)

is_vector

Is vector
list_of_vectors

List of vectors
is_square_numeric_matrix

Is square numeric matrix
is_string

Is string
is_positive_decimal

Is positive decimal
is_positive_integer

Is positive integer
is_integer

Is integer
is_single_positive_decimal

Is single positive decimal
same_type

Same Type
is_even

Is even
is_single_positive

Is single positive number
is_negative

Is negative
is_single_number

Is single number
is_single

Is single
same_class

Same Class
is_single_odd

Is single odd
is_single_decimal

Is single decimal
list_with_vectors

List with vectors
is_natural

Is natural
is_negative_decimal

Is negative decimal
is_rectangular_matrix

Is rectangular matrix
is_single_true

Is single true
is_scalar

Is scalar
is_tabular

Is tabular
is_single_logical

Is single logical
same_mode

Same Mode
is_single_negative

Is single negative number
is_triangular_matrix

Is triangular matrix
same_nrow

Same Number of Rows / Columns
is_square_matrix

Is square matrix
same_length

Same Length
same_dim

Same Dimension
is_one_dim

Test if an object has one-dimension
is_positive

Is positive
is_single_negative_integer

Is single negative integer
is_single_negative_decimal

Is single negative decimal
has_missing

Has missing values, NA, NaN, Inf
is_decimal

Is decimal
has_dimension

Has dimension?
has_names

Has or lacks names?
is_diagonal

Is diagonal matrix
is_class

Is class
has_rownames

Has or lacks row/column names?
is_dataframe

Is data frame
has_factors

Has factors?
is_TRUE

If TRUE or FALSE
is_multiple

Is multiple
is_matrix

Is matrix
is_negative_integer

Is negative integer
is_odd

Is even
is_single_false

Is single false
is_multidim

Test if an object is multi-dimensional
is_single_even

Is single even
is_single_string

Is single string
is_single_positive_integer

Is single positive integer