tests/testthat/test_eq_create_label.R

test_that("Test eq_create_label",
          {
            Plot <- readr::read_delim(system.file("extdata", "signif.txt", package = "TheCapstoneProject"), delim = '\t') %>%
              eq_clean_data() %>%
              eq_location_clean() %>%
              dplyr::mutate(popup_text = eq_create_label(.))
            expect_is(Plot, class = c("tbl_df", "tbl", "data.frame"))
          })
ekawabata/TheCapstoneProject documentation built on June 27, 2020, 7:58 a.m.