Skip to content

Commit

Permalink
support for group=TRUE in multi_connection_table
Browse files Browse the repository at this point in the history
* this is not really a contract in the documentation but is expected by some users
  and doesn't seem problematic
  • Loading branch information
jefferis committed Jan 22, 2025
1 parent 0050f70 commit 541f8d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/cosine.R
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ multi_connection_table <- function(ids, partners=c("inputs", "outputs"),
check_missing=TRUE,
min_datasets=Inf
) {
if(isTRUE(group))
group='type'
partners=match.arg(partners, several.ok = T)
kk=keys(ids)
if(length(partners)>1) {
Expand Down

0 comments on commit 541f8d3

Please sign in to comment.