We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79114fb commit d2a51bcCopy full SHA for d2a51bc
tests/testthat/test-default-methods.R
@@ -6,7 +6,7 @@ lw <- matrix(rnorm(150), 50, 3)
6
lw <- sweep(
7
lw,
8
MARGIN = 2,
9
- STATS = apply(lw, 2, \(col) log(sum(exp(col)))),
+ STATS = apply(lw, 2, function(col) log(sum(exp(col)))),
10
check.margin = FALSE
11
)
12
0 commit comments