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 Aug. 31, 2022, 1:05 a.m.