tests/testthat/test-InteractDataframe.R

library(stringr)
library(stats)
library(handyFunctions)

data(people)
data(grade)
test_that("mergeCustom works", {
  expect_silent(mergeCustom(people, grade, "..name", "name"))
  expect_silent(queryingInfo(grade, "name", "chinese", c("Ming Li", "Bang Wei")))
  expect_silent(matchIndex(grade[, "name"], c("Ming Li", "Bang Wei")))
})

Try the handyFunctions package in your browser

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

handyFunctions documentation built on Aug. 22, 2022, 5:06 p.m.