function(x) { base::cat("I warned you!", fill=TRUE, append=TRUE) # (1) x+1 } function(x) { # check that the newline is shown as "\n" (i.e., not a line return), #57 cat("Oh no", "you\ndon't!") # (2) sep = "" cat("Miss me", "with", "this", sep=sep) # } function(x) { cat("Hi there", file=tempfile()) # cat("Hi", "boss", sep="xx") # (3) } function(x) { cat(gettextf("shouldn't be translated")) # cat(foo(bar(ngettext(5, "a", "b"))), "c") # cat("This costs", x, "dollars") # (4) }