[inst/shiny/sykdomspuls/global.R:5:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L5) *style:* **Use two spaces to indent, never tabs.**
```r
  	return(Sys.time())
  ^
```
[inst/shiny/sykdomspuls/global.R:8:25:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L8) *warning:* **Do not use absolute paths.**
```r
resYearLine <- readRDS("/data_app/sykdomspuls/resYearLine.RDS")
                        ^~~~~~~~~
```
[inst/shiny/sykdomspuls/global.R:9:20:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L9) *warning:* **Do not use absolute paths.**
```r
CONFIG <- readRDS("/data_app/sykdomspuls/config.RDS")
                   ^~~~~~~~~
```
[inst/shiny/sykdomspuls/global.R:12:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L12) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(file.exists("/data_app/sykdomspuls/done.txt")){
    ^
```
[inst/shiny/sykdomspuls/global.R:12:19:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L12) *warning:* **Do not use absolute paths.**
```r
  if(file.exists("/data_app/sykdomspuls/done.txt")){
                  ^~~~~~~~~
```
[inst/shiny/sykdomspuls/global.R:13:23:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L13) *warning:* **Do not use absolute paths.**
```r
    return(file.info("/data_app/sykdomspuls/done.txt")$mtime[1])
                      ^~~~~~~~~
```
[inst/shiny/sykdomspuls/global.R:25:35:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L25) *style:* **Put spaces around all infix operators.**
```r
dateMinRestrictedRecent <- dateMax-365
                                 ~^~
```
[inst/shiny/sykdomspuls/global.R:26:33:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L26) *style:* **Put spaces around all infix operators.**
```r
dateMinRestrictedLine <- dateMax-365*15
                               ~^~
```
[inst/shiny/sykdomspuls/global.R:26:37:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L26) *style:* **Put spaces around all infix operators.**
```r
dateMinRestrictedLine <- dateMax-365*15
                                   ~^~
```
[inst/shiny/sykdomspuls/global.R:28:23:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L28) *warning:* **Do not use absolute paths.**
```r
outbreaks <- readRDS("/data_app/sykdomspuls/outbreaks.RDS")
                      ^~~~~~~~~
```
[inst/shiny/sykdomspuls/global.R:29:27:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L29) *warning:* **Do not use absolute paths.**
```r
resRecentLine <- readRDS("/data_app/sykdomspuls/resRecentLine.RDS")[
                          ^~~~~~~~~
```
[inst/shiny/sykdomspuls/global.R:30:7:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L30) *style:* **Put spaces around all infix operators.**
```r
  date>=dateMinRestrictedRecent & date<=dateMax &
     ~^~~
```
[inst/shiny/sykdomspuls/global.R:30:39:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L30) *style:* **Put spaces around all infix operators.**
```r
  date>=dateMinRestrictedRecent & date<=dateMax &
                                     ~^~~
```
[inst/shiny/sykdomspuls/global.R:32:32:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L32) *warning:* **Do not use absolute paths.**
```r
resYearLineMunicip <- readRDS("/data_app/sykdomspuls/resYearLineMunicip.RDS")[
                               ^~~~~~~~~
```
[inst/shiny/sykdomspuls/global.R:33:13:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L33) *style:* **Put spaces around all infix operators.**
```r
  displayDay>=dateMinRestrictedLine & displayDay<=dateMax &
           ~^~~
```
[inst/shiny/sykdomspuls/global.R:33:49:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L33) *style:* **Put spaces around all infix operators.**
```r
  displayDay>=dateMinRestrictedLine & displayDay<=dateMax &
                                               ~^~~
```
[inst/shiny/sykdomspuls/global.R:36:2:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L36) *style:* **Commented code should be removed.**
```r
#resYearLineMunicip[location=="municip1151"]
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/shiny/sykdomspuls/global.R:44:47:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L44) *style:* **Commas should always have a space after.**
```r
municipToCounty <- unique(resYearLineMunicip[,c("location","locationName","county"),with=F])
                                              ^
```
[inst/shiny/sykdomspuls/global.R:44:60:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L44) *style:* **Commas should always have a space after.**
```r
municipToCounty <- unique(resYearLineMunicip[,c("location","locationName","county"),with=F])
                                                           ^
```
[inst/shiny/sykdomspuls/global.R:44:75:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L44) *style:* **Commas should always have a space after.**
```r
municipToCounty <- unique(resYearLineMunicip[,c("location","locationName","county"),with=F])
                                                                          ^
```
[inst/shiny/sykdomspuls/global.R:44:85:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L44) *style:* **Commas should always have a space after.**
```r
municipToCounty <- unique(resYearLineMunicip[,c("location","locationName","county"),with=F])
                                                                                ^
```
[inst/shiny/sykdomspuls/global.R:44:89:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L44) *style:* **Put spaces around all infix operators.**
```r
municipToCounty <- unique(resYearLineMunicip[,c("location","locationName","county"),with=F])
                                                                                ~^~
```
[inst/shiny/sykdomspuls/global.R:46:45:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L46) *style:* **Commas should always have a space after.**
```r
resRecentLineStack <- unique(resRecentLine[,c("type","location","age"),with=F])
                                            ^
```
[inst/shiny/sykdomspuls/global.R:46:54:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L46) *style:* **Commas should always have a space after.**
```r
resRecentLineStack <- unique(resRecentLine[,c("type","location","age"),with=F])
                                                     ^
```
[inst/shiny/sykdomspuls/global.R:46:65:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L46) *style:* **Commas should always have a space after.**
```r
resRecentLineStack <- unique(resRecentLine[,c("type","location","age"),with=F])
                                                                ^
```
[inst/shiny/sykdomspuls/global.R:46:72:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L46) *style:* **Commas should always have a space after.**
```r
resRecentLineStack <- unique(resRecentLine[,c("type","location","age"),with=F])
                                                                       ^
```
[inst/shiny/sykdomspuls/global.R:46:76:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L46) *style:* **Put spaces around all infix operators.**
```r
resRecentLineStack <- unique(resRecentLine[,c("type","location","age"),with=F])
                                                                          ~^~
```
[inst/shiny/sykdomspuls/global.R:47:41:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L47) *style:* **Commas should always have a space after.**
```r
resYearLineStack <- unique(resYearLine[,c("type","location","age"),with=F])
                                        ^
```
[inst/shiny/sykdomspuls/global.R:47:50:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L47) *style:* **Commas should always have a space after.**
```r
resYearLineStack <- unique(resYearLine[,c("type","location","age"),with=F])
                                                 ^
```
[inst/shiny/sykdomspuls/global.R:47:61:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L47) *style:* **Commas should always have a space after.**
```r
resYearLineStack <- unique(resYearLine[,c("type","location","age"),with=F])
                                                            ^
```
[inst/shiny/sykdomspuls/global.R:47:68:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L47) *style:* **Commas should always have a space after.**
```r
resYearLineStack <- unique(resYearLine[,c("type","location","age"),with=F])
                                                                   ^
```
[inst/shiny/sykdomspuls/global.R:47:72:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L47) *style:* **Put spaces around all infix operators.**
```r
resYearLineStack <- unique(resYearLine[,c("type","location","age"),with=F])
                                                                      ~^~
```
[inst/shiny/sykdomspuls/global.R:48:55:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L48) *style:* **Commas should always have a space after.**
```r
resYearLineMunicipStack <- unique(resYearLineMunicip[,c("type","location","age","county"),with=F])
                                                      ^
```
[inst/shiny/sykdomspuls/global.R:48:64:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L48) *style:* **Commas should always have a space after.**
```r
resYearLineMunicipStack <- unique(resYearLineMunicip[,c("type","location","age","county"),with=F])
                                                               ^
```
[inst/shiny/sykdomspuls/global.R:48:75:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L48) *style:* **Commas should always have a space after.**
```r
resYearLineMunicipStack <- unique(resYearLineMunicip[,c("type","location","age","county"),with=F])
                                                                          ^
```
[inst/shiny/sykdomspuls/global.R:48:81:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L48) *style:* **Commas should always have a space after.**
```r
resYearLineMunicipStack <- unique(resYearLineMunicip[,c("type","location","age","county"),with=F])
                                                                                ^
```
[inst/shiny/sykdomspuls/global.R:48:91:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L48) *style:* **Commas should always have a space after.**
```r
resYearLineMunicipStack <- unique(resYearLineMunicip[,c("type","location","age","county"),with=F])
                                                                                ^
```
[inst/shiny/sykdomspuls/global.R:48:95:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L48) *style:* **Put spaces around all infix operators.**
```r
resYearLineMunicipStack <- unique(resYearLineMunicip[,c("type","location","age","county"),with=F])
                                                                                ~^~
```
[inst/shiny/sykdomspuls/global.R:55:19:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L55) *style:* **Put spaces around all infix operators.**
```r
  "Konsultasjoner"="consults",
                 ~^~
```
[inst/shiny/sykdomspuls/global.R:56:17:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/shiny/sykdomspuls/global.R#L56) *style:* **Put spaces around all infix operators.**
```r
  "1 uke eksess"="excess1"
               ~^~
```
[inst/src/plumb/plumb_testing.R:11:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/plumb/plumb_testing.R#L11) *style:* **Commented code should be removed.**
```r
  # unique(d$locationName)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/plumb/plumb.R:20:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/plumb/plumb.R#L20) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, TRUE)
  ^
```
[inst/src/plumb/plumb.R:33:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/plumb/plumb.R#L33) *style:* **Commented code should be removed.**
```r
  # unique(d$locationName)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/plumb/plumb.R:40:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/plumb/plumb.R#L40) *style:* **Commented code should be removed.**
```r
  # unique(d$locationName)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/plumb/plumb.R:52:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/plumb/plumb.R#L52) *style:* **Commented code should be removed.**
```r
  # unique(d$locationName)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/plumb/plumb.R:60:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/plumb/plumb.R#L60) *style:* **Commented code should be removed.**
```r
  # unique(d$locationName)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/plumb/plumb.R:76:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/plumb/plumb.R#L76) *style:* **Commented code should be removed.**
```r
  # unique(d$locationName)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/plumb/plumb.R:118:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/plumb/plumb.R#L118) *style:* **Commented code should be removed.**
```r
  # data$x <- 1:nrow(data)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/plumb/plumb.R:169:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/plumb/plumb.R#L169) *style:* **Commented code should be removed.**
```r
  # data$x <- 1:nrow(data)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/plumb/plumb.R:213:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/plumb/plumb.R#L213) *style:* **Commented code should be removed.**
```r
  # data$x <- 1:nrow(data)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/plumb/plumb.R:250:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/plumb/plumb.R#L250) *style:* **Commented code should be removed.**
```r
  # data$x <- 1:nrow(data)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunAPI.R:3:14:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunAPI.R#L3) *warning:* **Do not use absolute paths.**
```r
    HOME <- "/git/dashboards/dashboards_sykdomspuls/inst/src"
             ^~~~
```
[inst/src/RunAPI.R:5:14:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunAPI.R#L5) *warning:* **Do not use absolute paths.**
```r
    DATA <- "/data_app/sykdomspuls"
             ^~~~~~~~~
```
[inst/src/RunAPI.R:7:14:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunAPI.R#L7) *warning:* **Do not use absolute paths.**
```r
    HOME <- "/r/sykdomspuls/src"
             ^~
```
[inst/src/RunAPI.R:9:14:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunAPI.R#L9) *warning:* **Do not use absolute paths.**
```r
    DATA <- "/data_app/sykdomspuls"
             ^~~~~~~~~
```
[inst/src/RunAPI.R:12:12:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunAPI.R#L12) *warning:* **Do not use absolute paths.**
```r
  HOME <- "C:/Sykdomspulsen"
           ^~~~~~~~~~~~~~~~
```
[inst/src/RunAPI.R:14:12:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunAPI.R#L14) *warning:* **Do not use absolute paths.**
```r
  DATA <- "C:/Sykdomspulsen/data"
           ^~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunAPI.R:45:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunAPI.R#L45) *style:* **Commented code should be removed.**
```r
# dr[,age:=gsub("\\+","p",age)]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunAPI.R:46:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunAPI.R#L46) *style:* **Commented code should be removed.**
```r
# d[,age:=gsub("\\+","p",age)]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunAPI.R:47:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunAPI.R#L47) *style:* **Commented code should be removed.**
```r
# dk[,age:=gsub("\\+","p",age)]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunAPI.R:160:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunAPI.R#L160) *style:* **lines should not be more than 120 characters.**
```r
setnames(outbreaks[["dk"]], c("type", "wkyr", "Sykdom", "Alder", "Fylke", "Kommuner", "Gj. Z verdi", "Eksess tilfeller"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:17:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L17) *style:* **Place a space before left parenthesis, except in a function call.**
```r
if(!fhi::DashboardIsDev()){
  ^
```
[inst/src/RunProcess.R:18:51:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L18) *style:* **Put spaces around all infix operators.**
```r
  fhi::DashboardMsg("Registering cluster", newLine=T)
                                                 ~^~
```
[inst/src/RunProcess.R:27:19:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L27) *style:* **Variable and function names should not be longer than 30 characters.**
```r
  stackAndData <- StackAndEfficientDataForAnalysis(conf=conf)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:27:56:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L27) *style:* **Put spaces around all infix operators.**
```r
  stackAndData <- StackAndEfficientDataForAnalysis(conf=conf)
                                                      ~^~
```
[inst/src/RunProcess.R:31:8:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L31) *style:* **Put spaces around all infix operators.**
```r
  if (i==1) {
      ~^~~
```
[inst/src/RunProcess.R:33:19:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L33) *style:* **Put spaces around all infix operators.**
```r
    PBInitialize(n=nrow(stack) * nrow(sykdomspuls::CONFIG$SYNDROMES))
                 ~^~
```
[inst/src/RunProcess.R:46:29:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L46) *style:* **Commas should always have a space after.**
```r
      fhi::DashboardMsg(err,syscallsDepth = 10, newLine=T)
                            ^
```
[inst/src/RunProcess.R:46:56:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L46) *style:* **Put spaces around all infix operators.**
```r
      fhi::DashboardMsg(err,syscallsDepth = 10, newLine=T)
                                                      ~^~
```
[inst/src/RunProcess.R:47:52:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L47) *style:* **Put spaces around all infix operators.**
```r
      fhi::DashboardMsg(analysisIter$stack, newLine=T)
                                                  ~^~
```
[inst/src/RunProcess.R:67:44:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L67) *style:* **Put spaces around all infix operators.**
```r
  fhi::DashboardMsg("Saving files", newLine=T)
                                          ~^~
```
[inst/src/RunProcess.R:68:6:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L68) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(f in unique(res$file)){
     ^
```
[inst/src/RunProcess.R:69:48:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L69) *style:* **Commas should always have a space after.**
```r
    fhi::DashboardMsg(sprintf("Saving file %s",f))
                                               ^
```
[inst/src/RunProcess.R:70:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L70) *style:* **Put spaces around all infix operators.**
```r
    saveRDS(res[file==f], file=fhi::DashboardFolder("results", f))
                   ~^~~
```
[inst/src/RunProcess.R:70:31:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L70) *style:* **Put spaces around all infix operators.**
```r
    saveRDS(res[file==f], file=fhi::DashboardFolder("results", f))
                             ~^~
```
[inst/src/RunProcess.R:76:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L76) *style:* **Place a space before left parenthesis, except in a function call.**
```r
if(!fhi::DashboardIsDev()){
  ^
```
[inst/src/RunProcess.R:77:48:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L77) *style:* **Put spaces around all infix operators.**
```r
  fhi::DashboardMsg("Stopping cluster", newLine=T)
                                              ~^~
```
[inst/src/RunProcess.R:93:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L93) *warning:* **Do not use absolute paths.**
```r
cat("done", file = "/data_app/sykdomspuls/done.txt")
                    ^~~~~~~~~
```
[inst/src/RunProcess.R:99:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L99) *style:* **Place a space before left parenthesis, except in a function call.**
```r
if(!fhi::DashboardIsDev()) quit(save = "no", status = 0)
  ^
```
[inst/src/RunProcess.R:101:2:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunProcess.R#L101) *style:* **Commented code should be removed.**
```r
#dk = readRDS(fhi::DashboardFolder("results", "resYearLineMunicip.RDS"))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunTest.R:1:14:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunTest.R#L1) *warning:* **Do not use absolute paths.**
```r
con <- file("/tmp/computer", "r")
             ^~~~
```
[inst/src/RunTest.R:7:23:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunTest.R#L7) *warning:* **Do not use absolute paths.**
```r
for (baseFolder in c("/data_clean", "/results", "/data_app")) {
                      ^~~~~~~~~~~
```
[inst/src/RunTest.R:7:38:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunTest.R#L7) *warning:* **Do not use absolute paths.**
```r
for (baseFolder in c("/data_clean", "/results", "/data_app")) {
                                     ^~~~~~~~
```
[inst/src/RunTest.R:7:50:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunTest.R#L7) *warning:* **Do not use absolute paths.**
```r
for (baseFolder in c("/data_clean", "/results", "/data_app")) {
                                                 ^~~~~~~~~
```
[inst/src/RunTest.R:14:19:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunTest.R#L14) *warning:* **Do not use absolute paths.**
```r
unlink(file.path("/junit", "sykdomspuls.xml"))
                  ^~~~~~
```
[inst/src/RunTest.R:19:26:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunTest.R#L19) *warning:* **Do not use absolute paths.**
```r
a$out <- file(file.path("/junit", "sykdomspuls.xml"), "w+")
                         ^~~~~~
```
[inst/src/RunTest.R:24:37:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunTest.R#L24) *warning:* **Do not use absolute paths.**
```r
output <- processx::run("Rscript", "/r/sykdomspuls/src/RunProcess.R", error_on_status = F, echo = T)
                                    ^~
```
[inst/src/RunTest.R:39:46:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/inst/src/RunTest.R#L39) *warning:* **Do not use absolute paths.**
```r
process <- processx::process$new("Rscript", "/r/sykdomspuls/src/RunAPI.R")
                                             ^~
```
[R/aaGlobalVariables.R:31:6:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L31) *style:* **Put spaces around all infix operators.**
```r
  tag=c(
    ~^~
```
[R/aaGlobalVariables.R:41:11:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L41) *style:* **Put spaces around all infix operators.**
```r
  syndrome=c(
         ~^~
```
[R/aaGlobalVariables.R:51:16:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L51) *style:* **Put spaces around all infix operators.**
```r
  alertInternal=c(
              ~^~
```
[R/aaGlobalVariables.R:61:16:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L61) *style:* **Put spaces around all infix operators.**
```r
  alertExternal=c(
              ~^~
```
[R/aaGlobalVariables.R:71:14:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L71) *style:* **Put spaces around all infix operators.**
```r
  contactType=list(
            ~^~
```
[R/aaGlobalVariables.R:73:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L73) *style:* **Commas should always have a space after.**
```r
    c("Legekontakt","Telefonkontakt"),
                    ^
```
[R/aaGlobalVariables.R:74:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L74) *style:* **Commas should always have a space after.**
```r
    c("Legekontakt","Telefonkontakt"),
                    ^
```
[R/aaGlobalVariables.R:75:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L75) *style:* **Commas should always have a space after.**
```r
    c("Legekontakt","Telefonkontakt"),
                    ^
```
[R/aaGlobalVariables.R:76:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L76) *style:* **Commas should always have a space after.**
```r
    c("Legekontakt","Telefonkontakt"),
                    ^
```
[R/aaGlobalVariables.R:77:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L77) *style:* **Commas should always have a space after.**
```r
    c("Legekontakt","Telefonkontakt"),
                    ^
```
[R/aaGlobalVariables.R:78:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L78) *style:* **Commas should always have a space after.**
```r
    c("Legekontakt","Telefonkontakt"),
                    ^
```
[R/aaGlobalVariables.R:79:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L79) *style:* **Commas should always have a space after.**
```r
    c("Legekontakt","Telefonkontakt")
                    ^
```
[R/aaGlobalVariables.R:81:20:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L81) *style:* **Put spaces around all infix operators.**
```r
  syndromeOrConsult=c(
                  ~^~
```
[R/aaGlobalVariables.R:91:14:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L91) *style:* **Put spaces around all infix operators.**
```r
  denominator=c(
            ~^~
```
[R/aaGlobalVariables.R:101:28:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L101) *style:* **Put spaces around all infix operators.**
```r
  weeklyDenominatorFunction=c(
                          ~^~
```
[R/aaGlobalVariables.R:111:12:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L111) *style:* **Put spaces around all infix operators.**
```r
  namesLong=c(
          ~^~
```
[R/aaGlobalVariables.R:121:13:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L121) *style:* **Put spaces around all infix operators.**
```r
  namesShort=c(
           ~^~
```
[R/aaGlobalVariables.R:138:11:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L138) *style:* **Put spaces around all infix operators.**
```r
  "Totalt"=c(0:105),
         ~^~
```
[R/aaGlobalVariables.R:139:8:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L139) *style:* **Put spaces around all infix operators.**
```r
  "0-4"=c(0:4),
      ~^~
```
[R/aaGlobalVariables.R:140:9:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L140) *style:* **Put spaces around all infix operators.**
```r
  "5-14"=c(5:14),
       ~^~
```
[R/aaGlobalVariables.R:141:10:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L141) *style:* **Put spaces around all infix operators.**
```r
  "15-19"=c(15:19),
        ~^~
```
[R/aaGlobalVariables.R:142:10:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L142) *style:* **Put spaces around all infix operators.**
```r
  "20-29"=c(20:29),
        ~^~
```
[R/aaGlobalVariables.R:143:10:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L143) *style:* **Put spaces around all infix operators.**
```r
  "30-64"=c(30:64),
        ~^~
```
[R/aaGlobalVariables.R:144:8:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L144) *style:* **Put spaces around all infix operators.**
```r
  "65+"=c(65:105)
      ~^~
```
[R/aaGlobalVariables.R:176:44:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L176) *style:* **Put spaces around all infix operators.**
```r
  unique(CONFIG$SYNDROMES[syndromeOrConsult=="syndrome"]$syndrome),
                                          ~^~~
```
[R/aaGlobalVariables.R:238:54:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L238) *style:* **Commas should always have a space after.**
```r
norwayLocations <- readRDS(system.file("createddata","norwayLocations.RDS",package="sykdomspuls"))
                                                     ^
```
[R/aaGlobalVariables.R:238:76:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L238) *style:* **Commas should always have a space after.**
```r
norwayLocations <- readRDS(system.file("createddata","norwayLocations.RDS",package="sykdomspuls"))
                                                                           ^
```
[R/aaGlobalVariables.R:238:83:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L238) *style:* **Put spaces around all infix operators.**
```r
norwayLocations <- readRDS(system.file("createddata","norwayLocations.RDS",package="sykdomspuls"))
                                                                                ~^~
```
[R/aaGlobalVariables.R:242:59:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L242) *style:* **Commas should always have a space after.**
```r
norwayMunicipMerging <- readRDS(system.file("createddata","norwayMunicipMerging.RDS",package="sykdomspuls"))
                                                          ^
```
[R/aaGlobalVariables.R:242:86:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L242) *style:* **Commas should always have a space after.**
```r
norwayMunicipMerging <- readRDS(system.file("createddata","norwayMunicipMerging.RDS",package="sykdomspuls"))
                                                                                ^
```
[R/aaGlobalVariables.R:242:93:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/aaGlobalVariables.R#L242) *style:* **Put spaces around all infix operators.**
```r
norwayMunicipMerging <- readRDS(system.file("createddata","norwayMunicipMerging.RDS",package="sykdomspuls"))
                                                                                ~^~
```
[R/Analyses.R:31:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/Analyses.R#L31) *style:* **Variable and function names should not be longer than 30 characters.**
```r
CalculateTrainPredictYearPattern <- function(yearMin, yearMax, numPerYear1 = 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Analyses.R:33:17:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/Analyses.R#L33) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  perYear2 <- c((yearMin + 6):(yearMax - numPerYear1))
                ^
```
[R/Analyses.R:186:17:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/Analyses.R#L186) *style:* **Commas should always have a space after.**
```r
  analysisData[,denominator:=get(analysesStack$denominator)]
                ^
```
[R/Analyses.R:186:28:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/Analyses.R#L186) *style:* **Put spaces around all infix operators.**
```r
  analysisData[,denominator:=get(analysesStack$denominator)]
                          ~^~~
```
[R/Analyses.R:197:12:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/Analyses.R#L197) *style:* **Variable and function names should not be longer than 30 characters.**
```r
  years <- CalculateTrainPredictYearPattern(yearMin = yearMin, yearMax = yearMax, numPerYear1 = 1)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Analyses.R:212:32:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/Analyses.R#L212) *style:* **Put spaces around all infix operators.**
```r
      weeklyDenominatorFunction=analysesStack$weeklyDenominatorFunction[[1]]
                              ~^~
```
[R/Analyses.R:238:19:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/Analyses.R#L238) *style:* **Commas should always have a space after.**
```r
  setcolorder(res,VARS$REQ_RESULTS_FULL)
                  ^
```
[R/anscombe.residuals.r:5:18:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/anscombe.residuals.r#L5) *style:* **Put spaces around all infix operators.**
```r
  a <- 3 / 2 * (y^(2 / 3) * mu^(-1 / 6) - mu^(1 / 2))
                ~^~
```
[R/anscombe.residuals.r:5:19:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/anscombe.residuals.r#L5) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  a <- 3 / 2 * (y^(2 / 3) * mu^(-1 / 6) - mu^(1 / 2))
                  ^
```
[R/anscombe.residuals.r:5:31:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/anscombe.residuals.r#L5) *style:* **Put spaces around all infix operators.**
```r
  a <- 3 / 2 * (y^(2 / 3) * mu^(-1 / 6) - mu^(1 / 2))
                             ~^~
```
[R/anscombe.residuals.r:5:32:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/anscombe.residuals.r#L5) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  a <- 3 / 2 * (y^(2 / 3) * mu^(-1 / 6) - mu^(1 / 2))
                               ^
```
[R/anscombe.residuals.r:5:45:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/anscombe.residuals.r#L5) *style:* **Put spaces around all infix operators.**
```r
  a <- 3 / 2 * (y^(2 / 3) * mu^(-1 / 6) - mu^(1 / 2))
                                           ~^~
```
[R/anscombe.residuals.r:5:46:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/anscombe.residuals.r#L5) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  a <- 3 / 2 * (y^(2 / 3) * mu^(-1 / 6) - mu^(1 / 2))
                                             ^
```
[R/CleanData.R:14:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L14) *style:* **lines should not be more than 120 characters.**
```r
                      hellidager = fread(system.file("extdata", "DatoerMedHelligdager.txt", package = "sykdomspuls"))[, c("Dato", "HelligdagIndikator"), with = FALSE],
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:15:23:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L15) *style:* **Variable and function names should not be longer than 30 characters.**
```r
                      testIfHelligdagIndikatorFileIsOutdated = TRUE,
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:151:7:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L151) *style:* **Variable and function names should not be longer than 30 characters.**
```r
  if (testIfHelligdagIndikatorFileIsOutdated &
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:153:52:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L153) *style:* **Commas should always have a space after.**
```r
    fhi::DashboardMsg("HELLIGDAGER NEEDS UPDATING",type="err")
                                                   ^
```
[R/CleanData.R:153:56:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L153) *style:* **Put spaces around all infix operators.**
```r
    fhi::DashboardMsg("HELLIGDAGER NEEDS UPDATING",type="err")
                                                      ~^~
```
[R/CleanData.R:234:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L234) *style:* **Variable and function names should not be longer than 30 characters.**
```r
StackAndEfficientDataForAnalysis <- function(conf) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:246:33:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L246) *style:* **Commas should always have a space after.**
```r
    sprintf("%s_%s_cleaned.RDS",LatestRawID(),conf$tag)))
                                ^
```
[R/CleanData.R:246:47:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L246) *style:* **Commas should always have a space after.**
```r
    sprintf("%s_%s_cleaned.RDS",LatestRawID(),conf$tag)))
                                              ^
```
[R/CleanData.R:248:41:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L248) *style:* **Put spaces around all infix operators.**
```r
  counties <- unique(data[granularityGeo=="municip"]$county)
                                       ~^~~
```
[R/CleanData.R:249:41:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L249) *style:* **Put spaces around all infix operators.**
```r
  municips <- unique(data[granularityGeo=="municip"]$location)
                                       ~^~~
```
[R/CleanData.R:265:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L265) *style:* **Commas should always have a space after.**
```r
  analysesCounties[,weeklyDenominatorFunction := list(conf$weeklyDenominatorFunction)]
                    ^
```
[R/CleanData.R:267:50:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L267) *style:* **Commas should always have a space after.**
```r
  analysesCounties[, file := sprintf("%s_%s.RDS","resRecentLine",tag)]
                                                 ^
```
[R/CleanData.R:267:66:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L267) *style:* **Commas should always have a space after.**
```r
  analysesCounties[, file := sprintf("%s_%s.RDS","resRecentLine",tag)]
                                                                 ^
```
[R/CleanData.R:268:31:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L268) *style:* **Put spaces around all infix operators.**
```r
  analysesCounties[granularity=="Weekly", file := sprintf("%s_%s.RDS","resYearLine",tag)]
                             ~^~~
```
[R/CleanData.R:268:71:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L268) *style:* **Commas should always have a space after.**
```r
  analysesCounties[granularity=="Weekly", file := sprintf("%s_%s.RDS","resYearLine",tag)]
                                                                      ^
```
[R/CleanData.R:268:85:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L268) *style:* **Commas should always have a space after.**
```r
  analysesCounties[granularity=="Weekly", file := sprintf("%s_%s.RDS","resYearLine",tag)]
                                                                                ^
```
[R/CleanData.R:281:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L281) *style:* **Commas should always have a space after.**
```r
  analysesMunicips[,weeklyDenominatorFunction := list(conf$weeklyDenominatorFunction)]
                    ^
```
[R/CleanData.R:283:50:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L283) *style:* **Commas should always have a space after.**
```r
  analysesMunicips[, file := sprintf("%s_%s.RDS","resYearLineMunicip",tag)]
                                                 ^
```
[R/CleanData.R:283:71:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L283) *style:* **Commas should always have a space after.**
```r
  analysesMunicips[, file := sprintf("%s_%s.RDS","resYearLineMunicip",tag)]
                                                                      ^
```
[R/CleanData.R:295:52:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L295) *style:* **Commas should always have a space after.**
```r
  analysesComparison[, file := sprintf("%s_%s.RDS","resComparisons",tag)]
                                                   ^
```
[R/CleanData.R:295:69:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L295) *style:* **Commas should always have a space after.**
```r
  analysesComparison[, file := sprintf("%s_%s.RDS","resComparisons",tag)]
                                                                    ^
```
[R/CleanData.R:297:38:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L297) *style:* **Commas should always have a space after.**
```r
  analyses <- rbind(analysesCounties,analysesMunicips,analysesComparison)
                                     ^
```
[R/CleanData.R:297:55:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L297) *style:* **Commas should always have a space after.**
```r
  analyses <- rbind(analysesCounties,analysesMunicips,analysesComparison)
                                                      ^
```
[R/CleanData.R:298:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L298) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(fhi::DashboardIsDev()){
    ^
```
[R/CleanData.R:299:15:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L299) *style:* **Commas should always have a space after.**
```r
    analyses[,id:=1:.N,by=.(file)]
              ^
```
[R/CleanData.R:299:17:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L299) *style:* **Put spaces around all infix operators.**
```r
    analyses[,id:=1:.N,by=.(file)]
               ~^~~
```
[R/CleanData.R:299:24:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L299) *style:* **Commas should always have a space after.**
```r
    analyses[,id:=1:.N,by=.(file)]
                       ^
```
[R/CleanData.R:299:26:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L299) *style:* **Put spaces around all infix operators.**
```r
    analyses[,id:=1:.N,by=.(file)]
                        ~^~
```
[R/CleanData.R:300:50:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L300) *style:* **Put spaces around all infix operators.**
```r
    analyses <- analyses[id %in% 1:100 | location=="Norge"]
                                                ~^~~
```
[R/CleanData.R:301:15:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L301) *style:* **Commas should always have a space after.**
```r
    analyses[,id:=NULL]
              ^
```
[R/CleanData.R:301:17:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/CleanData.R#L301) *style:* **Put spaces around all infix operators.**
```r
    analyses[,id:=NULL]
               ~^~~
```
[R/ConvertConfigForAPI.R:8:6:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/ConvertConfigForAPI.R#L8) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in names(CONFIG)){
     ^
```
[R/ConvertConfigForAPI.R:16:72:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/ConvertConfigForAPI.R#L16) *style:* **Put spaces around all infix operators.**
```r
  CONFIG_NEW$SYNDROMES_ALERT_INTERNAL <- CONFIG$SYNDROMES[alertInternal==TRUE]$tag
                                                                      ~^~~
```
[R/ConvertConfigForAPI.R:17:79:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/ConvertConfigForAPI.R#L17) *style:* **Put spaces around all infix operators.**
```r
  names(CONFIG_NEW$SYNDROMES_ALERT_INTERNAL) <- CONFIG$SYNDROMES[alertInternal==TRUE]$namesLong
                                                                             ~^~~
```
[R/ConvertConfigForAPI.R:19:72:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/ConvertConfigForAPI.R#L19) *style:* **Put spaces around all infix operators.**
```r
  CONFIG_NEW$SYNDROMES_ALERT_EXTERNAL <- CONFIG$SYNDROMES[alertExternal==TRUE]$tag
                                                                      ~^~~
```
[R/ConvertConfigForAPI.R:20:79:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/ConvertConfigForAPI.R#L20) *style:* **Put spaces around all infix operators.**
```r
  names(CONFIG_NEW$SYNDROMES_ALERT_EXTERNAL) <- CONFIG$SYNDROMES[alertExternal==TRUE]$namesLong
                                                                             ~^~~
```
[R/ConvertConfigForAPI.R:22:63:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/ConvertConfigForAPI.R#L22) *style:* **Put spaces around all infix operators.**
```r
  CONFIG_NEW$SYNDROMES_SHORT <- CONFIG$SYNDROMES[alertInternal==TRUE]$tag
                                                             ~^~~
```
[R/ConvertConfigForAPI.R:23:70:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/ConvertConfigForAPI.R#L23) *style:* **Put spaces around all infix operators.**
```r
  names(CONFIG_NEW$SYNDROMES_SHORT) <- CONFIG$SYNDROMES[alertInternal==TRUE]$namesShort
                                                                    ~^~~
```
[R/DataCreationAndValidation.R:31:56:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L31) *style:* **Put spaces around all infix operators.**
```r
    for (j in unique(CONFIG$SYNDROMES[syndromeOrConsult=="syndrome"]$syndrome)) {
                                                      ~^~~
```
[R/DataCreationAndValidation.R:38:19:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L38) *style:* **Put spaces around all infix operators.**
```r
  data <- data[age!="Totalt"]
                 ~^~~
```
[R/DataCreationAndValidation.R:50:8:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L50) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    for(i in n){
       ^
```
[R/DataCreationAndValidation.R:59:8:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L59) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    for(i in n){
       ^
```
[R/DataCreationAndValidation.R:62:77:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L62) *style:* **Put spaces around all infix operators.**
```r
    fhi::DashboardMsg("Variables in names(d) not in VARS$REQ_DATA_RAW", type="warn")
                                                                           ~^~
```
[R/DataCreationAndValidation.R:72:51:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L72) *style:* **Commas should always have a space after.**
```r
GenFakeDataClean <- function(syndrome="influensa",xmunicipEnd="municip5054") {
                                                  ^
```
[R/DataCreationAndValidation.R:75:34:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L75) *style:* **Put spaces around all infix operators.**
```r
  d <- GenFakeDataRaw(xmunicipEnd=xmunicipEnd)
                                ~^~
```
[R/DataCreationAndValidation.R:76:29:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L76) *style:* **Put spaces around all infix operators.**
```r
  d <- CleanData(d, syndrome=syndrome, removeMunicipsWithoutConsults = T)
                           ~^~
```
[R/DataCreationAndValidation.R:77:24:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L77) *style:* **Put spaces around all infix operators.**
```r
  d <- d[granularityGeo=="municip"]
                      ~^~~
```
[R/DataCreationAndValidation.R:109:33:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L109) *style:* **Put spaces around all infix operators.**
```r
  d <- GenFakeDataClean(syndrome=syndrome, xmunicipEnd=xmunicipEnd)[age==xage]
                               ~^~
```
[R/DataCreationAndValidation.R:109:55:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L109) *style:* **Put spaces around all infix operators.**
```r
  d <- GenFakeDataClean(syndrome=syndrome, xmunicipEnd=xmunicipEnd)[age==xage]
                                                     ~^~
```
[R/DataCreationAndValidation.R:109:72:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L109) *style:* **Put spaces around all infix operators.**
```r
  d <- GenFakeDataClean(syndrome=syndrome, xmunicipEnd=xmunicipEnd)[age==xage]
                                                                      ~^~~
```
[R/DataCreationAndValidation.R:122:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L122) *style:* **lines should not be more than 120 characters.**
```r
GenFakeResultsFull <- function(granularity = "weekly", syndrome = "influensa", xage="Totalt", xmunicipEnd="municip5054") {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/DataCreationAndValidation.R:125:33:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L125) *style:* **Put spaces around all infix operators.**
```r
  d <- GenFakeDataClean(syndrome=syndrome, xmunicipEnd=xmunicipEnd)[age==xage]
                               ~^~
```
[R/DataCreationAndValidation.R:125:55:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L125) *style:* **Put spaces around all infix operators.**
```r
  d <- GenFakeDataClean(syndrome=syndrome, xmunicipEnd=xmunicipEnd)[age==xage]
                                                     ~^~
```
[R/DataCreationAndValidation.R:125:72:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L125) *style:* **Put spaces around all infix operators.**
```r
  d <- GenFakeDataClean(syndrome=syndrome, xmunicipEnd=xmunicipEnd)[age==xage]
                                                                      ~^~~
```
[R/DataCreationAndValidation.R:128:8:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L128) *style:* **Put spaces around all infix operators.**
```r
    tag=syndrome,
      ~^~
```
[R/DataCreationAndValidation.R:129:16:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L129) *style:* **Put spaces around all infix operators.**
```r
    denominator="consultWithInfluensa",
              ~^~
```
[R/DataCreationAndValidation.R:130:13:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L130) *style:* **Put spaces around all infix operators.**
```r
    location=xmunicipEnd,
           ~^~
```
[R/DataCreationAndValidation.R:131:9:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L131) *style:* **Put spaces around all infix operators.**
```r
    ages=xage,
       ~^~
```
[R/DataCreationAndValidation.R:132:16:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L132) *style:* **Put spaces around all infix operators.**
```r
    granularity=granularity,
              ~^~
```
[R/DataCreationAndValidation.R:134:30:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L134) *style:* **Put spaces around all infix operators.**
```r
    weeklyDenominatorFunction=sum,
                            ~^~
```
[R/DataCreationAndValidation.R:135:6:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L135) *style:* **Put spaces around all infix operators.**
```r
    v=1,
    ~^~
```
[R/DataCreationAndValidation.R:136:9:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/DataCreationAndValidation.R#L136) *style:* **Put spaces around all infix operators.**
```r
    file="test.RDS"
       ~^~
```
[R/EmailNotifiation.R:34:20:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/EmailNotifiation.R#L34) *style:* **Put spaces around all infix operators.**
```r
    emailsFromExcel="sykdomspuls_results",
                  ~^~
```
[R/EmailNotifiation.R:35:17:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/EmailNotifiation.R#L35) *style:* **Put spaces around all infix operators.**
```r
    emailSubject="New Sykdomspuls results available",
               ~^~
```
[R/EmailNotifiation.R:36:14:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/EmailNotifiation.R#L36) *style:* **Put spaces around all infix operators.**
```r
    emailText=emailText
            ~^~
```
[R/EmailNotifiation.R:70:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/3f3a09bdf19cffaadbd2379a47afb6e6b63c1804/R/EmailNotifiation.R#L70) *style:* **lines should not be more than 120 characters.**
```r
  resYearLine[, statusSum3weeks := as.numeric(statusNum0 >= 1) + as.numeric(statusNum1 >= 1) + as.numeric(statusNum2 >= 1)]


If I explicitly pass `options` as `{}`, then it takes `self.options` instead. Might be unexpected behavior and might hide errors, where `options` is empty though it shouldn't.


CCache_Ninja (jmarrec) - x86_64-Linux-Ubuntu-18.04-gcc-7.3-UnitTestsCoverage-Debug: OK (1783 of 1783 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-41.5%25-green.png)


Hi! This is the friendly automated conda-forge-webservice.

I updated the Github team because of this commit.

- @tonyfast was added to conda-forge. Welcome to conda-forge!
  Go to https://github.com/orgs/conda-forge/invitation see your invitation.

You should get push access to this feedstock and CI services.

Feel free to join the community [chat room](https://gitter.im/conda-forge/conda-forge.github.io).

NOTE: Please make sure to not push to the repository directly.
      Use branches in your fork for any changes and send a PR.
      More details [here](https://conda-forge.org/docs/conda-forge_gotchas.html#using-a-fork-vs-a-branch-when-updating-a-recipe)


Надо вернуть позицию чтоб по ней стрелять сразу, как в задаче написано


fixed


I have it running locally!

In terms of `plotly`, I'm a bit concerned about how it looks and feels on the web platform. I think the tooltips feel a bit antiquated and the way it overlays the graphics, with the little triangle opening up to a coloured rectangle with different outline colours, the different fonts in the tooltips to the graphics , the overlay of the school type names on the line chart. What do you think @martsky-mart @jamescutts?

<img width="742" alt="screen shot 2018-11-21 at 11 56 59" src="https://user-images.githubusercontent.com/29665595/48839824-a08f1e00-ed84-11e8-9d70-b1c6eac9e5a8.png">


Ah, good point. I'll test for `None`