Skip to content

Commit

Permalink
Add some importFrom directives to NAMESPACE
Browse files Browse the repository at this point in the history
 - to avoid warnings in R CMD check
  • Loading branch information
kbroman committed May 15, 2016
1 parent e20baff commit 7052846
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 8 deletions.
8 changes: 6 additions & 2 deletions DESCRIPTION
Expand Up @@ -5,6 +5,10 @@ Maintainer: Alyssa Frazee <afrazee@jhsph.edu>
License: MIT + file LICENSE
Title: fun with R colors
VignetteBuilder: knitr
Suggests: knitr
Description: for those times you want to make plots with candy-themed color schemes
Imports: graphics, stats, grDevices
Suggests:
knitr
Description: for those times you want to make plots with candy-themed color
schemes
URL: https://github.com/alyssafrazee/RSkittleBrewer
RoxygenNote: 5.0.1
7 changes: 6 additions & 1 deletion NAMESPACE
@@ -1,5 +1,10 @@
# Generated by roxygen2 (4.0.0): do not edit by hand
# Generated by roxygen2: do not edit by hand

export(RSkittleBrewer)
export(plotSkittles)
export(plotSmarties)
importFrom(grDevices,rgb)
importFrom(graphics,par)
importFrom(graphics,plot)
importFrom(graphics,points)
importFrom(stats,runif)
1 change: 1 addition & 0 deletions R/RSkittleBrewer.R
Expand Up @@ -6,6 +6,7 @@
#' @param flavor Character string for candy-based color palette.
#'
#' @export
#' @importFrom grDevices rgb
#' @return Vector of character strings representing the chosen set of colors.
#'
#' @examples
Expand Down
2 changes: 2 additions & 0 deletions R/plotSkittles.R
Expand Up @@ -3,6 +3,8 @@
#' Plot illustrating the Skittles and M&M's color palettes
#'
#' @export
#' @importFrom graphics par plot points
#' @importFrom stats runif
#' @return None.
#'
#' @examples
Expand Down
2 changes: 2 additions & 0 deletions R/plotSmarties.R
Expand Up @@ -3,6 +3,8 @@
#' Plot illustrating the Smarties color palette
#'
#' @export
#' @importFrom graphics plot points
#' @importFrom stats runif
#' @return None.
#'
#' @examples
Expand Down
7 changes: 4 additions & 3 deletions man/RSkittleBrewer.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/plotSkittles.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/plotSmarties.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7052846

Please sign in to comment.