inst/bad1/R/tf.R

tf <- function() {
  if (TRUE == T) print("foo")
  T + F + 1
}

## These shuld be OK (but it's not currently)

tfgood <- function() {
  T <- "yes!"
  print(T)
}

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.