Skip to content

Commit 3d19f60

Browse files
committed
remnoved old notes
1 parent c6a2def commit 3d19f60

File tree

4 files changed

+2
-11
lines changed

4 files changed

+2
-11
lines changed

tests/testthat/test_linear_reg.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ quiet_ctrl <- fit_control(verbosity = 0, catch = TRUE)
207207

208208
test_that('lm execution', {
209209

210-
211-
# passes interactively but not on R CMD check
212210
expect_error(
213211
res <- fit(
214212
iris_basic,
@@ -240,7 +238,6 @@ test_that('lm execution', {
240238
)
241239
)
242240

243-
# passes interactively but not on R CMD check
244241
lm_form_catch <- fit(
245242
iris_basic,
246243
iris_bad_form,

tests/testthat/test_linear_reg_stan.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ test_that('stan_glm execution', {
2323

2424
library(rstanarm)
2525

26-
# passes interactively but not on R CMD check
2726
expect_error(
2827
res <- fit(
2928
iris_basic,

tests/testthat/test_rand_forest_randomForest.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ test_that('randomForest regression execution', {
162162

163163
skip_if_not_installed("randomForest")
164164

165-
# check: passes interactively but not on R CMD check
166165
expect_error(
167166
fit(
168167
car_basic,
@@ -185,7 +184,6 @@ test_that('randomForest regression execution', {
185184
regexp = NA
186185
)
187186

188-
# check: passes interactively but not on R CMD check
189187
randomForest_form_catch <- fit(
190188
bad_rf_reg,
191189
car_form,

tests/testthat/test_rand_forest_ranger.R

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ test_that('ranger classification execution', {
2929

3030
skip_if_not_installed("ranger")
3131

32-
# check: passes interactively but not on R CMD check
3332
expect_error(
3433
res <- fit(
3534
lc_ranger,
@@ -62,7 +61,6 @@ test_that('ranger classification execution', {
6261
)
6362
)
6463

65-
# check: passes interactively but not on R CMD check
6664
ranger_form_catch <- fit(
6765
bad_ranger_cls,
6866
funded_amnt ~ term,
@@ -179,7 +177,6 @@ test_that('ranger regression execution', {
179177

180178
skip_if_not_installed("ranger")
181179

182-
# check:passes interactively but not on R CMD check
183180
expect_error(
184181
res <- fit(
185182
car_basic,
@@ -190,7 +187,7 @@ test_that('ranger regression execution', {
190187
),
191188
regexp = NA
192189
)
193-
# check: passes interactively but not on R CMD check
190+
194191
expect_error(
195192
res <- fit_xy(
196193
car_basic,
@@ -202,7 +199,7 @@ test_that('ranger regression execution', {
202199
regexp = NA
203200
)
204201

205-
# check: passes interactively but not on R CMD check
202+
206203
ranger_form_catch <- fit(
207204
bad_ranger_reg,
208205
mpg ~ .,

0 commit comments

Comments
 (0)