R/pichor.R

#' `pichor` package
#'
#' Piano chords in R
#'
#' @docType package
#' @name pichor
NULL

## quiets concerns of R CMD check re: the .'s that appear in pipelines
if (getRversion() >= "2.15.1") {
  # ggpiano:
  utils::globalVariables(c("keys_chords",
                           "layer", 
                           "xmin", "xmax", 
                           "ymin", "ymax", 
                           "key", "key_color",
                           "label_x", "label_y",
                           "label", "label_color"))

  # get_key:
  utils::globalVariables(c("tone"))
  
  # get_keys_chords:
  utils::globalVariables(c("keys_chords"))
  
  # highlight_keys
  utils::globalVariables(c("key"))
  
  # highlight_key_sequence
  utils::globalVariables(c("seq_no", "seq_name"))
}
mikldk/pichor documentation built on Jan. 28, 2023, 5 a.m.