inst/tinytest/test_gh_issue_59.R

# this would crash R because of over-asking memory
# it depends on the system really, so we only run this at the
# comfort of our home
if (FALSE){
  x <- paste(letters[sample(1:length(letters),32800,replace=TRUE)], collapse="")
  expect_error(stringdist(x,x))
}

Try the stringdist package in your browser

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

stringdist documentation built on Nov. 10, 2022, 5:08 p.m.