[inst/src/plumb/plumb_testing.R:11:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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:30:7:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L30) *style:* **Commented code should be removed.**
```r
    # list("stack"=stack[i],"data"=data[variable==stack$type[i] & location==stack$location[i] & age==stack$age[i]])
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:38:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L38) *style:* **Commented code should be removed.**
```r
# it <- StackIterator(data,stack)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:39:3:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L39) *style:* **Commented code should be removed.**
```r
# nextElem(it)
  ^~~~~~~~~~~~
```
[inst/src/RunProcess.R:55:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L55) *style:* **lines should not be more than 120 characters.**
```r
      data[["municip"]] <- readRDS(file = DashboardFolder("data_clean", LatestDatasets(SYNDROME = SYNDROME)$legekontakt_everyone))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:57:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L57) *style:* **lines should not be more than 120 characters.**
```r
      data[["municip"]] <- readRDS(file = DashboardFolder("data_clean", LatestDatasets(SYNDROME = SYNDROME)$everyone_everyone))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:62:7:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L62) *style:* **Commented code should be removed.**
```r
    # if(Sys.getenv("COMPUTER")=="test") municips <- municips[stringr::str_detect(municips,"^municip01")]
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:87:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L87) *style:* **lines should not be more than 120 characters.**
```r
    setcolorder(data[["municip"]], c("date", "HelligdagIndikator", "location", "age", "pop", "consultWithInfluensa", "consultWithoutInfluensa", "value"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:88:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L88) *style:* **lines should not be more than 120 characters.**
```r
    setcolorder(data[["counties"]], c("date", "HelligdagIndikator", "location", "age", "pop", "consultWithInfluensa", "consultWithoutInfluensa", "value"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:89:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L89) *style:* **lines should not be more than 120 characters.**
```r
    setcolorder(data[["norway"]], c("date", "HelligdagIndikator", "location", "age", "pop", "consultWithInfluensa", "consultWithoutInfluensa", "value"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:112:7:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L112) *style:* **Commented code should be removed.**
```r
    # analysesMunicips <- analysesMunicips[location=="municip0301"]
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:162:13:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L162) *style:* **Commented code should be removed.**
```r
          # devtools::load_all("/src/sykdomspuls/package/", export_all=FALSE)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:169:13:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L169) *style:* **Commented code should be removed.**
```r
          # sink("/results/sykdomspuls/log.txt")
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:172:13:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L172) *style:* **Commented code should be removed.**
```r
          # sink()
            ^~~~~~
```
[inst/src/RunProcess.R:173:13:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L173) *style:* **Commented code should be removed.**
```r
          # saveRDS(analysisIter$stack,"/results/sykdomspulen/analysesStack.RDS")
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:174:13:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L174) *style:* **Commented code should be removed.**
```r
          # saveRDS(analysisIter$data,"/results/sykdomspulen/analysisData.RDS")
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:176:11:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L176) *style:* **Commented code should be removed.**
```r
        # x <- analysisIter$nextElem()
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:177:11:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L177) *style:* **Commented code should be removed.**
```r
        # analysesStack=x$stack
          ^~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:178:11:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L178) *style:* **Commented code should be removed.**
```r
        # analysisData=x$data
          ^~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:184:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L184) *style:* **lines should not be more than 120 characters.**
```r
        # if(i==4) retval[, county := GetCountyFromMunicip(analysisIter$stack$location, norwayLocations=norwayLocations)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:184:11:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L184) *style:* **Commented code should be removed.**
```r
        # if(i==4) retval[, county := GetCountyFromMunicip(analysisIter$stack$location, norwayLocations=norwayLocations)]
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:207:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L207) *style:* **lines should not be more than 120 characters.**
```r
      res[[s]] <- readRDS(DashboardFolder("results", sprintf("%s_%s.RDS", dataFiles[i], sykdomspuls::CONFIG$SYNDROMES[s])))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/src/RunProcess.R:233:23:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunProcess.R#L233) *warning:* **Do not use absolute paths.**
```r
  cat("done", file = "/data_app/sykdomspuls/done.txt")
                      ^~~~~~~~~
```
[inst/src/RunTest.R:1:14:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunTest.R#L39) *warning:* **Do not use absolute paths.**
```r
process <- processx::process$new("Rscript", "/r/sykdomspuls/src/RunAPI.R")
                                             ^~
```
[inst/src/RunTest.R:100:44:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunTest.R#L100) *warning:* **Do not use absolute paths.**
```r
    alerts = readxl::read_excel(file.path("/etc", "gmailr", "emails_sykdomspuls_alert_test.xlsx")),
                                           ^~~~
```
[inst/src/RunTest.R:123:44:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/inst/src/RunTest.R#L123) *warning:* **Do not use absolute paths.**
```r
    alerts = readxl::read_excel(file.path("/etc", "gmailr", "emails_sykdomspuls_alert_test.xlsx")),
                                           ^~~~
```
[R/aaGlobalVariables.R:15:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/aaGlobalVariables.R#L15) *style:* **lines should not be more than 120 characters.**
```r
variablesAlgorithmProduced <- c("threshold0", "threshold2", "threshold4", "threshold6", "cumE1", "cumL1", "cumU1", "zscore", "failed")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Analyses.R:6:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/Analyses.R#L6) *style:* **Variable and function names should not be longer than 30 characters.**
```r
CalculateTrainPredictYearPattern <- function(yearMin, yearMax, numPerYear1 = 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Analyses.R:8:17:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/Analyses.R#L8) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  perYear2 <- c((yearMin + 6):(yearMax - numPerYear1))
                ^
```
[R/Analyses.R:137:12:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/Analyses.R#L137) *style:* **Variable and function names should not be longer than 30 characters.**
```r
  years <- CalculateTrainPredictYearPattern(yearMin = yearMin, yearMax = yearMax, numPerYear1 = 1)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Analyses.R:190:12:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/Analyses.R#L190) *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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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:71:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/CleanData.R#L71) *style:* **Commented code should be removed.**
```r
  # try(unlink(paste0("data_clean/done_",LatestRawID(),".txt")),TRUE)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:80:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/CleanData.R#L80) *style:* **Commented code should be removed.**
```r
  # try(file.create(paste0("data_clean/done_",LatestRawID(),".txt")),TRUE)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:116:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/CleanData.R#L116) *style:* **lines should not be more than 120 characters.**
```r
                          municip = stringr::str_extract(readxl::read_excel(system.file("extdata", "norwayLocations.xlsx", package = "sykdomspuls"))$municip, "[0-9][0-9][0-9][0-9]$"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:117:50:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/CleanData.R#L117) *warning:* **Do not use absolute paths.**
```r
                          saveFiles = file.path("/git", "dashboards_sykdomspuls", "inst", "extdata", "pop.RDS"),
                                                 ^~~~
```
[R/CleanData.R:135:27:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/CleanData.R#L135) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  years <- as.character(c((data.table::year(lubridate::today()) - 15):lastYear))
                          ^
```
[R/CleanData.R:204:21:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/CleanData.R#L204) *style:* **Commented code should be removed.**
```r
    d1 <- municip # unlist(y$dataset$dimension$Region$category$label)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:249:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/CleanData.R#L249) *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:250:24:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/CleanData.R#L250) *style:* **Variable and function names should not be longer than 30 characters.**
```r
                       testIfHelligdagIndikatorFileIsOutdated = TRUE,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:286:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/CleanData.R#L286) *style:* **lines should not be more than 120 characters.**
```r
    skeleton <- data.table(expand.grid(unique(norwayMunicipMerging[municipEnd %in% unique(d$municip) | municip %in% unique(d$municip)]$municip), unique(d$age), seq.Date(dateMin, dateMax, 1)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:288:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/CleanData.R#L288) *style:* **lines should not be more than 120 characters.**
```r
    skeleton <- data.table(expand.grid(unique(norwayMunicipMerging$municip), unique(d$age), seq.Date(dateMin, dateMax, 1)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/CleanData.R:370:7:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/CleanData.R#L370) *style:* **Variable and function names should not be longer than 30 characters.**
```r
  if (testIfHelligdagIndikatorFileIsOutdated & lubridate::today() > max(hellidager$date)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:83:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L83) *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:92:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L92) *style:* **lines should not be more than 120 characters.**
```r
  outbreaks <- resYearLine[statusYellow == 1 | statusRed == 1, c("wkyr", "type", "location", "locationName", "status", "statusYellow", "statusRed"), with = F]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:123:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L123) *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:130:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L130) *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:152:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L152) *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:200:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L200) *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, type, age)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:201:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L201) *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, type, age)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:205:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L205) *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, type_pretty, locationName, location, age, n, round(cumE1), RAWmisc::Format(zscore, digits = 2))]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:208:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L208) *style:* **lines should not be more than 120 characters.**
```r
  if (nrow(r) == 0) return(sprintf("%s utbrudd:<br><br>Ingen utbrudd registrert", names(CONFIG$SYNDROMES)[CONFIG$SYNDROMES == xtype]))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:210:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L210) *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>", names(CONFIG$SYNDROMES)[CONFIG$SYNDROMES == xtype])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:230:66:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L230) *warning:* **Do not use absolute paths.**
```r
                          alerts = readxl::read_excel(file.path("/etc", "gmailr", "emails_sykdomspuls_alert.xlsx")),
                                                                 ^~~~
```
[R/EmailNotifiation.R:310:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L310) *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:312:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L312) *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:314:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L314) *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:316:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L316) *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:318:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L318) *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:319:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L319) *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:320:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L320) *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:321:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L321) *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:322:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L322) *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:323:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L323) *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:324:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L324) *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:325:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L325) *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:333:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L333) *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:334:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L334) *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:335:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L335) *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:336:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L336) *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:337:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L337) *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:338:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L338) *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:339:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L339) *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:369:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L369) *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:377:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L377) *style:* **lines should not be more than 120 characters.**
```r
      emailText <- paste0(emailText, EmailExternalGenerateTable(results = r, xtype = type, xemail = useEmail), "<br><br>")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:393:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L393) *style:* **Variable and function names should not be longer than 30 characters.**
```r
EmailNotificationOfFailedResults <- function() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/EmailNotifiation.R:410:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/EmailNotifiation.R#L410) *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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/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/7e210b3b621363e037e66420c6b57863f4e538d3/R/farrington.R#L80) *style:* **Put spaces around all infix operators.**
```r
  zscore <- (y^exponent - mu0^exponent) / se
                            ~^~
```
[R/GenTestData.R:18:15:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L18) *warning:* **Do not use absolute paths.**
```r
  d <- fread("/docs/testing/dashboards/data_raw/sykdomspuls/partially_formatted_2017_12_11.txt")
              ^~~~~
```
[R/GenTestData.R:27:22:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L27) *warning:* **Do not use absolute paths.**
```r
  saveRDS(d, file = "/git/dashboards_sykdomspuls/tests/testthat/data/partially_formatted_2017_05_09.RDS")
                     ^~~~
```
[R/GenTestData.R:31:15:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L31) *warning:* **Do not use absolute paths.**
```r
  d <- fread("/docs/testing/dashboards/data_raw/sykdomspuls/partially_formatted_2017_12_11.txt")
              ^~~~~
```
[R/GenTestData.R:40:22:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L40) *warning:* **Do not use absolute paths.**
```r
  saveRDS(d, file = "/git/dashboards_sykdomspuls/tests/testthat/data/partially_formatted_sandefjord.RDS")
                     ^~~~
```
[R/GenTestData.R:44:15:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L44) *warning:* **Do not use absolute paths.**
```r
  d <- fread("/docs/testing/dashboards/data_raw/sykdomspuls/partially_formatted_2017_12_11.txt")
              ^~~~~
```
[R/GenTestData.R:46:36:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L46) *warning:* **Do not use absolute paths.**
```r
  population <- readRDS(file.path("/git/dashboards_sykdomspuls/tests/testthat", "data", "pop.RDS"))
                                   ^~~~
```
[R/GenTestData.R:50:36:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L50) *warning:* **Do not use absolute paths.**
```r
  hellidager <- readRDS(file.path("/git/dashboards_sykdomspuls/tests/testthat", "data", "hellidager.RDS"))
                                   ^~~~
```
[R/GenTestData.R:72:24:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L72) *warning:* **Do not use absolute paths.**
```r
  saveRDS(res, file = "/git/dashboards_sykdomspuls/tests/testthat/data/formatted_oslo.RDS")
                       ^~~~
```
[R/GenTestData.R:76:15:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L76) *warning:* **Do not use absolute paths.**
```r
  d <- fread("/docs/testing/dashboards/data_raw/sykdomspuls/partially_formatted_2017_12_11.txt")
              ^~~~~
```
[R/GenTestData.R:78:36:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L78) *warning:* **Do not use absolute paths.**
```r
  population <- readRDS(file.path("/git/dashboards_sykdomspuls/tests/testthat", "data", "pop.RDS"))
                                   ^~~~
```
[R/GenTestData.R:82:36:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L82) *warning:* **Do not use absolute paths.**
```r
  hellidager <- readRDS(file.path("/git/dashboards_sykdomspuls/tests/testthat", "data", "hellidager.RDS"))
                                   ^~~~
```
[R/GenTestData.R:97:24:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L97) *warning:* **Do not use absolute paths.**
```r
  saveRDS(res, file = "/git/dashboards_sykdomspuls/tests/testthat/data/formatted_meraker.RDS")
                       ^~~~
```
[R/GenTestData.R:101:15:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L101) *warning:* **Do not use absolute paths.**
```r
  d <- fread("/docs/testing/dashboards/data_raw/sykdomspuls/partially_formatted_2017_12_11.txt")
              ^~~~~
```
[R/GenTestData.R:103:36:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L103) *warning:* **Do not use absolute paths.**
```r
  population <- readRDS(file.path("/git/dashboards_sykdomspuls/tests/testthat", "data", "pop.RDS"))
                                   ^~~~
```
[R/GenTestData.R:107:36:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L107) *warning:* **Do not use absolute paths.**
```r
  hellidager <- readRDS(file.path("/git/dashboards_sykdomspuls/tests/testthat", "data", "hellidager.RDS"))
                                   ^~~~
```
[R/GenTestData.R:121:24:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L121) *warning:* **Do not use absolute paths.**
```r
  saveRDS(res, file = "/git/dashboards_sykdomspuls/tests/testthat/data/formatted_trondheim.RDS")
                       ^~~~
```
[R/GenTestData.R:125:15:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L125) *warning:* **Do not use absolute paths.**
```r
  d <- fread("/docs/testing/dashboards/data_raw/sykdomspuls/partially_formatted_2017_12_11.txt")
              ^~~~~
```
[R/GenTestData.R:134:22:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/GenTestData.R#L134) *warning:* **Do not use absolute paths.**
```r
  saveRDS(d, file = "/git/dashboards_sykdomspuls/tests/testthat/data/inderoy_partially_formatted_2017_05_09.RDS")
                     ^~~~
```
[R/ListOutbreaks.R:161:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/ListOutbreaks.R#L161) *style:* **lines should not be more than 120 characters.**
```r
                                         alerts = readxl::read_excel(file.path("/etc", "gmailr", "emails_sykdomspuls_alert.xlsx"))) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ListOutbreaks.R:161:81:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/ListOutbreaks.R#L161) *warning:* **Do not use absolute paths.**
```r
                                         alerts = readxl::read_excel(file.path("/etc", "gmailr", "emails_sykdomspuls_alert.xlsx"))) {
                                                                                ^~~~
```
[R/NorwayLocations.R:6:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/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:36:1:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/NorwayLocations.R#L36) *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:66:7:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/NorwayLocations.R#L66) *style:* **Commented code should be removed.**
```r
    # print(skeletonOther[municip %in% c("municip1723","municip1756","municip5053")])
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/NorwayLocations.R:80:5:](https://github.com/folkehelseinstituttet/dashboards_sykdomspuls/blob/7e210b3b621363e037e66420c6b57863f4e538d3/R/NorwayLocations.R#L80) *style:* **Commented code should be removed.**
```r
  # skeletonFinal[municip %in% c("municip1723","municip1756","municip5053")]
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


Yeah, you're right. Neither are actually required and both can be removed.


Great to finally see someone taking on Sony "MediaTek" devices @andrwgldmn :+1:
I thought about trying this myself but I am new to all this building from source so forgive me if I don't know what I am talking about but would love to help out where I can.
My initial thoughts were to fork from the LineageOS-MediaTek here https://github.com/LineageOS-MediaTek as it seems much of the work for MediaTek based devices is already done for LineageOS 14.1 or are you already tracking that branch?


Dunno how I missed that.. really sorry


Why do you exchange the two value of firstOffset and lastOffset?
It's for some meanings?


I was also thinking to do this and wanted to make the suggestion after you performed the review. Good to see that we're thinking alike. :-)


排序


@Testato by the way, a team member is making it easier to submit addons to the repo. Hopefully in a near future it will be as simple as adding a travis CI file to the main addon source code repository and travis will automatically push the update to the kodi repository when a new version is tagged by the developer.
We know it is a pain to handle two different repositories so it will be easier in the near future if the developer wants.


Successfully aliased the URL <https://mdx-go-noawejnjud.now.sh> to the following alias.

* https://mdx-go.now.sh


this was neted on m03 and worked *

thumbnails did not work because xmipp failed xmipp is used for PSD calculation. Currently PSD calculation and thumb-nailing don't wok through zocalo . Probably related to the fact that the psd file is not moved from the tmp folder when run through zocalo with 2 consumers .

Thumb-nailing and PSD work when single gpu running on my workstation . Need to figure out why this does not work only on com14 .Ctffind works so it's not related to xmipp_correlation being a CPU only protocol


```suggestion
                {% if !line.image_front_thumb_url %}
```
I guess it could be shorter.


Goodjob, i will do, i also sent you an email


@langhabel Maybe here a [ManyToMany field](https://docs.djangoproject.com/en/2.1/topics/db/examples/many_to_many/) would be better. Then, we don't need that extract `NLPContent` class.

```
class NLPContentReference(models.Model):
    nlp_entities = models.ManyToManyField(Entity, blank=True)
```


No, I am not tracking that. I use my own :wink: RIL on new chips/systems is so weird because I saw different implementations of it. And it's not interchangeably to easy fix...


Gazab


This is has been changed to be inline with the rest of the font-awesome icons used on the panel component


And I use branch "rebase", not los14.1


Deleted Extra file


Or maybe
```python
{{ line.image_front_thumb_url or 'https://via.placeholder.com/100x50?text=Oups!' }}
```


this test was the start-to finish without individual protocols scaling out


With "too few events", I'd think that would be caught by the loop above as terminating condition stipulates that it is to run until there's essentially nothing in the buffer (i < len) AND that the number of events processed matches that's what is defined in the test case? But I guess, if the event_count in the test case is less than events in buffer the loop will terminate early and there will be still an event to be processed in the buffer.

So, yep I get what you mean.


Why?


Hier habe ich ausversehen die falsche Datei commited. Der nächste Commit ist der richtige.


nothing


hey @adasq, I'm in Krakow right now and would love to talk to you...either in person or by chat via discord.


In my opinion constant (eg UPPERCASED) should be immutable. If no, better keep lower case.


Deployment failed with the following error:

~~~
If you agree with that, please run again with `--public`.
~~~


This is not going to fly. We are stuck on `2.8.12` at the moment.


Ovo nam mozda i nije trebalo


Ko si ti da brises zivotno delo mladog Dimitrija


本来想 Peco 重写完改回来的结果一直拖到现在 (๑•́ωก̀๑)


Deployment failed with the following error:

~~~
One or more build specification(s) were not referenced
~~~


Yes, there are a couple of failures because of this. It's a pity, because it could save us from a lot of noise. Tests that are failing are actually somewhat bad tests, because they should ignore these warnings at all times.

I'll look at it later.


LavaFlowZoneSize. Missed by inaccurate Ctrl+X