Giter Club home page Giter Club logo

assertive.types's Introduction

Project Status: Active - The project has reached a stable, usable state and is being actively developed. Is the package on CRAN? SemaphoreCI Build Status AppVeyor Build Status

assertive.types

A set of predicates and assertions for checking the types of variables. Most of the documentation is on the assertive page. End-users will usually want to use assertive directly.

Installation

To install the stable version, type:

install.packages("assertive.types")

To install the development version, you first need the devtools package.

install.packages("devtools")

Then you can install the assertive.types package using

library(devtools)
install_bitbucket("richierocks/assertive.types")

Predicates

All the predicates in this package check for objects of specific types.

Wrappers to functions in base:

is_array, is_call, is_character, is_complex, is_data.frame, is_environment, is_expression, is_factor, is_function, is_integer, is_language, is_list, is_logical, is_matrix, is_name/is_symbol, is_numeric, is_ordered, is_primitive, is_qr, is_raw, is_s4, and is_table.

Wrappers to functions in grDevices:

is_raster.

Wrappers to functions in methods:

is_class.

Wrappers to functions in stats:

is_leaf, is_mts, is_stepfun, is_ts, is_tskernel.

Wrappers to functions in utils:

is_relistable.

Assertions

Predicates that return a vector have two corresponding assertions. For example, is_class has assert_all_are_classes and assert_any_are_classes.

Predicates returning a single logical value have one corresponding assertion. For example, is_array has assert_is_array.

assertive.types's People

Contributors

richierocks avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.