Skip to content

Commit 11a881b

Browse files
committed
lintr, spell
1 parent d27281c commit 11a881b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

R/print-methods.R

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ print.r2_bayes <- function(x, digits = 3, ...) {
126126
ci = attributes(x)$CI$R2_Bayes_marginal$CI,
127127
digits = digits
128128
)
129-
out <- paste0(c(out, sprintf(" Marginal R2: %.*f (%s)", digits, x$R2_Bayes_marginal, r2_marginal_ci)), collapse = "\n")
129+
out <- paste(c(
130+
out,
131+
sprintf(" Marginal R2: %.*f (%s)", digits, x$R2_Bayes_marginal, r2_marginal_ci)
132+
), collapse = "\n")
130133
}
131134

132135
cat(out)
@@ -155,7 +158,10 @@ print.r2_loo <- function(x, digits = 3, ...) {
155158
ci = attributes(x)$CI$R2_loo_marginal$CI,
156159
digits = digits
157160
)
158-
out <- paste0(c(out, sprintf(" Marginal R2: %.*f (%s)", digits, x$R2_loo_marginal, r2_marginal_ci)), collapse = "\n")
161+
out <- paste(c(
162+
out,
163+
sprintf(" Marginal R2: %.*f (%s)", digits, x$R2_loo_marginal, r2_marginal_ci)
164+
), collapse = "\n")
159165
}
160166

161167
cat(out)

inst/WORDLIST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ DAGs
5151
DBSCAN
5252
DOI
5353
Datenerhebung
54+
De
5455
Delacre
5556
Deskriptivstatistische
5657
DHARMa

0 commit comments

Comments
 (0)