R/globals.R

## quiets concerns of R CMD check re: the .'s that appear in pipelines
if (getRversion() >= "2.15.1") {
  utils::globalVariables(c(
    "Sample", "cate_feat", "cont_feat", "kids",
    "breaks_label", "term_node",
    "level", "node_id", "parent",
    "splitvar", "value", "x", "y", "y_hat", ".",
    ".metric", ".estimate"
  ))
}
trang1618/treeheatr documentation built on July 30, 2023, 1:20 a.m.