[R/lifx-cloud.R:3:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L3) *style:* **Variable or function name should be snake_case.**
```r
BASE <- "https://api.lifx.com"
^~~~
```
[R/lifx-cloud.R:4:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L4) *style:* **Variable or function name should be snake_case.**
```r
VERSION <- "v1"
^~~~~~~
```
[R/lifx-cloud.R:8:7:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L8) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(is.na(key))stop("No key found")
      ^
```
[R/lifx-cloud.R:12:7:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L12) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(hue < 0 | hue > 360){
      ^
```
[R/lifx-cloud.R:18:7:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L18) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(value < 0 | value > 1){
      ^
```
[R/lifx-cloud.R:24:7:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L24) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(value < 0 | value > 1){
      ^
```
[R/lifx-cloud.R:31:7:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L31) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(value < 2500 | value > 9000){
      ^
```
[R/lifx-cloud.R:38:16:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L38) *style:* **Trailing whitespace is superfluous.**
```r
# except color.
               ^
```
[R/lifx-cloud.R:43:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L43) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:51:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L51) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(results$status_code != 200)
    ^
```
[R/lifx-cloud.R:58:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L58) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:60:74:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L60) *style:* **Trailing whitespace is superfluous.**
```r
#' @param selector a string in format '[type]:[value]', where type can be
                                                                         ^
```
[R/lifx-cloud.R:61:73:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L61) *style:* **Trailing whitespace is superfluous.**
```r
#' 'all', 'id', 'label', 'group', 'group_id', 'location', 'location_id',
                                                                        ^
```
[R/lifx-cloud.R:63:34:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L63) *style:* **Trailing whitespace is superfluous.**
```r
#' which needs no value argument.
                                 ^
```
[R/lifx-cloud.R:64:56:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L64) *style:* **Trailing whitespace is superfluous.**
```r
#' @return a list of all lights, status, and properties
                                                       ^
```
[R/lifx-cloud.R:74:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L74) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:80:17:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L80) *warning:* **no visible global function definition for ‘lights’, Did you mean 'weights'?**
```r
  light_list <- lights(selector = selector)
                ^~~~~~
```
[R/lifx-cloud.R:81:21:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L81) *style:* **Trailing whitespace is superfluous.**
```r
  sapply(light_list,
                    ^
```
[R/lifx-cloud.R:83:14:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L83) *style:* **Place a space before left parenthesis, except in a function call.**
```r
           if(light$color[["saturation"]] > 0)
             ^
```
[R/lifx-cloud.R:89:18:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L89) *style:* **Trailing whitespace is superfluous.**
```r
             else
                 ^
```
[R/lifx-cloud.R:90:32:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L90) *style:* **Trailing whitespace is superfluous.**
```r
               paste("kelvin:",
                               ^
```
[R/lifx-cloud.R:91:46:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L91) *style:* **Trailing whitespace is superfluous.**
```r
                     light$color[["kelvin"]],
                                             ^
```
[R/lifx-cloud.R:93:50:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L93) *style:* **Trailing whitespace is superfluous.**
```r
                     light$brightness * 100, "%",
                                                 ^
```
[R/lifx-cloud.R:100:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L100) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:106:67:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L106) *style:* **Trailing whitespace is superfluous.**
```r
  results <- POST(paste0(BASE, "/", VERSION, "/lights/", selector,
                                                                  ^
```
[R/lifx-cloud.R:107:42:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L107) *style:* **Trailing whitespace is superfluous.**
```r
                         "/toggle.json"),
                                         ^
```
[R/lifx-cloud.R:109:22:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L109) *warning:* **no visible global function definition for ‘content’, Did you mean 'confint'?**
```r
  jsonlite::fromJSON(content(results, as = "text"))
                     ^~~~~~~
```
[R/lifx-cloud.R:113:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L113) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:119:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L119) *style:* **Lines should not be more than 80 characters.**
```r
#' @details Not exported because it conflicts with stats::power. see on() and off()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:122:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L122) *style:* **Lines should not be more than 80 characters.**
```r
  results <- PUT(paste0(BASE, "/", VERSION, "/lights/", selector, "/state.json"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:122:82:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L122) *style:* **Trailing whitespace is superfluous.**
```r
  results <- PUT(paste0(BASE, "/", VERSION, "/lights/", selector, "/state.json"),
                                                                                ^
```
[R/lifx-cloud.R:123:34:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L123) *style:* **Trailing whitespace is superfluous.**
```r
      query = list(power = state,
                                 ^
```
[R/lifx-cloud.R:124:40:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L124) *style:* **Trailing whitespace is superfluous.**
```r
                   duration = duration,
                                       ^
```
[R/lifx-cloud.R:126:22:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L126) *warning:* **no visible global function definition for ‘content’, Did you mean 'confint'?**
```r
  jsonlite::fromJSON(content(results, as = "text"))
                     ^~~~~~~
```
[R/lifx-cloud.R:131:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L131) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:138:10:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L138) *warning:* **possible error in power("off", selector = selector, duration = duration): unused arguments (selector = selector, duration = duration)**
```r
  power("off", selector = selector, duration = duration)
         ^~~
```
[R/lifx-cloud.R:143:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L143) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:144:19:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L144) *style:* **Trailing whitespace is superfluous.**
```r
#' power lights on
                  ^
```
[R/lifx-cloud.R:150:10:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L150) *warning:* **possible error in power("on", selector = selector, duration = duration): unused arguments (selector = selector, duration = duration)**
```r
  power("on", selector = selector, duration = duration)
         ^~
```
[R/lifx-cloud.R:155:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L155) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:159:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L159) *style:* **Lines should not be more than 80 characters.**
```r
#' @param power_on should the light be powered on if it is off? (FALSE just leaves light off)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:161:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L161) *style:* **Lines should not be more than 80 characters.**
```r
#' @details Note that the kelvin temperature ranges from 2700 to 8000. Hue in HSB list is
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:161:90:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L161) *style:* **Trailing whitespace is superfluous.**
```r
#' @details Note that the kelvin temperature ranges from 2700 to 8000. Hue in HSB list is
                                                                                ^
```
[R/lifx-cloud.R:162:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L162) *style:* **Lines should not be more than 80 characters.**
```r
#' a number between 0 and 360, whereas saturation and brightness should be between 0 and 1.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:163:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L163) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:165:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L165) *style:* **Lines should not be more than 80 characters.**
```r
#'  color("green", "label:desk")   # deep green, brightness untouched on lights labeled 'desk'
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:168:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L168) *style:* **Lines should not be more than 80 characters.**
```r
#'  color("random")                # random hue, maximum saturation, brightness untouched
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:175:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L175) *style:* **Lines should not be more than 80 characters.**
```r
  results <- PUT(paste0(BASE, "/", VERSION, "/lights/", selector, "/state.json"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:175:82:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L175) *style:* **Trailing whitespace is superfluous.**
```r
  results <- PUT(paste0(BASE, "/", VERSION, "/lights/", selector, "/state.json"),
                                                                                ^
```
[R/lifx-cloud.R:176:34:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L176) *style:* **Trailing whitespace is superfluous.**
```r
      query = list(color = color,
                                 ^
```
[R/lifx-cloud.R:177:40:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L177) *style:* **Trailing whitespace is superfluous.**
```r
                   duration = duration,
                                       ^
```
[R/lifx-cloud.R:180:22:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L180) *warning:* **no visible global function definition for ‘content’, Did you mean 'confint'?**
```r
  jsonlite::fromJSON(content(results, as = "text"))
                     ^~~~~~~
```
[R/lifx-cloud.R:185:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L185) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:187:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L187) *style:* **Lines should not be more than 80 characters.**
```r
#' @param from_color Same syntax as color, defaults to current color (of first bulb in selection)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:190:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L190) *style:* **Lines should not be more than 80 characters.**
```r
#' @param persist should the color persist after the effect? default is FALSE (returns to original color)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:197:65:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L197) *style:* **Trailing whitespace is superfluous.**
```r
breathe <- function(color, from_color = current_color(selector),
                                                                ^
```
[R/lifx-cloud.R:200:34:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L200) *style:* **Trailing whitespace is superfluous.**
```r
  settings <- list(color = color,
                                 ^
```
[R/lifx-cloud.R:208:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L208) *style:* **Lines should not be more than 80 characters.**
```r
  results <- POST(paste0(BASE, "/", VERSION, "/lights/", selector, "/effects/breathe"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:210:22:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L210) *warning:* **no visible global function definition for ‘content’, Did you mean 'confint'?**
```r
  jsonlite::fromJSON(content(results, as = "text"))
                     ^~~~~~~
```
[R/lifx-cloud.R:214:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L214) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:217:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L217) *style:* **Lines should not be more than 80 characters.**
```r
#' @param duty_cycle Ratio of the period where color is active. Only used for pulse. Defaults to 0.5. Range: 0-1
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:220:68:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L220) *style:* **Trailing whitespace is superfluous.**
```r
pulse <- function(color, from_color = current_color(selector)[[1]],
                                                                   ^
```
[R/lifx-cloud.R:223:34:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L223) *style:* **Trailing whitespace is superfluous.**
```r
  settings <- list(color = color,
                                 ^
```
[R/lifx-cloud.R:231:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L231) *style:* **Lines should not be more than 80 characters.**
```r
  results <- POST(paste0(BASE, "/", VERSION, "/lights/", selector, "/effects/pulse.json"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:233:22:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L233) *warning:* **no visible global function definition for ‘content’, Did you mean 'confint'?**
```r
  jsonlite::fromJSON(content(results, as = "text"))
                     ^~~~~~~
```
[R/lifx-cloud.R:237:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L237) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:244:71:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L244) *style:* **Trailing whitespace is superfluous.**
```r
  PUT(paste0(BASE, "/", VERSION, "/lights/", selector, "/label.json"),
                                                                      ^
```
[R/lifx-cloud.R:245:34:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L245) *style:* **Trailing whitespace is superfluous.**
```r
      query = list(label = label,
                                 ^
```
[R/lifx-cloud.R:250:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L250) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:258:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L258) *style:* **Lines should not be more than 80 characters.**
```r
  results <- PUT(paste0(BASE, "/", VERSION, "/scenes/scene_id:", scene_id, "/activate.json"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:258:94:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L258) *style:* **Trailing whitespace is superfluous.**
```r
  results <- PUT(paste0(BASE, "/", VERSION, "/scenes/scene_id:", scene_id, "/activate.json"),
                                                                                ^
```
[R/lifx-cloud.R:259:34:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L259) *style:* **Trailing whitespace is superfluous.**
```r
      query = list(state = state,
                                 ^
```
[R/lifx-cloud.R:260:40:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L260) *style:* **Trailing whitespace is superfluous.**
```r
                   duration = duration,
                                       ^
```
[R/lifx-cloud.R:262:22:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L262) *warning:* **no visible global function definition for ‘content’, Did you mean 'confint'?**
```r
  jsonlite::fromJSON(content(results, as = "text"))
                     ^~~~~~~
```
[R/lifx-cloud.R:266:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L266) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:272:24:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L272) *warning:* **no visible global function definition for ‘content’, Did you mean 'confint'?**
```r
    jsonlite::fromJSON(content(results, as = "text"))
                       ^~~~~~~
```
[R/lifx-cloud.R:281:44:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L281) *style:* **Trailing whitespace is superfluous.**
```r
#' @return hsbk information for the string.
                                           ^
```
[R/lifx-cloud.R:284:55:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L284) *style:* **Trailing whitespace is superfluous.**
```r
  results <- GET(paste0(BASE, "/", VERSION, "/color"),
                                                      ^
```
[R/lifx-cloud.R:287:22:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L287) *warning:* **no visible global function definition for ‘content’, Did you mean 'confint'?**
```r
  jsonlite::fromJSON(content(results, as = "text"))
                     ^~~~~~~
```
[R/lifx-cloud.R:291:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L291) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/lifx-cloud.R:293:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L293) *style:* **Lines should not be more than 80 characters.**
```r
#' @param power either on or off, defaults to on, makes not sense to shut the light off and change the color
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:299:66:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L299) *style:* **Trailing whitespace is superfluous.**
```r
set_state <- function(selector ="all", power = "on", color= NULL,
                                                                 ^
```
[R/lifx-cloud.R:302:7:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L302) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(!is.null(brightness)){brightness <- check_brightness(brightness)}
      ^
```
[R/lifx-cloud.R:302:29:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L302) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if(!is.null(brightness)){brightness <- check_brightness(brightness)}
                            ^
```
[R/lifx-cloud.R:302:44:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L302) *warning:* **no visible global function definition for ‘check_brightness’**
```r
    if(!is.null(brightness)){brightness <- check_brightness(brightness)}
                                           ^~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:302:72:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L302) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
    if(!is.null(brightness)){brightness <- check_brightness(brightness)}
                                                                       ^
```
[R/lifx-cloud.R:303:7:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L303) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(!is.null(saturation)){brightness <- check_saturation(saturation)}
      ^
```
[R/lifx-cloud.R:303:29:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L303) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if(!is.null(saturation)){brightness <- check_saturation(saturation)}
                            ^
```
[R/lifx-cloud.R:303:44:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L303) *warning:* **no visible global function definition for ‘check_saturation’**
```r
    if(!is.null(saturation)){brightness <- check_saturation(saturation)}
                                           ^~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:303:72:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L303) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
    if(!is.null(saturation)){brightness <- check_saturation(saturation)}
                                                                       ^
```
[R/lifx-cloud.R:304:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L304) *style:* **Lines should not be more than 80 characters.**
```r
    #if(grepl("hue", color)){} # extract hue and check for hue:number and check hue.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:304:6:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L304) *style:* **Commented code should be removed.**
```r
    #if(grepl("hue", color)){} # extract hue and check for hue:number and check hue.
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:305:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L305) *style:* **Lines should not be more than 80 characters.**
```r
    result <- PUT(paste0(BASE, "/", VERSION, "/lights/", selector, "/state.json"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:305:83:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L305) *style:* **Trailing whitespace is superfluous.**
```r
    result <- PUT(paste0(BASE, "/", VERSION, "/lights/", selector, "/state.json"),
                                                                                ^
```
[R/lifx-cloud.R:307:37:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L307) *style:* **Put spaces around all infix operators.**
```r
                               color= color,
                                   ~^
```
[R/lifx-cloud.R:310:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L310) *style:* **Lines should not be more than 80 characters.**
```r
                               saturation = saturation, # doesn't work. because needs to be in color.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-cloud.R:315:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L315) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/lifx-cloud.R:316:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-cloud.R#L316) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/lifx-server.R:1:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L1) *style:* **Lines should not be more than 80 characters.**
```r
# ## These functions are designed to work with a local server only, which must be running separately
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:2:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
# ## These methods are depricated at this time, see lifx-cloud.R functions instead.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:2:84:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L2) *style:* **Trailing whitespace is superfluous.**
```r
# ## These methods are depricated at this time, see lifx-cloud.R functions instead.
                                                                                ^
```
[R/lifx-server.R:3:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L3) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[R/lifx-server.R:5:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L5) *style:* **Commented code should be removed.**
```r
#   results <- GET("http://localhost:56780/lights.json")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:7:7:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L7) *style:* **Commented code should be removed.**
```r
#     message("LIFX server could not be reached")
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:9:7:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L9) *style:* **Commented code should be removed.**
```r
#     message("ping! LIFX server is active.")
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:11:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L11) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[R/lifx-server.R:13:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L13) *style:* **Commented code should be removed.**
```r
#   results <- GET(paste0("http://localhost:56780/lights/", selector))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:14:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L14) *style:* **Commented code should be removed.**
```r
#   dat <- RJSONIO::fromJSON(content(results, as="text"))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:16:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[R/lifx-server.R:17:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L17) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[R/lifx-server.R:19:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L19) *style:* **Commented code should be removed.**
```r
#   results <- PUT(paste0("http://localhost:56780/lights/", selector, "/on"))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:21:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L21) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[R/lifx-server.R:23:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L23) *style:* **Commented code should be removed.**
```r
#   results <- PUT(paste0("http://localhost:56780/lights/", selector, "/off"))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:25:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L25) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[R/lifx-server.R:26:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L26) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[R/lifx-server.R:28:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L28) *style:* **Lines should not be more than 80 characters.**
```r
#   results <- PUT(paste0("http://localhost:56780/lights/", selector, "/toggle"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:28:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L28) *style:* **Commented code should be removed.**
```r
#   results <- PUT(paste0("http://localhost:56780/lights/", selector, "/toggle"))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:30:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[R/lifx-server.R:31:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L31) *style:* **Lines should not be more than 80 characters.**
```r
# server_color <- function(selector="all", hue, saturation=1, brightness=1, duration=1){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:32:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L32) *style:* **Lines should not be more than 80 characters.**
```r
#   settings <- RJSONIO::toJSON(list(hue=hue, saturation=saturation, brightness=brightness, duration=duration))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:32:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L32) *style:* **Commented code should be removed.**
```r
#   settings <- RJSONIO::toJSON(list(hue=hue, saturation=saturation, brightness=brightness, duration=duration))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:33:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L33) *style:* **Lines should not be more than 80 characters.**
```r
#   results <- PUT(paste0("http://localhost:56780/lights/", selector, "/color"), body=settings, encode="json")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:33:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L33) *style:* **Commented code should be removed.**
```r
#   results <- PUT(paste0("http://localhost:56780/lights/", selector, "/color"), body=settings, encode="json")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:35:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L35) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[R/lifx-server.R:36:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L36) *style:* **Commented code should be removed.**
```r
# # Briefly set light(s) to green, then restore previous setting
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:39:4:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L39) *style:* **Trailing whitespace is superfluous.**
```r
# #
   ^
```
[R/lifx-server.R:41:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L41) *style:* **Commented code should be removed.**
```r
#   current <- server_status(selector)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:42:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L42) *style:* **Lines should not be more than 80 characters.**
```r
#   server_color(selector, hue=120, saturation=1, brightness=1, duration=0.1) # duration is speed of change
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:42:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L42) *style:* **Commented code should be removed.**
```r
#   server_color(selector, hue=120, saturation=1, brightness=1, duration=0.1) # duration is speed of change
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:44:7:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L44) *style:* **Commented code should be removed.**
```r
#     Sys.sleep(duration)
      ^~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:46:29:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L46) *style:* **Trailing whitespace is superfluous.**
```r
#     server_color(selector,
                            ^
```
[R/lifx-server.R:47:47:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L47) *style:* **Trailing whitespace is superfluous.**
```r
#           hue = current[[1]]$color[["hue"]],
                                              ^
```
[R/lifx-server.R:53:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L53) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[R/lifx-server.R:54:3:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L54) *style:* **Commented code should be removed.**
```r
# # Briefly set light(s) to red
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:57:4:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L57) *style:* **Trailing whitespace is superfluous.**
```r
# #
   ^
```
[R/lifx-server.R:59:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L59) *style:* **Commented code should be removed.**
```r
#   current <- server_status(selector)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:60:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L60) *style:* **Lines should not be more than 80 characters.**
```r
#   server_color(selector, hue=1, saturation=1, brightness=1, duration=0.1) # duration is speed of change
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:60:5:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L60) *style:* **Commented code should be removed.**
```r
#   server_color(selector, hue=1, saturation=1, brightness=1, duration=0.1) # duration is speed of change
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:62:7:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L62) *style:* **Commented code should be removed.**
```r
#     Sys.sleep(duration)
      ^~~~~~~~~~~~~~~~~~~
```
[R/lifx-server.R:64:29:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L64) *style:* **Trailing whitespace is superfluous.**
```r
#     server_color(selector,
                            ^
```
[R/lifx-server.R:65:47:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L65) *style:* **Trailing whitespace is superfluous.**
```r
#           hue = current[[1]]$color[["hue"]],
                                              ^
```
[R/lifx-server.R:71:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L71) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[R/lifx-server.R:72:2:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/R/lifx-server.R#L72) *style:* **Trailing whitespace is superfluous.**
```r
#
 ^
```
[tests/testthat/test_inputs.R:8:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/tests/testthat/test_inputs.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
    expect_error(check_saturation(1.1), "saturation needs to be between 0 and 1")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_inputs.R:9:1:](https://github.com/RMHogervorst/lifxr/blob/6c37fb608513b781baa08a6dfae3b8ababd328af/tests/testthat/test_inputs.R#L9) *style:* **Lines should not be more than 80 characters.**
```r
    expect_error(check_saturation(-0.5), "saturation needs to be between 0 and 1")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


The offsets shouldn't matter anymore anyway as they are read from the status core and the platform and driver only need to know the status cores location.
To keep it consistent with AWS I can change it to those, though.


> @fabiangreffrath, uh, am I got right, that before optimization it was using more CPU power, but after it using less CPU power and more RAM?

Yes, that's more or less the general principle of all optimizations.


여전히 게시판 개체와 게시판 목록 개체의 의미가 혼재, 분리 필요


@MichalStrzelczyk po co ten phpdoc?


# This Code is written in python

# Data Mining
# web scraping of review from amazon

# This kind of Data can be utilised in ML


커밋은 feature 별로 할 것


커밋 로그는 변한 내용을 이해할 수 있도록 작성


system.files.open.count maybe ?


Successfully aliased the URL <https://douban-api-izewzmig4.now.sh> to the following aliases.

* https://douban-api.now.sh
* https://douban-api.uieee.com
* https://douban-api.zce.now.sh
* https://douban-api-git-master.zce.now.sh


@MichalStrzelczyk czemu metoda validate przyjmuje parameter `clear`. Ta metoda powinna służyć do walidacji, złamane jest SRP. Od czyszczenia powinna być osobna metoda `clearErrors`


added horizontal lines


develop (Myoldmopar) - x86_64-Linux-Ubuntu-18.04-gcc-7.4-UnitTestsCoverage-Debug: OK (1113 of 1113 tests passed, 0 test warnings)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-100.0%25-green.png) ![Coverage Badge](http://img.shields.io/badge/coverage%20status-42.29%25-green.png)


có thể gộp các thuộc tính cho dễ đọc như margin: auto , bị thừa margin right, font-weight: 400 và font-style: normal giống nhau nhé


dto의 책임이 너무 많다는 말은 각 목적에 맞게 dto를 별도로 작성하라는 말이었음
하나로 퉁치면 목적이 드러나지 않음


Clear, thanks!


request paramameter의 validation대상과
비즈니스 요구사항을 만족하기 위한 validation이 다르다는 사실이 드러나도록 구현할 것


jest super biblioteka, która zastępuje takie brzydkie ify:
https://github.com/beberlei/assert

odrazu widać po nazwie metody co sprawdzasz i nie trzeba się wczytywać w kod


深度学习(视觉方向)相关的一些脚本、常见模型以及网络


@MichalStrzelczyk kolejna nazwa Manager która absolutnie nic nie mówi co ta klasa robi


Please follow style guidelines, two spaces are missing.
if (skip == -1) {


tab.add("Onglet " + tabOfTab[5], tabProfile);

		///////////////////////// ALERT/////////////////////////////////////////////////

		// TODO

		setThreadAlert(new Thread(new Runnable() {

			/**

			 * Loop and update every second the alerts

			 */

			@Override

			public void run() {

				monitoringAlert = new MonitoringAlert();

				//monitoringAlert.alertTreatment();

				// monitoringAlert.alertTreatment();

				monitoringAlert.verifySensorMessageBeforeActivity();

//				while (true) {

//				}

@@ -132,7 +131,7 @@ public void run() {

				while (true) {

					Date currentDate = new Date();

					try {

						threadActivity.sleep(3600000);

						Thread.sleep(3600000);

					} catch (InterruptedException e) {

						logger.log(Level.INFO, "Impossible to sleep the thread " + e.getClass().getCanonicalName());

					}

@@ -142,7 +141,7 @@ public void run() {

		}));

		threadAlert.start();

		threadFrame.start();

		// threadActivity.start();

		threadActivity.start();

		///////////////////////// FRAME/////////////////////////////////////////////////

		/**

		 * Different parameters of the window

 44 gui/src/main/java/com/blackmamba/deathkiss/gui/MonitoringAlert.java

@@ -21,8 +21,15 @@

	private Message message;

	private Sensor sensor;

	private Date currentDate;

	private Date curDate;

	private Date beforeDate;

	private Date afterDate;

	private Calendar calBefore;

	private Calendar calAfter;

	private ObjectMapper objectMapper;

	private String jsonString;

	private int numberOfMessages;

	private int numberOfIteration;

	private SimpleDateFormat formater;

	private List<Message> listMessage = new ArrayList<Message>();

	private List<Sensor> listSensor = new ArrayList<Sensor>();

@@ -54,44 +61,39 @@ public void alertTreatment() {

	}

	public void verifySensorMessageBeforeActivity() {

		Date curDate = new Date();

		Calendar calBefore = Calendar.getInstance();

		Calendar calAfter = Calendar.getInstance();

		curDate = new Date();

		calBefore = Calendar.getInstance();

		calAfter = Calendar.getInstance();

		calBefore.add(Calendar.MINUTE, 29);

		calAfter.add(Calendar.MINUTE, 31);

		Date beforeDate = calBefore.getTime();

		Date afterDate = calAfter.getTime();

		beforeDate = calBefore.getTime();

		afterDate = calAfter.getTime();

		formater = new SimpleDateFormat("h:mm a");

		getAllSensor();

		getAllMessages(curDate);

		for (Sensor sensors : listSensor) {

			if (sensors.getSensorState() == true

					&& (formater.format(sensors.getStartActivity()).compareTo(formater.format(beforeDate)) >= 0)

					&& (formater.format(sensors.getStartActivity()).compareTo(formater.format(afterDate)) <= 0)) {

				numberOfMessages = 0;

				for (Message messages : listMessage) {

					// TODO

					// alors on verifie

					// si il ya eu un message a la date actuelle(ou a partir de la beforeDate)

					// si il y en a un alors on fait rien

					// sinon on le déclare en DOWN

					if ((messages.getIdSensor() == sensors.getIdSensor())

							&& (formater.format(messages.getAlertDate()).compareTo(formater.format(afterDate)) <= 0)) {

						numberOfMessages++;

					}

				}

				if (numberOfMessages == 0) {

					sensors.setAlertState(AlertState.DOWN);

					updateSensorAlertState(sensors);

				}

			}

			System.out.println(formater.format(beforeDate));

			System.out.println(formater.format(afterDate));

		}

		// TODO on cherche tout les capteurs et pour chaque capteur on va verifier

		// l'heure a laquelle il change de sensibilité et on va vérifier si dans les

		// message pour l'idSensor on trouve un message NORMAL pour prévenir de sont

		// activité

		// sinon on envoi un message vers l'ihm en le catégorisant comme DOWN

	}

	// Fonctionne

	public void verifySensorActivity(Date currentDate) {

		int numberOfIteration;

		for (int i = 0; i < listSensorDown.size(); i++)

			listSensorDown.remove(i);


Rather than commenting out debug code, use the debug points interface:
```
if (DP())
  out<<"URI:"<<request.absolute_uri().to_string()<<endl;;
```

Also, put spaces around binary operators and loose the double ;


Successfully aliased the URL <https://douban-api-hyueq1z56.now.sh> to the following aliases.

* https://douban-api.now.sh
* https://douban-api.uieee.com
* https://douban-api.zce.now.sh
* https://douban-api-git-master.zce.now.sh


indent fixed load


to fi xthe Mail Driver SSL Problem .
Change mail Driver
'driver' => env('MAIL_DRIVER', 'smtp'),
TO
'driver' => 'sendmail',

and replace
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
with
    'encryption' => ssl,
    'port' => 465,


Could I suggest that *all* of these properties be renamed to follow .NET naming conventions for properties, e.g. SingerId instead of singerId?


This is just the reference key which we use to get the app path. SO I am referencing Android with **APK** and iOS with **APP**.


This seems out of place.


Successfully aliased the URL <https://refract-cms-c8btmc5xe.now.sh> to the following aliases.

* https://refract-cms.com
* https://refract-cms.alexbechmann.now.sh
* https://refract-cms-git-master.alexbechmann.now.sh


The main interface


Sao không cho slider cùng 1 class rồi query trong mảng có phải nhanh hơn không


to nie przystoi!


-> https://github.com/dials/dials/pull/828


PTAL @sborenst


# Specs execution successful
:scroll: [View logs](http://bamboo.comnull)
### Plans updated

Bamboo specs have been successfully imported and the following plans have been updated.

Project | Plan | Build
---|---|---
[Test](http://bamboo.com/browse/TEST) | [Comment test](http://bamboo.com/browse/TEST-CTEST)  | :white_check_mark: [\#1](http://bamboo.com/browse/TEST-CTEST-1)
[New project](http://bamboo.com/browse/NEW) | [Disabled plan](http://bamboo.com/browse/NEW-DISABLED) **disabled** | :white_check_mark: [\#1](http://bamboo.com/browse/NEW-DISABLED-1)

### Deployments updated

Bamboo specs have been successfully imported and the following deployment projects have been updated.

|Deployment project |
----|
[Deployment test](http://bamboo.com/deploy/viewDeploymentProjectVersions.action?id=2162689)|


Please comment functions with what they do


tangsang.ml


Vale, es que el cb_full test dependia de este, lo quito la dependencia


@afrin-titly why did you add .idea folder out of the project folder(01-b-eater)?


} else {


The benchmark job for this commit is finished.

The report is committed in this commit: TuringLang/TuringBenchmarks#0aa204cd0e0a55569c613f0f70d0996d29b3632a.

You can see the report at https://github.com/TuringLang/TuringBenchmarks/blob/report/jobs/BMCI-0-4c5a1a3-201906280803.report.md.


lub `:not([class*="queryLink"])`


Successfully aliased the URL <https://musiikin-teoria-material-cvk2ccih6.now.sh> to the following aliases.

* https://musiikin-teoria.now.sh
* https://musiikin-teoria-material.mooc.now.sh
* https://musiikin-teoria-material-git-master.mooc.now.sh


thank you i received


ok pour moi !


It will fail here https://github.com/AppiumTestDistribution/AppiumTestDistribution/blob/8d67bc042e475ec3732ef11a55535b55aa7df1c0/src/main/java/com/appium/capabilities/DesiredCapabilityBuilder.java#L184


I changed the terminal font to MS Gothic, running lmlsb dump --mode=text 000006FE.lsb works
![image](https://user-images.githubusercontent.com/591183/60329444-a723ea80-9990-11e9-9def-3b7deead07a2.png)

But lmlsb dump --mode=text 000006FE.lsb >000006FE.txt not.
![image](https://user-images.githubusercontent.com/591183/60329514-c753a980-9990-11e9-9e25-14ae7d321bff.png)
It only works when Windows region is set to japanese.


if you are not able to read this file, should you not print an error?

(same below if you got more than 1 char after fscanf)


Successfully aliased the URL <https://v2ray-pep55ak4w.now.sh> to the following aliases.

* https://v2ray.14065567.now.sh
* https://v2ray-git-master.14065567.now.sh


@qsm-odoo  fixed ppg and ppr issue. Kept it in separate commit so you can have look.

What do you think about removing this part. https://github.com/odoo/odoo/blob/master/addons/website_sale/controllers/main.py#L226-L233

If i manage `ppg` like `ppr` then i can remove the `shop_context.pop('ppg')` line.


Successfully aliased the URL <https://nextjs-7vzbplwho.now.sh> to the following aliases.

* https://nextjs.mouseholepress.now.sh
* https://nextjs-git-master.mouseholepress.now.sh


Thanks Fabian. :grin:


should you not do these checks before? (or maybe you already checked before if MPTCP is supported).


Didn't notice thanks.