[R/Contacts.r:147:3:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/Contacts.r#L147) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[R/ContactTrace.r:73:3:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/ContactTrace.r#L73) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[R/in-degree.r:174:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/in-degree.r#L174) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/in-degree.r:187:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/in-degree.r#L187) *style:* **Remove spaces before the left parenthesis in a function call.**
```r
          function (x)
                   ^
```
[R/in-degree.r:188:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/in-degree.r#L188) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/in-degree.r:207:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/in-degree.r#L207) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/ingoing-contact-chain.r:183:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/ingoing-contact-chain.r#L183) *style:* **Remove spaces before the left parenthesis in a function call.**
```r
          function (x)
                   ^
```
[R/ingoing-contact-chain.r:184:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/ingoing-contact-chain.r#L184) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/ingoing-contact-chain.r:190:42:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/ingoing-contact-chain.r#L190) *style:* **Commas should always have a space after.**
```r
          return(length(setdiff(x@source,x@root)))
                                         ^
```
[R/ingoing-contact-chain.r:198:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/ingoing-contact-chain.r#L198) *style:* **Remove spaces before the left parenthesis in a function call.**
```r
          function (x)
                   ^
```
[R/ingoing-contact-chain.r:199:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/ingoing-contact-chain.r#L199) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/ingoing-contact-chain.r:218:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/ingoing-contact-chain.r#L218) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/network-structure.r:122:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-structure.r#L122) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/network-structure.r:128:39:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-structure.r#L128) *style:* **Put spaces around all infix operators.**
```r
                         deparse.level=0)
                                     ~^~
```
[R/network-structure.r:136:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-structure.r#L136) *style:* **Lines should not be more than 80 characters.**
```r
              i <- tmp[seq_len(length(tmp) - 1)] != tmp[seq_len(length(tmp))[-1]]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-structure.r:186:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-structure.r#L186) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/network-summary.r:245:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L245) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/network-summary.r:249:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L249) *style:* **Lines should not be more than 80 characters.**
```r
                     inDays = as.integer(x@ingoingContacts@tEnd - x@ingoingContacts@tBegin),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:252:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L252) *style:* **Lines should not be more than 80 characters.**
```r
                     outDays = as.integer(x@outgoingContacts@tEnd - x@outgoingContacts@tBegin),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:255:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L255) *style:* **Lines should not be more than 80 characters.**
```r
                     ingoingContactChain = IngoingContactChain(x@ingoingContacts),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:256:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L256) *style:* **Lines should not be more than 80 characters.**
```r
                     outgoingContactChain = OutgoingContactChain(x@outgoingContacts))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:262:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L262) *style:* **functions should have cyclomatic complexity of less than 15, this has 38.**
```r
setMethod("NetworkSummary",
^
```
[R/network-summary.r:272:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L272) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/network-summary.r:282:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L282) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          } else if(!is.character(x$source)) {
                   ^
```
[R/network-summary.r:288:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L288) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          } else if(!is.character(x$destination)) {
                   ^
```
[R/network-summary.r:317:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L317) *style:* **Lines should not be more than 80 characters.**
```r
              ## so test that root is a integer the same way as binom.test test x
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:325:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L325) *style:* **Only use double-quotes.**
```r
              stop('invalid class of root')
                   ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:333:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L333) *style:* **Lines should not be more than 80 characters.**
```r
              if (!all(is.null(inBegin), is.null(inEnd), is.null(outBegin), is.null(outEnd))) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:334:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L334) *style:* **Lines should not be more than 80 characters.**
```r
                  stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to NetworkSummary")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:345:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L345) *style:* **Lines should not be more than 80 characters.**
```r
              ## Test that days is a nonnegative integer the same way as binom.test test x
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:347:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L347) *style:* **Lines should not be more than 80 characters.**
```r
              if (any(is.na(days) | (days < 0)) || max(abs(days - daysr)) > 1e-07) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:362:67:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L362) *style:* **Put spaces around all infix operators.**
```r
              root <- rep(root, each = n.tEnd * n.days, length.out=n)
                                                                 ~^~
```
[R/network-summary.r:367:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L367) *style:* **Lines should not be more than 80 characters.**
```r
          } else if (all(!is.null(inBegin), !is.null(inEnd), !is.null(outBegin), !is.null(outEnd))) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:372:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L372) *style:* **Lines should not be more than 80 characters.**
```r
                  stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to NetworkSummary")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:375:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L375) *style:* **Lines should not be more than 80 characters.**
```r
              stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to NetworkSummary")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:458:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L458) *style:* **Lines should not be more than 80 characters.**
```r
              stop("root, inBegin, inEnd, outBegin and outEnd must have equal length")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:470:24:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L470) *style:* **Put spaces around all infix operators.**
```r
          contact_chain<- .Call("networkSummary",
                      ~^
```
[R/network-summary.r:471:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L471) *style:* **Lines should not be more than 80 characters.**
```r
                                as.integer(factor(x$source, levels = levels(nodes))),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:472:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L472) *style:* **Lines should not be more than 80 characters.**
```r
                                as.integer(factor(x$destination, levels = levels(nodes))),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:474:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L474) *style:* **Lines should not be more than 80 characters.**
```r
                                as.integer(factor(root, levels = levels(nodes))),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:491:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L491) *style:* **Lines should not be more than 80 characters.**
```r
                            ingoingContactChain = contact_chain[["ingoingContactChain"]],
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/network-summary.r:492:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/network-summary.r#L492) *style:* **Lines should not be more than 80 characters.**
```r
                            outgoingContactChain = contact_chain[["outgoingContactChain"]]))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/out-degree.r:119:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/out-degree.r#L119) *style:* **Lines should not be more than 80 characters.**
```r
##'     Get the OutDegree for a data.frame with movements, see details and examples.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/out-degree.r:176:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/out-degree.r#L176) *style:* **Remove spaces before the left parenthesis in a function call.**
```r
          function (x)
                   ^
```
[R/out-degree.r:177:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/out-degree.r#L177) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/out-degree.r:178:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/out-degree.r#L178) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(!identical(x@direction, "out")) {
            ^
```
[R/out-degree.r:182:54:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/out-degree.r#L182) *style:* **Put spaces around all infix operators.**
```r
          return(length(unique(x@destination[x@source==x@root])))
                                                    ~^~~
```
[R/out-degree.r:190:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/out-degree.r#L190) *style:* **Remove spaces before the left parenthesis in a function call.**
```r
          function (x)
                   ^
```
[R/out-degree.r:191:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/out-degree.r#L191) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/out-degree.r:210:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/out-degree.r#L210) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/out-degree.r:211:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/out-degree.r#L211) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(missing(root)) {
            ^
```
[R/out-degree.r:215:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/out-degree.r#L215) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(all(is.null(tEnd), is.null(days))) {
            ^
```
[R/outgoing-contact-chain.r:67:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L67) *style:* **Lines should not be more than 80 characters.**
```r
##'     The \code{\link{OutgoingContactChain}} of the root within the time-interval
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/outgoing-contact-chain.r:77:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L77) *style:* **Lines should not be more than 80 characters.**
```r
##'     Get the OutgoingContactChain for a data.frame with movements, see examples.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/outgoing-contact-chain.r:135:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L135) *style:* **Remove spaces before the left parenthesis in a function call.**
```r
          function (x)
                   ^
```
[R/outgoing-contact-chain.r:136:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L136) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/outgoing-contact-chain.r:137:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L137) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(!identical(x@direction, "out")) {
            ^
```
[R/outgoing-contact-chain.r:138:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L138) *style:* **Lines should not be more than 80 characters.**
```r
              stop("Unable to determine OutgoingContactChain for ingoing contacts")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/outgoing-contact-chain.r:141:47:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L141) *style:* **Commas should always have a space after.**
```r
          return(length(setdiff(x@destination,x@root)))
                                              ^
```
[R/outgoing-contact-chain.r:149:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L149) *style:* **Remove spaces before the left parenthesis in a function call.**
```r
          function (x)
                   ^
```
[R/outgoing-contact-chain.r:150:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L150) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/outgoing-contact-chain.r:169:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L169) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/outgoing-contact-chain.r:170:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L170) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(missing(root)) {
            ^
```
[R/outgoing-contact-chain.r:174:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/outgoing-contact-chain.r#L174) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(all(is.null(tEnd), is.null(days))) {
            ^
```
[R/plot.r:73:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L73) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/plot.r:81:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L81) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(!is.null(tree$ingoing)) {
            ^
```
[R/plot.r:82:70:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L82) *style:* **Put spaces around all infix operators.**
```r
              tree$ingoing <- position_tree(tree$ingoing, orientation="South")
                                                                    ~^~
```
[R/plot.r:83:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L83) *style:* **Lines should not be more than 80 characters.**
```r
              tree$ingoing$bg <- ifelse(tree$ingoing$level > 0, "white", "black")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/plot.r:94:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L94) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(!is.null(tree$outgoing)) {
            ^
```
[R/plot.r:96:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L96) *style:* **Lines should not be more than 80 characters.**
```r
              tree$outgoing$bg <- ifelse(tree$outgoing$level > 0, "gray", "black")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/plot.r:105:17:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L105) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              if(is.null(vertices)) {
                ^
```
[R/plot.r:108:64:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L108) *style:* **Commas should always have a space after.**
```r
                  vertices <- rbind(vertices, tree$outgoing[-1,])
                                                               ^
```
[R/plot.r:112:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L112) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(!is.null(vertices)) {
            ^
```
[R/plot.r:116:17:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L116) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              if(!is.null(edges_in)) {
                ^
```
[R/plot.r:118:32:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L118) *style:* **Put spaces around all infix operators.**
```r
                         length=0)
                              ~^~
```
[R/plot.r:121:17:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L121) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              if(!is.null(edges_out)) {
                ^
```
[R/plot.r:123:32:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/plot.r#L123) *style:* **Put spaces around all infix operators.**
```r
                         length=0)
                              ~^~
```
[R/report.r:22:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L22) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(identical(direction, "in")) {
      ^
```
[R/report.r:30:8:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L30) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    for(i in seq_len(nrow(contacts))) {
       ^
```
[R/report.r:35:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L35) *style:* **Lines should not be more than 80 characters.**
```r
                   paste(rep("<td> </td>", 2L*(contacts$distance[i]-1L)), collapse = ""),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:35:51:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L35) *style:* **Put spaces around all infix operators.**
```r
                   paste(rep("<td> </td>", 2L*(contacts$distance[i]-1L)), collapse = ""),
                                                 ~^~
```
[R/report.r:35:52:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L35) *style:* **Place a space before left parenthesis, except in a function call.**
```r
                   paste(rep("<td> </td>", 2L*(contacts$distance[i]-1L)), collapse = ""),
                                                   ^
```
[R/report.r:35:73:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L35) *style:* **Put spaces around all infix operators.**
```r
                   paste(rep("<td> </td>", 2L*(contacts$distance[i]-1L)), collapse = ""),
                                                                       ~^~
```
[R/report.r:44:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L44) *style:* **Lines should not be more than 80 characters.**
```r
                             2L*(max(contacts$distance-1L) - (contacts$distance[i]-1L))),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:44:32:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L44) *style:* **Put spaces around all infix operators.**
```r
                             2L*(max(contacts$distance-1L) - (contacts$distance[i]-1L))),
                              ~^~
```
[R/report.r:44:33:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
                             2L*(max(contacts$distance-1L) - (contacts$distance[i]-1L))),
                                ^
```
[R/report.r:44:55:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L44) *style:* **Put spaces around all infix operators.**
```r
                             2L*(max(contacts$distance-1L) - (contacts$distance[i]-1L))),
                                                     ~^~
```
[R/report.r:44:83:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L44) *style:* **Put spaces around all infix operators.**
```r
                             2L*(max(contacts$distance-1L) - (contacts$distance[i]-1L))),
                                                                                ~^~
```
[R/report.r:56:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L56) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(identical(direction, "in")) {
      ^
```
[R/report.r:62:77:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L62) *style:* **Commas should always have a space after.**
```r
    contacts <- contacts[order(contacts$t, contacts$id, decreasing = FALSE),]
                                                                            ^
```
[R/report.r:73:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L73) *style:* **Lines should not be more than 80 characters.**
```r
    as.character(unlist(by(contacts, sprintf("%s - %s", contacts$lhs, contacts$rhs), function(x) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:78:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L78) *style:* **Lines should not be more than 80 characters.**
```r
                   sprintf('<h3><a name="%s-%s-%s">%s %s %s</a></h3>', direction,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:81:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L81) *style:* **Lines should not be more than 80 characters.**
```r
                   "<tr><th>Date</th><th>Id</th><th>N</th><th>Category</th><th>Source</th><th>Destination</th></tr>")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:83:12:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L83) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        for(i in seq_len(nrow(x))) {
           ^
```
[R/report.r:104:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L104) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
{
^
```
[R/report.r:113:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L113) *style:* **Lines should not be more than 80 characters.**
```r
               sprintf("<h3 align='center'>Version: %s</h3>", packageVersion("EpiContactTrace")),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:118:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L118) *style:* **Lines should not be more than 80 characters.**
```r
               sprintf("<tr><td>In begin date:</td><td>%s</td></tr>", x@ingoingContacts@tBegin),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:119:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L119) *style:* **Lines should not be more than 80 characters.**
```r
               sprintf("<tr><td>In end date:</td><td>%s</td></tr>", x@ingoingContacts@tEnd),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:120:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L120) *style:* **Lines should not be more than 80 characters.**
```r
               sprintf("<tr><td>In days:</td><td>%i</td></tr>", x@ingoingContacts@tEnd - x@ingoingContacts@tBegin),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:121:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L121) *style:* **Lines should not be more than 80 characters.**
```r
               sprintf("<tr><td>In degree:</td><td>%i</td></tr>", InDegree(x@ingoingContacts)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:122:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L122) *style:* **Lines should not be more than 80 characters.**
```r
               sprintf("<tr><td>Ingoing contact chain:</td><td>%i</td></tr>", IngoingContactChain(x@ingoingContacts)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:126:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L126) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(length(x@ingoingContacts@source) > 0L) {
      ^
```
[R/report.r:136:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L136) *style:* **Lines should not be more than 80 characters.**
```r
        lines <- c(lines, "<p>No ingoing contacts during the search period.</p>")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:144:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L144) *style:* **Lines should not be more than 80 characters.**
```r
               sprintf("<tr><td>Out begin date:</td><td>%s</td></tr>", x@outgoingContacts@tBegin),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:145:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L145) *style:* **Lines should not be more than 80 characters.**
```r
               sprintf("<tr><td>Out end date:</td><td>%s</td></tr>", x@outgoingContacts@tEnd),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:146:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L146) *style:* **Lines should not be more than 80 characters.**
```r
               sprintf("<tr><td>Out days:</td><td>%i</td></tr>", x@outgoingContacts@tEnd - x@outgoingContacts@tBegin),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:147:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L147) *style:* **Lines should not be more than 80 characters.**
```r
               sprintf("<tr><td>Out degree:</td><td>%i</td></tr>", OutDegree(x@outgoingContacts)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:148:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L148) *style:* **Lines should not be more than 80 characters.**
```r
               sprintf("<tr><td>Outgoing contact chain:</td><td>%i</td></tr>", OutgoingContactChain(x@outgoingContacts)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:152:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L152) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(length(x@outgoingContacts@source) > 0L) {
      ^
```
[R/report.r:162:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L162) *style:* **Lines should not be more than 80 characters.**
```r
        lines <- c(lines, "<p>No outgoing contacts during the search period.</p>")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:165:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L165) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(length(x@ingoingContacts@source) > 0L) {
      ^
```
[R/report.r:177:69:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L177) *style:* **Commas should always have a space after.**
```r
                   html_detailed_table(df[df$destination == df$root,], "in"))
                                                                    ^
```
[R/report.r:179:44:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L179) *style:* **Commas should always have a space after.**
```r
        df <- df[df$destination != df$root,]
                                           ^
```
[R/report.r:180:11:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L180) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if(nrow(df) > 0) {
          ^
```
[R/report.r:188:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L188) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(length(x@outgoingContacts@source) > 0L) {
      ^
```
[R/report.r:199:53:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L199) *style:* **Commas should always have a space after.**
```r
        html_detailed_table(df[df$source == df$root,], "out")
                                                    ^
```
[R/report.r:201:39:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L201) *style:* **Commas should always have a space after.**
```r
        df <- df[df$source != df$root,]
                                      ^
```
[R/report.r:202:11:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L202) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if(nrow(df) > 0) {
          ^
```
[R/report.r:238:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L238) *style:* **Lines should not be more than 80 characters.**
```r
##' available. To generate pdf files a TeX installation must exist to compile the
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:261:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L261) *style:* **Lines should not be more than 80 characters.**
```r
##' @param template the Sweave template file to use. If none is provided, the default
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:333:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L333) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/report.r:346:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L346) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(identical(format, "html")) {
            ^
```
[R/report.r:347:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L347) *style:* **Lines should not be more than 80 characters.**
```r
              writeLines(html_report(object), con = sprintf("%s.html", object@root))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:349:17:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L349) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              if(is.null(template)) {
                ^
```
[R/report.r:350:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L350) *style:* **Lines should not be more than 80 characters.**
```r
                  template <- system.file("Sweave/speak-latex.rnw", package="EpiContactTrace")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:350:76:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L350) *style:* **Put spaces around all infix operators.**
```r
                  template <- system.file("Sweave/speak-latex.rnw", package="EpiContactTrace")
                                                                          ~^~
```
[R/report.r:353:45:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L353) *style:* **Put spaces around all infix operators.**
```r
              utils::Sweave(template, syntax="SweaveSyntaxNoweb")
                                           ~^~
```
[R/report.r:354:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L354) *style:* **Lines should not be more than 80 characters.**
```r
              tools::texi2pdf(sub("rnw$", "tex", basename(template)), clean=TRUE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:354:76:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L354) *style:* **Put spaces around all infix operators.**
```r
              tools::texi2pdf(sub("rnw$", "tex", basename(template)), clean=TRUE)
                                                                          ~^~
```
[R/report.r:355:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L355) *style:* **Lines should not be more than 80 characters.**
```r
              file.rename(sub("rnw$", "pdf", basename(template)), sprintf("%s.pdf", object@root))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/report.r:368:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L368) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/report.r:371:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L371) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(!all(sapply(object, function(x) length(x)) == 1)) {
            ^
```
[R/report.r:375:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L375) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(!all(sapply(object, function(x) class(x)) == "ContactTrace")) {
            ^
```
[R/report.r:380:51:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L380) *style:* **Put spaces around all infix operators.**
```r
                                            format=format,
                                                 ~^~
```
[R/report.r:381:53:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L381) *style:* **Put spaces around all infix operators.**
```r
                                            template=template))
                                                   ~^~
```
[R/report.r:403:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/report.r#L403) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
{
^
```
[R/shortest-paths.r:128:12:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L128) *style:* **Only use double-quotes.**
```r
setGeneric('ShortestPaths',
           ^~~~~~~~~~~~~~~
```
[R/shortest-paths.r:129:24:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L129) *style:* **Only use double-quotes.**
```r
           signature = 'x',
                       ^~~
```
[R/shortest-paths.r:130:45:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L130) *style:* **Only use double-quotes.**
```r
           function(x, ...) standardGeneric('ShortestPaths'))
                                            ^~~~~~~~~~~~~~~
```
[R/shortest-paths.r:134:11:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L134) *style:* **Only use double-quotes.**
```r
setMethod('ShortestPaths',
          ^~~~~~~~~~~~~~~
```
[R/shortest-paths.r:135:25:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L135) *style:* **Only use double-quotes.**
```r
          signature(x = 'ContactTrace'),
                        ^~~~~~~~~~~~~~
```
[R/shortest-paths.r:137:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L137) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/shortest-paths.r:139:44:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L139) *style:* **Commas should always have a space after.**
```r
          ns.in <- ns[ns$direction == "in",]
                                           ^
```
[R/shortest-paths.r:140:46:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L140) *style:* **Commas should always have a space after.**
```r
          ns.out <- ns[ns$direction == "out",]
                                             ^
```
[R/shortest-paths.r:143:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L143) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(nrow(ns.in)) {
            ^
```
[R/shortest-paths.r:144:66:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L144) *style:* **Commas should always have a space after.**
```r
              ns.in <- ns.in[order(ns.in$distance, ns.in$source),]
                                                                 ^
```
[R/shortest-paths.r:145:56:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L145) *style:* **Commas should always have a space after.**
```r
              ns.in <- ns.in[!duplicated(ns.in$source),]
                                                       ^
```
[R/shortest-paths.r:150:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L150) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(nrow(ns.out)) {
            ^
```
[R/shortest-paths.r:151:75:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L151) *style:* **Commas should always have a space after.**
```r
              ns.out <- ns.out[order(ns.out$distance, ns.out$destination),]
                                                                          ^
```
[R/shortest-paths.r:152:64:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L152) *style:* **Commas should always have a space after.**
```r
              ns.out <- ns.out[!duplicated(ns.out$destination),]
                                                               ^
```
[R/shortest-paths.r:157:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L157) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(is.null(result)) {
            ^
```
[R/shortest-paths.r:169:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L169) *style:* **functions should have cyclomatic complexity of less than 15, this has 41.**
```r
setMethod('ShortestPaths',
^
```
[R/shortest-paths.r:169:11:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L169) *style:* **Only use double-quotes.**
```r
setMethod('ShortestPaths',
          ^~~~~~~~~~~~~~~
```
[R/shortest-paths.r:170:25:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L170) *style:* **Only use double-quotes.**
```r
          signature(x = 'data.frame'),
                        ^~~~~~~~~~~~
```
[R/shortest-paths.r:179:7:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L179) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/shortest-paths.r:183:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L183) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(!all(c('source', 'destination', 't') %in% names(x))) {
            ^
```
[R/shortest-paths.r:183:21:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L183) *style:* **Only use double-quotes.**
```r
          if(!all(c('source', 'destination', 't') %in% names(x))) {
                    ^~~~~~~~
```
[R/shortest-paths.r:183:31:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L183) *style:* **Only use double-quotes.**
```r
          if(!all(c('source', 'destination', 't') %in% names(x))) {
                              ^~~~~~~~~~~~~
```
[R/shortest-paths.r:183:46:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L183) *style:* **Only use double-quotes.**
```r
          if(!all(c('source', 'destination', 't') %in% names(x))) {
                                             ^~~
```
[R/shortest-paths.r:184:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L184) *style:* **Only use double-quotes.**
```r
              stop('x must contain the columns source, destination and t.')
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:187:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L187) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(any(is.factor(x$source), is.integer(x$source))) {
            ^
```
[R/shortest-paths.r:189:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L189) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          } else if(!is.character(x$source)) {
                   ^
```
[R/shortest-paths.r:190:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L190) *style:* **Only use double-quotes.**
```r
              stop('invalid class of column source in x')
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:193:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L193) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(any(is.factor(x$destination), is.integer(x$destination))) {
            ^
```
[R/shortest-paths.r:195:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L195) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          } else if(!is.character(x$destination)) {
                   ^
```
[R/shortest-paths.r:196:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L196) *style:* **Only use double-quotes.**
```r
              stop('invalid class of column destination in x')
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:199:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L199) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(any(is.character(x$t), is.factor(x$t))) {
            ^
```
[R/shortest-paths.r:203:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L203) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(!identical(class(x$t), 'Date')) {
            ^
```
[R/shortest-paths.r:203:37:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L203) *style:* **Only use double-quotes.**
```r
          if(!identical(class(x$t), 'Date')) {
                                    ^~~~~~
```
[R/shortest-paths.r:204:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L204) *style:* **Only use double-quotes.**
```r
              stop('invalid class of column t in x')
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:207:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L207) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(any(is.na(x$t))) {
            ^
```
[R/shortest-paths.r:213:29:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L213) *style:* **Only use double-quotes.**
```r
          x <- unique(x[, c('source', 'destination', 't')])
                            ^~~~~~~~
```
[R/shortest-paths.r:213:39:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L213) *style:* **Only use double-quotes.**
```r
          x <- unique(x[, c('source', 'destination', 't')])
                                      ^~~~~~~~~~~~~
```
[R/shortest-paths.r:213:54:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L213) *style:* **Only use double-quotes.**
```r
          x <- unique(x[, c('source', 'destination', 't')])
                                                     ^~~
```
[R/shortest-paths.r:216:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L216) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(missing(root)) {
            ^
```
[R/shortest-paths.r:217:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L217) *style:* **Only use double-quotes.**
```r
              stop('Missing root in call to ShortestPaths')
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:220:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L220) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(any(is.factor(root), is.integer(root))) {
            ^
```
[R/shortest-paths.r:222:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L222) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          } else if(is.numeric(root)) {
                   ^
```
[R/shortest-paths.r:227:17:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L227) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              if(any(max(abs(root - rootr) > 1e-07))) {
                ^
```
[R/shortest-paths.r:232:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L232) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          } else if(!is.character(root)) {
                   ^
```
[R/shortest-paths.r:233:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L233) *style:* **Only use double-quotes.**
```r
              stop('invalid class of root')
                   ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:238:13:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L238) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if(all(!is.null(tEnd), !is.null(days))) {
            ^
```
[R/shortest-paths.r:241:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L241) *style:* **Lines should not be more than 80 characters.**
```r
              if(!all(is.null(inBegin), is.null(inEnd), is.null(outBegin), is.null(outEnd))) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:241:17:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L241) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              if(!all(is.null(inBegin), is.null(inEnd), is.null(outBegin), is.null(outEnd))) {
                ^
```
[R/shortest-paths.r:242:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L242) *style:* **Lines should not be more than 80 characters.**
```r
                  stop('Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to ShortestPaths')
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:242:24:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L242) *style:* **Only use double-quotes.**
```r
                  stop('Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to ShortestPaths')
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:245:17:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L245) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              if(any(is.character(tEnd), is.factor(tEnd))) {
                ^
```
[R/shortest-paths.r:249:17:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L249) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              if(!identical(class(tEnd), 'Date')) {
                ^
```
[R/shortest-paths.r:249:42:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L249) *style:* **Only use double-quotes.**
```r
              if(!identical(class(tEnd), 'Date')) {
                                         ^~~~~~
```
[R/shortest-paths.r:256:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L256) *style:* **Lines should not be more than 80 characters.**
```r
              if (any(is.na(days) | (days < 0)) || max(abs(days - daysr)) > 1e-07) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:271:37:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L271) *style:* **Put spaces around all infix operators.**
```r
              root <- rep(root, each=n.tEnd*n.days, length.out=n)
                                   ~^~
```
[R/shortest-paths.r:271:44:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L271) *style:* **Put spaces around all infix operators.**
```r
              root <- rep(root, each=n.tEnd*n.days, length.out=n)
                                          ~^~
```
[R/shortest-paths.r:271:63:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L271) *style:* **Put spaces around all infix operators.**
```r
              root <- rep(root, each=n.tEnd*n.days, length.out=n)
                                                             ~^~
```
[R/shortest-paths.r:272:38:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L272) *style:* **Put spaces around all infix operators.**
```r
              inEnd <- rep(tEnd, each=n.days, length.out=n)
                                    ~^~
```
[R/shortest-paths.r:272:57:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L272) *style:* **Put spaces around all infix operators.**
```r
              inEnd <- rep(tEnd, each=n.days, length.out=n)
                                                       ~^~
```
[R/shortest-paths.r:273:48:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L273) *style:* **Put spaces around all infix operators.**
```r
              inBegin <- inEnd - rep(days, each=1, length.out=n)
                                              ~^~
```
[R/shortest-paths.r:273:62:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L273) *style:* **Put spaces around all infix operators.**
```r
              inBegin <- inEnd - rep(days, each=1, length.out=n)
                                                            ~^~
```
[R/shortest-paths.r:276:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L276) *style:* **Lines should not be more than 80 characters.**
```r
          } else if(all(!is.null(inBegin), !is.null(inEnd), !is.null(outBegin), !is.null(outEnd))) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:276:20:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L276) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          } else if(all(!is.null(inBegin), !is.null(inEnd), !is.null(outBegin), !is.null(outEnd))) {
                   ^
```
[R/shortest-paths.r:280:17:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L280) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              if(!all(is.null(tEnd), is.null(days))) {
                ^
```
[R/shortest-paths.r:281:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L281) *style:* **Lines should not be more than 80 characters.**
```r
                  stop('Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to ShortestPaths')
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:281:24:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L281) *style:* **Only use double-quotes.**
```r
                  stop('Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to ShortestPaths')
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/shortest-paths.r:284:1:](https://github.com/stewid/EpiContactTrace/blob/36fd2707e2a4ea4bf90acc43ea2bcdebe05a30b4/R/shortest-paths.r#L284) *style:* **Lines should not be more than 80 characters.**
```r
              stop('Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to ShortestPaths')
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


Successfully deployed to following URLs:

* https://trees-dr5depsoc.now.sh
* https://teamtrees.now.sh
* https://treecount.now.sh
* https://trees.filiptronicek.now.sh
* https://trees-git-master.filiptronicek.now.sh


Deployment failed with the following error:

~~~
The option `--target` is not supported for Now 1.0 deployments. To manually alias a deployment, use `now alias` instead.
~~~


Map warning can be tested by turning off JavaScript:

- Chrome: On the index.html page, click the ⓘ in the very left of the address bar (where the lock is on https websites), click site settings. A new window will open. Find the JavaScript row in that window and set to block and reload index.html and scroll to where the map usually is. Be sure to set JavaScript back to allow before you try and use the page again.

- Firefox: Type about:config into address bar, scroll to (or search for) javascript.enabled row, doubleclick anywhere on that row to change its status to disabled. Refresh index.html and scroll to where the map usually is. Be sure to set JavaScript back to allow before you try and use the page again.

- Safari: I don't use Safari, follow the directions on this page: https://www.lifewire.com/disable-javascript-in-safari-4103708.


 با سلام
با عرض پوزش برای عدم حضور امروز
جلسه از این به بعد ثابت روزهای سه شنبه ساعت 11:40 اتاق 209

On Sat, Nov 2, 2019 at 10:24 AM faramarz <notifications@github.com> wrote:

> شرمنده استاد توی ایمیل قبلیم یادم رفت فایل رو الحاق کنم
>
> On 2 Nov 2019 10:05, Faramarz Qoshchi <faramarzqoshchi@hotmail.com>
> wrote:
> سلام استاد وقت بخیر
> امروز ساعت ۹ تا ۱۰ اومد دانشگاه تشرف نداشتین، اگه امکانش باشه یک تایم
> هفتگی ثابت مشخص کنید برام تا روی پروژه کار کنیم ممنون میشیم، من برنامه
> دانشگاهم رو الحاق کردم.(به علاوه هر روز ۲ ظهر به بعد شرکت هستم).
>
> On 1 Nov 2019 19:18, rojiar <notifications@github.com> wrote:
>
> I saw and read your codes
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub<
> https://github.com/faramarzQ/final-project/commit/feeb06df94bb546f235ade264a42cd954e30b715?email_source=notifications&email_token=AGKXH6OP4VHV3SFOEUPXAA3QRRFVFA5CNFSM4JH4RGTKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBCDPVG#commitcomment-35765926>,
> or unsubscribe<
> https://github.com/notifications/unsubscribe-auth/AGKXH6MGSVSGBPY6YP6TWQ3QRRFVFANCNFSM4JH4RGTA>.
>
>
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/faramarzQ/final-project/commit/feeb06df94bb546f235ade264a42cd954e30b715?email_source=notifications&email_token=AFKAICTMM2CIPSFFGS56KBLQRUP3JA5CNFSM4JH4RGTKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBCDWYK#commitcomment-35773194>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AFKAICUFL6VOZT3E7MWS7UDQRUP3JANCNFSM4JH4RGTA>
> .
>

--
   Yours truly,
       Rojiar Pir mohammadiani

Assistant Professor at University of Kurdistan


How do you install mysql for terminal, please show me the way


https://stackoverflow.com/questions/58668940/how-to-convert-2d-array-string-elements-to-int-using-parseint

Use this to post the answer, since I have asked the same question in the stack overflow. Hoping to get a solution soon.


Deployment failed with the following error:

~~~
Your `package.json` file is missing a `build` property inside the `script` property.
~~~


1. bỏ onClick khỏi interface BaseTower và chuyển sang class Tower bởi cả ActiveTower lẫn EmptyTower đều có hàm onClick tương đối giống nhau
2. bỏ hàm getPosX và getPosY vì các tháp đều là con của GameObject và lớp này đã có sẵn 2 hàm đó
3. bỏ hàm draw cũng vì GameObject đã có sẵn hàm đó
4. cho abstract class Tower implements các interface, các tháp chỉ việc extends Tower chứ không cần implements Updatable và BaseTower nữa


Yep! :)  Feel free to open issues anytime you notice anything that could be improved.


[Your benchmark job](https://github.com/JuliaLang/julia/commit/3f0e7d6b7dcb55a02bd6173c0610f6b48c54ec13#commitcomment-35772620) has completed - possible performance regressions were detected. A full report can be found [here](https://github.com/JuliaCI/BaseBenchmarkReports/blob/14769614f86e4ccfce2f8ca254081b2daaee751d/daily_2019_11_02/report.md). cc @ararslan


Successfully deployed to following URLs:

* https://trees-3hsauxqax.now.sh
* https://teamtrees.now.sh
* https://treecount.now.sh
* https://trees.filiptronicek.now.sh
* https://trees-git-master.filiptronicek.now.sh


Successfully deployed to following URLs:

* https://timreedcouk-fji5v9c5e.now.sh
* https://timreed.co.uk
* https://www.timreed.co.uk
* https://timreedcouk.ticktockreed.now.sh
* https://timreedcouk-git-master.ticktockreed.now.sh


Successfully deployed to following URLs:

* https://labulaka521githubio-kx58x7gau.now.sh
* https://labulaka521githubio.labulakalia.now.sh
* https://labulaka521githubio-git-master.labulakalia.now.sh


Deployment failed with the following error:

~~~
You defined 1 build that did not match any source files (please ensure they are NOT defined in .nowignore):
~~~


How to fix this in Magento 2.3.0 and lower version. Does anyone have an any idea?


TiA


The server would have to send the Content-MD5 header.

S3 doesn't do it (and you can't add it manually) but the Finnish files are
stored in Azure blob storage, which apparently does so.

Perhaps we can do the same.

Holger Bruch <notifications@github.com> schrieb am Fr., 1. Nov. 2019, 22:38:

> That way, the script will only work for Herrenberg now? What would it take
> to let the (or another) server send the fileHash?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/mfdz/OpenTripPlanner-data-container/commit/fa63fda6057dce679661f82f76c580b47427c75d?email_source=notifications&email_token=AABE6MX7JFKWMCH7RK7VHDTQRSOWNA5CNFSM4JIAJIFKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBCDUGY#commitcomment-35770584>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AABE6MTHHP2BTCGKM7RDXLLQRSOWNANCNFSM4JIAJIFA>
> .
>


Oops, that would be a typo ...


Зачтено.


Хорошо, задание 2 принято


Принята 1 часть 1 задания.


thieu dòng $this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
đã thêm vào branch tuan


This change seems to cause compile error.


This seems like excessive string copying & conversion.
I count 3. And a leak.
Really suggest either
1. Move to metadata and return a stringhandle
Or
2. Use MonoString** parameter.


Now could not deploy this pull request since the `now.json` file does not contain valid JSON.

	Click here to see the contents of `now.json`

{
	"version": 2,
<<<<<<>>>>>> 40bc047ffef309c58379ab43c70bfc610eb01192
		"env": {
			"GITHUB_TOKEN": "@github_token"
		}
	},
	"env": {
		"GITHUB_TOKEN": "@github_token"
	}
}

For more information on now.json visit https://zeit.co/docs/features/configuration#now.json.


There's a crasher somewhere. Here's how to reproduce.

* File -> New
* Don't need File New Hierarchy Setup
* [New] for New Account
* Input basic new account details, eg "Bank-USD" for name
* Click [OK] -> crash

gdb Backtrace
```
#0  0x00007ffff728aed2 in gtk_tree_model_get_valist () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#1  0x00007ffff728b203 in gtk_tree_model_get () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#2  0x00007ffff7b9f4d0 in sort_by_string (f_model=0x555555932970, f_iter1=0x7fffffffc000, f_iter2=0x7fffffffc020, user_data=0x0)
    at /home/chris/sources/code/gnucash/gnucash/gnome-utils/gnc-tree-view-account.c:316
#3  0x00007ffff7292275 in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#4  0x00007ffff7c7ab3c in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff7c7b01f in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ffff7c7bef4 in g_sequence_insert_sorted_iter () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ffff7c7bfd8 in g_sequence_insert_sorted () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffff7295310 in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
```


Successfully deployed to following URLs:

* https://blogapi2ucn-f3ridu6mi.now.sh
* https://ap.api2u.cn
* https://blogapi2ucn.youngje.now.sh
* https://blogapi2ucn-git-master.youngje.now.sh


Thanks for taking a look! I had no idea type definitions were made from JSDoc :scream: It's so cool!


Successfully deployed to following URLs:

* https://portfolio-ajqf01ttd.now.sh
* https://portfolio.danekkalivoda.now.sh
* https://portfolio-git-master.danekkalivoda.now.sh


Deployment failed with the following error:

~~~
Your `package.json` file is missing a `build` property inside the `script` property.
~~~


该翻译文档需要审查...


currency=BTC&version=1&cmd=get_callback_address&key=your_api_public_key&format=json

and the HMAC would be: 5590eac015e7692902e1a9cd5464f1d305a4b593d2f1343d826ac5affc5ac6f960a5167284f9bf31295cba0e04df9d8f7087935b5344c468ccf2dd036e159102


Please proceed support for my transaction..Thanks


@ArtemKoinash Стоит разделить этот один большой сценарий на несколько маленьких. Т.к. при одной проверке, остальной функционал не проверится, т.к. код не пойдет дальше


You coment


Successfully deployed to following URLs:

* https://publica-d3xcx6ij5.now.sh
* https://publica-pragmatic-zonkey.now.sh
* https://publica.gseijas1305.now.sh
* https://publica-git-master.gseijas1305.now.sh