Skip to content

Commit 833d4ed

Browse files
committed
fixes for CRAN release
1 parent 5655851 commit 833d4ed

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

.Rbuildignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
CONDUCT.md
66
CONTRIBUTING.md
77
build_site.R
8+
todo.R
89
inst/examples/flexdashboard

NAMESPACE

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ importFrom(jsonlite,toJSON)
8585
importFrom(magrittr,"%>%")
8686
importFrom(plyr,ddply)
8787
importFrom(plyr,summarise)
88+
importFrom(stats,complete.cases)
8889
importFrom(stats,setNames)
8990
importFrom(tidyr,gather)
9091
importFrom(utils,browseURL)

R/imports.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#' @import ggplot2
22
#' @importFrom grDevices col2rgb
33
#' @importFrom utils getFromNamespace modifyList data packageVersion browseURL
4-
#' @importFrom stats setNames
4+
#' @importFrom stats setNames complete.cases
55
#' @importFrom tidyr gather
66
#' @importFrom plyr ddply summarise
77
#' @importFrom viridis viridis

R/layers2traces.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ geom2trace.GeomTile <- function(data, params, p) {
538538
# create the colorscale
539539
colScale <- unique(g[, c("fill_plotlyDomain", "fill")])
540540
# colorscale goes crazy if there are NAs
541-
colScale <- colScale[complete.cases(colScale), ]
541+
colScale <- colScale[stats::complete.cases(colScale), ]
542542
colScale <- colScale[order(colScale$fill_plotlyDomain), ]
543543
list(
544544
x = x,

0 commit comments

Comments
 (0)