inst/example/bad.R

fun = function(one)
{
  one.plus.one <- oen + 1
  four <- newVar <- matrix(1:10,nrow = 2)
  four[ 1, ]
  txt <- 'hi'
  three <- two+ 1
  if(txt == 'hi') 4
  5}  
{

Try the lintr package in your browser

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

lintr documentation built on Nov. 7, 2023, 5:07 p.m.