[inst/shiny/sykdomspuls/global.R:5:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/inst/src/RunAPI.R#L5) *warning:* **Do not use absolute paths.**
```r
    DATA <- "/results/sykdomspuls/externalapi/"
             ^~~~~~~~
```
[inst/src/RunAPI.R:7:14:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/inst/src/RunAPI.R#L9) *warning:* **Do not use absolute paths.**
```r
    DATA <- "/results/sykdomspuls/externalapi/"
             ^~~~~~~~
```
[inst/src/RunAPI.R:12:12:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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:8:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/inst/src/RunProcess.R#L8) *style:* **lines should not be more than 120 characters.**
```r
if (!dir.exists(fhi::DashboardFolder("results", "externalapi"))) dir.create(fhi::DashboardFolder("results", "externalapi"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:30:19:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/inst/src/RunProcess.R#L30) *style:* **Variable and function names should not be longer than 30 characters.**
```r
  stackAndData <- StackAndEfficientDataForAnalysis(conf = conf)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:100:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/inst/src/RunProcess.R#L100) *warning:* **Do not use absolute paths.**
```r
cat("done", file = "/data_app/sykdomspuls/done.txt")
                    ^~~~~~~~~
```
[inst/src/RunProcess.R:108:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/inst/src/RunProcess.R#L108) *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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/inst/src/RunTest.R#L39) *warning:* **Do not use absolute paths.**
```r
process <- processx::process$new("Rscript", "/r/sykdomspuls/src/RunAPI.R")
                                             ^~
```
[R/Analyses.R:31:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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:197:12:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/anscombe.residuals.r:5:18:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/CleanData.R#L15) *style:* **Variable and function names should not be longer than 30 characters.**
```r
                      testIfHelligdagIndikatorFileIsOutdated = TRUE,
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:157:7:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/CleanData.R#L157) *style:* **Variable and function names should not be longer than 30 characters.**
```r
  if (testIfHelligdagIndikatorFileIsOutdated &
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:242:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/CleanData.R#L242) *style:* **Variable and function names should not be longer than 30 characters.**
```r
StackAndEfficientDataForAnalysis <- function(conf) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/DataCreationAndValidation.R:122:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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/EmailNotifiation.R:70:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/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)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:79:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L79) *style:* **lines should not be more than 120 characters.**
```r
  outbreaks <- resYearLine[statusYellow == 1 | statusRed == 1, c("wkyr", "tag", "location", "locationName", "status", "statusYellow", "statusRed"), with = F]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:104:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L104) *style:* **lines should not be more than 120 characters.**
```r
                       OBS varslet er basert p\u00E5 oversiktsbildet for de siste ukene for mage-tarminfeksjoner, luftveisinfeksjoner, og influensa.<br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:111:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L111) *style:* **lines should not be more than 120 characters.**
```r
Sykdomspulsen kan i noen tilfeller generere et OBS varsel selv om det bare er en eller to konsultasjoner for et symptom/sykdom. Dette sees som oftest i sm\u00E5 kommuner der det vanligvis ikke er mange konsultasjoner. For ikke \u00E5 bli forstyrret av slike signaler har vi n\u00E5 lagt inn en nedre grense for gult signal p\u00E5 to konsultasjoner og en nedre grense for r\u00F8dt signal p\u00E5 tre konsultasjoner.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:133:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L133) *style:* **lines should not be more than 120 characters.**
```r
                       Se ogs\u00E5 p\u00E5 Signaler (ukentlig) b\u00E5de for fylker og kommuner og meld ifra til fagansvarlig dersom det st\u00E5r noe p\u00E5 disse sidene.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:174:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L174) *style:* **lines should not be more than 120 characters.**
```r
  results[, link := sprintf("<a href='http://sykdomspulsen.fhi.no/lege123/#/ukentlig/%s/%s/%s/%s'>Klikk</a>", county, location, tag, age)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:175:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L175) *style:* **lines should not be more than 120 characters.**
```r
  results[is.na(county), link := sprintf("<a href='http://sykdomspulsen.fhi.no/lege123/#/ukentlig/%s/%s/%s/%s'>Klikk</a>", location, location, tag, age)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:179:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L179) *style:* **lines should not be more than 120 characters.**
```r
  results[, output := sprintf("<tr> <td>%s</td> <td>%s</td> <td>%s</td> <td>%s</td> <td>%s</td> <td>%s</td> <td>%s</td> <td>%s</td> </tr>", link, tag_pretty, locationName, location, age, n, round(cumE1), RAWmisc::Format(zscore, digits = 2))]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:182:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L182) *style:* **lines should not be more than 120 characters.**
```r
  if (nrow(r) == 0) return(sprintf("%s utbrudd:<br><br>Ingen utbrudd registrert", CONFIG$SYNDROMES[tag == xtag]$namesLong))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:184:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L184) *style:* **lines should not be more than 120 characters.**
```r
  emailText <- sprintf("%s utbrudd:<br><br><table style='width:90%%'><tr><th>Til nettsiden</th> <th>Syndrom</th> <th>Geografisk omr\u00E5de</th> <th>Geografisk omr\u00E5de</th> <th>Alder</th> <th>Meldte tilfeller</th> <th>Eksess</th> <th>Z-verdi</th></tr>", CONFIG$SYNDROMES[tag == xtag]$namesLong)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:282:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L282) *style:* **lines should not be more than 120 characters.**
```r
  NB! Dette er et pilotprosjekt. Du f\u00E5r n\u00E5 mulighet til \u00E5 bruke websiden n\u00E5r du vil og s\u00E5 mye du vil.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:284:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L284) *style:* **lines should not be more than 120 characters.**
```r
  MEN vi ber om at du ikke distribuerer webadressen til andre, hverken til ansatte i kommunehelsetjenesten eller utenfor.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:286:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L286) *style:* **lines should not be more than 120 characters.**
```r
  Dersom noen andre enn deg \u00F8nsker \u00E5 f\u00E5 tilgang til websiden kan de kontakte oss p\u00E5 sykdomspulsen@fhi.no<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:288:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L288) *style:* **lines should not be more than 120 characters.**
```r
  OBS varselet inneb\u00E6rer at du vil f\u00E5 en mail dersom deres kommune eller fylke har flere konsultasjoner enn forventet av henholdsvis mage-tarminfeksjoner eller luftveisinfeksjoner sist uke.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:290:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L290) *style:* **lines should not be more than 120 characters.**
```r
  E-posten vil inneholde en tabell med informasjon om stedet der det er mer enn forventet antall konsultasjoner med aldersgruppe, antallet konsultasjoner som er over forventet verdi (excess) og en verdi som viser hvor ekstremt signalet er (z-score).<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:291:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L291) *style:* **lines should not be more than 120 characters.**
```r
  Varselet er en informasjon om at det kan v\u00E6re noe som b\u00F8r f\u00F8lges opp i deres kommune eller i et fylke. Det anbefales \u00E5 g\u00E5 inn i Sykdomspulsen websiden og sjekke det ut. Varselet beh\u00F8ver ikke \u00E5 bety noe alvorlig.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:292:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L292) *style:* **lines should not be more than 120 characters.**
```r
  Nederst i denne mailen viser vi hvilke(n) kommune(r) du f\u00E5r varsel for. Alle f\u00E5r varsel for alle fylker og hele Norge. Dersom det ikke st\u00E5r noen kommune i tabellen mangler vi det for deg og ber deg kontakte oss for \u00E5 f\u00E5 satt opp riktig kommune(r).<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:293:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L293) *style:* **lines should not be more than 120 characters.**
```r
  Send oss gjerne en tilbakemelding dersom du \u00F8nsker varsel for andre kommuner. Vi \u00F8nsker ogs\u00E5 tilbakemelding p\u00E5 om dette varselet er nyttig for dere eller ikke p\u00E5 sykdomspulsen@fhi.no<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:294:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L294) *style:* **lines should not be more than 120 characters.**
```r
  Nord og S\u00F8r-Tr\u00F8ndelag har fra 01.01.2018 blitt sl\u00E5tt sammen til Tr\u00F8ndelag. Det vil derfor bare v\u00E6re mulig \u00E5 finne Tr\u00F8ndelag i nedtrekks listen for Fylkene.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:295:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L295) *style:* **lines should not be more than 120 characters.**
```r
Sykdomspulsen kan i noen tilfeller generere et OBS varsel selv om det bare er en eller to konsultasjoner for et symptom/sykdom. Dette sees som oftest i sm\u00E5 kommuner der det vanligvis ikke er mange konsultasjoner. For ikke \u00E5 bli forstyrret av slike signaler har vi n\u00E5 lagt inn en nedre grense for gult signal p\u00E5 to konsultasjoner og en nedre grense for r\u00F8dt signal p\u00E5 tre konsultasjoner.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:296:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L296) *style:* **lines should not be more than 120 characters.**
```r
  Dersom du har problemer med websiden, forslag til forbedringer, ris eller ros kan du sende oss en mail: sykdomspulsen@fhi.no<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:297:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L297) *style:* **lines should not be more than 120 characters.**
```r
  Dersom du ikke \u00F8nsker \u00E5 f\u00E5 denne e-posten n\u00E5r vi oppdaterer Sykdomspulsen med nye tall s\u00E5 kan du gi oss beskjed ved \u00E5 sende en mail til adressen over.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:305:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L305) *style:* **lines should not be more than 120 characters.**
```r
  OBS varselet inneb\u00E6rer at alle dere som deltar i pilotprosjektet <b>Sykdomspulsen til kommunehelsetjenesten</b> f\u00E5r et varsel p\u00E5 e-post dersom deres kommune eller et fylke har flere konsultasjoner enn forventet av henholdsvis mage-tarminfeksjoner eller luftveisinfeksjoner sist uke.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:306:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L306) *style:* **lines should not be more than 120 characters.**
```r
  Tabellen under viser informasjon om stedet der det er mer enn forventet antall konsultasjoner og aldersgruppe, antallet konsultasjoner som er over forventet verdi (excess) og en verdi som viser hvor ekstremt signalet er (z-score). Hvis z-scoret er mellom 2 og 4 er antallet konsultasjoner sist uke h\u00F8yere enn forventet og man vil se at det ligger i gul sone p\u00E5 Sykdomspulsen websiden. Dersom z-scoret er over 4 er antallet konsultasjoner sist uke betydelig h\u00F8yere enn forventet og man vil se at det ligger i r\u00F8d sone p\u00E5 Sykdomspulsen websiden.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:307:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L307) *style:* **lines should not be more than 120 characters.**
```r
  I tabellen under er det en link til stedet der du kan se OBS varselet i Sykdomspulsen. Denne virker ikke dersom den \u00E5pnes i Internet explorer. Dersom du har problemer med linken kan du h\u00F8yreklikke p\u00E5 koblingen og kopiere den for deretter \u00E5 lime den inn i for eksempel Google chrome eller en annen nettleser. Du kan ogs\u00E5 logge deg inn p\u00E5 Sykdomspulsen p\u00E5 vanlig m\u00E5te (<a href='http://sykdomspulsen.fhi.no/lege123/'>http://sykdomspulsen.fhi.no/lege123/</a>) og selv finne aktuell kommune eller fylke.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:308:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L308) *style:* **lines should not be more than 120 characters.**
```r
  Varselet er en informasjon om at det kan v\u00E6re noe som b\u00F8r f\u00F8lges opp i deres kommune eller i et fylke. Det anbefales \u00E5 g\u00E5 inn i Sykdomspulsen websiden og sjekke det ut. Varselet beh\u00F8ver ikke \u00E5 bety noe alvorlig.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:309:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L309) *style:* **lines should not be more than 120 characters.**
```r
  Nederst i denne mailen viser vi hvilke(n) kommune(r) du f\u00E5r varsel for. Alle f\u00E5r varsel for alle fylker og hele Norge. Dersom det ikke st\u00E5r noen kommune i tabellen mangler vi det for deg og ber deg kontakte oss for \u00E5 f\u00E5 satt opp riktig kommune(r).<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:310:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L310) *style:* **lines should not be more than 120 characters.**
```r
Sykdomspulsen kan i noen tilfeller generere et OBS varsel selv om det bare er en eller to konsultasjoner for et symptom/sykdom. Dette sees som oftest i sm\u00E5 kommuner der det vanligvis ikke er mange konsultasjoner. For ikke \u00E5 bli forstyrret av slike signaler har vi n\u00E5 lagt inn en nedre grense for gult signal p\u00E5 to konsultasjoner og en nedre grense for r\u00F8dt signal p\u00E5 tre konsultasjoner.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:311:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L311) *style:* **lines should not be more than 120 characters.**
```r
  Ta kontakt med oss om du har sp\u00F8rsm\u00E5l eller om det er noe som er uklart p\u00E5 sykdomspulsen@fhi.no.<br><br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:341:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L341) *style:* **lines should not be more than 120 characters.**
```r
    emailText <- paste0(emailText, "Du er registrert for \u00E5 motta varsel om utbrudd i:<br><br><table style='width:90%'><tr><th>location</th></tr>")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:366:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L366) *style:* **Variable and function names should not be longer than 30 characters.**
```r
EmailNotificationOfFailedResults <- function() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:383:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/EmailNotifiation.R#L383) *style:* **lines should not be more than 120 characters.**
```r
EmailNotificationOfNewResults <- function(lastEmailedUtbruddFile = fhi::DashboardFolder("results", "lastEmailedUtbrudd.RDS")) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/farrington.R:10:28:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L10) *style:* **Put spaces around all infix operators.**
```r
  tau <- phi + (pred$se.fit^2) / mu0
                          ~^~
```
[R/farrington.R:14:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L14) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, `1/2` = {
  ^
```
[R/farrington.R:17:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L17) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, `2/3` = {
  ^
```
[R/farrington.R:18:27:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L18) *style:* **Put spaces around all infix operators.**
```r
    se <- sqrt(4 / 9 * mu0^(1 / 3) * tau)
                         ~^~
```
[R/farrington.R:18:28:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L18) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    se <- sqrt(4 / 9 * mu0^(1 / 3) * tau)
                           ^
```
[R/farrington.R:20:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L20) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, {
  ^
```
[R/farrington.R:36:28:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L36) *style:* **Put spaces around all infix operators.**
```r
  tau <- phi + (pred$se.fit^2) / mu0
                          ~^~
```
[R/farrington.R:40:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L40) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, `1/2` = {
  ^
```
[R/farrington.R:43:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L43) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, `2/3` = {
  ^
```
[R/farrington.R:44:27:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L44) *style:* **Put spaces around all infix operators.**
```r
    se <- sqrt(4 / 9 * mu0^(1 / 3) * tau)
                         ~^~
```
[R/farrington.R:44:28:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    se <- sqrt(4 / 9 * mu0^(1 / 3) * tau)
                           ^
```
[R/farrington.R:46:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L46) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, {
  ^
```
[R/farrington.R:50:13:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L50) *style:* **Put spaces around all infix operators.**
```r
  lu <- (mu0^exponent + z *
           ~^~
```
[R/farrington.R:51:8:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L51) *style:* **Put spaces around all infix operators.**
```r
    se)^(1 / exponent)
      ~^~
```
[R/farrington.R:51:9:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L51) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    se)^(1 / exponent)
        ^
```
[R/farrington.R:66:28:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L66) *style:* **Put spaces around all infix operators.**
```r
  tau <- phi + (pred$se.fit^2) / mu0
                          ~^~
```
[R/farrington.R:70:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L70) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, `1/2` = {
  ^
```
[R/farrington.R:73:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L73) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, `2/3` = {
  ^
```
[R/farrington.R:74:27:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L74) *style:* **Put spaces around all infix operators.**
```r
    se <- sqrt(4 / 9 * mu0^(1 / 3) * tau)
                         ~^~
```
[R/farrington.R:74:28:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L74) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    se <- sqrt(4 / 9 * mu0^(1 / 3) * tau)
                           ^
```
[R/farrington.R:76:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L76) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, {
  ^
```
[R/farrington.R:80:15:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L80) *style:* **Put spaces around all infix operators.**
```r
  zscore <- (y^exponent - mu0^exponent) / se
             ~^~
```
[R/farrington.R:80:30:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/farrington.R#L80) *style:* **Put spaces around all infix operators.**
```r
  zscore <- (y^exponent - mu0^exponent) / se
                            ~^~
```
[R/GetAlertsEmails.R:10:42:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/GetAlertsEmails.R#L10) *warning:* **Do not use absolute paths.**
```r
    return(readxl::read_excel(file.path("/etc", "gmailr", "emails_sykdomspuls_alert.xlsx")))
                                         ^~~~
```
[R/GetAlertsEmails.R:12:42:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/GetAlertsEmails.R#L12) *warning:* **Do not use absolute paths.**
```r
    return(readxl::read_excel(file.path("/etc", "gmailr", "emails_sykdomspuls_alert_test.xlsx")))
                                         ^~~~
```
[R/GetPopulation.R:24:17:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/GetPopulation.R#L24) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
    pop[[i]] <- melt.data.table(pop[[i]], id.vars = c("region", "age"))
                ^~~~~~~~~~~~~~~
```
[R/NorwayLocations.R:6:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/NorwayLocations.R#L6) *style:* **lines should not be more than 120 characters.**
```r
  norwayLocations <- norwayLocations[is.na(norwayLocations$yearEnd), c("municip", "municipName", "county", "countyName")]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/NorwayLocations.R:41:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/NorwayLocations.R#L41) *style:* **lines should not be more than 120 characters.**
```r
  skeleton <- expand.grid(year = as.numeric(2006:maxYear), municip = unique(masterData$municip), stringsAsFactors = FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/NorwayLocations.R:71:7:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/NorwayLocations.R#L71) *style:* **Commented code should be removed.**
```r
    # print(skeletonOther[municip %in% c("municip1723","municip1756","municip5053")])
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/NorwayLocations.R:85:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/NorwayLocations.R#L85) *style:* **Commented code should be removed.**
```r
  # skeletonFinal[municip %in% c("municip1723","municip1756","municip5053")]
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/NorwayLocations.R:86:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/NorwayLocations.R#L86) *style:* **Commented code should be removed.**
```r
  # skeletonFinal[municip %in% c("municip0301")]
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/QuasipoissonTestPredictData.r:81:42:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/QuasipoissonTestPredictData.r#L81) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
                                         remove.pandemic.year = F,
                                         ^~~~~~~~~~~~~~~~~~~~
```
[R/QuasipoissonTestPredictData.r:117:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/QuasipoissonTestPredictData.r#L117) *style:* **lines should not be more than 120 characters.**
```r
  # historical.data.years: number (should be greater or equal to at least 3) of full years of background data (default: 5)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/QuasipoissonTestPredictData.r:118:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/QuasipoissonTestPredictData.r#L118) *style:* **lines should not be more than 120 characters.**
```r
  # mod.pred.window: number (greater or equal to 0) of days window between datasets used for modelling and prediction(default: 90)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/QuasipoissonTestPredictData.r:119:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/QuasipoissonTestPredictData.r#L119) *style:* **lines should not be more than 120 characters.**
```r
  # reweights: number (greater or equal to 0) of residual reweights adjusting for previous outbreaks (default: 1; 1 reweight)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/QuasipoissonTestPredictData.r:121:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/QuasipoissonTestPredictData.r#L121) *style:* **lines should not be more than 120 characters.**
```r
  # remove.highcounts: number between 0 and 1 of fraction of high counts to be removed from prediction, to remove impact of earlier outbreaks (default: 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/QuasipoissonTestPredictData.r:127:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/QuasipoissonTestPredictData.r#L127) *style:* **Commented code should be removed.**
```r
  # datasetTrain[,week := data.table::isoweek(date)] #ISO-week, instead of others (%W and %U)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/QuasipoissonTestPredictData.r:132:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/ad58d96b11fd4a1b992d6e9af75d9c6835aba5ad/R/QuasipoissonTestPredictData.r#L132) *style:* **Commented code should be removed.**
```r
  # datasetPredict[,week := data.table::isoweek(date)] #ISO-week, instead of others (%W and %U)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


Так-то да, но ведь в `$_POST` ведь не может быть null. Там могут быть только строки или массивы. Значит, поведение обоих вариантов одинаковое.

Впрочем, решил все-таки исправить: 72032a4


…which it will be if `REVERSE_MENU_DIRECTION` is enabled.


While this a step in the good direction. I'm not certain we properly encode multi-byte characters.


I would propose 2 threads, because it seems to me the most cheap and same time most challenging to pass [-3,1]


ah, yeah, it meant capability in this test. will tweak a bit later


@krystian3w @hawkeye116477 FYI


Wouldn't it make more sense for the "right" button to enter the selected sub-menu? It's not intuitive for "right" to go to the top menu item or to set the current value to its minimum.


@spring.active@   这个是什么用法呢


yes it did


Hej Jacob!

Ja, det går langsomt fremad :-) Vi har dog nogle problemer ift. comboboxen, som skal vise vores valgmuligheder i spillet samt at uploade vores ændringer i GitHub..

Har du det godt?

Hilsen
Nanna, Mette, Christoffer og Stevie


Хозяина поправил в 38eca49d3524a271c5cf5c91787d5ec76f38a38f


prv


If REVERSE_MENU_DIRECTION is activated, then it will be swapped up and down as intended.

The middle button is currently the default and may annoy the user.


This somehow suggests that it is an environment variable, but it isn't, right?


路由重写的时候需要对跳转的最高层进行重写，需要保证跟工程名字保持一致，后续希望能够不需要自己去修改，而是使用变量动态更新


@kaweesi Why do we need to have this dependency now? Is the OrderType metadata deploy different from the other metadatas?


accepted


Done. https://github.com/radareorg/cutter/pull/955


extends KinematicBody2D

#export (float) var speed
export (float) var max_speed
export (float) var rotation_speed
var velocity = Vector2()

func _physics_process(delta):
	control(delta)
	move_and_slide(velocity)

func control(delta):
	var rot_dir = 0
	if Input.is_action_pressed('turn_right'):
		rot_dir += 1
	if Input.is_action_pressed('turn_left'):
		rot_dir -= 1
	rotation = rotation + rotation_speed * rot_dir * delta
	velocity = Vector2() #remove to add drift
	if Input.is_action_pressed('forward'):
		velocity = Vector2(max_speed, 2).rotated(rotation)
	if Input.is_action_pressed('back'):
		velocity = Vector2(-max_speed/2, 20).rotated(rotation)
	if Input.is_action_pressed('boost'):
		max_speed = 400
		#max_speed = lerp(max_speedspeed,0, 50)
	else:
		max_speed = 250
		#max_speed = lerp(max_speed,0, 0.1)

func _ready():
	pass


Great answers! You did a great job at demonstrating your understanding in your own words.


需要添加文件注释


dasz radę podpiąć jeszcze RSS?

[/PolishFiltersTeam/PolishRSSFilters](https://github.com/PolishFiltersTeam/PolishRSSFilters)


CoreConstructors1_10 comes from it, same openmrs module but different maven module


Можно получить `SystemStackError (stack level too deep)` из-за рекурсивных вызовов(т.к возврата не происходит). Используй `loop`