tests/testthat/test_packages/custom_translation/R/custom2.R

foo = function(x) {
  stop("A default message")
}

bar = function(x) {
  MyOtherTranslator(target_arg = "you found me too!")
  MyOtherTranslator(1, "found by position")
  MyPluralTranslator(singular = "singular", plural = "plural")
  MyPluralTranslator(1, 2, "another singular", "another plural")
}

Try the potools package in your browser

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

potools documentation built on Nov. 2, 2023, 5:20 p.m.