tests/testthat/test-aliases.R

test_that("pull_out() extract or replace parts of an object", {

  train <- good_choice <- letters %>%
    pull_out(c(5, 2, 1, 4))

  test <- c("e", "b", "a", "d")

  expect_equal(train, test)
})

Try the bulkreadr package in your browser

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

bulkreadr documentation built on May 29, 2024, 1:35 a.m.