Skip to content

Commit fb51ff8

Browse files
Missing import: Need edgeList constructor
1 parent 157e5d2 commit fb51ff8

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

NAMESPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Generated by roxygen2: do not edit by hand
22

3+
S3method(edgeList,SparseBlockMatrixR)
34
export(ccdr.run)
45
importFrom(Rcpp,sourceCpp)
6+
importFrom(sparsebnUtils,edgeList)
57
importFrom(sparsebnUtils,get.adjacency.matrix)
68
importFrom(sparsebnUtils,is.zero)
79
importFrom(sparsebnUtils,num.edges)

R/s3-SparseBlockMatrixR.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ as.matrix.SparseBlockMatrixR <- function(x){
244244
# edgeList.SparseBlockMatrixR
245245
# Coerce SBM to edge list
246246
#
247+
#' @export
247248
edgeList.SparseBlockMatrixR <- function(x){
248249
#
249250
# We have to be careful in obtaining the edge list of a SparseBlockMatrixR object:

R/zzz.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#' @importFrom sparsebnUtils num.nodes
1515
#' @importFrom sparsebnUtils num.edges
1616
#' @importFrom sparsebnUtils is.zero
17+
#' @importFrom sparsebnUtils edgeList
1718

1819
.onAttach <- function(libname, pkgname){
1920
### Only sparsebn needs a package startup message

0 commit comments

Comments
 (0)