tests/testthat/test_sanitize-functions.R

context("sanitize")


test_that("sanitize-functions", {
  s <- c("a<b", "b>c", "a&o", "abc")
  r <- c("a&lt;b", "b&gt;c", "a&amp;o", "abc")
  expect_identical(MALDIquantForeign:::.sanitize(s), r)
})

Try the MALDIquantForeign package in your browser

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

MALDIquantForeign documentation built on Aug. 12, 2023, 1:06 a.m.