diff --git a/R/aaa-auto.R b/R/aaa-auto.R index addf46aad36..7cce20de699 100644 --- a/R/aaa-auto.R +++ b/R/aaa-auto.R @@ -35,14 +35,14 @@ vcount_impl <- function(graph) { res } -empty_attrs_impl <- function(n, directed, attr) { +empty_attrs_impl <- function(n, directed) { # Argument checks n <- as.numeric(n) directed <- as.logical(directed) on.exit( .Call(R_igraph_finalizer) ) # Function call - res <- .Call(R_igraph_empty_attrs, n, directed, attr) + res <- .Call(R_igraph_empty_attrs, n, directed) res } diff --git a/src/cpp11.cpp b/src/cpp11.cpp index e36f8780549..e7f942ce9e4 100644 --- a/src/cpp11.cpp +++ b/src/cpp11.cpp @@ -153,7 +153,7 @@ extern SEXP R_igraph_eigen_matrix(void *, void *, void *, void *, void *, void * extern SEXP R_igraph_eigen_matrix_symmetric(void *, void *, void *, void *, void *, void *, void *); extern SEXP R_igraph_eigenvector_centrality(void *, void *, void *, void *, void *); extern SEXP R_igraph_empty(void *, void *); -extern SEXP R_igraph_empty_attrs(void *, void *, void *); +extern SEXP R_igraph_empty_attrs(void *, void *); extern SEXP R_igraph_erdos_renyi_game(void *, void *, void *, void *, void *); extern SEXP R_igraph_es_adj(void *, void *, void *, void *); extern SEXP R_igraph_es_pairs(void *, void *, void *); @@ -628,7 +628,7 @@ static const R_CallMethodDef CallEntries[] = { {"R_igraph_eigen_matrix_symmetric", (DL_FUNC) &R_igraph_eigen_matrix_symmetric, 7}, {"R_igraph_eigenvector_centrality", (DL_FUNC) &R_igraph_eigenvector_centrality, 5}, {"R_igraph_empty", (DL_FUNC) &R_igraph_empty, 2}, - {"R_igraph_empty_attrs", (DL_FUNC) &R_igraph_empty_attrs, 3}, + {"R_igraph_empty_attrs", (DL_FUNC) &R_igraph_empty_attrs, 2}, {"R_igraph_erdos_renyi_game", (DL_FUNC) &R_igraph_erdos_renyi_game, 5}, {"R_igraph_es_adj", (DL_FUNC) &R_igraph_es_adj, 4}, {"R_igraph_es_pairs", (DL_FUNC) &R_igraph_es_pairs, 3}, diff --git a/tools/stimulus/types-RR.yaml b/tools/stimulus/types-RR.yaml index 7aa3a84d80c..f5114e9cd1a 100644 --- a/tools/stimulus/types-RR.yaml +++ b/tools/stimulus/types-RR.yaml @@ -51,7 +51,9 @@ MATRIX: ARRAY3: INCONV: '%I%[] <- as.numeric(%I%)' -ATTRIBUTES: {} +ATTRIBUTES: + CALL: {} + HEADER: ~ CONNECTEDNESS: DEFAULT: