inst/doc/introduction.R

## ---- Setup, echo = FALSE, results = "hide"-----------------------------------
set.seed(19790801)
library(assertive)
knitr::opts_chunk$set(error = FALSE)

## ---- IsNumeric---------------------------------------------------------------
is_numeric(1:6)
is_numeric(letters)

## ---- IsNonNegative-----------------------------------------------------------
is_non_negative(rnorm(6))

Try the assertive package in your browser

Any scripts or data that you put into this service are public.

assertive documentation built on Aug. 1, 2020, 1:07 a.m.