Implement S3 generics for network functions#136
Draft
Copilot wants to merge 36 commits into
Draft
Conversation
…, net_node_attributes(), and net_tie_attributes()
…nodes had same rank
…ls where available
…ects, includes some column renaming and reordering
Copilot
AI
changed the title
Implement generics pattern with .default methods for all manipulation and modification functions
Implement S3 generics with .default methods for all manipulation and modification functions
May 30, 2026
Copilot created this pull request from a session on behalf of
jhollway
May 30, 2026 04:58
View session
Copilot
AI
force-pushed
the
copilot/implement-generics-for-network-functions
branch
from
May 30, 2026 05:14
4ed26a2 to
6372718
Compare
… remaining functions to generics
Copilot
AI
changed the title
Implement S3 generics with .default methods for all manipulation and modification functions
Complete S3 generic/default method pattern for all modif_* and manip_* functions
May 30, 2026
…er_info, rename_info with tests
…and documentation
…in_nodes defaults
Copilot
AI
changed the title
Complete S3 generic/default method pattern for all modif_* and manip_* functions
Implement S3 generics for network functions
May 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Completes the S3 generic dispatch pattern for all manipulation and modification functions.
New
.defaultmethodsto_eulerian.default()— the lastto_*function missing a fallbackfrom_subgraphs.default(),from_egos.default(),from_waves.default(),from_slices.default(),from_ties.default()— delegate to.listmethodsNew manipulation functions
arrange_nodes()/arrange_changes()— reorder nodes/changes by attributerename_changes()/rename_info()— rename columnsfilter_info()/select_info()— subset network information attributesBug fixes
as_input()argument order inbind_nodes.default(),filter_nodes.default(),join_nodes.default()—FUNwas passed positionally where.datawas expectedNAMESPACE & docs
manip_nodes_num.Rd,manip_changes.Rd,manip_info.RdChecklist: