tests/testthat/test_packages/plural_semi_named/R/foo.R

# potools requires either no named arguments, or both named arguments.
#   here we have msg1 named but not msg2.
ngettext(10, msg1 = 'abc', 'def')

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.