Skip to content

chore: update minimal R version to R4.1.0 - #2877

Open
maelle wants to merge 1 commit into
rversionfrom
rversionyounger
Open

chore: update minimal R version to R4.1.0#2877
maelle wants to merge 1 commit into
rversionfrom
rversionyounger

Conversation

@maelle

@maelle maelle commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Getting rid of the magrittr dependency is appealing.

Comment thread R/palette.R
#' add_layout_(with_fr()) %>%
#' set_vertex_attr("label", value = seq_len(gorder(.))) %>%
#' set_vertex_attr("size", value = 10) %>%
#' fw <- foodwebs[[1]]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

rewritten because of the .

Comment thread R/iterators.R
#' g <- sample_gnp(20, 3 / 20) %>%
#' set_edge_attr("weight", value = rnorm(gsize(.)))
#' g <- sample_gnp(20, 3 / 20)
#' g <- set_edge_attr(g, "weight", value = rnorm(gsize(g)))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

rewritten because of the .

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This is how benchmark results would change (along with a 95% confidence interval in relative change) if 5741ef3 is merged into rversion:

  • ✔️as_adjacency_matrix: 696ms -> 698ms [-1.7%, +2.17%]
  • ✔️as_biadjacency_matrix: 717ms -> 709ms [-3.72%, +1.37%]
  • ✔️as_data_frame_both: 1.46ms -> 1.45ms [-2.93%, +2.58%]
  • ✔️as_long_data_frame: 3.44ms -> 3.42ms [-3.25%, +2.48%]
  • ✔️es_attr_filter: 2.24ms -> 2.27ms [-1.89%, +3.92%]
  • ✔️graph_from_adjacency_matrix: 140ms -> 139ms [-1.56%, +0.98%]
  • ✔️graph_from_data_frame: 3.23ms -> 3.19ms [-2.99%, +1.05%]
  • ✔️vs_attr_filter: 1.34ms -> 1.3ms [-5.66%, +0.05%]
  • ❗🐌vs_by_name: 827µs -> 858µs [+0.86%, +6.62%]
    Further explanation regarding interpretation and methodology can be found in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant