Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions R/aaa-basic-igraph.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== adding-and-deleting-vertices-and-edges ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-bipartite.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== bipartite-adjacency-matrices ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-centrality.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== centrality-measures ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-cliques.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== cliques ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-community.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== common-functions-related-to-community-detection ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-error.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== error-codes ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-flows.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== cohesive-blocks ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-foreign.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== binary-formats ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-games.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== degree-constrained-games ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-layout.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== drl-layout-generator ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-nongraph.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== compare-floats-with-tolerance ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-operators.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== miscellaneous-operators ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-paths.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== distances-and-metrics ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-progress.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== invoking-the-progress-handler ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-structural.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== basic-properties ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-trees.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== spanning-trees-and-forests ====

Expand Down
1 change: 1 addition & 0 deletions R/aaa-visitors.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by tools/split-aaa-auto.R from aaa-auto.R — do not edit by hand
# styler: off
# jarl-ignore-file unused_function: irrelevant for _impl functions

# ==== breadth-first-search ====

Expand Down
5 changes: 0 additions & 5 deletions R/cran.R

This file was deleted.

1 change: 1 addition & 0 deletions R/release.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# https://usethis.r-lib.org/reference/use_release_issue.html#customization
# https://github.com/igraph/rigraph/issues/1976
# jarl-ignore unused_function: used for releases
release_bullets <- function() {
c(
"`allcontributors::add_contributors()` to update allcontributors' data in the README.",
Expand Down
20 changes: 0 additions & 20 deletions R/revdep.R

This file was deleted.

1 change: 1 addition & 0 deletions R/tkplot.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# jarl-ignore-file unused_function: file to be removed
#' Interactive plotting of graphs
#'
#' @description
Expand Down
5 changes: 0 additions & 5 deletions R/uuid.R
Original file line number Diff line number Diff line change
@@ -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?

.Call(UUID_gen, as.logical(use_time))
}


get_graph_id <- function(graph) {
if (!warn_version(graph)) {
.Call(Rx_igraph_get_graph_id, graph)
Expand Down
11 changes: 0 additions & 11 deletions R/versions.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,6 @@ warn_version <- function(graph) {
)
}

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?

c(
"1.5.0" = "1.4.3",
"1.0.0" = "0.7.1",
"0.6" = "0.5.5-4",
"0.5" = "0.4.5",
"0.2" = "0.1.2",
"0.1.1" = NA
)
}

oldsamples <- function() {
list(
"1.5.0" = oldsample_1_5_0(),
Expand Down
4 changes: 0 additions & 4 deletions R/weakref.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,3 @@ weak_ref_key <- function(ref) {
weak_ref_value <- function(ref) {
.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?

.Call(Rx_igraph_weak_ref_run_finalizer, ref)
}
7 changes: 0 additions & 7 deletions tests/testthat/helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ skip_if_no_graphml <- function() {
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?

orig <- RNGkind()
on.exit(do.call(RNGkind, as.list(orig)), add = TRUE)
suppressWarnings(RNGversion(version))
expr
}

local_rng_version <- function(version, .local_envir = parent.frame()) {
orig <- RNGkind()
withr::defer(do.call(RNGkind, as.list(orig)), envir = .local_envir)
Expand Down
1 change: 1 addition & 0 deletions tools/split-aaa-auto.R
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ header <- c(
paste0("# Generated by tools/split-aaa-auto.R from ", src_basename,
" — do not edit by hand"),
"# styler: off",
"# jarl-ignore-file unused_function: irrelevant for _impl functions",
""
)

Expand Down