inst/bad1/R/semicolons.R

semicolons <- function() {

  print("why would you add?");
  print("a semicolon here?");

  "this is one"; "at the middle"; "so not that bad"

  "trailing semicolon and whitespace";   
}

Try the goodpractice package in your browser

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

goodpractice documentation built on June 22, 2024, 9:55 a.m.