Skip to content

Commit

Permalink
expect nodes in node_rank_hclust
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed Nov 17, 2023
1 parent 1e3a43e commit c0ab7d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/node_rank.R
Original file line number Diff line number Diff line change
@@ -49,6 +49,7 @@ NULL
#' @importFrom stats hclust
#' @export
node_rank_hclust <- function(method = 'average', dist = 'shortest', mode = 'out', weights = NULL, algorithm = 'automatic') {
expect_nodes()
weights <- enquo(weights)
weights <- eval_tidy(weights, .E())
if (is.null(weights)) {

0 comments on commit c0ab7d7

Please sign in to comment.