Skip to content

Commit

Permalink
Fix a typo in the @keywords roxygen directive. (grf-labs#481)
Browse files Browse the repository at this point in the history
In grf-labs#342 we tried to exclude private helper methods from being included in the
package documentation. However we accidentally used `@keyword` instead of the
valid directive `@keywords`.
  • Loading branch information
jtibshirani authored and davidahirshberg committed Dec 6, 2019
1 parent c5c7cad commit 4bb1b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions r-package/grf/R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' If it is a non-leaf node: show its splitting variable and splitting value
#' @param tree the tree to convert
#' @param index the index of the current node
#' @keyword internal
#' @keywords internal
create_dot_body <- function(tree, index = 1) {
node <- tree$nodes[[index]]

Expand Down Expand Up @@ -68,7 +68,7 @@ size = ", num_samples, '"];')
#' This function generates a GraphViz representation of the tree,
#' which is then written into `dot_string`.
#' @param tree the tree to convert
#' @keyword internal
#' @keywords internal
export_graphviz <- function(tree) {
header <- "digraph nodes { \n node [shape=box] ;"
footer <- "}"
Expand Down

0 comments on commit 4bb1b8d

Please sign in to comment.