mirror of
https://github.com/ryantimpe/brickr.git
synced 2026-01-04 21:03:38 -06:00
33 lines
1.6 KiB
R
33 lines
1.6 KiB
R
#' 'brickr' package
|
|
#'
|
|
#' Emulate LEGO Bricks in 2D and 3D
|
|
#'
|
|
#' @docType package
|
|
#' @name brickr
|
|
#' @importFrom purrr %||%
|
|
NULL
|
|
|
|
## quiets concerns of R CMD check re: the .'s that appear in pipelines
|
|
if(getRversion() >= "2.15.1") {
|
|
utils::globalVariables(c(".", ".value", "aes", "alpha", "area_act", "area_tar", "B", "B_lego",
|
|
"brick_name", "Brick_size", "brick_type", "brickr_themes", "brickrID",
|
|
"brick_area", "brick_width", "brick_height",
|
|
"channel", "col2rgb", "color", "Color", "color_hex", "dist",
|
|
"elevation", "G", "G_lego",
|
|
"ggproto", "height", "hex",
|
|
"id", "layer",
|
|
"lego", "Lego_color", "LEGO_color", "lego_colors",
|
|
"Lego_name", "Level", "lum", "Lum",
|
|
"median", "mid_level", "n",
|
|
"offset_x", "offset_y",
|
|
"Palette", "piece_type", "Piece",
|
|
"R", "rgb", "R_lego", "shade", "shade_bw", "size1", "size2",
|
|
"stud", "stud_id", "studs",
|
|
"temp_level", "theme", "Tr", "Trans_lego", "TYPE",
|
|
"user_color", "ww",
|
|
"value",
|
|
"x", "x_comp", "x_mid", "x_scaled",
|
|
"xg", "xmax", "xmin", "xx",
|
|
"y", "y_comp", "y_mid", "y_scaled", "yg", "ymax",
|
|
"ymin", "yy", "z"))
|
|
} |