tests/testthat/testAND.R

Return <- AND(iris$Species == "virginica",iris$Petal.Length > 0.2)

# How many TRUEs should be returned
summary <- sum(Return)

# It should be equal 50.
expect_equal(summary,50L)

Try the ExcelFunctionsR package in your browser

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

ExcelFunctionsR documentation built on July 1, 2020, 8:35 p.m.