Skip to content

Commit

Permalink
fix methods::is missing when run from Rscript
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lawrence Miller committed Feb 3, 2017
1 parent edf2e9b commit 84d3c75
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 13 deletions.
14 changes: 8 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ Title: Use Emoji in ggplot2
Version: 0.0.2
Authors@R: person("David L", "Miller", email = "[email protected]", role = c("aut", "cre"))
Description: Use emoji in ggplot2 plots...
Depends: R (>= 3.2.2),
ggplot2 (>= 1.0.1.9003)
Depends:
R (>= 3.2.2),
ggplot2 (>= 1.0.1.9003)
License: MIT
LazyData: true
Imports:
grid,
RCurl,
png,
proto
grid,
RCurl,
png,
proto
RoxygenNote: 5.0.1
3 changes: 2 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by roxygen2 (4.1.1): do not edit by hand
# Generated by roxygen2: do not edit by hand

export(add_emoji)
export(emoji_get)
Expand All @@ -8,5 +8,6 @@ export(geom_emoji)
importFrom(RCurl,getURLContent)
importFrom(ggplot2,annotation_custom)
importFrom(grid,rasterGrob)
importFrom(methods,is)
importFrom(png,readPNG)
importFrom(proto,proto)
1 change: 1 addition & 0 deletions R/emoji_get.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#' @note Adapted from \code{rphylopic} code by Scott Chamberlain
#' @importFrom png readPNG
#' @importFrom RCurl getURLContent
#' @importFrom methods is
#' @author David L Miller
emoji_get <- function(input, size=72, cdn="https://twemoji.maxcdn.com/"){

Expand Down
2 changes: 1 addition & 1 deletion man/add_emoji.Rd

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

4 changes: 2 additions & 2 deletions man/emoji_get.Rd

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

2 changes: 1 addition & 1 deletion man/emoji_search.Rd

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

4 changes: 2 additions & 2 deletions man/emojisGrob.Rd

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

0 comments on commit 84d3c75

Please sign in to comment.