Skip to contents

Same as cat2(sprintf(fmt, ...))

Warning: this function is deprecated and should no longer be used. The function is guaranteed to be available as part of the package until the end of 2023 but might removed at any time after 31.12.2023.

Usage

catfn(
  fmt,
  ...,
  end = "\n",
  file = "",
  sep = " ",
  fill = FALSE,
  labels = NULL,
  append = FALSE
)

Arguments

fmt

passed on to base::sprintf()

...

passed on to base::sprintf()

end

passed on to cat2()

file

passed on to cat2() (which passes it on to base::cat())

sep

passed on to cat2() (which passes it on to base::cat())

fill

passed on to cat2() (which passes it on to base::cat())

labels

passed on to cat2() (which passes it on to base::cat())

append

passed on to cat2() (which passes it on to base::cat())

Value

No return value, called for side effects

Examples

catfn("A%dB%sC", 2, "asdf") # prints "A2BasdfC\n"
#> Warning: This function is deprecated and should no longer be used. The function is guaranteed to be available as part of the package until 31.12.2023 but might be removed at any later timepoint.
#> A2BasdfC