[inst/doc/vignette_nltt_statistic.R:39:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/inst/doc/vignette_nltt_statistic.R#L39) *style:* **lines should not be more than 80 characters.**
```r
rect(par("usr")[1],par("usr")[3],par("usr")[2],par("usr")[4], col = colors()[240])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/doc/vignette_nltt_statistic.R:39:20:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/inst/doc/vignette_nltt_statistic.R#L39) *style:* **Commas should always have a space after.**
```r
rect(par("usr")[1],par("usr")[3],par("usr")[2],par("usr")[4], col = colors()[240])
                   ^
```
[inst/doc/vignette_nltt_statistic.R:39:34:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/inst/doc/vignette_nltt_statistic.R#L39) *style:* **Commas should always have a space after.**
```r
rect(par("usr")[1],par("usr")[3],par("usr")[2],par("usr")[4], col = colors()[240])
                                 ^
```
[inst/doc/vignette_nltt_statistic.R:39:48:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/inst/doc/vignette_nltt_statistic.R#L39) *style:* **Commas should always have a space after.**
```r
rect(par("usr")[1],par("usr")[3],par("usr")[2],par("usr")[4], col = colors()[240])
                                               ^
```
[inst/doc/vignette_nltt_statistic.R:45:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/inst/doc/vignette_nltt_statistic.R#L45) *style:* **lines should not be more than 80 characters.**
```r
  nLTT::nltt_lines(p, lwd = 3, lty = 2, col = grDevices::heat.colors(n = 4)[col_index])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/doc/vignette_nltt_statistic.R:54:27:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/inst/doc/vignette_nltt_statistic.R#L54) *style:* **Variable and function names should be all lowercase.**
```r
  nltt_stats_exact[i]  <- nLTTstat_exact(species_tree, p)
                          ^~~~~~~~~~~~~~
```
[inst/doc/vignette_nltt_statistic.R:55:27:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/inst/doc/vignette_nltt_statistic.R#L55) *style:* **Variable and function names should be all lowercase.**
```r
  nltt_stats_approx[i] <- nLTTstat(species_tree, p)
                          ^~~~~~~~
```
[R/ABC_SMC.R:19:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
  	#Just checking
  ^
```
[R/ABC_SMC.R:20:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r
  	stop("mcmc_nltt: ",
  ^
```
[R/ABC_SMC.R:21:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
  	 "initial parameter values have to be above zero\n",
  ^
```
[R/ABC_SMC.R:22:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L22) *style:* **Use two spaces to indent, never tabs.**
```r
  	 "but mu was ",parameters[2]," instead")
  ^
```
[R/ABC_SMC.R:67:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L67) *style:* **Use two spaces to indent, never tabs.**
```r
	        new_pp        <- likelihood_function(parameters, phy)
^
```
[R/ABC_SMC.R:68:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L68) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[R/ABC_SMC.R:69:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L69) *style:* **Use two spaces to indent, never tabs.**
```r
	        #accept or reject
^
```
[R/ABC_SMC.R:70:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L70) *style:* **Use two spaces to indent, never tabs.**
```r
	        if ( is.finite(new_pp) &&
^
```
[R/ABC_SMC.R:71:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L71) *style:* **Use two spaces to indent, never tabs.**
```r
	          is.finite(hr) &&
^
```
[R/ABC_SMC.R:72:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L72) *style:* **Use two spaces to indent, never tabs.**
```r
	          new_pp - pp + hr > log(stats::runif(1, 0, 1)) ) {
^
```
[R/ABC_SMC.R:73:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L73) *style:* **Use two spaces to indent, never tabs.**
```r
	          pp <- new_pp
^
```
[R/ABC_SMC.R:74:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L74) *style:* **Use two spaces to indent, never tabs.**
```r
	        } else {
^
```
[R/ABC_SMC.R:75:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L75) *style:* **Use two spaces to indent, never tabs.**
```r
	          parameters[j] <- eta
^
```
[R/ABC_SMC.R:76:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L76) *style:* **Use two spaces to indent, never tabs.**
```r
	        }
^
```
[R/ABC_SMC.R:77:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L77) *style:* **Use two spaces to indent, never tabs.**
```r
	    } else {
^
```
[R/ABC_SMC.R:78:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L78) *style:* **Use two spaces to indent, never tabs.**
```r
	    		parameters[j] <- eta
^
```
[R/ABC_SMC.R:78:6:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L78) *style:* **Use two spaces to indent, never tabs.**
```r
	    		parameters[j] <- eta
     ^~
```
[R/ABC_SMC.R:79:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L79) *style:* **Use two spaces to indent, never tabs.**
```r
	    }
^
```
[R/ABC_SMC.R:280:26:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L280) *style:* **Trailing whitespace is superfluous.**
```r
  #check data type of phy
                         ^
```
[R/ABC_SMC.R:287:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L287) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/ABC_SMC.R:293:5:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L293) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(parameters[2] < 0) {
    ^
```
[R/ABC_SMC.R:295:23:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L295) *style:* **Trailing whitespace is superfluous.**
```r
  	stop("mcmc_nltt: ",
                      ^
```
[R/ABC_SMC.R:340:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L340) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/ABC_SMC.R:341:11:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L341) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if(parameters[j] >= 0 & parameters[1] > 0) {
          ^
```
[R/ABC_SMC.R:341:52:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L341) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
        if(parameters[j] >= 0 & parameters[1] > 0) {
                                                   ^
```
[R/ABC_SMC.R:341:53:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L341) *style:* **Trailing whitespace is superfluous.**
```r
        if(parameters[j] >= 0 & parameters[1] > 0) {
                                                    ^~~~~~~~
```
[R/ABC_SMC.R:342:31:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L342) *style:* **Put spaces around all infix operators.**
```r
	        new_pp        <- likelihood_function(parameters, phy)
                             ~^~~
```
[R/ABC_SMC.R:343:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L343) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/ABC_SMC.R:345:20:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L345) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	        if ( is.finite(new_pp) &&
                   ^
```
[R/ABC_SMC.R:347:26:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L347) *style:* **Put spaces around all infix operators.**
```r
	          new_pp - pp + hr > log(stats::runif(1, 0, 1)) ) {
                         ^~
```
[R/ABC_SMC.R:347:31:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L347) *style:* **Put spaces around all infix operators.**
```r
	          new_pp - pp + hr > log(stats::runif(1, 0, 1)) ) {
                              ^~
```
[R/ABC_SMC.R:347:36:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L347) *style:* **Put spaces around all infix operators.**
```r
	          new_pp - pp + hr > log(stats::runif(1, 0, 1)) ) {
                                  ~^~
```
[R/ABC_SMC.R:348:22:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/R/ABC_SMC.R#L348) *style:* **Put spaces around all infix operators.**
```r
	          pp <- new_pp
                    ~^~~
```
[tests/testthat/test_calculate_weight.R:2:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L2) *style:* **Use two spaces to indent, never tabs.**
```r
	weights <- rep(1, 2);
^
```
[tests/testthat/test_calculate_weight.R:3:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L3) *style:* **Use two spaces to indent, never tabs.**
```r
	particles <- list();
^
```
[tests/testthat/test_calculate_weight.R:4:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L4) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:2) {
^
```
[tests/testthat/test_calculate_weight.R:5:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L5) *style:* **Use two spaces to indent, never tabs.**
```r
		particles[[i]] <- c(10, 10)
^~
```
[tests/testthat/test_calculate_weight.R:5:17:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L5) *style:* **Put spaces around all infix operators.**
```r
	weights <- rep(1, 2);
               ~^
```
[tests/testthat/test_calculate_weight.R:6:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L6) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[tests/testthat/test_calculate_weight.R:6:19:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L6) *style:* **Put spaces around all infix operators.**
```r
	particles <- list();
                 ~^~~
```
[tests/testthat/test_calculate_weight.R:7:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L7) *style:* **Use two spaces to indent, never tabs.**
```r
	sigma <- 1;
^
```
[tests/testthat/test_calculate_weight.R:7:12:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L7) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:2) {
           ^
```
[tests/testthat/test_calculate_weight.R:8:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L8) *style:* **Use two spaces to indent, never tabs.**
```r
	prior_density_function <- function(x) {
^
```
[tests/testthat/test_calculate_weight.R:9:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
		dunif(x[1], min=0, max=1000) *
^~
```
[tests/testthat/test_calculate_weight.R:10:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
		dunif(x[2], min=0, max=1000) }
^~
```
[tests/testthat/test_calculate_weight.R:11:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L11) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[tests/testthat/test_calculate_weight.R:11:32:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L11) *style:* **Put spaces around all infix operators.**
```r
	prior_density_function <- function(x) {
                              ~^~~
```
[tests/testthat/test_calculate_weight.R:12:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_equal(
^
```
[tests/testthat/test_calculate_weight.R:13:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
		calculate_weight(weights, particles, current=c(5, 5), sigma, prior_density_function), #log(5) - log(10) == -1 * (log(20) - log(10))
^~
```
[tests/testthat/test_calculate_weight.R:13:46:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L13) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
		dunif(x[2], min=0, max=1000) }
                                             ^
```
[tests/testthat/test_calculate_weight.R:14:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
		calculate_weight(weights, particles, current=c(20, 20), sigma, prior_density_function), #so these should be equal, because jumping densities are symmetric (dnorm)
^~
```
[tests/testthat/test_calculate_weight.R:14:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L14) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[tests/testthat/test_calculate_weight.R:15:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r
		tolerance = 0.0001
^~
```
[tests/testthat/test_calculate_weight.R:16:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_calculate_weight.R:16:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L16) *style:* **lines should not be more than 80 characters.**
```r
		calculate_weight(weights, particles, current=c(5, 5), sigma, prior_density_function), #log(5) - log(10) == -1 * (log(20) - log(10))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_calculate_weight.R:16:61:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L16) *style:* **Put spaces around all infix operators.**
```r
		calculate_weight(weights, particles, current=c(5, 5), sigma, prior_density_function), #log(5) - log(10) == -1 * (log(20) - log(10))
                                                           ~^~
```
[tests/testthat/test_calculate_weight.R:16:90:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L16) *style:* **Commented code should be removed.**
```r
		calculate_weight(weights, particles, current=c(5, 5), sigma, prior_density_function), #log(5) - log(10) == -1 * (log(20) - log(10))
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_calculate_weight.R:17:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[tests/testthat/test_calculate_weight.R:17:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L17) *style:* **lines should not be more than 80 characters.**
```r
		calculate_weight(weights, particles, current=c(20, 20), sigma, prior_density_function), #so these should be equal, because jumping densities are symmetric (dnorm)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_calculate_weight.R:17:61:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L17) *style:* **Put spaces around all infix operators.**
```r
		calculate_weight(weights, particles, current=c(20, 20), sigma, prior_density_function), #so these should be equal, because jumping densities are symmetric (dnorm)
                                                           ~^~
```
[tests/testthat/test_calculate_weight.R:18:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_equal(
^
```
[tests/testthat/test_calculate_weight.R:19:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
		calculate_weight(weights, particles, current=c(5, 5), sigma, prior_density_function),
^~
```
[tests/testthat/test_calculate_weight.R:20:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r
		calculate_weight(weights, particles, current=c(5.0, 5.0), sigma, prior_density_function),
^~
```
[tests/testthat/test_calculate_weight.R:20:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L20) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[tests/testthat/test_calculate_weight.R:21:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
		tolerance = 0.0001
^~
```
[tests/testthat/test_calculate_weight.R:22:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L22) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_calculate_weight.R:22:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L22) *style:* **lines should not be more than 80 characters.**
```r
		calculate_weight(weights, particles, current=c(5, 5), sigma, prior_density_function),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_calculate_weight.R:22:61:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L22) *style:* **Put spaces around all infix operators.**
```r
		calculate_weight(weights, particles, current=c(5, 5), sigma, prior_density_function),
                                                           ~^~
```
[tests/testthat/test_calculate_weight.R:22:88:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L22) *style:* **Trailing whitespace is superfluous.**
```r
		calculate_weight(weights, particles, current=c(5, 5), sigma, prior_density_function),
                                                                                ^
```
[tests/testthat/test_calculate_weight.R:23:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[tests/testthat/test_calculate_weight.R:23:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L23) *style:* **lines should not be more than 80 characters.**
```r
		calculate_weight(weights, particles, current=c(5.0, 5.0), sigma, prior_density_function),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_calculate_weight.R:23:61:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L23) *style:* **Put spaces around all infix operators.**
```r
		calculate_weight(weights, particles, current=c(5.0, 5.0), sigma, prior_density_function),
                                                            ^~
```
[tests/testthat/test_calculate_weight.R:24:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L24) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[tests/testthat/test_calculate_weight.R:26:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L26) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[tests/testthat/test_calculate_weight.R:27:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_calculate_weight.R#L27) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[tests/testthat/test_mcmc_nltt.R:3:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L3) *style:* **Use two spaces to indent, never tabs.**
```r
	set.seed(1) #just to be safe
^
```
[tests/testthat/test_mcmc_nltt.R:4:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L4) *style:* **Use two spaces to indent, never tabs.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
^
```
[tests/testthat/test_mcmc_nltt.R:5:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L5) *style:* **Use two spaces to indent, never tabs.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
^
```
[tests/testthat/test_mcmc_nltt.R:5:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L5) *style:* **Use two spaces to indent, never tabs.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
^
```
[tests/testthat/test_mcmc_nltt.R:6:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L6) *style:* **Use two spaces to indent, never tabs.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
^
```
[tests/testthat/test_mcmc_nltt.R:7:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L7) *style:* **Use two spaces to indent, never tabs.**
```r
	LL_BD <- function(params, phy) {
^
```
[tests/testthat/test_mcmc_nltt.R:7:11:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L7) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
         ~^~~
```
[tests/testthat/test_mcmc_nltt.R:7:35:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L7) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                 ~^~
```
[tests/testthat/test_mcmc_nltt.R:7:43:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L7) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                         ~^~
```
[tests/testthat/test_mcmc_nltt.R:7:50:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L7) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:7:61:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L7) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                           ~^~
```
[tests/testthat/test_mcmc_nltt.R:7:68:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L7) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                                  ~^~
```
[tests/testthat/test_mcmc_nltt.R:8:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L8) *style:* **Use two spaces to indent, never tabs.**
```r
	LL_BD <- function(params, phy) {
^
```
[tests/testthat/test_mcmc_nltt.R:8:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L8) *style:* **Use two spaces to indent, never tabs.**
```r
		lnl <- TESS::tess.likelihood(phy[[1]], lambda = params[1], mu = params[2],
^~
```
[tests/testthat/test_mcmc_nltt.R:8:11:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L8) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
         ~^~~
```
[tests/testthat/test_mcmc_nltt.R:8:35:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L8) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                 ~^~
```
[tests/testthat/test_mcmc_nltt.R:8:43:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L8) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                         ~^~
```
[tests/testthat/test_mcmc_nltt.R:8:50:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L8) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:8:61:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L8) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                           ~^~
```
[tests/testthat/test_mcmc_nltt.R:8:68:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L8) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                                  ~^~
```
[tests/testthat/test_mcmc_nltt.R:9:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
		lnl <- TESS::tess.likelihood(phy[[1]], lambda = params[1], mu = params[2],
^~
```
[tests/testthat/test_mcmc_nltt.R:9:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
	 							  samplingProbability = 1, log = TRUE)
^
```
[tests/testthat/test_mcmc_nltt.R:9:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
	 							  samplingProbability = 1, log = TRUE)
  ^~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:10:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
	 							  samplingProbability = 1, log = TRUE)
^
```
[tests/testthat/test_mcmc_nltt.R:10:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
	 	prior1 <- dunif( params[1], 0, 100, log = TRUE)
^
```
[tests/testthat/test_mcmc_nltt.R:10:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
	 							  samplingProbability = 1, log = TRUE)
  ^~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:10:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
	 	prior1 <- dunif( params[1], 0, 100, log = TRUE)
  ^
```
[tests/testthat/test_mcmc_nltt.R:10:15:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L10) *style:* **Put spaces around all infix operators.**
```r
	LL_BD <- function(params, phy) {
             ~^~~
```
[tests/testthat/test_mcmc_nltt.R:11:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L11) *style:* **Use two spaces to indent, never tabs.**
```r
	 	prior1 <- dunif( params[1], 0, 100, log = TRUE)
^
```
[tests/testthat/test_mcmc_nltt.R:11:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L11) *style:* **Use two spaces to indent, never tabs.**
```r
	 	prior2 <- dunif( params[2], 0, 100, log = TRUE)
^
```
[tests/testthat/test_mcmc_nltt.R:11:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L11) *style:* **Use two spaces to indent, never tabs.**
```r
	 	prior1 <- dunif( params[1], 0, 100, log = TRUE)
  ^
```
[tests/testthat/test_mcmc_nltt.R:11:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L11) *style:* **Use two spaces to indent, never tabs.**
```r
	 	prior2 <- dunif( params[2], 0, 100, log = TRUE)
  ^
```
[tests/testthat/test_mcmc_nltt.R:11:21:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L11) *style:* **Put spaces around all infix operators.**
```r
		lnl <- TESS::tess.likelihood(phy[[1]], lambda = params[1], mu = params[2],
                   ~^~~
```
[tests/testthat/test_mcmc_nltt.R:11:63:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L11) *style:* **Put spaces around all infix operators.**
```r
		lnl <- TESS::tess.likelihood(phy[[1]], lambda = params[1], mu = params[2],
                                                             ~^
```
[tests/testthat/test_mcmc_nltt.R:12:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r
	 	prior2 <- dunif( params[2], 0, 100, log = TRUE)
^
```
[tests/testthat/test_mcmc_nltt.R:12:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r
	 	return(lnl + prior1 + prior2)
^
```
[tests/testthat/test_mcmc_nltt.R:12:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r
	 	prior2 <- dunif( params[2], 0, 100, log = TRUE)
  ^
```
[tests/testthat/test_mcmc_nltt.R:12:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r
	 	return(lnl + prior1 + prior2)
  ^
```
[tests/testthat/test_mcmc_nltt.R:13:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
	 	return(lnl + prior1 + prior2)
^
```
[tests/testthat/test_mcmc_nltt.R:13:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[tests/testthat/test_mcmc_nltt.R:13:3:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
	 	return(lnl + prior1 + prior2)
  ^
```
[tests/testthat/test_mcmc_nltt.R:13:24:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L13) *style:* **Put spaces around all infix operators.**
```r
	 	prior1 <- dunif( params[1], 0, 100, log = TRUE)
                      ~^~~
```
[tests/testthat/test_mcmc_nltt.R:14:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[tests/testthat/test_mcmc_nltt.R:14:24:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L14) *style:* **Put spaces around all infix operators.**
```r
	 	prior2 <- dunif( params[2], 0, 100, log = TRUE)
                      ~^~~
```
[tests/testthat/test_mcmc_nltt.R:15:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_error(
^
```
[tests/testthat/test_mcmc_nltt.R:15:28:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L15) *style:* **Put spaces around all infix operators.**
```r
	 	return(lnl + prior1 + prior2)
                          ~^~
```
[tests/testthat/test_mcmc_nltt.R:16:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
	#calculate Maximum Likelihood estimates
^
```
[tests/testthat/test_mcmc_nltt.R:16:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
		mcmc_nltt(q,LL_BD,c(1,0.0),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
^~
```
[tests/testthat/test_mcmc_nltt.R:17:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
	#these should match our MCMC results
^
```
[tests/testthat/test_mcmc_nltt.R:17:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
		"Cannot propose new value for a parameter with value 0.0."
^~
```
[tests/testthat/test_mcmc_nltt.R:18:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
	ML1 <- DDD::bd_ML(p[[1]])
^
```
[tests/testthat/test_mcmc_nltt.R:18:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:19:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
	ML2 <- DDD::bd_ML(q[[1]])
^
```
[tests/testthat/test_mcmc_nltt.R:20:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_error(
^
```
[tests/testthat/test_mcmc_nltt.R:20:13:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L20) *style:* **Put spaces around all infix operators.**
```r
	ML1 <- DDD::bd_ML(p[[1]])
           ~^~~
```
[tests/testthat/test_mcmc_nltt.R:21:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_equal(
^
```
[tests/testthat/test_mcmc_nltt.R:21:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
		mcmc_nltt(42,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
^~
```
[tests/testthat/test_mcmc_nltt.R:21:13:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L21) *style:* **Put spaces around all infix operators.**
```r
	ML2 <- DDD::bd_ML(q[[1]])
           ~^~~
```
[tests/testthat/test_mcmc_nltt.R:22:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L22) *style:* **Use two spaces to indent, never tabs.**
```r
		colMeans(mcmc_nltt(p,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
^~
```
[tests/testthat/test_mcmc_nltt.R:22:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L22) *style:* **Use two spaces to indent, never tabs.**
```r
		"mcmc_nltt: phy must be of class 'phylo'"
^~
```
[tests/testthat/test_mcmc_nltt.R:23:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
		ML1[[1]],
^~
```
[tests/testthat/test_mcmc_nltt.R:23:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:24:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Use two spaces to indent, never tabs.**
```r
		tolerance = 0.001
^~
```
[tests/testthat/test_mcmc_nltt.R:24:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L24) *style:* **lines should not be more than 80 characters.**
```r
		colMeans(mcmc_nltt(p,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:24:77:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(p,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
                                                                           ~^~
```
[tests/testthat/test_mcmc_nltt.R:24:90:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(p,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:24:104:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(p,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:25:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L25) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:25:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L25) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_error(
^
```
[tests/testthat/test_mcmc_nltt.R:26:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L26) *style:* **Use two spaces to indent, never tabs.**
```r
		v <- mcmc_nltt(p,LL_BD,c(1,-1),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
^~
```
[tests/testthat/test_mcmc_nltt.R:27:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L27) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_equal(
^
```
[tests/testthat/test_mcmc_nltt.R:27:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L27) *style:* **Use two spaces to indent, never tabs.**
```r
		"mcmc_nltt: initial parameter values have to be above zero"
^~
```
[tests/testthat/test_mcmc_nltt.R:28:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L28) *style:* **Use two spaces to indent, never tabs.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
^~
```
[tests/testthat/test_mcmc_nltt.R:28:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L28) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:29:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L29) *style:* **Use two spaces to indent, never tabs.**
```r
		ML2[[1]],
^~
```
[tests/testthat/test_mcmc_nltt.R:30:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L30) *style:* **Use two spaces to indent, never tabs.**
```r
		tolerance = 0.001
^~
```
[tests/testthat/test_mcmc_nltt.R:30:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L30) *style:* **lines should not be more than 80 characters.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:30:77:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L30) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
                                                                           ~^~
```
[tests/testthat/test_mcmc_nltt.R:30:90:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L30) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:30:104:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L30) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:31:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L31) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:33:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L33) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_equal( #compare jumps in log space with jumps in normal space, should yield similar results
^
```
[tests/testthat/test_mcmc_nltt.R:34:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L34) *style:* **Use two spaces to indent, never tabs.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
^~
```
[tests/testthat/test_mcmc_nltt.R:35:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L35) *style:* **Use two spaces to indent, never tabs.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(FALSE,FALSE),iterations=10000,burnin=1000,thinning=1,sigma=0.01))[[1]],
^~
```
[tests/testthat/test_mcmc_nltt.R:35:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L35) *style:* **lines should not be more than 80 characters.**
```r
	expect_equal( #compare jumps in log space with jumps in normal space, should yield similar results
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:36:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L36) *style:* **Use two spaces to indent, never tabs.**
```r
		tolerance = 0.001
^~
```
[tests/testthat/test_mcmc_nltt.R:36:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L36) *style:* **lines should not be more than 80 characters.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:36:77:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L36) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
                                                                           ~^~
```
[tests/testthat/test_mcmc_nltt.R:36:90:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L36) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:36:104:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L36) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5))[[1]],
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:37:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L37) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:37:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L37) *style:* **lines should not be more than 80 characters.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(FALSE,FALSE),iterations=10000,burnin=1000,thinning=1,sigma=0.01))[[1]],
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:37:48:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L37) *style:* **Commas should always have a space after.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(FALSE,FALSE),iterations=10000,burnin=1000,thinning=1,sigma=0.01))[[1]],
                                               ^
```
[tests/testthat/test_mcmc_nltt.R:37:79:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L37) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(FALSE,FALSE),iterations=10000,burnin=1000,thinning=1,sigma=0.01))[[1]],
                                                                             ~^~
```
[tests/testthat/test_mcmc_nltt.R:37:92:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L37) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(FALSE,FALSE),iterations=10000,burnin=1000,thinning=1,sigma=0.01))[[1]],
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:37:106:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L37) *style:* **Put spaces around all infix operators.**
```r
		colMeans(mcmc_nltt(q,LL_BD,c(1,0.01),c(FALSE,FALSE),iterations=10000,burnin=1000,thinning=1,sigma=0.01))[[1]],
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:45:11:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L45) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
         ~^~~
```
[tests/testthat/test_mcmc_nltt.R:45:35:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L45) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                 ~^~
```
[tests/testthat/test_mcmc_nltt.R:45:43:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L45) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                         ~^~
```
[tests/testthat/test_mcmc_nltt.R:45:50:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L45) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:45:61:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L45) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                           ~^~
```
[tests/testthat/test_mcmc_nltt.R:45:68:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L45) *style:* **Put spaces around all infix operators.**
```r
	p <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                                  ~^~
```
[tests/testthat/test_mcmc_nltt.R:46:11:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L46) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
         ~^~~
```
[tests/testthat/test_mcmc_nltt.R:46:35:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L46) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                 ~^~
```
[tests/testthat/test_mcmc_nltt.R:46:43:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L46) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                         ~^~
```
[tests/testthat/test_mcmc_nltt.R:46:50:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L46) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:46:61:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L46) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                           ~^~
```
[tests/testthat/test_mcmc_nltt.R:46:68:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L46) *style:* **Put spaces around all infix operators.**
```r
	q <- TESS::tess.sim.taxa(n=1,nTaxa=50,max=100,lambda=1.0,mu=0.0)[[1]]
                                                                  ~^~
```
[tests/testthat/test_mcmc_nltt.R:48:15:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L48) *style:* **Put spaces around all infix operators.**
```r
	LL_BD <- function(params, phy) {
             ~^~~
```
[tests/testthat/test_mcmc_nltt.R:49:21:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L49) *style:* **Put spaces around all infix operators.**
```r
		lnl <- TESS::tess.likelihood(phy[[1]], lambda = params[1], mu = params[2],
                   ~^~~
```
[tests/testthat/test_mcmc_nltt.R:49:63:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L49) *style:* **Put spaces around all infix operators.**
```r
		lnl <- TESS::tess.likelihood(phy[[1]], lambda = params[1], mu = params[2],
                                                             ~^
```
[tests/testthat/test_mcmc_nltt.R:51:24:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L51) *style:* **Put spaces around all infix operators.**
```r
	 	prior1 <- dunif( params[1], 0, 100, log = TRUE)
                      ~^~~
```
[tests/testthat/test_mcmc_nltt.R:52:24:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L52) *style:* **Put spaces around all infix operators.**
```r
	 	prior2 <- dunif( params[2], 0, 100, log = TRUE)
                      ~^~~
```
[tests/testthat/test_mcmc_nltt.R:53:28:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L53) *style:* **Put spaces around all infix operators.**
```r
	 	return(lnl + prior1 + prior2)
                          ~^~
```
[tests/testthat/test_mcmc_nltt.R:57:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L57) *style:* **lines should not be more than 80 characters.**
```r
		mcmc_nltt(q,LL_BD,c(1,0.0),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:57:67:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L57) *style:* **Put spaces around all infix operators.**
```r
		mcmc_nltt(q,LL_BD,c(1,0.0),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
                                                                 ~^~
```
[tests/testthat/test_mcmc_nltt.R:57:80:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L57) *style:* **Put spaces around all infix operators.**
```r
		mcmc_nltt(q,LL_BD,c(1,0.0),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
                                                                              ~^~
```
[tests/testthat/test_mcmc_nltt.R:57:94:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L57) *style:* **Put spaces around all infix operators.**
```r
		mcmc_nltt(q,LL_BD,c(1,0.0),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:62:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L62) *style:* **lines should not be more than 80 characters.**
```r
		mcmc_nltt(42,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:62:69:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L62) *style:* **Put spaces around all infix operators.**
```r
		mcmc_nltt(42,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
                                                                   ~^~
```
[tests/testthat/test_mcmc_nltt.R:62:82:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L62) *style:* **Put spaces around all infix operators.**
```r
		mcmc_nltt(42,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:62:96:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L62) *style:* **Put spaces around all infix operators.**
```r
		mcmc_nltt(42,LL_BD,c(1,0.01),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:67:1:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L67) *style:* **lines should not be more than 80 characters.**
```r
		v <- mcmc_nltt(p,LL_BD,c(1,-1),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:67:19:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L67) *style:* **Put spaces around all infix operators.**
```r
		v <- mcmc_nltt(p,LL_BD,c(1,-1),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
                 ~^~~
```
[tests/testthat/test_mcmc_nltt.R:67:34:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L67) *style:* **Commas should always have a space after.**
```r
		v <- mcmc_nltt(p,LL_BD,c(1,-1),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
                                 ^
```
[tests/testthat/test_mcmc_nltt.R:67:71:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L67) *style:* **Put spaces around all infix operators.**
```r
		v <- mcmc_nltt(p,LL_BD,c(1,-1),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
                                                                     ~^~
```
[tests/testthat/test_mcmc_nltt.R:67:84:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L67) *style:* **Put spaces around all infix operators.**
```r
		v <- mcmc_nltt(p,LL_BD,c(1,-1),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
                                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:67:98:](https://github.com/richelbilderbeek/nLTT/blob/924817fada41948af9f33fb1581de73076fe23bc/tests/testthat/test_mcmc_nltt.R#L67) *style:* **Put spaces around all infix operators.**
```r
		v <- mcmc_nltt(p,LL_BD,c(1,-1),c(TRUE,TRUE),iterations=10000,burnin=1000,thinning=1,sigma=0.5),
                                                                                ~^~
```


You forgot to inform about r4: .cfi_offset r4


speeds up builds on rpi


Is assembler accepts this format? I thought you need to write like .cfi_startproc


Its correct!!!


# what a stupid code!
# and nobody loves you


Makes sense. I think I got confused because of the master and have been probably doing it wrong. Sorry... I will fix recent NEWS with my latest fix though


`accepted=true`


supervisord conf... good way of managing runtime behaviour... alternative is ENTRYPOINT or chained CMD but these dont handle  signals well whereas supervisord has this all baked in.


TeamCity OTA+ :: rvi_sota_server :: ci [Build 993](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13232&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **SUCCESS**
Summary: Tests passed: 237, ignored: 3 Build time: 00:09:28


its okay


A FIX not a FEAT? ;-)


.cfi_offset 3, -16


.cfi_offset 5, -20


.cfi_offset 2, -24


This line is correct


It is a macro from `ffi_cfi.h`.


You're not doing any `#include<math.h>` in this file.


What if 'links' index is undefined?


.cfi_restore 12


Adendo: foi adicionado um novo strings.xml para a tradução dos textos para a lingua portuguesa.


.cfi_restore 11


Don't think this touches indexing and I have seen the sparse index benchmarks to be a bit noisy so it is most likely fine.


ok here i added one more line


Make a note that not each page needs to be saved.


@theo-england I know it's *really* painful to edit this file, but try to make sure there is a consistent number of spaces in front of the various tags, or the web page will be slightly broken in different ways.

For example, always 10 spaces in front of `li.schedule-item` etc.


@PranavBahuguna The above hopefully fixes the problems you were seeing. What I've done is initialize the framework, so that all algorithms are available (in particular `Fit`), and use one of the functions defined in `WorkspaceHelper` that will create a workspace in `dSpacing` for us. With this I am able to run the tests and all of them pass.


After two days of pain I was about to create a pull request with this same change.

Are you able to advise when this will be included in a release?


add function for get list of unaccepted loans by user_id `lender_id`


You need to log all the ops with the sp/fp (ffi_closure as well). Not sure about all the constants, but make first the mods and then we will try to test.


Empty if statement.


This should also update the book as loaned


Email Validation


Just having a brief look at the guide. A couple of comments from my side:

- The guide provides very little context on what a plugin is and why I'd use it. Also there's no context on script plugins vs. binary plugins and why I should even use `buildSrc`. What if I just want to write a standalone plugin?
-  I strongly disagree that we should introduce an extension for the very first getting started guide. There's far more to be said about extensions than shown in this guide. IMHO the concept can be a guide by itself.
- I don't think the plugin shown in the example is real-world by any means. I am sure readers will ask themselves: "OK, I understand how to write a plugin that creates a Hello World task but how do I solve my actual problem with the concept of a plugin".


TeamCity OTA+ :: rvi_sota_server :: ci [Build 994](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13234&buildTypeId=ota_plus_RviSotaServer_Ci) is now running


TeamCity OTA+ :: rvi_sota_server :: ci [Build 995](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13238&buildTypeId=ota_plus_RviSotaServer_Ci) is now running


Will this never be in other languages than French?


Thanks @snak3ater , I'll pull in your improvements this morning :-)


Not the distance, but the squared distance, by the looks of it.


Implementation in header file.


That's no the correct pattern, it should be `kb_civ_babylab` instead.


`vab`? `vap`? What are these names coming from?


this should definitely be in devel for some time before releasing to stable. I would first like to switch ssh and console auth (where the request originally came from) and then fix ipsec.