Skip to content

Commit b642bd3

Browse files
committed
Fixed script issues
1 parent 52ff8a9 commit b642bd3

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

azure-pipelines.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -251,19 +251,19 @@ jobs:
251251
dsbase.res <- covr::package_coverage(
252252
type = c("none"),
253253
code = c(
254-
'"'"'library(testthat);
254+
'"'"'
255+
library(testthat);
255256
output_file <- file("test_console_output_dsbase.txt");
256257
sink(output_file);
257258
sink(output_file, type = "message");
258259
library(testthat);
259-
junit_rep <- JunitReporter$new(
260-
file = "test_results_dsbase.xml");
261-
progress_rep <- ProgressReporter$new(max_failures = 999999);
262-
multi_rep <- MultiReporter$new(reporters = list(progress_rep, junit_rep));
263-
testthat::test_package("$(projectName)", filter = "_-", reporter = multi_rep, stop_on_failure = FALSE)'"'"')
264-
)
260+
junit_rep <- JunitReporter$new(file = "test_results_dsbase.xml");
261+
progress_rep <- ProgressReporter$new(max_failures = 999999);
262+
multi_rep <- MultiReporter$new(reporters = list(progress_rep, junit_rep));
263+
testthat::test_package("$(projectName)", filter = "_-", reporter = multi_rep, stop_on_failure = FALSE)
264+
'"'"'
265265
)
266-
)
266+
);
267267
base::saveRDS(dsbase.res, "test_results_dsbase.rds")'
268268
269269
# display the test console output
@@ -324,17 +324,19 @@ jobs:
324324
dsdanger.res <- covr::package_coverage(
325325
type = c("none"),
326326
code = c(
327-
'"'"'library(testthat);
327+
'"'"'
328+
library(testthat);
328329
output_file <- file("test_console_output_dsdanger.txt");
329330
sink(output_file);
330331
sink(output_file, type = "message");
331332
library(testthat);
332333
junit_rep <- JunitReporter$new(file = "test_results_dsdanger.xml");
333334
progress_rep <- ProgressReporter$new(max_failures = 999999);
334335
multi_rep <- MultiReporter$new(reporters = list(progress_rep, junit_rep));
335-
testthat::test_package("$(projectName)", filter = "smk_dgr-",reporter = multi_rep, stop_on_failure = FALSE)'"'"')
336+
testthat::test_package("$(projectName)", filter = "smk_dgr-",reporter = multi_rep, stop_on_failure = FALSE)
337+
'"'"'
336338
)
337-
)
339+
);
338340
base::saveRDS(dsdanger.res, "test_results_dsdanger.rds")'
339341
340342
# Merge coverage results

0 commit comments

Comments
 (0)