Open
Description
Follow-up on #1467
This should produce a lint:
library(lintr)
lint(
text = "seq(dim(x)[1])",
linter = seq_linter()
)
Created on 2022-07-26 by the reprex package (v2.0.1)
Because
seq(dim(data.frame())[1])
#> [1] 1 0
Follow-up on #1467
This should produce a lint:
library(lintr)
lint(
text = "seq(dim(x)[1])",
linter = seq_linter()
)
Created on 2022-07-26 by the reprex package (v2.0.1)
Because
seq(dim(data.frame())[1])
#> [1] 1 0