Skip to content

Commit

Permalink
using old anonymous function syntax (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
beniaminogreen committed Dec 11, 2023
1 parent 8ec86da commit f55f0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/aggr_es.R
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ aggr_es = function(object,
)
## Bind together and capture/re-assign and the hypothesis attribute (again,
## mostly for the "both" case)
hyp_attr = sapply(res, \(x) attributes(x)["hypothesis"])
hyp_attr = sapply(res, function(x) {attributes(x)["hypothesis"]})
res = do.call("rbind", res)
row.names(res) = NULL
if (period == "both") {
Expand Down

0 comments on commit f55f0dc

Please sign in to comment.