Skip to content

Commit

Permalink
styler
Browse files Browse the repository at this point in the history
  • Loading branch information
martinju committed Oct 5, 2024
1 parent 13fd5c1 commit 396c523
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/print_iter.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ print_iter <- function(internal) {
if (!is.null(convergence_tolerance)) {
conv_nice <- signif(overall_conv_measure, 2)
tol_nice <- format(signif(convergence_tolerance, 2), scientific = FALSE)
reduction_factor_nice <- format(signif(reduction_factor*100, 2), scientific = FALSE)
reduction_factor_nice <- format(signif(reduction_factor * 100, 2), scientific = FALSE)
msg <- paste0(
msg,
"Current convergence measure: {conv_nice} [needs {tol_nice}]\n",
Expand Down
4 changes: 1 addition & 3 deletions tests/testthat/test-adaptive-output.R
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ test_that("output_verbose_1_3", {
approach = "gaussian",
prediction_zero = p0,
adaptive = TRUE,
verbose = c("basic","convergence")
verbose = c("basic", "convergence")
),
"output_verbose_1_3"
)
Expand Down Expand Up @@ -310,5 +310,3 @@ test_that("output_verbose_1_3_4_5", {
"output_verbose_1_3_4_5"
)
})


0 comments on commit 396c523

Please sign in to comment.