R/brickr.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",
                           "bg_transparent",
                           "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"))
}

Try the brickr package in your browser

Any scripts or data that you put into this service are public.

brickr documentation built on Aug. 3, 2020, 1:07 a.m.