Skip to content

fix: stricter bipartite type checking#2598

Merged
schochastics merged 5 commits into
mainfrom
bipartite-type-check
May 28, 2026
Merged

fix: stricter bipartite type checking#2598
schochastics merged 5 commits into
mainfrom
bipartite-type-check

Conversation

@schochastics
Copy link
Copy Markdown
Contributor

fix #710 (cc @szhorvat)

Comment thread R/other.R Outdated
converted <- suppressWarnings(as.logical(types))
if (anyNA(converted)) {
cli::cli_abort(
"The {.arg type} vertex attribute is not logical and could not be \\
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The backslash does weird things here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a snapshot test?

@schochastics schochastics changed the title fix: better bipartite type checking fix: stricter bipartite type checking May 28, 2026
@schochastics schochastics merged commit 7684bf1 into main May 28, 2026
6 checks passed
@schochastics schochastics deleted the bipartite-type-check branch May 28, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'type' vertex attributes that are not logical should be handled better

2 participants