Skip to content

Commit

Permalink
mini typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkunst committed Jul 14, 2016
1 parent fc92c7f commit 4e29dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cran-comments.md
@@ -1,5 +1,5 @@
## Updating the package

* Uploading to 0.4.0 (prevous 0.3.0)
* Uploading to 0.4.0 (previous 0.3.0)

Thanks and regards!

2 comments on commit 4e29dce

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R/api-hc-extras.R:43:1: style: Variable and function names should be all lowercase.

hc_colorAxis  <- function(hc, ...) {
^~~~~~~~~~~~

R/api-hc-extras.R:44:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:45:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "colorAxis", ...)
  ^~~~~~~

R/api-hc-extras.R:46:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:145:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:146:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "drilldown", ...)
  ^~~~~~~

R/api-hc-extras.R:147:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:160:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:161:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "scrollbar", ...)
  ^~~~~~~

R/api-hc-extras.R:162:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:175:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:176:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "navigator", ...)
  ^~~~~~~

R/api-hc-extras.R:177:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:192:1: style: Variable and function names should be all lowercase.

hc_rangeSelector <- function(hc, ...) {
^~~~~~~~~~~~~~~~

R/api-hc-extras.R:193:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:194:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "rangeSelector", ...)
  ^~~~~~~

R/api-hc-extras.R:195:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:207:1: style: Variable and function names should be all lowercase.

hc_mapNavigation <- function(hc, ...) {
^~~~~~~~~~~~~~~~

R/api-hc-extras.R:208:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:209:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "mapNavigation", ...)
  ^~~~~~~

R/api-hc-extras.R:210:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:222:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:223:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "defs", ...)
  ^~~~~~~

R/api-hc-extras.R:224:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:236:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:237:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "annotations", ...)
  ^~~~~~~

R/api-hc-extras.R:238:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:253:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:254:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "pane", ...)
  ^~~~~~~

R/api-hc-extras.R:255:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:268:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:269:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "motion", ...)
  ^~~~~~~

R/api-hc-extras.R:270:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:286:1: style: Variable and function names should be all lowercase.

hc_elementId <- function(hc, id = NULL) {
^~~~~~~~~~~~

R/api-hc-extras.R:287:6: style: Variable and function names should be all lowercase.

hc$elementId <- as.character(id)
     ^~~~~~~~~

R/api-hc.R:2:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:5:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:7:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:8:29: style: Trailing whitespace is superfluous.

chrargs <- lstargsnn %>% 
                            ^

R/api-hc.R:9:19: style: Trailing whitespace is superfluous.

​      unlist() %>% 
                  ^

R/api-hc.R:11:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:13:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:15:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:18:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:20:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:25:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:26:27: warning: no visible global function definition for ‘.is_highchart’

assertthat::assert_that(.is_highchart(hc))
                          ^~~~~~~~~~~~~

R/api-hc.R:27:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:28:3: warning: no visible global function definition for ‘validate_args’

​  validate_args(name, eval(substitute(alist(...))))
  ^~~~~~~~~~~~~

R/api-hc.R:29:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:31:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:33:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:35:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:36:29: warning: no visible global function definition for ‘list.merge’

hc$x$hc_opts[[name]] <- list.merge(hc$x$hc_opts[[name]], list(...))
                            ^~~~~~~~~~

R/api-hc.R:37:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:39:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:41:38: warning: no visible global function definition for ‘.hc_get_fonts’

hc$x$fonts <- unique(c(hc$x$fonts, .hc_get_fonts(hc$x$hc_opts)))
                                     ^~~~~~~~~~~~~

R/api-hc.R:42:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:80:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:81:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "chart", ...)
  ^~~~~~~

R/api-hc.R:82:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:106:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:108:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:113:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:115:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:159:1: style: Variable and function names should be all lowercase.

hc_xAxis  <- function(hc, ...) {
^~~~~~~~

R/api-hc.R:160:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:161:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "xAxis", ...)
  ^~~~~~~

R/api-hc.R:162:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:167:1: style: Variable and function names should be all lowercase.

hc_yAxis  <- function(hc, ...) {
^~~~~~~~

R/api-hc.R:168:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:169:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "yAxis", ...)
  ^~~~~~~

R/api-hc.R:170:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:175:1: style: Variable and function names should be all lowercase.

hc_yAxis_multiples <- function(hc, ...) {
^~~~~~~~~~~~~~~~~~

R/api-hc.R:176:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:177:5: style: Commented code should be removed.

# print(length(list(...)));  print(length(list(...)[[1]]));
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/api-hc.R:178:5: style: Commented code should be removed.

# print(class(list(...)));  print(class(list(...)[[1]]))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/api-hc.R:179:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:181:18: style: Variable and function names should be all lowercase.

hc$x$hc_opts$yAxis <- list(...)[[1]]
                 ^~~~~

R/api-hc.R:183:18: style: Variable and function names should be all lowercase.

hc$x$hc_opts$yAxis <- list(...)
                 ^~~~~

R/api-hc.R:185:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:187:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:218:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:220:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:222:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:223:42: style: Trailing whitespace is superfluous.

heights <- (heights / sum(heights)) %>% 
                                         ^

R/api-hc.R:224:35: style: Trailing whitespace is superfluous.

​    map(function(x) c(x, sep)) %>% 
                                  ^

R/api-hc.R:225:17: style: Trailing whitespace is superfluous.

​    unlist() %>% 
                ^

R/api-hc.R:227:5: style: Opening curly braces should never go on their own line and should always be followed by a new line.

​    { . / sum(.) } %>% 
    ^

R/api-hc.R:227:7: warning: no visible binding for global variable ‘.’, Did you mean 'C'?

​    { . / sum(.) } %>% 
      ^

R/api-hc.R:227:7: warning: no visible binding for global variable ‘.’, Did you mean 'C'?

​    { . / sum(.) } %>% 
      ^

R/api-hc.R:227:18: style: Closing curly-braces should always be on their own line, unless it's followed by an else.

​    { . / sum(.) } %>% 
                 ^

R/api-hc.R:227:23: style: Trailing whitespace is superfluous.

​    { . / sum(.) } %>% 
                      ^

R/api-hc.R:228:13: style: Trailing whitespace is superfluous.

​    round(5) 
            ^

R/api-hc.R:229:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:231:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:234:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:235:13: warning: no visible global function definition for ‘data_frame’, Did you mean 'data.frame'?

dfaxis <- data_frame(height = heights, top = tops, offset = offset)
            ^~~~~~~~~~

R/api-hc.R:237:20: warning: no visible global function definition for ‘%>%’, Did you mean '%*%'?

dfaxis <- dfaxis %>% dplyr::filter(seq(1:nrow(dfaxis)) %% 2 != 0)
                   ^~~

R/api-hc.R:238:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:245:13: warning: no visible global function definition for ‘bind_cols’

dfaxis <- bind_cols(dfaxis, data_frame(nid = seq(naxis), ...))
            ^~~~~~~~~

R/api-hc.R:245:31: warning: no visible global function definition for ‘data_frame’, Did you mean 'data.frame'?

dfaxis <- bind_cols(dfaxis, data_frame(nid = seq(naxis), ...))
                              ^~~~~~~~~~

R/api-hc.R:247:12: warning: no visible global function definition for ‘list_parse’

yaxis <- list_parse(dfaxis)
           ^~~~~~~~~~

R/api-hc.R:248:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:249:5: style: Commented code should be removed.

# yaxis <- map(yaxis, function(x) c(x, ...))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/api-hc.R:250:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:252:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:254:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:278:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:279:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "title", ...)
  ^~~~~~~

R/api-hc.R:280:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:286:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:287:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "subtitle", ...)
  ^~~~~~~

R/api-hc.R:288:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:313:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:314:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "legend", ...)
  ^~~~~~~

R/api-hc.R:315:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:340:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:341:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "tooltip", ...)
  ^~~~~~~

R/api-hc.R:342:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:385:1: style: Variable and function names should be all lowercase.

hc_plotOptions  <- function(hc, ...) {
^~~~~~~~~~~~~~

R/api-hc.R:386:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:387:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "plotOptions", ...)
  ^~~~~~~

R/api-hc.R:388:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:412:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:413:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "credits", ...)
  ^~~~~~~

R/api-hc.R:414:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:440:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:441:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "exporting", ...)
  ^~~~~~~

R/api-hc.R:442:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:466:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:467:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "series", ...)
  ^~~~~~~

R/api-hc.R:468:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:493:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:494:3: warning: no visible global function definition for ‘validate_args’

​  validate_args("add_series", eval(substitute(alist(...))))
  ^~~~~~~~~~~~~

R/api-hc.R:495:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:497:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:501:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:503:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:505:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:507:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:517:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:519:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:523:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:525:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:527:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:529:1: style: Trailing whitespace is superfluous.

^~

R/assertthat.R:3:3: warning: no visible global function definition for ‘are_equal’

​  are_equal(TRUE, TRUE)
  ^~~~~~~~~

R/assertthat.R:4:3: warning: no visible global function definition for ‘are_equal’

​  are_equal(class(hc), c("highchart", "htmlwidget"))
  ^~~~~~~~~

R/assertthat.R:5:3: warning: no visible global function definition for ‘are_equal’

​  are_equal(class(hc), c("highchart", "htmlwidget"))
  ^~~~~~~~~

R/assertthat.R:15:3: warning: no visible global function definition for ‘are_equal’

​  are_equal(class(hc_theme), "hc_theme")
  ^~~~~~~~~

R/export-hc.R:29:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:30:5: style: Commented code should be removed.

# filename <- "~/tets.js"
    ^~~~~~~~~~~~~~~~~~~~~~~

R/export-hc.R:31:5: style: Commented code should be removed.

# load("~/hc.Rdata")
    ^~~~~~~~~~~~~~~~~~

R/export-hc.R:32:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:34:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:36:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:40:28: style: Trailing whitespace is superfluous.

jslns <- hc$x$hc_opts %>% 
                           ^

R/export-hc.R:41:5: style: Variable and function names should be all lowercase.

​    toJSON(pretty = TRUE, auto_unbox = TRUE, force = TRUE) %>% 
    ^~~~~~

R/export-hc.R:41:63: style: Trailing whitespace is superfluous.

​    toJSON(pretty = TRUE, auto_unbox = TRUE, force = TRUE) %>% 
                                                              ^

R/export-hc.R:42:24: style: Trailing whitespace is superfluous.

​    str_split("\n") %>% 
                       ^

R/export-hc.R:44:17: style: Trailing whitespace is superfluous.

​    unlist() %>% 
                ^

R/export-hc.R:45:29: style: Trailing whitespace is superfluous.

​    str_replace('"', "") %>% 
                            ^

R/export-hc.R:47:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:48:19: style: Trailing whitespace is superfluous.

# function thing 
                  ^

R/export-hc.R:49:12: warning: no visible global function definition for ‘str_detect’

fflag <- str_detect(jslns, "function()")
           ^~~~~~~~~~

R/export-hc.R:51:28: warning: no visible global function definition for ‘str_replace’

jslns <- ifelse(fflag, str_replace(jslns, "\"function", "function"), jslns)
                           ^~~~~~~~~~~

R/export-hc.R:52:28: warning: no visible global function definition for ‘str_replace’

jslns <- ifelse(fflag, str_replace(jslns, "\",$", ","), jslns)
                           ^~~~~~~~~~~

R/export-hc.R:53:28: warning: no visible global function definition for ‘str_replace’

jslns <- ifelse(fflag, str_replace(jslns, "\"$", ""), jslns)
                           ^~~~~~~~~~~

R/export-hc.R:56:38: warning: Do not use absolute paths.

"\\\\n",
                                     ^~~~~

R/export-hc.R:57:44: warning: Do not use absolute paths.

​                                    str_c("\\\\n",
                                           ^~~~~

R/export-hc.R:61:27: style: Trailing whitespace is superfluous.

jslns)  
                          ^~

R/export-hc.R:63:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:64:21: style: Trailing whitespace is superfluous.

jslns <- jslns %>% 
                    ^

R/export-hc.R:65:29: style: Trailing whitespace is superfluous.

# str_split("\\\\n") %>% 
                            ^

R/export-hc.R:66:17: style: Trailing whitespace is superfluous.

​    unlist() %>% 
                ^

R/export-hc.R:67:17: style: Trailing whitespace is superfluous.

​    tail(-1) %>% 
                ^

R/export-hc.R:69:71: style: Trailing whitespace is superfluous.

​    str_replace_all("\n\\s{4,}\\]\\,\n\\s{4,}\\[\n\\s{4,}", "],[") %>% 
                                                                      ^

R/export-hc.R:71:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:73:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:8:3: warning: no visible global function definition for ‘hchart’, Did you mean 'chartr'?

​  hchart(x, ...)
  ^~~~~~

R/hc-charts.R:17:3: warning: no visible global function definition for ‘hchart’, Did you mean 'chartr'?

​  hchart(x, type = "pie", ...)
  ^~~~~~

R/hc-charts.R:26:3: warning: no visible global function definition for ‘hchart’, Did you mean 'chartr'?

​  hchart(x, ...)
  ^~~~~~

R/hc-charts.R:46:3: warning: no visible global function definition for ‘hchart’, Did you mean 'chartr'?

​  hchart(as.ts(x), ...)
  ^~~~~~

R/hc-charts.R:53:3: warning: no visible global function definition for ‘hchart.density’

​  hchart.density(x, area = area, ...)
  ^~~~~~~~~~~~~~

R/hc-charts.R:77:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:78:5: style: Commented code should be removed.

# library(dplyr);library(purrr)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/hc-charts.R:79:5: style: Commented code should be removed.

# data(diamonds, package = "ggplot2")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/hc-charts.R:83:7: style: Commented code should be removed.

#   arrange(desc(n))
      ^~~~~~~~~~~~~~~~

R/hc-charts.R:84:5: style: Commented code should be removed.

# labels <- cnts$cut
    ^~~~~~~~~~~~~~~~~~

R/hc-charts.R:85:5: style: Commented code should be removed.

# counts <- cnts$n
    ^~~~~~~~~~~~~~~~

R/hc-charts.R:86:5: style: Commented code should be removed.

# size <- 4; icon <- "diamond"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/hc-charts.R:87:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:89:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:90:9: warning: no visible global function definition for ‘highchart’

hc <- highchart() 
        ^~~~~~~~~

R/hc-charts.R:90:20: style: Trailing whitespace is superfluous.

hc <- highchart() 
                   ^

R/hc-charts.R:91:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:93:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:95:21: style: Trailing whitespace is superfluous.

w <- sizegrid[1] 
                    ^

R/hc-charts.R:96:21: style: Trailing whitespace is superfluous.

h <- sizegrid[2]   
                    ^~~

R/hc-charts.R:97:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:99:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:102:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:104:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:105:64: style: Trailing whitespace is superfluous.

ds <- data_frame(x = rep(1:w, h), y = rep(1:h, each = w)) %>% 
                                                               ^

R/hc-charts.R:106:26: style: Trailing whitespace is superfluous.

​    head(sum(counts)) %>% 
                         ^

R/hc-charts.R:107:28: style: Trailing whitespace is superfluous.

​    mutate_("y" = "-y") %>% 
                           ^

R/hc-charts.R:108:60: style: Trailing whitespace is superfluous.

​    mutate(gr = rep(seq_along(labels), times = counts)) %>% 
                                                           ^

R/hc-charts.R:110:29: style: Trailing whitespace is superfluous.

by = "gr") %>% 
                            ^

R/hc-charts.R:111:26: style: Trailing whitespace is superfluous.

​    group_by_("name") %>% 
                         ^

R/hc-charts.R:112:53: style: Trailing whitespace is superfluous.

​    do(data = list_parse2(data_frame(.$x, .$y))) %>% 
                                                    ^

R/hc-charts.R:113:18: style: Trailing whitespace is superfluous.

​    ungroup() %>% 
                 ^

R/hc-charts.R:115:45: style: Trailing whitespace is superfluous.

by = c("name" = "labels")) %>% 
                                            ^

R/hc-charts.R:116:24: style: Trailing whitespace is superfluous.

​    arrange_("-counts") 
                       ^

R/hc-charts.R:117:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:119:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:121:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:122:20: style: Trailing whitespace is superfluous.

dsmrk <- ds %>% 
                   ^

R/hc-charts.R:123:32: style: Trailing whitespace is superfluous.

​      mutate(iconm = icons) %>% 
                               ^

R/hc-charts.R:124:28: style: Trailing whitespace is superfluous.

​      group_by_("name") %>% 
                           ^

R/hc-charts.R:126:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:127:17: style: Trailing whitespace is superfluous.

ds <- ds %>% 
                ^

R/hc-charts.R:128:40: style: Trailing whitespace is superfluous.

​      left_join(dsmrk, by = "name") %>% 
                                       ^

R/hc-charts.R:130:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:132:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:133:15: style: Trailing whitespace is superfluous.

hc <- hc %>% 
              ^

R/hc-charts.R:134:35: style: Trailing whitespace is superfluous.

​    hc_chart(type = "scatter") %>% 
                                  ^

R/hc-charts.R:135:43: style: Trailing whitespace is superfluous.

​    hc_add_series_list(list_parse(ds)) %>% 
                                          ^

R/hc-charts.R:136:5: style: Variable and function names should be all lowercase.

​    hc_plotOptions(series = list(marker = list(radius = size))) %>% 
    ^~~~~~~~~~~~~~

R/hc-charts.R:136:68: style: Trailing whitespace is superfluous.

​    hc_plotOptions(series = list(marker = list(radius = size))) %>% 
                                                                   ^

R/hc-charts.R:139:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:141:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:15:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:27:1: style: Words within variable and function names should be separated by '_' rather than '.'.

hchart.data.frame <- function(object, type = NULL, ...){
^~~~~~~~~~~~~~~~~

R/hchart.R:28:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:30:12: warning: no visible global function definition for ‘map’, Did you mean 'mad'?

parsc <- map(pars, as.character)
           ^~~

R/hchart.R:31:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:32:13: warning: no visible global function definition for ‘mutate’

object <- mutate(object, ...)
            ^~~~~~

R/hchart.R:33:13: warning: no visible global function definition for ‘ungroup’

object <- ungroup(object)
            ^~~~~~~

R/hchart.R:34:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:35:13: warning: no visible global function definition for ‘get_hc_series_from_df’

series <- get_hc_series_from_df(object, type = type, ...)
            ^~~~~~~~~~~~~~~~~~~~~

R/hchart.R:36:11: warning: no visible global function definition for ‘get_hc_options_from_df’

opts <- get_hc_options_from_df(object, type)
          ^~~~~~~~~~~~~~~~~~~~~~

R/hchart.R:37:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:38:9: warning: no visible global function definition for ‘highchart’

hc <- highchart() 
        ^~~~~~~~~

R/hchart.R:38:20: style: Trailing whitespace is superfluous.

hc <- highchart() 
                   ^

R/hchart.R:39:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:40:12: style: Variable and function names should be all lowercase.

if (opts$add_colorAxis) 
           ^~~~~~~~~~~~~

R/hchart.R:40:26: style: Trailing whitespace is superfluous.

if (opts$add_colorAxis) 
                         ^

R/hchart.R:41:11: style: Variable and function names should be all lowercase.

hc <- hc_colorAxis(hc, stops = color_stops())
          ^~~~~~~~~~~~

R/hchart.R:42:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:43:9: style: Trailing whitespace is superfluous.

hc %>% 
        ^

R/hchart.R:44:35: style: Trailing whitespace is superfluous.

​    hc_add_series_list(series) %>% 
                                  ^

R/hchart.R:45:5: style: Variable and function names should be all lowercase.

​    hc_xAxis(type = opts$xAxis_type,
    ^~~~~~~~

R/hchart.R:45:26: style: Variable and function names should be all lowercase.

​    hc_xAxis(type = opts$xAxis_type,
                         ^~~~~~~~~~

R/hchart.R:47:32: style: Variable and function names should be all lowercase.

categories = opts$xAxis_categories) %>% 
                               ^~~~~~~~~~~~~~~~

R/hchart.R:47:53: style: Trailing whitespace is superfluous.

categories = opts$xAxis_categories) %>% 
                                                    ^

R/hchart.R:48:5: style: Variable and function names should be all lowercase.

​    hc_yAxis(type = opts$yAxis_type,
    ^~~~~~~~

R/hchart.R:48:26: style: Variable and function names should be all lowercase.

​    hc_yAxis(type = opts$yAxis_type,
                         ^~~~~~~~~~

R/hchart.R:50:32: style: Variable and function names should be all lowercase.

categories = opts$yAxis_categories) %>% 
                               ^~~~~~~~~~~~~~~~

R/hchart.R:50:53: style: Trailing whitespace is superfluous.

categories = opts$yAxis_categories) %>% 
                                                    ^

R/hchart.R:51:5: style: Variable and function names should be all lowercase.

​    hc_plotOptions(
    ^~~~~~~~~~~~~~

R/hchart.R:53:29: style: Variable and function names should be all lowercase.

showInLegend = opts$series_plotOptions_showInLegend,
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/hchart.R:53:29: style: Variable and function names should not be longer than 30 characters.

showInLegend = opts$series_plotOptions_showInLegend,
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/hchart.R:63:22: style: Words within variable and function names should be separated by '_' rather than '.'.

hchart.data_frame <- hchart.data.frame
                     ^~~~~~~~~~~~~~~~~

R/hchart.R:68:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:70:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:71:3: warning: no visible global function definition for ‘hchart.histogram’

​  hchart.histogram(h, ...)
  ^~~~~~~~~~~~~~~~

R/hchart.R:72:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:77:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:79:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:82:23: style: Trailing whitespace is superfluous.

y = object$counts, 
                      ^

R/hchart.R:86:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:88:33: style: Trailing whitespace is superfluous.

​    hc_chart(zoomType = "x") %>% 
                                ^

R/hchart.R:92:10: style: Trailing whitespace is superfluous.

​    ) %>% 
         ^

R/hchart.R:98:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:103:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:104:19: style: Trailing whitespace is superfluous.

df <- object %>% 
                  ^

R/hchart.R:105:16: style: Trailing whitespace is superfluous.

​    table() %>% 
               ^

R/hchart.R:106:48: style: Trailing whitespace is superfluous.

​    as.data.frame(stringsAsFactors = FALSE) %>% 
                                               ^

R/hchart.R:108:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:109:18: style: Trailing whitespace is superfluous.

​  highchart() %>% 
                 ^

R/hchart.R:110:67: style: Trailing whitespace is superfluous.

​    hc_add_series(data = list_parse(df), type = "column", ...) %>% 
                                                                  ^

R/hchart.R:111:5: style: Variable and function names should be all lowercase.

​    hc_xAxis(type = "category")
    ^~~~~~~~

R/hchart.R:119:3: warning: no visible global function definition for ‘hc_add_series_ts’

​  hc_add_series_ts(highchart(), object, ...)
  ^~~~~~~~~~~~~~~~

R/hchart.R:119:20: warning: no visible global function definition for ‘highchart’

​  hc_add_series_ts(highchart(), object, ...)
                   ^~~~~~~~~

R/hchart.R:124:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:132:37: style: Variable and function names should be all lowercase.

hchart.forecast <- function(object, fillOpacity = 0.3, ...){
                                    ^~~~~~~~~~~

R/hchart.R:133:1: style: Trailing whitespace is superfluous.

^~

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R/api-hc-extras.R:43:1: style: Variable and function names should be all lowercase.

hc_colorAxis  <- function(hc, ...) {
^~~~~~~~~~~~

R/api-hc-extras.R:44:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:45:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "colorAxis", ...)
  ^~~~~~~

R/api-hc-extras.R:46:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:145:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:146:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "drilldown", ...)
  ^~~~~~~

R/api-hc-extras.R:147:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:160:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:161:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "scrollbar", ...)
  ^~~~~~~

R/api-hc-extras.R:162:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:175:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:176:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "navigator", ...)
  ^~~~~~~

R/api-hc-extras.R:177:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:192:1: style: Variable and function names should be all lowercase.

hc_rangeSelector <- function(hc, ...) {
^~~~~~~~~~~~~~~~

R/api-hc-extras.R:193:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:194:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "rangeSelector", ...)
  ^~~~~~~

R/api-hc-extras.R:195:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:207:1: style: Variable and function names should be all lowercase.

hc_mapNavigation <- function(hc, ...) {
^~~~~~~~~~~~~~~~

R/api-hc-extras.R:208:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:209:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "mapNavigation", ...)
  ^~~~~~~

R/api-hc-extras.R:210:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:222:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:223:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "defs", ...)
  ^~~~~~~

R/api-hc-extras.R:224:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:236:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:237:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "annotations", ...)
  ^~~~~~~

R/api-hc-extras.R:238:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:253:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:254:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "pane", ...)
  ^~~~~~~

R/api-hc-extras.R:255:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:268:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:269:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "motion", ...)
  ^~~~~~~

R/api-hc-extras.R:270:1: style: Trailing whitespace is superfluous.

^~

R/api-hc-extras.R:286:1: style: Variable and function names should be all lowercase.

hc_elementId <- function(hc, id = NULL) {
^~~~~~~~~~~~

R/api-hc-extras.R:287:6: style: Variable and function names should be all lowercase.

hc$elementId <- as.character(id)
     ^~~~~~~~~

R/api-hc.R:2:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:5:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:7:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:8:29: style: Trailing whitespace is superfluous.

chrargs <- lstargsnn %>% 
                            ^

R/api-hc.R:9:19: style: Trailing whitespace is superfluous.

​      unlist() %>% 
                  ^

R/api-hc.R:11:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:13:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:15:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:18:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:20:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:25:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:26:27: warning: no visible global function definition for ‘.is_highchart’

assertthat::assert_that(.is_highchart(hc))
                          ^~~~~~~~~~~~~

R/api-hc.R:27:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:28:3: warning: no visible global function definition for ‘validate_args’

​  validate_args(name, eval(substitute(alist(...))))
  ^~~~~~~~~~~~~

R/api-hc.R:29:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:31:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:33:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:35:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:36:29: warning: no visible global function definition for ‘list.merge’

hc$x$hc_opts[[name]] <- list.merge(hc$x$hc_opts[[name]], list(...))
                            ^~~~~~~~~~

R/api-hc.R:37:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:39:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:41:38: warning: no visible global function definition for ‘.hc_get_fonts’

hc$x$fonts <- unique(c(hc$x$fonts, .hc_get_fonts(hc$x$hc_opts)))
                                     ^~~~~~~~~~~~~

R/api-hc.R:42:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:80:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:81:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "chart", ...)
  ^~~~~~~

R/api-hc.R:82:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:106:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:108:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:113:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:115:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:159:1: style: Variable and function names should be all lowercase.

hc_xAxis  <- function(hc, ...) {
^~~~~~~~

R/api-hc.R:160:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:161:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "xAxis", ...)
  ^~~~~~~

R/api-hc.R:162:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:167:1: style: Variable and function names should be all lowercase.

hc_yAxis  <- function(hc, ...) {
^~~~~~~~

R/api-hc.R:168:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:169:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "yAxis", ...)
  ^~~~~~~

R/api-hc.R:170:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:175:1: style: Variable and function names should be all lowercase.

hc_yAxis_multiples <- function(hc, ...) {
^~~~~~~~~~~~~~~~~~

R/api-hc.R:176:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:177:5: style: Commented code should be removed.

# print(length(list(...)));  print(length(list(...)[[1]]));
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/api-hc.R:178:5: style: Commented code should be removed.

# print(class(list(...)));  print(class(list(...)[[1]]))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/api-hc.R:179:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:181:18: style: Variable and function names should be all lowercase.

hc$x$hc_opts$yAxis <- list(...)[[1]]
                 ^~~~~

R/api-hc.R:183:18: style: Variable and function names should be all lowercase.

hc$x$hc_opts$yAxis <- list(...)
                 ^~~~~

R/api-hc.R:185:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:187:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:218:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:220:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:222:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:223:42: style: Trailing whitespace is superfluous.

heights <- (heights / sum(heights)) %>% 
                                         ^

R/api-hc.R:224:35: style: Trailing whitespace is superfluous.

​    map(function(x) c(x, sep)) %>% 
                                  ^

R/api-hc.R:225:17: style: Trailing whitespace is superfluous.

​    unlist() %>% 
                ^

R/api-hc.R:227:5: style: Opening curly braces should never go on their own line and should always be followed by a new line.

​    { . / sum(.) } %>% 
    ^

R/api-hc.R:227:7: warning: no visible binding for global variable ‘.’, Did you mean 'C'?

​    { . / sum(.) } %>% 
      ^

R/api-hc.R:227:7: warning: no visible binding for global variable ‘.’, Did you mean 'C'?

​    { . / sum(.) } %>% 
      ^

R/api-hc.R:227:18: style: Closing curly-braces should always be on their own line, unless it's followed by an else.

​    { . / sum(.) } %>% 
                 ^

R/api-hc.R:227:23: style: Trailing whitespace is superfluous.

​    { . / sum(.) } %>% 
                      ^

R/api-hc.R:228:13: style: Trailing whitespace is superfluous.

​    round(5) 
            ^

R/api-hc.R:229:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:231:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:234:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:235:13: warning: no visible global function definition for ‘data_frame’, Did you mean 'data.frame'?

dfaxis <- data_frame(height = heights, top = tops, offset = offset)
            ^~~~~~~~~~

R/api-hc.R:237:20: warning: no visible global function definition for ‘%>%’, Did you mean '%*%'?

dfaxis <- dfaxis %>% dplyr::filter(seq(1:nrow(dfaxis)) %% 2 != 0)
                   ^~~

R/api-hc.R:238:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:245:13: warning: no visible global function definition for ‘bind_cols’

dfaxis <- bind_cols(dfaxis, data_frame(nid = seq(naxis), ...))
            ^~~~~~~~~

R/api-hc.R:245:31: warning: no visible global function definition for ‘data_frame’, Did you mean 'data.frame'?

dfaxis <- bind_cols(dfaxis, data_frame(nid = seq(naxis), ...))
                              ^~~~~~~~~~

R/api-hc.R:247:12: warning: no visible global function definition for ‘list_parse’

yaxis <- list_parse(dfaxis)
           ^~~~~~~~~~

R/api-hc.R:248:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:249:5: style: Commented code should be removed.

# yaxis <- map(yaxis, function(x) c(x, ...))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/api-hc.R:250:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:252:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:254:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:278:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:279:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "title", ...)
  ^~~~~~~

R/api-hc.R:280:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:286:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:287:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "subtitle", ...)
  ^~~~~~~

R/api-hc.R:288:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:313:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:314:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "legend", ...)
  ^~~~~~~

R/api-hc.R:315:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:340:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:341:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "tooltip", ...)
  ^~~~~~~

R/api-hc.R:342:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:385:1: style: Variable and function names should be all lowercase.

hc_plotOptions  <- function(hc, ...) {
^~~~~~~~~~~~~~

R/api-hc.R:386:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:387:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "plotOptions", ...)
  ^~~~~~~

R/api-hc.R:388:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:412:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:413:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "credits", ...)
  ^~~~~~~

R/api-hc.R:414:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:440:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:441:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "exporting", ...)
  ^~~~~~~

R/api-hc.R:442:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:466:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:467:3: warning: no visible global function definition for ‘.hc_opt’

​  .hc_opt(hc, "series", ...)
  ^~~~~~~

R/api-hc.R:468:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:493:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:494:3: warning: no visible global function definition for ‘validate_args’

​  validate_args("add_series", eval(substitute(alist(...))))
  ^~~~~~~~~~~~~

R/api-hc.R:495:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:497:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:501:1: style: Trailing whitespace is superfluous.

^~~~

R/api-hc.R:503:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:505:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:507:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:517:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:519:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:523:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:525:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:527:1: style: Trailing whitespace is superfluous.

^~

R/api-hc.R:529:1: style: Trailing whitespace is superfluous.

^~

R/assertthat.R:3:3: warning: no visible global function definition for ‘are_equal’

​  are_equal(TRUE, TRUE)
  ^~~~~~~~~

R/assertthat.R:4:3: warning: no visible global function definition for ‘are_equal’

​  are_equal(class(hc), c("highchart", "htmlwidget"))
  ^~~~~~~~~

R/assertthat.R:5:3: warning: no visible global function definition for ‘are_equal’

​  are_equal(class(hc), c("highchart", "htmlwidget"))
  ^~~~~~~~~

R/assertthat.R:15:3: warning: no visible global function definition for ‘are_equal’

​  are_equal(class(hc_theme), "hc_theme")
  ^~~~~~~~~

R/export-hc.R:29:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:30:5: style: Commented code should be removed.

# filename <- "~/tets.js"
    ^~~~~~~~~~~~~~~~~~~~~~~

R/export-hc.R:31:5: style: Commented code should be removed.

# load("~/hc.Rdata")
    ^~~~~~~~~~~~~~~~~~

R/export-hc.R:32:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:34:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:36:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:40:28: style: Trailing whitespace is superfluous.

jslns <- hc$x$hc_opts %>% 
                           ^

R/export-hc.R:41:5: style: Variable and function names should be all lowercase.

​    toJSON(pretty = TRUE, auto_unbox = TRUE, force = TRUE) %>% 
    ^~~~~~

R/export-hc.R:41:63: style: Trailing whitespace is superfluous.

​    toJSON(pretty = TRUE, auto_unbox = TRUE, force = TRUE) %>% 
                                                              ^

R/export-hc.R:42:24: style: Trailing whitespace is superfluous.

​    str_split("\n") %>% 
                       ^

R/export-hc.R:44:17: style: Trailing whitespace is superfluous.

​    unlist() %>% 
                ^

R/export-hc.R:45:29: style: Trailing whitespace is superfluous.

​    str_replace('"', "") %>% 
                            ^

R/export-hc.R:47:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:48:19: style: Trailing whitespace is superfluous.

# function thing 
                  ^

R/export-hc.R:49:12: warning: no visible global function definition for ‘str_detect’

fflag <- str_detect(jslns, "function()")
           ^~~~~~~~~~

R/export-hc.R:51:28: warning: no visible global function definition for ‘str_replace’

jslns <- ifelse(fflag, str_replace(jslns, "\"function", "function"), jslns)
                           ^~~~~~~~~~~

R/export-hc.R:52:28: warning: no visible global function definition for ‘str_replace’

jslns <- ifelse(fflag, str_replace(jslns, "\",$", ","), jslns)
                           ^~~~~~~~~~~

R/export-hc.R:53:28: warning: no visible global function definition for ‘str_replace’

jslns <- ifelse(fflag, str_replace(jslns, "\"$", ""), jslns)
                           ^~~~~~~~~~~

R/export-hc.R:56:38: warning: Do not use absolute paths.

"\\\\n",
                                     ^~~~~

R/export-hc.R:57:44: warning: Do not use absolute paths.

​                                    str_c("\\\\n",
                                           ^~~~~

R/export-hc.R:61:27: style: Trailing whitespace is superfluous.

jslns)  
                          ^~

R/export-hc.R:63:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:64:21: style: Trailing whitespace is superfluous.

jslns <- jslns %>% 
                    ^

R/export-hc.R:65:29: style: Trailing whitespace is superfluous.

# str_split("\\\\n") %>% 
                            ^

R/export-hc.R:66:17: style: Trailing whitespace is superfluous.

​    unlist() %>% 
                ^

R/export-hc.R:67:17: style: Trailing whitespace is superfluous.

​    tail(-1) %>% 
                ^

R/export-hc.R:69:71: style: Trailing whitespace is superfluous.

​    str_replace_all("\n\\s{4,}\\]\\,\n\\s{4,}\\[\n\\s{4,}", "],[") %>% 
                                                                      ^

R/export-hc.R:71:1: style: Trailing whitespace is superfluous.

^~

R/export-hc.R:73:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:8:3: warning: no visible global function definition for ‘hchart’, Did you mean 'chartr'?

​  hchart(x, ...)
  ^~~~~~

R/hc-charts.R:17:3: warning: no visible global function definition for ‘hchart’, Did you mean 'chartr'?

​  hchart(x, type = "pie", ...)
  ^~~~~~

R/hc-charts.R:26:3: warning: no visible global function definition for ‘hchart’, Did you mean 'chartr'?

​  hchart(x, ...)
  ^~~~~~

R/hc-charts.R:46:3: warning: no visible global function definition for ‘hchart’, Did you mean 'chartr'?

​  hchart(as.ts(x), ...)
  ^~~~~~

R/hc-charts.R:53:3: warning: no visible global function definition for ‘hchart.density’

​  hchart.density(x, area = area, ...)
  ^~~~~~~~~~~~~~

R/hc-charts.R:77:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:78:5: style: Commented code should be removed.

# library(dplyr);library(purrr)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/hc-charts.R:79:5: style: Commented code should be removed.

# data(diamonds, package = "ggplot2")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/hc-charts.R:83:7: style: Commented code should be removed.

#   arrange(desc(n))
      ^~~~~~~~~~~~~~~~

R/hc-charts.R:84:5: style: Commented code should be removed.

# labels <- cnts$cut
    ^~~~~~~~~~~~~~~~~~

R/hc-charts.R:85:5: style: Commented code should be removed.

# counts <- cnts$n
    ^~~~~~~~~~~~~~~~

R/hc-charts.R:86:5: style: Commented code should be removed.

# size <- 4; icon <- "diamond"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/hc-charts.R:87:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:89:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:90:9: warning: no visible global function definition for ‘highchart’

hc <- highchart() 
        ^~~~~~~~~

R/hc-charts.R:90:20: style: Trailing whitespace is superfluous.

hc <- highchart() 
                   ^

R/hc-charts.R:91:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:93:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:95:21: style: Trailing whitespace is superfluous.

w <- sizegrid[1] 
                    ^

R/hc-charts.R:96:21: style: Trailing whitespace is superfluous.

h <- sizegrid[2]   
                    ^~~

R/hc-charts.R:97:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:99:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:102:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:104:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:105:64: style: Trailing whitespace is superfluous.

ds <- data_frame(x = rep(1:w, h), y = rep(1:h, each = w)) %>% 
                                                               ^

R/hc-charts.R:106:26: style: Trailing whitespace is superfluous.

​    head(sum(counts)) %>% 
                         ^

R/hc-charts.R:107:28: style: Trailing whitespace is superfluous.

​    mutate_("y" = "-y") %>% 
                           ^

R/hc-charts.R:108:60: style: Trailing whitespace is superfluous.

​    mutate(gr = rep(seq_along(labels), times = counts)) %>% 
                                                           ^

R/hc-charts.R:110:29: style: Trailing whitespace is superfluous.

by = "gr") %>% 
                            ^

R/hc-charts.R:111:26: style: Trailing whitespace is superfluous.

​    group_by_("name") %>% 
                         ^

R/hc-charts.R:112:53: style: Trailing whitespace is superfluous.

​    do(data = list_parse2(data_frame(.$x, .$y))) %>% 
                                                    ^

R/hc-charts.R:113:18: style: Trailing whitespace is superfluous.

​    ungroup() %>% 
                 ^

R/hc-charts.R:115:45: style: Trailing whitespace is superfluous.

by = c("name" = "labels")) %>% 
                                            ^

R/hc-charts.R:116:24: style: Trailing whitespace is superfluous.

​    arrange_("-counts") 
                       ^

R/hc-charts.R:117:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:119:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:121:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:122:20: style: Trailing whitespace is superfluous.

dsmrk <- ds %>% 
                   ^

R/hc-charts.R:123:32: style: Trailing whitespace is superfluous.

​      mutate(iconm = icons) %>% 
                               ^

R/hc-charts.R:124:28: style: Trailing whitespace is superfluous.

​      group_by_("name") %>% 
                           ^

R/hc-charts.R:126:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:127:17: style: Trailing whitespace is superfluous.

ds <- ds %>% 
                ^

R/hc-charts.R:128:40: style: Trailing whitespace is superfluous.

​      left_join(dsmrk, by = "name") %>% 
                                       ^

R/hc-charts.R:130:1: style: Trailing whitespace is superfluous.

^~~~

R/hc-charts.R:132:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:133:15: style: Trailing whitespace is superfluous.

hc <- hc %>% 
              ^

R/hc-charts.R:134:35: style: Trailing whitespace is superfluous.

​    hc_chart(type = "scatter") %>% 
                                  ^

R/hc-charts.R:135:43: style: Trailing whitespace is superfluous.

​    hc_add_series_list(list_parse(ds)) %>% 
                                          ^

R/hc-charts.R:136:5: style: Variable and function names should be all lowercase.

​    hc_plotOptions(series = list(marker = list(radius = size))) %>% 
    ^~~~~~~~~~~~~~

R/hc-charts.R:136:68: style: Trailing whitespace is superfluous.

​    hc_plotOptions(series = list(marker = list(radius = size))) %>% 
                                                                   ^

R/hc-charts.R:139:1: style: Trailing whitespace is superfluous.

^~

R/hc-charts.R:141:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:15:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:27:1: style: Words within variable and function names should be separated by '_' rather than '.'.

hchart.data.frame <- function(object, type = NULL, ...){
^~~~~~~~~~~~~~~~~

R/hchart.R:28:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:30:12: warning: no visible global function definition for ‘map’, Did you mean 'mad'?

parsc <- map(pars, as.character)
           ^~~

R/hchart.R:31:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:32:13: warning: no visible global function definition for ‘mutate’

object <- mutate(object, ...)
            ^~~~~~

R/hchart.R:33:13: warning: no visible global function definition for ‘ungroup’

object <- ungroup(object)
            ^~~~~~~

R/hchart.R:34:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:35:13: warning: no visible global function definition for ‘get_hc_series_from_df’

series <- get_hc_series_from_df(object, type = type, ...)
            ^~~~~~~~~~~~~~~~~~~~~

R/hchart.R:36:11: warning: no visible global function definition for ‘get_hc_options_from_df’

opts <- get_hc_options_from_df(object, type)
          ^~~~~~~~~~~~~~~~~~~~~~

R/hchart.R:37:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:38:9: warning: no visible global function definition for ‘highchart’

hc <- highchart() 
        ^~~~~~~~~

R/hchart.R:38:20: style: Trailing whitespace is superfluous.

hc <- highchart() 
                   ^

R/hchart.R:39:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:40:12: style: Variable and function names should be all lowercase.

if (opts$add_colorAxis) 
           ^~~~~~~~~~~~~

R/hchart.R:40:26: style: Trailing whitespace is superfluous.

if (opts$add_colorAxis) 
                         ^

R/hchart.R:41:11: style: Variable and function names should be all lowercase.

hc <- hc_colorAxis(hc, stops = color_stops())
          ^~~~~~~~~~~~

R/hchart.R:42:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:43:9: style: Trailing whitespace is superfluous.

hc %>% 
        ^

R/hchart.R:44:35: style: Trailing whitespace is superfluous.

​    hc_add_series_list(series) %>% 
                                  ^

R/hchart.R:45:5: style: Variable and function names should be all lowercase.

​    hc_xAxis(type = opts$xAxis_type,
    ^~~~~~~~

R/hchart.R:45:26: style: Variable and function names should be all lowercase.

​    hc_xAxis(type = opts$xAxis_type,
                         ^~~~~~~~~~

R/hchart.R:47:32: style: Variable and function names should be all lowercase.

categories = opts$xAxis_categories) %>% 
                               ^~~~~~~~~~~~~~~~

R/hchart.R:47:53: style: Trailing whitespace is superfluous.

categories = opts$xAxis_categories) %>% 
                                                    ^

R/hchart.R:48:5: style: Variable and function names should be all lowercase.

​    hc_yAxis(type = opts$yAxis_type,
    ^~~~~~~~

R/hchart.R:48:26: style: Variable and function names should be all lowercase.

​    hc_yAxis(type = opts$yAxis_type,
                         ^~~~~~~~~~

R/hchart.R:50:32: style: Variable and function names should be all lowercase.

categories = opts$yAxis_categories) %>% 
                               ^~~~~~~~~~~~~~~~

R/hchart.R:50:53: style: Trailing whitespace is superfluous.

categories = opts$yAxis_categories) %>% 
                                                    ^

R/hchart.R:51:5: style: Variable and function names should be all lowercase.

​    hc_plotOptions(
    ^~~~~~~~~~~~~~

R/hchart.R:53:29: style: Variable and function names should be all lowercase.

showInLegend = opts$series_plotOptions_showInLegend,
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/hchart.R:53:29: style: Variable and function names should not be longer than 30 characters.

showInLegend = opts$series_plotOptions_showInLegend,
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/hchart.R:63:22: style: Words within variable and function names should be separated by '_' rather than '.'.

hchart.data_frame <- hchart.data.frame
                     ^~~~~~~~~~~~~~~~~

R/hchart.R:68:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:70:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:71:3: warning: no visible global function definition for ‘hchart.histogram’

​  hchart.histogram(h, ...)
  ^~~~~~~~~~~~~~~~

R/hchart.R:72:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:77:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:79:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:82:23: style: Trailing whitespace is superfluous.

y = object$counts, 
                      ^

R/hchart.R:86:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:88:33: style: Trailing whitespace is superfluous.

​    hc_chart(zoomType = "x") %>% 
                                ^

R/hchart.R:92:10: style: Trailing whitespace is superfluous.

​    ) %>% 
         ^

R/hchart.R:98:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:103:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:104:19: style: Trailing whitespace is superfluous.

df <- object %>% 
                  ^

R/hchart.R:105:16: style: Trailing whitespace is superfluous.

​    table() %>% 
               ^

R/hchart.R:106:48: style: Trailing whitespace is superfluous.

​    as.data.frame(stringsAsFactors = FALSE) %>% 
                                               ^

R/hchart.R:108:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:109:18: style: Trailing whitespace is superfluous.

​  highchart() %>% 
                 ^

R/hchart.R:110:67: style: Trailing whitespace is superfluous.

​    hc_add_series(data = list_parse(df), type = "column", ...) %>% 
                                                                  ^

R/hchart.R:111:5: style: Variable and function names should be all lowercase.

​    hc_xAxis(type = "category")
    ^~~~~~~~

R/hchart.R:119:3: warning: no visible global function definition for ‘hc_add_series_ts’

​  hc_add_series_ts(highchart(), object, ...)
  ^~~~~~~~~~~~~~~~

R/hchart.R:119:20: warning: no visible global function definition for ‘highchart’

​  hc_add_series_ts(highchart(), object, ...)
                   ^~~~~~~~~

R/hchart.R:124:1: style: Trailing whitespace is superfluous.

^~

R/hchart.R:132:37: style: Variable and function names should be all lowercase.

hchart.forecast <- function(object, fillOpacity = 0.3, ...){
                                    ^~~~~~~~~~~

R/hchart.R:133:1: style: Trailing whitespace is superfluous.

^~

Please sign in to comment.