Skip to content

Commit

Permalink
Register method to satisfy CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jun 15, 2023
1 parent 6e0755d commit 8f47623
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ S3method(as.matrix,igraph)
S3method(as_ids,igraph.es)
S3method(as_ids,igraph.vs)
S3method(as_phylo,communities)
S3method(as_phylo,igraphHRG)
S3method(c,igraph.es)
S3method(c,igraph.vs)
S3method(cohesion,cohesiveBlocks)
Expand Down
2 changes: 1 addition & 1 deletion R/hrg.R
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ as.hclust.igraphHRG <- function(x, ...) {
res
}

#' @method as_phylo igraphHRG
#' @export
#' @importFrom stats reorder
as_phylo.igraphHRG <- function(x, ...) {
ovc <- length(x$left) + 1L
Expand Down

0 comments on commit 8f47623

Please sign in to comment.