Skip to content

Commit

Permalink
fix lintR
Browse files Browse the repository at this point in the history
  • Loading branch information
whelena committed Oct 4, 2024
1 parent 637b651 commit 195ce67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/add.text.R
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,9 @@ add.text2 <- function(
node.radius <- node.radius / scale;
node.text <- node.text[node.text$node %in% tree$tip, ];

node.list <- vector("list", nrow(tree));
node.text.col <- vector("list", nrow(tree));
node.text.fontface <- vector("list", nrow(tree));
node.list <- vector('list', nrow(tree));
node.text.col <- vector('list', nrow(tree));
node.text.fontface <- vector('list', nrow(tree));

# Loop to assign text to nodes
for (i in seq_len(nrow(node.text))) {
Expand Down

0 comments on commit 195ce67

Please sign in to comment.