Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

test pull request #201

Closed
wants to merge 1 commit into from

Conversation

annakrystalli
Copy link

@lintr-bot
Copy link

inst/example/long_script.R:58:1: style: Variable and function name style should be snake_case.

fit.23 <- lm(x2 ~ x3, data = data.frame(x2[, 1], x3[, 1]))
^~~~~~

inst/example/long_script.R:64:1: style: Variable and function name style should be snake_case.

fit.xx <- lm(A~B, data = x)
^~~~~~

inst/example/long_script.R:70:1: style: Variable and function name style should be snake_case.

fit_sqrt_A <- lm(I(sqrt(A))~B, data = x)
^~~~~~~~~~

inst/example/simple_script.R:10:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

inst/example/simple_script.R:13:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

inst/example/simple_script.R:14:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

inst/example/simple_script.R:15:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

inst/example/simple_script.R:16:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/lib_test.R:13:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

tests/testthat/lib_test.R:16:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

tests/testthat/lib_test.R:17:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

tests/testthat/lib_test.R:18:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

tests/testthat/lib_test.R:19:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/test-main.R:3:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:5:5: style: Variable and function name style should be snake_case.

clean.simple.out <- clean(simple.script, "out")
    ^~~~~~~~~~~~~~~~

tests/testthat/test-main.R:14:5: style: Variable and function name style should be snake_case.

filepath.out <- get_libs(script)
    ^~~~~~~~~~~~

tests/testthat/test-main.R:31:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:33:5: style: Variable and function name style should be snake_case.

format.simple.out <- clean(simple.script, "out", format = FALSE)
    ^~~~~~~~~~~~~~~~~

tests/testthat/test-main.R:40:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:42:5: style: Variable and function name style should be snake_case.

clean.multi <- clean(simple.script, vars, format = FALSE)
    ^~~~~~~~~~~

tests/testthat/test-main.R:48:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:50:5: style: Variable and function name style should be snake_case.

novars.out <- capture.output(clean(simple.script))
    ^~~~~~~~~~

tests/testthat/test-main.R:55:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:58:5: style: Variable and function name style should be snake_case.

clean.x <- clean(long.script, "x")
    ^~~~~~~

tests/testthat/test-main.R:59:5: style: Variable and function name style should be snake_case.

clean.x2 <- clean(long.script, "x2")
    ^~~~~~~~

tests/testthat/test-main.R:60:5: style: Variable and function name style should be snake_case.

clean.x3 <- clean(long.script, "x3")
    ^~~~~~~~

tests/testthat/test-main.R:61:5: style: Variable and function name style should be snake_case.

clean.x2x3 <- clean(long.script, c("x2", "x3"))
    ^~~~~~~~~~

tests/testthat/test-main.R:62:5: style: Variable and function name style should be snake_case.

clean.z <- clean(long.script, "z")
    ^~~~~~~

tests/testthat/test-main.R:69:5: style: Variable and function name style should be snake_case.

env.long <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:70:5: style: Variable and function name style should be snake_case.

env.x <- new.env()
    ^~~~~

tests/testthat/test-main.R:71:5: style: Variable and function name style should be snake_case.

env.x2 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:72:5: style: Variable and function name style should be snake_case.

env.x3 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:73:5: style: Variable and function name style should be snake_case.

env.x2x3 <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:74:5: style: Variable and function name style should be snake_case.

env.z <- new.env()
    ^~~~~

tests/testthat/test-main.R:102:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:105:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:106:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:108:9: style: Variable and function name style should be snake_case.

var.clean <- clean(simple.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:110:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:115:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:127:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:130:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:131:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:133:9: style: Variable and function name style should be snake_case.

var.clean <- clean(long.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:135:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:140:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:154:5: style: Variable and function name style should be snake_case.

glist.out <- Rclean:::get_path(vl, "out")
    ^~~~~~~~~

tests/testthat/test-main.R:162:5: style: Variable and function name style should be snake_case.

noid.out <- testthat:::capture_output({Rclean:::get_path(vl)}, 
    ^~~~~~~~

tests/testthat/test-main.R:170:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:172:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:180:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:182:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(simple.script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:183:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:190:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:201:5: style: Variable and function name style should be snake_case.

keep.test <- readLines("clean.simple.test.R")
    ^~~~~~~~~

tests/testthat/test-main.R:212:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

tests/testthat/test-main.R:223:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

5 similar comments
@lintr-bot
Copy link

inst/example/long_script.R:58:1: style: Variable and function name style should be snake_case.

fit.23 <- lm(x2 ~ x3, data = data.frame(x2[, 1], x3[, 1]))
^~~~~~

inst/example/long_script.R:64:1: style: Variable and function name style should be snake_case.

fit.xx <- lm(A~B, data = x)
^~~~~~

inst/example/long_script.R:70:1: style: Variable and function name style should be snake_case.

fit_sqrt_A <- lm(I(sqrt(A))~B, data = x)
^~~~~~~~~~

inst/example/simple_script.R:10:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

inst/example/simple_script.R:13:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

inst/example/simple_script.R:14:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

inst/example/simple_script.R:15:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

inst/example/simple_script.R:16:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/lib_test.R:13:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

tests/testthat/lib_test.R:16:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

tests/testthat/lib_test.R:17:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

tests/testthat/lib_test.R:18:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

tests/testthat/lib_test.R:19:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/test-main.R:3:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:5:5: style: Variable and function name style should be snake_case.

clean.simple.out <- clean(simple.script, "out")
    ^~~~~~~~~~~~~~~~

tests/testthat/test-main.R:14:5: style: Variable and function name style should be snake_case.

filepath.out <- get_libs(script)
    ^~~~~~~~~~~~

tests/testthat/test-main.R:31:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:33:5: style: Variable and function name style should be snake_case.

format.simple.out <- clean(simple.script, "out", format = FALSE)
    ^~~~~~~~~~~~~~~~~

tests/testthat/test-main.R:40:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:42:5: style: Variable and function name style should be snake_case.

clean.multi <- clean(simple.script, vars, format = FALSE)
    ^~~~~~~~~~~

tests/testthat/test-main.R:48:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:50:5: style: Variable and function name style should be snake_case.

novars.out <- capture.output(clean(simple.script))
    ^~~~~~~~~~

tests/testthat/test-main.R:55:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:58:5: style: Variable and function name style should be snake_case.

clean.x <- clean(long.script, "x")
    ^~~~~~~

tests/testthat/test-main.R:59:5: style: Variable and function name style should be snake_case.

clean.x2 <- clean(long.script, "x2")
    ^~~~~~~~

tests/testthat/test-main.R:60:5: style: Variable and function name style should be snake_case.

clean.x3 <- clean(long.script, "x3")
    ^~~~~~~~

tests/testthat/test-main.R:61:5: style: Variable and function name style should be snake_case.

clean.x2x3 <- clean(long.script, c("x2", "x3"))
    ^~~~~~~~~~

tests/testthat/test-main.R:62:5: style: Variable and function name style should be snake_case.

clean.z <- clean(long.script, "z")
    ^~~~~~~

tests/testthat/test-main.R:69:5: style: Variable and function name style should be snake_case.

env.long <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:70:5: style: Variable and function name style should be snake_case.

env.x <- new.env()
    ^~~~~

tests/testthat/test-main.R:71:5: style: Variable and function name style should be snake_case.

env.x2 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:72:5: style: Variable and function name style should be snake_case.

env.x3 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:73:5: style: Variable and function name style should be snake_case.

env.x2x3 <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:74:5: style: Variable and function name style should be snake_case.

env.z <- new.env()
    ^~~~~

tests/testthat/test-main.R:102:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:105:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:106:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:108:9: style: Variable and function name style should be snake_case.

var.clean <- clean(simple.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:110:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:115:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:127:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:130:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:131:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:133:9: style: Variable and function name style should be snake_case.

var.clean <- clean(long.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:135:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:140:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:154:5: style: Variable and function name style should be snake_case.

glist.out <- Rclean:::get_path(vl, "out")
    ^~~~~~~~~

tests/testthat/test-main.R:162:5: style: Variable and function name style should be snake_case.

noid.out <- testthat:::capture_output({Rclean:::get_path(vl)}, 
    ^~~~~~~~

tests/testthat/test-main.R:170:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:172:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:180:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:182:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(simple.script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:183:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:190:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:201:5: style: Variable and function name style should be snake_case.

keep.test <- readLines("clean.simple.test.R")
    ^~~~~~~~~

tests/testthat/test-main.R:212:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

tests/testthat/test-main.R:223:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

@lintr-bot
Copy link

inst/example/long_script.R:58:1: style: Variable and function name style should be snake_case.

fit.23 <- lm(x2 ~ x3, data = data.frame(x2[, 1], x3[, 1]))
^~~~~~

inst/example/long_script.R:64:1: style: Variable and function name style should be snake_case.

fit.xx <- lm(A~B, data = x)
^~~~~~

inst/example/long_script.R:70:1: style: Variable and function name style should be snake_case.

fit_sqrt_A <- lm(I(sqrt(A))~B, data = x)
^~~~~~~~~~

inst/example/simple_script.R:10:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

inst/example/simple_script.R:13:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

inst/example/simple_script.R:14:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

inst/example/simple_script.R:15:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

inst/example/simple_script.R:16:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/lib_test.R:13:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

tests/testthat/lib_test.R:16:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

tests/testthat/lib_test.R:17:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

tests/testthat/lib_test.R:18:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

tests/testthat/lib_test.R:19:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/test-main.R:3:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:5:5: style: Variable and function name style should be snake_case.

clean.simple.out <- clean(simple.script, "out")
    ^~~~~~~~~~~~~~~~

tests/testthat/test-main.R:14:5: style: Variable and function name style should be snake_case.

filepath.out <- get_libs(script)
    ^~~~~~~~~~~~

tests/testthat/test-main.R:31:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:33:5: style: Variable and function name style should be snake_case.

format.simple.out <- clean(simple.script, "out", format = FALSE)
    ^~~~~~~~~~~~~~~~~

tests/testthat/test-main.R:40:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:42:5: style: Variable and function name style should be snake_case.

clean.multi <- clean(simple.script, vars, format = FALSE)
    ^~~~~~~~~~~

tests/testthat/test-main.R:48:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:50:5: style: Variable and function name style should be snake_case.

novars.out <- capture.output(clean(simple.script))
    ^~~~~~~~~~

tests/testthat/test-main.R:55:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:58:5: style: Variable and function name style should be snake_case.

clean.x <- clean(long.script, "x")
    ^~~~~~~

tests/testthat/test-main.R:59:5: style: Variable and function name style should be snake_case.

clean.x2 <- clean(long.script, "x2")
    ^~~~~~~~

tests/testthat/test-main.R:60:5: style: Variable and function name style should be snake_case.

clean.x3 <- clean(long.script, "x3")
    ^~~~~~~~

tests/testthat/test-main.R:61:5: style: Variable and function name style should be snake_case.

clean.x2x3 <- clean(long.script, c("x2", "x3"))
    ^~~~~~~~~~

tests/testthat/test-main.R:62:5: style: Variable and function name style should be snake_case.

clean.z <- clean(long.script, "z")
    ^~~~~~~

tests/testthat/test-main.R:69:5: style: Variable and function name style should be snake_case.

env.long <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:70:5: style: Variable and function name style should be snake_case.

env.x <- new.env()
    ^~~~~

tests/testthat/test-main.R:71:5: style: Variable and function name style should be snake_case.

env.x2 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:72:5: style: Variable and function name style should be snake_case.

env.x3 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:73:5: style: Variable and function name style should be snake_case.

env.x2x3 <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:74:5: style: Variable and function name style should be snake_case.

env.z <- new.env()
    ^~~~~

tests/testthat/test-main.R:102:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:105:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:106:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:108:9: style: Variable and function name style should be snake_case.

var.clean <- clean(simple.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:110:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:115:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:127:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:130:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:131:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:133:9: style: Variable and function name style should be snake_case.

var.clean <- clean(long.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:135:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:140:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:154:5: style: Variable and function name style should be snake_case.

glist.out <- Rclean:::get_path(vl, "out")
    ^~~~~~~~~

tests/testthat/test-main.R:162:5: style: Variable and function name style should be snake_case.

noid.out <- testthat:::capture_output({Rclean:::get_path(vl)}, 
    ^~~~~~~~

tests/testthat/test-main.R:170:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:172:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:180:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:182:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(simple.script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:183:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:190:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:201:5: style: Variable and function name style should be snake_case.

keep.test <- readLines("clean.simple.test.R")
    ^~~~~~~~~

tests/testthat/test-main.R:212:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

tests/testthat/test-main.R:223:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

@lintr-bot
Copy link

inst/example/long_script.R:58:1: style: Variable and function name style should be snake_case.

fit.23 <- lm(x2 ~ x3, data = data.frame(x2[, 1], x3[, 1]))
^~~~~~

inst/example/long_script.R:64:1: style: Variable and function name style should be snake_case.

fit.xx <- lm(A~B, data = x)
^~~~~~

inst/example/long_script.R:70:1: style: Variable and function name style should be snake_case.

fit_sqrt_A <- lm(I(sqrt(A))~B, data = x)
^~~~~~~~~~

inst/example/simple_script.R:10:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

inst/example/simple_script.R:13:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

inst/example/simple_script.R:14:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

inst/example/simple_script.R:15:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

inst/example/simple_script.R:16:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/lib_test.R:13:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

tests/testthat/lib_test.R:16:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

tests/testthat/lib_test.R:17:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

tests/testthat/lib_test.R:18:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

tests/testthat/lib_test.R:19:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/test-main.R:3:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:5:5: style: Variable and function name style should be snake_case.

clean.simple.out <- clean(simple.script, "out")
    ^~~~~~~~~~~~~~~~

tests/testthat/test-main.R:14:5: style: Variable and function name style should be snake_case.

filepath.out <- get_libs(script)
    ^~~~~~~~~~~~

tests/testthat/test-main.R:31:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:33:5: style: Variable and function name style should be snake_case.

format.simple.out <- clean(simple.script, "out", format = FALSE)
    ^~~~~~~~~~~~~~~~~

tests/testthat/test-main.R:40:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:42:5: style: Variable and function name style should be snake_case.

clean.multi <- clean(simple.script, vars, format = FALSE)
    ^~~~~~~~~~~

tests/testthat/test-main.R:48:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:50:5: style: Variable and function name style should be snake_case.

novars.out <- capture.output(clean(simple.script))
    ^~~~~~~~~~

tests/testthat/test-main.R:55:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:58:5: style: Variable and function name style should be snake_case.

clean.x <- clean(long.script, "x")
    ^~~~~~~

tests/testthat/test-main.R:59:5: style: Variable and function name style should be snake_case.

clean.x2 <- clean(long.script, "x2")
    ^~~~~~~~

tests/testthat/test-main.R:60:5: style: Variable and function name style should be snake_case.

clean.x3 <- clean(long.script, "x3")
    ^~~~~~~~

tests/testthat/test-main.R:61:5: style: Variable and function name style should be snake_case.

clean.x2x3 <- clean(long.script, c("x2", "x3"))
    ^~~~~~~~~~

tests/testthat/test-main.R:62:5: style: Variable and function name style should be snake_case.

clean.z <- clean(long.script, "z")
    ^~~~~~~

tests/testthat/test-main.R:69:5: style: Variable and function name style should be snake_case.

env.long <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:70:5: style: Variable and function name style should be snake_case.

env.x <- new.env()
    ^~~~~

tests/testthat/test-main.R:71:5: style: Variable and function name style should be snake_case.

env.x2 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:72:5: style: Variable and function name style should be snake_case.

env.x3 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:73:5: style: Variable and function name style should be snake_case.

env.x2x3 <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:74:5: style: Variable and function name style should be snake_case.

env.z <- new.env()
    ^~~~~

tests/testthat/test-main.R:102:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:105:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:106:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:108:9: style: Variable and function name style should be snake_case.

var.clean <- clean(simple.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:110:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:115:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:127:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:130:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:131:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:133:9: style: Variable and function name style should be snake_case.

var.clean <- clean(long.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:135:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:140:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:154:5: style: Variable and function name style should be snake_case.

glist.out <- Rclean:::get_path(vl, "out")
    ^~~~~~~~~

tests/testthat/test-main.R:162:5: style: Variable and function name style should be snake_case.

noid.out <- testthat:::capture_output({Rclean:::get_path(vl)}, 
    ^~~~~~~~

tests/testthat/test-main.R:170:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:172:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:180:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:182:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(simple.script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:183:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:190:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:201:5: style: Variable and function name style should be snake_case.

keep.test <- readLines("clean.simple.test.R")
    ^~~~~~~~~

tests/testthat/test-main.R:212:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

tests/testthat/test-main.R:223:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

@lintr-bot
Copy link

inst/example/long_script.R:58:1: style: Variable and function name style should be snake_case.

fit.23 <- lm(x2 ~ x3, data = data.frame(x2[, 1], x3[, 1]))
^~~~~~

inst/example/long_script.R:64:1: style: Variable and function name style should be snake_case.

fit.xx <- lm(A~B, data = x)
^~~~~~

inst/example/long_script.R:70:1: style: Variable and function name style should be snake_case.

fit_sqrt_A <- lm(I(sqrt(A))~B, data = x)
^~~~~~~~~~

inst/example/simple_script.R:10:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

inst/example/simple_script.R:13:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

inst/example/simple_script.R:14:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

inst/example/simple_script.R:15:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

inst/example/simple_script.R:16:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/lib_test.R:13:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

tests/testthat/lib_test.R:16:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

tests/testthat/lib_test.R:17:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

tests/testthat/lib_test.R:18:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

tests/testthat/lib_test.R:19:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/test-main.R:3:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:5:5: style: Variable and function name style should be snake_case.

clean.simple.out <- clean(simple.script, "out")
    ^~~~~~~~~~~~~~~~

tests/testthat/test-main.R:14:5: style: Variable and function name style should be snake_case.

filepath.out <- get_libs(script)
    ^~~~~~~~~~~~

tests/testthat/test-main.R:31:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:33:5: style: Variable and function name style should be snake_case.

format.simple.out <- clean(simple.script, "out", format = FALSE)
    ^~~~~~~~~~~~~~~~~

tests/testthat/test-main.R:40:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:42:5: style: Variable and function name style should be snake_case.

clean.multi <- clean(simple.script, vars, format = FALSE)
    ^~~~~~~~~~~

tests/testthat/test-main.R:48:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:50:5: style: Variable and function name style should be snake_case.

novars.out <- capture.output(clean(simple.script))
    ^~~~~~~~~~

tests/testthat/test-main.R:55:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:58:5: style: Variable and function name style should be snake_case.

clean.x <- clean(long.script, "x")
    ^~~~~~~

tests/testthat/test-main.R:59:5: style: Variable and function name style should be snake_case.

clean.x2 <- clean(long.script, "x2")
    ^~~~~~~~

tests/testthat/test-main.R:60:5: style: Variable and function name style should be snake_case.

clean.x3 <- clean(long.script, "x3")
    ^~~~~~~~

tests/testthat/test-main.R:61:5: style: Variable and function name style should be snake_case.

clean.x2x3 <- clean(long.script, c("x2", "x3"))
    ^~~~~~~~~~

tests/testthat/test-main.R:62:5: style: Variable and function name style should be snake_case.

clean.z <- clean(long.script, "z")
    ^~~~~~~

tests/testthat/test-main.R:69:5: style: Variable and function name style should be snake_case.

env.long <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:70:5: style: Variable and function name style should be snake_case.

env.x <- new.env()
    ^~~~~

tests/testthat/test-main.R:71:5: style: Variable and function name style should be snake_case.

env.x2 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:72:5: style: Variable and function name style should be snake_case.

env.x3 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:73:5: style: Variable and function name style should be snake_case.

env.x2x3 <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:74:5: style: Variable and function name style should be snake_case.

env.z <- new.env()
    ^~~~~

tests/testthat/test-main.R:102:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:105:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:106:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:108:9: style: Variable and function name style should be snake_case.

var.clean <- clean(simple.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:110:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:115:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:127:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:130:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:131:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:133:9: style: Variable and function name style should be snake_case.

var.clean <- clean(long.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:135:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:140:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:154:5: style: Variable and function name style should be snake_case.

glist.out <- Rclean:::get_path(vl, "out")
    ^~~~~~~~~

tests/testthat/test-main.R:162:5: style: Variable and function name style should be snake_case.

noid.out <- testthat:::capture_output({Rclean:::get_path(vl)}, 
    ^~~~~~~~

tests/testthat/test-main.R:170:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:172:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:180:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:182:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(simple.script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:183:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:190:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:201:5: style: Variable and function name style should be snake_case.

keep.test <- readLines("clean.simple.test.R")
    ^~~~~~~~~

tests/testthat/test-main.R:212:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

tests/testthat/test-main.R:223:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

@lintr-bot
Copy link

inst/example/long_script.R:58:1: style: Variable and function name style should be snake_case.

fit.23 <- lm(x2 ~ x3, data = data.frame(x2[, 1], x3[, 1]))
^~~~~~

inst/example/long_script.R:64:1: style: Variable and function name style should be snake_case.

fit.xx <- lm(A~B, data = x)
^~~~~~

inst/example/long_script.R:70:1: style: Variable and function name style should be snake_case.

fit_sqrt_A <- lm(I(sqrt(A))~B, data = x)
^~~~~~~~~~

inst/example/simple_script.R:10:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

inst/example/simple_script.R:13:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

inst/example/simple_script.R:14:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

inst/example/simple_script.R:15:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

inst/example/simple_script.R:16:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/lib_test.R:13:1: style: Variable and function name style should be snake_case.

fit15.aov <- aov(V1 ~ V2 + V5, data = dat)
^~~~~~~~~

tests/testthat/lib_test.R:16:1: style: Variable and function name style should be snake_case.

tab.12 <- summary(fit12)
^~~~~~

tests/testthat/lib_test.R:17:1: style: Variable and function name style should be snake_case.

tab.13 <- summary(fit13)
^~~~~~

tests/testthat/lib_test.R:18:1: style: Variable and function name style should be snake_case.

tab.14 <- summary(fit14)
^~~~~~

tests/testthat/lib_test.R:19:1: style: Variable and function name style should be snake_case.

tab.15 <- append(fit15.aov, tab.14)
^~~~~~

tests/testthat/test-main.R:3:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:5:5: style: Variable and function name style should be snake_case.

clean.simple.out <- clean(simple.script, "out")
    ^~~~~~~~~~~~~~~~

tests/testthat/test-main.R:14:5: style: Variable and function name style should be snake_case.

filepath.out <- get_libs(script)
    ^~~~~~~~~~~~

tests/testthat/test-main.R:31:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:33:5: style: Variable and function name style should be snake_case.

format.simple.out <- clean(simple.script, "out", format = FALSE)
    ^~~~~~~~~~~~~~~~~

tests/testthat/test-main.R:40:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:42:5: style: Variable and function name style should be snake_case.

clean.multi <- clean(simple.script, vars, format = FALSE)
    ^~~~~~~~~~~

tests/testthat/test-main.R:48:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:50:5: style: Variable and function name style should be snake_case.

novars.out <- capture.output(clean(simple.script))
    ^~~~~~~~~~

tests/testthat/test-main.R:55:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:58:5: style: Variable and function name style should be snake_case.

clean.x <- clean(long.script, "x")
    ^~~~~~~

tests/testthat/test-main.R:59:5: style: Variable and function name style should be snake_case.

clean.x2 <- clean(long.script, "x2")
    ^~~~~~~~

tests/testthat/test-main.R:60:5: style: Variable and function name style should be snake_case.

clean.x3 <- clean(long.script, "x3")
    ^~~~~~~~

tests/testthat/test-main.R:61:5: style: Variable and function name style should be snake_case.

clean.x2x3 <- clean(long.script, c("x2", "x3"))
    ^~~~~~~~~~

tests/testthat/test-main.R:62:5: style: Variable and function name style should be snake_case.

clean.z <- clean(long.script, "z")
    ^~~~~~~

tests/testthat/test-main.R:69:5: style: Variable and function name style should be snake_case.

env.long <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:70:5: style: Variable and function name style should be snake_case.

env.x <- new.env()
    ^~~~~

tests/testthat/test-main.R:71:5: style: Variable and function name style should be snake_case.

env.x2 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:72:5: style: Variable and function name style should be snake_case.

env.x3 <- new.env()
    ^~~~~~

tests/testthat/test-main.R:73:5: style: Variable and function name style should be snake_case.

env.x2x3 <- new.env()
    ^~~~~~~~

tests/testthat/test-main.R:74:5: style: Variable and function name style should be snake_case.

env.z <- new.env()
    ^~~~~

tests/testthat/test-main.R:102:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:105:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:106:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:108:9: style: Variable and function name style should be snake_case.

var.clean <- clean(simple.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:110:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:115:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:127:5: style: Variable and function name style should be snake_case.

long.script <- system.file(
    ^~~~~~~~~~~

tests/testthat/test-main.R:130:5: style: Variable and function name style should be snake_case.

var.files <- paste0(vars, "_clean.R")
    ^~~~~~~~~

tests/testthat/test-main.R:131:5: style: Variable and function name style should be snake_case.

var.vars <- list()
    ^~~~~~~~

tests/testthat/test-main.R:133:9: style: Variable and function name style should be snake_case.

var.clean <- clean(long.script, vars[i])
        ^~~~~~~~~

tests/testthat/test-main.R:135:9: style: Variable and function name style should be snake_case.

var.env <- new.env()
        ^~~~~~~

tests/testthat/test-main.R:140:5: style: Variable and function name style should be snake_case.

var.check <- logical()
    ^~~~~~~~~

tests/testthat/test-main.R:154:5: style: Variable and function name style should be snake_case.

glist.out <- Rclean:::get_path(vl, "out")
    ^~~~~~~~~

tests/testthat/test-main.R:162:5: style: Variable and function name style should be snake_case.

noid.out <- testthat:::capture_output({Rclean:::get_path(vl)}, 
    ^~~~~~~~

tests/testthat/test-main.R:170:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:172:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:180:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:182:5: style: Variable and function name style should be snake_case.

simple.script <- readScript(simple.script)
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:183:5: style: Variable and function name style should be snake_case.

output.cap <- capture.output(
    ^~~~~~~~~~

tests/testthat/test-main.R:190:5: style: Variable and function name style should be snake_case.

simple.script <- system.file(
    ^~~~~~~~~~~~~

tests/testthat/test-main.R:201:5: style: Variable and function name style should be snake_case.

keep.test <- readLines("clean.simple.test.R")
    ^~~~~~~~~

tests/testthat/test-main.R:212:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

tests/testthat/test-main.R:223:5: style: Variable and function name style should be snake_case.

vars.test <- get_vars(script)
    ^~~~~~~~~

@MKLau
Copy link
Contributor

MKLau commented Feb 13, 2020

@annakrystalli Thanks for checking on this!

@MKLau MKLau closed this Feb 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants