Skip to content

chore: unused functions#2669

Open
maelle wants to merge 1 commit into
mainfrom
unused
Open

chore: unused functions#2669
maelle wants to merge 1 commit into
mainfrom
unused

Conversation

@maelle
Copy link
Copy Markdown
Contributor

@maelle maelle commented May 26, 2026

Part of #2652

@maelle maelle requested review from krlmlr and schochastics May 26, 2026 10:51
Comment thread R/cran.R
@@ -1,5 +0,0 @@
cran_install <- function() {
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.

Are R/cran.R and R/revdep.R still useful?

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.

Can be removed.

Comment thread R/versions.R
)
}

oldpredecessors <- function() {
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.

@krlmlr useless now, correct?

Copy link
Copy Markdown
Contributor

@krlmlr krlmlr left a comment

Choose a reason for hiding this comment

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

Thanks, let's be careful.

Comment thread R/revdep.R
@@ -1,20 +0,0 @@
pkg_review <- function(pkg, pak = TRUE) {
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.

This should be a standalone somewhere, please keep.

Comment thread R/cran.R
@@ -1,5 +0,0 @@
cran_install <- function() {
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.

Can be removed.

Comment thread R/weakref.R
.Call(Rx_igraph_weak_ref_value, ref)
}

weak_ref_run_finalizer <- function(ref) {
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.

When did we lose this?

Comment thread tests/testthat/helper.R
if (!has_graphml()) skip("No GraphML support")
}

with_rng_version <- function(version, expr) {
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.

And this?

Comment thread R/uuid.R
@@ -1,8 +1,3 @@
generate_uuid <- function(use_time = NA) {
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.

Where was this used before? Is the .Call() still used?

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.

2 participants