[R/ABC_SMC.R:340:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/R/ABC_SMC.R#L340) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/ABC_SMC.R:341:53:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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:54:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/R/ABC_SMC.R#L341) *style:* **Trailing whitespace is superfluous.**
```r
        if (parameters[j] >= 0 & parameters[1] > 0) {
                                                     ^
```
[tests/testthat/test_calculate_weight.R:13:37:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_calculate_weight.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
    dunif(x[2], min = 0, max = 1000)
                                    ^
```
[tests/testthat/test_calculate_weight.R:18:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_calculate_weight.R#L18) *style:* **lines should not be more than 80 characters.**
```r
      current = c(5, 5), sigma, prior_density_function), #log(5) - log(10) == -1 * (log(20) - log(10))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_calculate_weight.R:18:59:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_calculate_weight.R#L18) *style:* **Commented code should be removed.**
```r
      current = c(5, 5), sigma, prior_density_function), #log(5) - log(10) == -1 * (log(20) - log(10))
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_calculate_weight.R:20:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_calculate_weight.R#L20) *style:* **lines should not be more than 80 characters.**
```r
      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:23:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_calculate_weight.R#L23) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[tests/testthat/test_mcmc_nltt.R:3:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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:7:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L7) *style:* **lines should not be more than 80 characters.**
```r
  tree1 <- TESS::tess.sim.taxa(n=1, nTaxa=100, max = 100, lambda = 1.0, mu = 0.0)[[1]]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:7:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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:33:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L7) *style:* **Put spaces around all infix operators.**
```r
  tree1 <- TESS::tess.sim.taxa(n=1, nTaxa=100, max = 100, lambda = 1.0, mu = 0.0)[[1]]
                               ~^~
```
[tests/testthat/test_mcmc_nltt.R:7:42:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L7) *style:* **Put spaces around all infix operators.**
```r
  tree1 <- TESS::tess.sim.taxa(n=1, nTaxa=100, max = 100, lambda = 1.0, mu = 0.0)[[1]]
                                        ~^~
```
[tests/testthat/test_mcmc_nltt.R:8:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L8) *style:* **lines should not be more than 80 characters.**
```r
  tree2 <- TESS::tess.sim.taxa(n=1, nTaxa=100, max = 100, lambda = 1.0, mu = 0.0)[[1]]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:8:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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:33:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L8) *style:* **Put spaces around all infix operators.**
```r
  tree2 <- TESS::tess.sim.taxa(n=1, nTaxa=100, max = 100, lambda = 1.0, mu = 0.0)[[1]]
                               ~^~
```
[tests/testthat/test_mcmc_nltt.R:8:42:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L8) *style:* **Put spaces around all infix operators.**
```r
  tree2 <- TESS::tess.sim.taxa(n=1, nTaxa=100, max = 100, lambda = 1.0, mu = 0.0)[[1]]
                                        ~^~
```
[tests/testthat/test_mcmc_nltt.R:9:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L9) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[tests/testthat/test_mcmc_nltt.R:9:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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:11:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L11) *style:* **lines should not be more than 80 characters.**
```r
    lnl <- TESS::tess.likelihood(ape::branching.times(phy), lambda = params[1], mu = params[2],
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:11:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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:12:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[tests/testthat/test_mcmc_nltt.R:15:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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:20:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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:15:29:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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/47ac7ea05f8bd94593a14e6a9241706b1116d74c/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),
^~
```
[tests/testthat/test_mcmc_nltt.R:17:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
^~
```
[tests/testthat/test_mcmc_nltt.R:18:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L18) *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:19:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:21:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_error(
^
```
[tests/testthat/test_mcmc_nltt.R:22:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L22) *style:* **Use two spaces to indent, never tabs.**
```r
		mcmc_nltt( 42, LL_BD, c(1, 0.01), c(TRUE, TRUE),
^~
```
[tests/testthat/test_mcmc_nltt.R:23:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
^~
```
[tests/testthat/test_mcmc_nltt.R:24:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Use two spaces to indent, never tabs.**
```r
		"mcmc_nltt: phy must be of class 'phylo'"
^~
```
[tests/testthat/test_mcmc_nltt.R:24:44:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Commas should always have a space after.**
```r
    colMeans( mcmc_nltt( tree1, LL_BD, c(1,0.01), c(TRUE,TRUE),
                                           ^
```
[tests/testthat/test_mcmc_nltt.R:24:58:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Commas should always have a space after.**
```r
    colMeans( mcmc_nltt( tree1, LL_BD, c(1,0.01), c(TRUE,TRUE),
                                                         ^
```
[tests/testthat/test_mcmc_nltt.R:24:64:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Trailing whitespace is superfluous.**
```r
    colMeans( mcmc_nltt( tree1, LL_BD, c(1,0.01), c(TRUE,TRUE),
                                                               ^
```
[tests/testthat/test_mcmc_nltt.R:25:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L25) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:25:33:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L25) *style:* **Put spaces around all infix operators.**
```r
      iterations = 10000, burnin=1000, thinning=1, sigma=0.05))[[1]],
                               ~^~
```
[tests/testthat/test_mcmc_nltt.R:25:48:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L25) *style:* **Put spaces around all infix operators.**
```r
      iterations = 10000, burnin=1000, thinning=1, sigma=0.05))[[1]],
                                              ~^~
```
[tests/testthat/test_mcmc_nltt.R:25:57:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L25) *style:* **Put spaces around all infix operators.**
```r
      iterations = 10000, burnin=1000, thinning=1, sigma=0.05))[[1]],
                                                       ~^~
```
[tests/testthat/test_mcmc_nltt.R:27:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L27) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_error(
^
```
[tests/testthat/test_mcmc_nltt.R:28:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L28) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_equal(
^
```
[tests/testthat/test_mcmc_nltt.R:28:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L28) *style:* **Use two spaces to indent, never tabs.**
```r
		mcmc_nltt( p, LL_BD,c(1, -1), c(TRUE, TRUE),
^~
```
[tests/testthat/test_mcmc_nltt.R:29:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L29) *style:* **Use two spaces to indent, never tabs.**
```r
		colMeans( mcmc_nltt( q, LL_BD, c(1,0.01), c(TRUE,TRUE),
^~
```
[tests/testthat/test_mcmc_nltt.R:29:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L29) *style:* **Use two spaces to indent, never tabs.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
^~
```
[tests/testthat/test_mcmc_nltt.R:30:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L30) *style:* **Use two spaces to indent, never tabs.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5))[[1]],
^~
```
[tests/testthat/test_mcmc_nltt.R:30:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L30) *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:31:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L31) *style:* **Use two spaces to indent, never tabs.**
```r
		ML2[[1]],
^~
```
[tests/testthat/test_mcmc_nltt.R:31:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L31) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:31:52:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L31) *style:* **Commas should always have a space after.**
```r
		colMeans( mcmc_nltt( q, LL_BD, c(1,0.01), c(TRUE,TRUE),
                                                   ^
```
[tests/testthat/test_mcmc_nltt.R:32:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L32) *style:* **Use two spaces to indent, never tabs.**
```r
		tolerance = 0.001
^~
```
[tests/testthat/test_mcmc_nltt.R:32:30:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L32) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5))[[1]],
                            ~^
```
[tests/testthat/test_mcmc_nltt.R:32:46:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L32) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5))[[1]],
                                            ~^~
```
[tests/testthat/test_mcmc_nltt.R:32:63:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L32) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5))[[1]],
                                                             ~^~
```
[tests/testthat/test_mcmc_nltt.R:33:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L33) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:35:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L35) *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:36:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L36) *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:37:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L37) *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:37:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L37) *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:38:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L38) *style:* **Use two spaces to indent, never tabs.**
```r
		tolerance = 0.001
^~
```
[tests/testthat/test_mcmc_nltt.R:38:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L38) *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:38:85:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L38) *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:38:101:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L38) *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:38:118:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L38) *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:39:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L39) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:39:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L39) *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:39:87:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L39) *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:39:103:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L39) *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:39:120:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L39) *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:39:131:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L39) *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:47:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L47) *style:* **lines should not be more than 80 characters.**
```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:47:11:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L47) *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:47:36:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L47) *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:47:47:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L47) *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:47:57:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L47) *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:47:71:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L47) *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:47:81:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L47) *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:48:1:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L48) *style:* **lines should not be more than 80 characters.**
```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:11:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L48) *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:36:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L48) *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:47:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L48) *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:57:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L48) *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:71:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L48) *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:81:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L48) *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:50:15:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L50) *style:* **Put spaces around all infix operators.**
```r
	LL_BD <- function(params, phy) {
             ~^~~
```
[tests/testthat/test_mcmc_nltt.R:51:21:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L51) *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:63:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L51) *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:53:24:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L53) *style:* **Put spaces around all infix operators.**
```r
	 	prior1 <- dunif( params[1], 0, 100, log = TRUE)
                      ~^~~
```
[tests/testthat/test_mcmc_nltt.R:54:24:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L54) *style:* **Put spaces around all infix operators.**
```r
	 	prior2 <- dunif( params[2], 0, 100, log = TRUE)
                      ~^~~
```
[tests/testthat/test_mcmc_nltt.R:55:28:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L55) *style:* **Put spaces around all infix operators.**
```r
	 	return(lnl + prior1 + prior2)
                          ~^~
```
[tests/testthat/test_mcmc_nltt.R:59:42:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L59) *style:* **Commas should always have a space after.**
```r
		mcmc_nltt( q, LL_BD, c(1, 0.0), c(TRUE,TRUE),
                                         ^
```
[tests/testthat/test_mcmc_nltt.R:60:30:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L60) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                            ~^
```
[tests/testthat/test_mcmc_nltt.R:60:46:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L60) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                            ~^~
```
[tests/testthat/test_mcmc_nltt.R:60:63:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L60) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                                             ~^~
```
[tests/testthat/test_mcmc_nltt.R:65:51:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L65) *style:* **Trailing whitespace is superfluous.**
```r
		mcmc_nltt( 42, LL_BD, c(1, 0.01), c(TRUE, TRUE),
                                                  ^
```
[tests/testthat/test_mcmc_nltt.R:66:30:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L66) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                            ~^
```
[tests/testthat/test_mcmc_nltt.R:66:46:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L66) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                            ~^~
```
[tests/testthat/test_mcmc_nltt.R:66:63:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L66) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                                             ~^~
```
[tests/testthat/test_mcmc_nltt.R:71:47:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L71) *style:* **Trailing whitespace is superfluous.**
```r
		mcmc_nltt( p, LL_BD,c(1, -1), c(TRUE, TRUE),
                                              ^
```
[tests/testthat/test_mcmc_nltt.R:72:30:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L72) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                            ~^
```
[tests/testthat/test_mcmc_nltt.R:72:46:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L72) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                            ~^~
```
[tests/testthat/test_mcmc_nltt.R:72:63:](https://github.com/richelbilderbeek/nLTT/blob/47ac7ea05f8bd94593a14e6a9241706b1116d74c/tests/testthat/test_mcmc_nltt.R#L72) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                                             ~^~
```


Pathfinder is very CPU expensive .. so you need calc path once and serialise it in memory. never recalculate.


update


额，上面还有一句注释。。


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


This EC does not protect from stack overflow.
You may consider the `Trampoline` EC from play instead: https://github.com/playframework/playframework/blob/2d04ef1df2e1411e0bc6aa74e9e035bfcd3f3dc2/framework/src/play-streams/src/main/scala/play/api/libs/streams/Execution.scala#L31 ?


This test case is technically not required. I dont see the purpose it serves.


//moi mee pois


prefer the use of enums instead of string literals..


nullify after successful isConnectionAlive too,  just like newConnection(). otherwise getConnection() may report 'stale' exception and it can not used to distinguish as pool exhausted or db problem

Also, probably setting 'cause' as nextException is redundant. it is polluting log as exception printing also takes care of cause, as ...caused by...


The reason we are delaying the job is to prevent the user from waiting while we create and send the email.  However, this statement is blocking, and if the cruncher takes awhile to return the résumé, or is unavailable and we have to wait for a timeout, the user could have a noticeable wait while all this occurs.

Thats why doing this in the mailer method would be best, I think - that work would happen in a separate process and not block the user.  Also, we will see résumé fetch success/failure in the delayed jobs log (or console), together with the status of other actions required to send the email.


This seems to run after every delayed job(?).  That is overkill for all delayed jobs except the :JS_APPLY job.


I believe if there is no specific collation the index will be created without one. Or else, with which one?


* too much stuff happening in one commit..


For this test and the one above, I think we should be testing the instrument rather than the values in the workspace. When we set `CorrectDetectorPositions` to `True`, according to the documentation what we are doing is:

> Detector Position Correction is used for when the position of the detector is not aligned with the reflected beamline. The correction algorithm used is SpecularReflectionPositionCorrect v1 which is a purely vertical position correction

This means that we are changing the instrument attached to the workspace, but not the values (this is the reason why we are getting the same counts as in `test_wavelength_conversion_1()`). Therefore it would make more sense to test the instrument geometry after the execution (it's fine if you want to leave the checks on the `Y` counts as well).

One thing to consider is that for the instrument to be corrected, we have to provide a value for `ThetaIn`, otherwise the correction will not be performed (this can be seen in the workflow diagram "ReflectometryReductionOne Correct Detector Positions Flowchart").

In summary, for this test (and the one above) I think we need to:
- Create the algorithm as you've done, but in addition set `ThetaIn` to a value.
- Retrieve the output workspace in wavelength, as you've done.
- Test that the dectectors have been moved, ideally testing that they are in the correct position. There are some examples in `WorkspaceCreationHelper.cpp` that illustrate how to work with instrument and instrument components, in particular detectors. Let me know if you need help with this.


wann muss der cron starten und wie oft?


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


I believe this sentence was left from a previous edit


why do you need to call main() instead of placing its code directly here?


[tests/testthat/test_calculate_weight.R:13:37:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_calculate_weight.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
    dunif(x[2], min = 0, max = 1000)
                                    ^
```
[tests/testthat/test_calculate_weight.R:17:6:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_calculate_weight.R#L17) *style:* **Commented code should be removed.**
```r
    #log(5) - log(10) == -1 * (log(20) - log(10))
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_calculate_weight.R:19:57:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_calculate_weight.R#L19) *style:* **Trailing whitespace is superfluous.**
```r
      current = c(5, 5), sigma, prior_density_function),
                                                        ^
```
[tests/testthat/test_calculate_weight.R:22:59:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_calculate_weight.R#L22) *style:* **Trailing whitespace is superfluous.**
```r
      current = c(20, 20), sigma, prior_density_function),
                                                          ^
```
[tests/testthat/test_mcmc_nltt.R:3:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/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/cc41e5c730450e9d46481a81b1932adfe7f36295/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/cc41e5c730450e9d46481a81b1932adfe7f36295/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:7:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L7) *style:* **lines should not be more than 80 characters.**
```r
  tree1 <- TESS::tess.sim.taxa(n = 1, nTaxa = 100, max = 100, lambda = 1.0, mu = 0.0)[[1]]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:7:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/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:8:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L8) *style:* **lines should not be more than 80 characters.**
```r
  tree2 <- TESS::tess.sim.taxa(n = 1, nTaxa = 100, max = 100, lambda = 1.0, mu = 0.0)[[1]]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:8:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/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:9:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/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/cc41e5c730450e9d46481a81b1932adfe7f36295/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/cc41e5c730450e9d46481a81b1932adfe7f36295/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/cc41e5c730450e9d46481a81b1932adfe7f36295/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/cc41e5c730450e9d46481a81b1932adfe7f36295/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:11:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L11) *style:* **lines should not be more than 80 characters.**
```r
    lnl <- TESS::tess.likelihood(ape::branching.times(phy), lambda = params[1], mu = params[2],
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:11:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/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/cc41e5c730450e9d46481a81b1932adfe7f36295/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:12:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/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/cc41e5c730450e9d46481a81b1932adfe7f36295/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/cc41e5c730450e9d46481a81b1932adfe7f36295/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/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[tests/testthat/test_mcmc_nltt.R:15:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/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:20:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/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:15:29:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/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/cc41e5c730450e9d46481a81b1932adfe7f36295/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),
^~
```
[tests/testthat/test_mcmc_nltt.R:17:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
^~
```
[tests/testthat/test_mcmc_nltt.R:18:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L18) *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:19:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:21:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_error(
^
```
[tests/testthat/test_mcmc_nltt.R:22:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L22) *style:* **Use two spaces to indent, never tabs.**
```r
		mcmc_nltt( 42, LL_BD, c(1, 0.01), c(TRUE, TRUE),
^~
```
[tests/testthat/test_mcmc_nltt.R:23:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
^~
```
[tests/testthat/test_mcmc_nltt.R:24:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Use two spaces to indent, never tabs.**
```r
		"mcmc_nltt: phy must be of class 'phylo'"
^~
```
[tests/testthat/test_mcmc_nltt.R:24:44:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Commas should always have a space after.**
```r
    colMeans( mcmc_nltt( tree1, LL_BD, c(1,0.01), c(TRUE,TRUE),
                                           ^
```
[tests/testthat/test_mcmc_nltt.R:24:58:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Commas should always have a space after.**
```r
    colMeans( mcmc_nltt( tree1, LL_BD, c(1,0.01), c(TRUE,TRUE),
                                                         ^
```
[tests/testthat/test_mcmc_nltt.R:24:64:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L24) *style:* **Trailing whitespace is superfluous.**
```r
    colMeans( mcmc_nltt( tree1, LL_BD, c(1,0.01), c(TRUE,TRUE),
                                                               ^
```
[tests/testthat/test_mcmc_nltt.R:25:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L25) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:25:33:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L25) *style:* **Put spaces around all infix operators.**
```r
      iterations = 10000, burnin=1000, thinning=1, sigma=0.05))[[1]],
                               ~^~
```
[tests/testthat/test_mcmc_nltt.R:25:48:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L25) *style:* **Put spaces around all infix operators.**
```r
      iterations = 10000, burnin=1000, thinning=1, sigma=0.05))[[1]],
                                              ~^~
```
[tests/testthat/test_mcmc_nltt.R:25:57:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L25) *style:* **Put spaces around all infix operators.**
```r
      iterations = 10000, burnin=1000, thinning=1, sigma=0.05))[[1]],
                                                       ~^~
```
[tests/testthat/test_mcmc_nltt.R:27:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L27) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_error(
^
```
[tests/testthat/test_mcmc_nltt.R:28:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L28) *style:* **Use two spaces to indent, never tabs.**
```r
		mcmc_nltt( p, LL_BD,c(1, -1), c(TRUE, TRUE),
^~
```
[tests/testthat/test_mcmc_nltt.R:29:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L29) *style:* **Use two spaces to indent, never tabs.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
^~
```
[tests/testthat/test_mcmc_nltt.R:30:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L30) *style:* **Use two spaces to indent, never tabs.**
```r
	iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5))[[1]],
^
```
[tests/testthat/test_mcmc_nltt.R:30:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L30) *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:31:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L31) *style:* **Use two spaces to indent, never tabs.**
```r
	ML2[[1]],
^
```
[tests/testthat/test_mcmc_nltt.R:31:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L31) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:31:40:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L31) *style:* **Commas should always have a space after.**
```r
    colMeans( mcmc_nltt( q, LL_BD, c(1,0.01), c(TRUE,TRUE),
                                       ^
```
[tests/testthat/test_mcmc_nltt.R:31:54:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L31) *style:* **Commas should always have a space after.**
```r
    colMeans( mcmc_nltt( q, LL_BD, c(1,0.01), c(TRUE,TRUE),
                                                     ^
```
[tests/testthat/test_mcmc_nltt.R:32:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L32) *style:* **Use two spaces to indent, never tabs.**
```r
	tolerance = 0.001
^
```
[tests/testthat/test_mcmc_nltt.R:32:20:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L32) *style:* **Put spaces around all infix operators.**
```r
	iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5))[[1]],
                  ~^
```
[tests/testthat/test_mcmc_nltt.R:32:36:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L32) *style:* **Put spaces around all infix operators.**
```r
	iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5))[[1]],
                                  ~^~
```
[tests/testthat/test_mcmc_nltt.R:32:53:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L32) *style:* **Put spaces around all infix operators.**
```r
	iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5))[[1]],
                                                   ~^~
```
[tests/testthat/test_mcmc_nltt.R:32:64:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L32) *style:* **Put spaces around all infix operators.**
```r
	iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5))[[1]],
                                                              ~^~
```
[tests/testthat/test_mcmc_nltt.R:34:19:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L34) *style:* **Put spaces around all infix operators.**
```r
	tolerance = 0.001
                 ~^~
```
[tests/testthat/test_mcmc_nltt.R:37:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L37) *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:38:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L38) *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:38:55:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L38) *style:* **Commas should always have a space after.**
```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:39:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L39) *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:39:56:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L39) *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:47:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L47) *style:* **lines should not be more than 80 characters.**
```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:47:11:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L47) *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:47:36:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L47) *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:47:47:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L47) *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:47:57:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L47) *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:47:71:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L47) *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:47:81:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L47) *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:48:1:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L48) *style:* **lines should not be more than 80 characters.**
```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:11:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L48) *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:36:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L48) *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:47:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L48) *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:57:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L48) *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:71:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L48) *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:81:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L48) *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:50:15:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L50) *style:* **Put spaces around all infix operators.**
```r
	LL_BD <- function(params, phy) {
             ~^~~
```
[tests/testthat/test_mcmc_nltt.R:51:21:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L51) *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:63:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L51) *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:53:24:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L53) *style:* **Put spaces around all infix operators.**
```r
	 	prior1 <- dunif( params[1], 0, 100, log = TRUE)
                      ~^~~
```
[tests/testthat/test_mcmc_nltt.R:54:24:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L54) *style:* **Put spaces around all infix operators.**
```r
	 	prior2 <- dunif( params[2], 0, 100, log = TRUE)
                      ~^~~
```
[tests/testthat/test_mcmc_nltt.R:55:28:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L55) *style:* **Put spaces around all infix operators.**
```r
	 	return(lnl + prior1 + prior2)
                          ~^~
```
[tests/testthat/test_mcmc_nltt.R:59:42:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L59) *style:* **Commas should always have a space after.**
```r
		mcmc_nltt( q, LL_BD, c(1, 0.0), c(TRUE,TRUE),
                                         ^
```
[tests/testthat/test_mcmc_nltt.R:60:30:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L60) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                            ~^
```
[tests/testthat/test_mcmc_nltt.R:60:46:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L60) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                            ~^~
```
[tests/testthat/test_mcmc_nltt.R:60:63:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L60) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                                             ~^~
```
[tests/testthat/test_mcmc_nltt.R:65:51:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L65) *style:* **Trailing whitespace is superfluous.**
```r
		mcmc_nltt( 42, LL_BD, c(1, 0.01), c(TRUE, TRUE),
                                                  ^
```
[tests/testthat/test_mcmc_nltt.R:66:30:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L66) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                            ~^
```
[tests/testthat/test_mcmc_nltt.R:66:46:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L66) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                            ~^~
```
[tests/testthat/test_mcmc_nltt.R:66:63:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L66) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                                             ~^~
```
[tests/testthat/test_mcmc_nltt.R:71:47:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L71) *style:* **Trailing whitespace is superfluous.**
```r
		mcmc_nltt( p, LL_BD,c(1, -1), c(TRUE, TRUE),
                                              ^
```
[tests/testthat/test_mcmc_nltt.R:72:30:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L72) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                            ~^
```
[tests/testthat/test_mcmc_nltt.R:72:46:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L72) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                            ~^~
```
[tests/testthat/test_mcmc_nltt.R:72:63:](https://github.com/richelbilderbeek/nLTT/blob/cc41e5c730450e9d46481a81b1932adfe7f36295/tests/testthat/test_mcmc_nltt.R#L72) *style:* **Put spaces around all infix operators.**
```r
		  iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                                             ~^~
```


This is a BC breaking change due to the fact that iPhone OS is removed. Are you aware of that?


I will push the file with the right pattern


Please note the discussion of unlinking a file when the file is not closed - http://ruby-doc.org/stdlib-1.9.3/libdoc/tempfile/rdoc/Tempfile.html#method-i-unlink

To be safe, we need to close the file before we unlink.  So, these actions should be together.

I think that having the temple stay open (in the mailer) and finally being closed (in the job method) is risky from a process point of view.  (another reason to perform the close & unlink in the mailer, and close to where we actual fetch the file).


:smile


> 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?

We've been focusing on outline and core content first, i.e. what does the reader actually do / build, and holding off on prose until we get that right. This is by no means a final draft.

> 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.

Ok, let's pick up on this one in Slack.

> 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".

Getting Started guides are mutually exclusive with building something real-world. They are intentionally and explicitly about building the "hello, world" of whatever it is you're interested in, so that you have enough of an understanding to move onto more detailed resources, including existing materials like the User Manual.


s/managment/management/


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


Out of habit, and good practice.  Functions (like main) are more efficient than module-level code, and they have private local variables rather than using globals.  Also, you can return from a function, not from an if-block within a module.


Did you mean to check for `apdu.sw2 == 0x00`?


Centrage de l'image


It's sucks! You aren't really good programmer. It's govno code! Get out of here!


kk


@snak3ater thanks again! http://gerrit.dirtyunicorns.com/#/c/1974/


The new ctor is the main change to wf-core


Needs to be removed once we have a target release


if u can see i already took that commit and edited that u can see your commit there is nothiing about your script sorry but taht codes are universal and u can fidn them with writing internet i can't see any option codes -color codes etc. on your script the codes that exist on your script is not your codes they needed to be used on all kernel build scripts so no i am not giving credits to u


When Swarm boots it reads from the precomputed values. Any subsequent :reload op however, will fetch the config from the XML file.


Maybe use array there?


好像只能用boost了 要包新的库。或者直接用指针转转看。节后再来试试


IT COMPILES!


Wouldn't it be better to always cache the fcp template by passing `&priv->dffcp` instead of `file_out`? This way you would also be able to avoid transmits by multiple subsequent calls to `sc_hsm_select_file_ex` with `file_out == NULL`.


The damage the enemy deals keeps increasing though, please fix this somehow!


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


I'd rather have as much of this stuff inside the code instead of in external files (in the case of modifying the prefs datatype, I would get a compile error/warning to modify the default prefs while I could easilly forget to `update data/prefs.lkshp`).

Perhaps a fourth option:
 * Remove the prefs file in `data` and generate it at first startup from this code. Add documentation to the user guide for sys admins (who could add their prefs to the data folder in which case it would still be picked up).


5626-Plant-HX-min-DT (mjwitte) - i386-Windows-7-VisualStudio-12: OK (2336 of 2336 tests passed, 0 test warnings)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.svg) ![Test Badge](http://img.shields.io/badge/tests%20passed-100.0%25-green.svg)


What kind of argument error? Is there any open issue for this?


I don't understand this. Where do `x` and `nxt` come from? It also misses a closing bracket after `for()`.


Não sei o motivo ao qual levou a essa alteração, mas está com erro. A função formataNossoNumero, deve ser sempre chamada, pois ela calcula o dv do nosso numero.


TODO:

Plan: Creation,Deletion;
Portal: Removing;

CSV generation, Script generation, ZIP creation
HTTP GET to url
Results?


Haste toll gemacht


Super gemacht!


Why not continue with early returns style that you have on the beginning of the method?

def verify
  return @errors if @errors.any?
  return if valid_token?
  Rails.logger.error("Token verification....")
  ["Your confirmation token appears to be invalid...."]
end


LGTM, thanks!


[tests/testthat/test_mcmc_nltt.R:7:51:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L7) *style:* **Trailing whitespace is superfluous.**
```r
  tree1 <- TESS::tess.sim.taxa(n = 1, nTaxa = 100,
                                                  ^
```
[tests/testthat/test_mcmc_nltt.R:9:51:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L9) *style:* **Trailing whitespace is superfluous.**
```r
  tree2 <- TESS::tess.sim.taxa(n = 1, nTaxa = 100,
                                                  ^
```
[tests/testthat/test_mcmc_nltt.R:13:60:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
    lnl <- TESS::tess.likelihood(ape::branching.times(phy),
                                                           ^
```
[tests/testthat/test_mcmc_nltt.R:21:1:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:23:1:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_error(
^
```
[tests/testthat/test_mcmc_nltt.R:27:1:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L27) *style:* **Use two spaces to indent, never tabs.**
```r
	)
^
```
[tests/testthat/test_mcmc_nltt.R:27:59:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L27) *style:* **Commas should always have a space after.**
```r
    colMeans( mcmc_nltt( tree1, LL_BD, c(1, 0.01), c(TRUE,TRUE),
                                                          ^
```
[tests/testthat/test_mcmc_nltt.R:27:65:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L27) *style:* **Trailing whitespace is superfluous.**
```r
    colMeans( mcmc_nltt( tree1, LL_BD, c(1, 0.01), c(TRUE,TRUE),
                                                                ^
```
[tests/testthat/test_mcmc_nltt.R:29:1:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L29) *style:* **Use two spaces to indent, never tabs.**
```r
	expect_error(
^
```
[tests/testthat/test_mcmc_nltt.R:30:1:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L30) *style:* **Use two spaces to indent, never tabs.**
```r
	  mcmc_nltt( p, LL_BD,c(1, -1), c(TRUE, TRUE),
^
```
[tests/testthat/test_mcmc_nltt.R:31:1:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L31) *style:* **Use two spaces to indent, never tabs.**
```r
	             iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
^
```
[tests/testthat/test_mcmc_nltt.R:32:1:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L32) *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:34:44:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L34) *style:* **Commas should always have a space after.**
```r
    colMeans( mcmc_nltt( tree2, LL_BD, c(1,0.01), c(TRUE,TRUE),
                                           ^
```
[tests/testthat/test_mcmc_nltt.R:34:58:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L34) *style:* **Commas should always have a space after.**
```r
    colMeans( mcmc_nltt( tree2, LL_BD, c(1,0.01), c(TRUE,TRUE),
                                                         ^
```
[tests/testthat/test_mcmc_nltt.R:40:1:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L40) *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:41:1:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L41) *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,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:41:13:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L41) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    colMeans( mcmc_nltt( q, LL_BD, c(1, 0.01), c(FALSE,FALSE), iterations = 10000,
            ^
```
[tests/testthat/test_mcmc_nltt.R:41:24:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L41) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    colMeans( mcmc_nltt( q, LL_BD, c(1, 0.01), c(FALSE,FALSE), iterations = 10000,
                       ^
```
[tests/testthat/test_mcmc_nltt.R:41:55:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L41) *style:* **Commas should always have a space after.**
```r
    colMeans( mcmc_nltt( q, LL_BD, c(1, 0.01), c(TRUE,TRUE), iterations = 10000,
                                                      ^
```
[tests/testthat/test_mcmc_nltt.R:41:81:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L41) *style:* **Trailing whitespace is superfluous.**
```r
    colMeans( mcmc_nltt( q, LL_BD, c(1, 0.01), c(TRUE,TRUE), iterations = 10000,
                                                                                ^
```
[tests/testthat/test_mcmc_nltt.R:43:1:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L43) *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,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_mcmc_nltt.R:43:56:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L43) *style:* **Commas should always have a space after.**
```r
    colMeans( mcmc_nltt( q, LL_BD, c(1, 0.01), c(FALSE,FALSE), iterations = 10000,
                                                       ^
```
[tests/testthat/test_mcmc_nltt.R:43:83:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L43) *style:* **Trailing whitespace is superfluous.**
```r
    colMeans( mcmc_nltt( q, LL_BD, c(1, 0.01), c(FALSE,FALSE), iterations = 10000,
                                                                                ^
```
[tests/testthat/test_mcmc_nltt.R:52:46:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L52) *style:* **Trailing whitespace is superfluous.**
```r
  p <- TESS::tess.sim.taxa(n = 1, nTaxa = 50,
                                             ^
```
[tests/testthat/test_mcmc_nltt.R:54:46:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L54) *style:* **Trailing whitespace is superfluous.**
```r
  q <- TESS::tess.sim.taxa(n = 1, nTaxa = 50,
                                             ^
```
[tests/testthat/test_mcmc_nltt.R:66:44:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L66) *style:* **Commas should always have a space after.**
```r
    mcmc_nltt( q, LL_BD, c(1, 0.0), c(TRUE,TRUE),
                                           ^
```
[tests/testthat/test_mcmc_nltt.R:72:53:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L72) *style:* **Trailing whitespace is superfluous.**
```r
    mcmc_nltt( 42, LL_BD, c(1, 0.01), c(TRUE, TRUE),
                                                    ^
```
[tests/testthat/test_mcmc_nltt.R:78:24:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L78) *style:* **Commas should always have a space after.**
```r
	  mcmc_nltt( p, LL_BD,c(1, -1), c(TRUE, TRUE),
                       ^
```
[tests/testthat/test_mcmc_nltt.R:78:48:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L78) *style:* **Trailing whitespace is superfluous.**
```r
	  mcmc_nltt( p, LL_BD,c(1, -1), c(TRUE, TRUE),
                                               ^
```
[tests/testthat/test_mcmc_nltt.R:79:33:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L79) *style:* **Put spaces around all infix operators.**
```r
	             iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                               ~^
```
[tests/testthat/test_mcmc_nltt.R:79:49:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L79) *style:* **Put spaces around all infix operators.**
```r
	             iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                               ~^~
```
[tests/testthat/test_mcmc_nltt.R:79:66:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L79) *style:* **Put spaces around all infix operators.**
```r
	             iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                                                ~^~
```
[tests/testthat/test_mcmc_nltt.R:79:77:](https://github.com/richelbilderbeek/nLTT/blob/97d178f4decee090a32cba1f57b91cc0f53debfe/tests/testthat/test_mcmc_nltt.R#L79) *style:* **Put spaces around all infix operators.**
```r
	             iterations = 10000, burnin = 1000, thinning = 1, sigma = 0.5),
                                                                           ~^~
```


this is really awsome i would like to get some help from u please


Did you mean `Array<out T>`?


@fjsnogueira please don't commit directly to master.


public class HelloWorld{

}


Az **sgdisk --zap-all** az esetleg létező partíciós táblát is törli, partíciós tábla híján nem lehet partíciót csinálni.


daocloud.io上面的镜像 023和024的TAG顺序反了，直接抓最新版的话，是023


There should not be getters and setters for dependency members.


heihei


Possible.
This is not 100% correct because the escaping is not formally required, the target process receives the command line string AS IS and can parse it at its own discretion with any escaping rules it likes. Actually, escaping rules do vary from app to app, and the `CommandLineBuilder` implements some average sane rules.
But it allows to submit unescaped raw text if needed, so would do for all uses.


Updated code with review comments.
Please review again. Thanks!


dsfsdfs


@dktapps I love how most of your code always ends up on ClearSky.


Hi @paulfitz I think there some autocomplete mismatch at line 948: shouldn't it be **m_pFrame->timestamp** instead of **m_pFrame->image**?


Sorry, but there is no simple way to make that in VLC, and not libvlccore.

Because VLC (and axvlc) is linking to libvlc and libvlccore and should be loaded automatically, but the VLC plugins should be explicitly loaded, but any library loaded by those plugins should only be loaded from the specified locations (SYS32) or explicitely.

I'll welcome any better patch that provide the same level of security.


Replace [key] with stg_name here.


...and here.


The objective of the patch is to the prevent the display of tagged items that are in unpublished categories. However the patch is incomplete and it is creating serious problems for several components that use tags in Components where items that are not assigned to a category, or items from components that allow multiple categories. This is affecting components such as jDownloads and HWDMediaShare that make use of tags.

HWDMediaShare have found a solution see
https://hwdmediashare.co.uk/blog/769-joomla-3-6-0-undesirable-change-affecting-joomla-tags-in-hwdmediashare

by changing lines 572 and 573 in libraries/cms/helper/tags.php lines from
```
// Join over categoris for get only published
->join('INNER', '#__categories AS tc ON tc.id = c.core_catid AND tc.published = 1')
```
to
```
// Join over categories to only get items in published categories, or items in no category
->join('LEFT', '#__categories AS tc ON tc.id = c.core_catid')->where('(tc.published = 1 OR tc.published IS NULL)')
```
ColinM


@matobet Simon's fixes were merged in. Can you rebase with latest and try again ?  Thanks.

/cc @isimluk


@ColinM2 please open a new issue / pull request with your chnages, else it get lost. Thanks.


lol


Published should never have a null value.  If some extension is setting that in the categories table, they are causing an invalid data set.


@lotem translator好像只能拿到輸入編碼。有辦法拿到候選漢字反查內碼顯示爲comment嗎？


I have an issue with my redmine, I login session expired immediately and I am redirected...

what could be causing this?

![image](https://cloud.githubusercontent.com/assets/22149023/18512446/79c50aca-7a89-11e6-8df8-aa9bc161c129.png)

App 2812 stderr:   Current user: anonymous
App 2812 stderr: Filter chain halted as :user_setup rendered or redirected
App 2812 stderr: Completed 302 Found in 17ms (ActiveRecord: 3.8ms)
App 2812 stderr: Started GET "/" for 146.xx.xx.xx at 2016-09-14 14:37:38 +0200
App 2812 stderr: Processing by WelcomeController#index as HTML
App 2812 stderr: Redirected to https://redmine.co.za/httpauth-login?back_url=https%3A%2F%2Fredmine.co.za%2F
App 2812 stderr: Filter chain halted as :session_expiration rendered or redirected
App 2812 stderr: Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
App 2812 stderr: Started GET "/" for xx.xx.xx.xx at 2016-09-14 14:37:43 +0200
App 2812 stderr: Processing by WelcomeController#index as HTML
App 2812 stderr:   Current user: anonymous
App 2812 stderr:   Rendered welcome/index.html.erb within layouts/base (1.8ms)
App 2812 stderr: Completed 200 OK in 28ms (Views: 14.2ms | ActiveRecord: 1.8ms)


I suggest to use a `private $classMap` instead of `if` construction


i am not sure about it


Isn't this what we agreed for the style guide though? Or is that limited to Next Steps? Also, do these references get picked up by GitHub? I assume not and we need to add a reference into a commit message instead.


Hi,

I'm having some issues getting this setup with the CLI.

I followed these instructions but ran into a few snags:

1. When I run the following command from the `node_modules/.bin folder` I get the following error: http://take.ms/fWSYd.

2. It doesn't seem like the javascript is working correctly as my input text is on top of the placeholder/label: http://take.ms/zdG96

3. It seems like some fonts are missing or something: http://take.ms/Gta23

Any help is appreciated!

Thanks,
Jason


Good advice. Sometime when you call layoutsubViews manually cause this too.


@snicolet @mcostalba sorry for bumping again, but apart of the direct checkers issue, both of your bugfix attempts aren't actually calculating pinners completely correct: they mix them up with snipers for discovered checks. In fact by renaming the variable to snipersForKing you gave it the right abstract meaning Snicolet, but for pin-aware SEE bugfix we are interested solely in real pinners.


Bug !


Bad spacing


msvc10 only + if we remove from bb, the  build may break != not including it in installers


Hi @aslubsky , I'm installing the ng-select from package.json using git://github.com/aslubsky/ng2-select.git but after the install the changes in this commit are not coming, is there any other step I need to perform to see the changes when I'm installing your ng-select?

Best


Thanks, I'll look into it. Spontaneously it should be safe since it is an internal api and not used in any recursive methods. (btw it's essentially the same as the `ActorSystemImpl.internalCallingThreadExecutionContext` from Akka)


Optional is with single 'n' (in title).


Bad alignment


it's no readable fragment of code. Split it to different conditions or rewrite it more compact.


@xxFlare sure, his code is clean and works
@dktapps thanks for trying on asyncai xd but wanted to remove anyways. new api etc incoming


I suspect that CodinGame will not be the only site where you practice solving problems. Over time, there will be others. One repo per platform will not be very practical, as they will all have the same boilerplate, which is tedious.

Here's what I do :)

I create one GitHub for coding exercises. I actually let GitHub suggest a funny name, like `animated-octo-batman`, which:

1. Not something that other people will look at: looks stupid
2. Makes me smile :)

In this repo, I create a Java project, with typical Maven dependencies (junit + mockito). In that project, I create some base package (for example `com.janosgyerik.practice`) and then one sub-package per platform, for example `codingame`, `leetcode`, `hackerrank`. In there I create further sub-packages as needed for `medium` and `hard` exercises. (Easy exercises are not worth putting under version control.)

Furthermore, I implement solutions in a way that I can easily copy-paste from my workplace, and just delete the first `package` line, and then ready to submit. Often the solution must go in a class named `Solution`, so this means that I have one sub-package per exercise.

Lastly, I create these packages and sub-packages in `src/test/java` instead of `src/main/java`, so that the test classes are side by side the real ones. These programs will not be deployed anywhere, ever, so it makes sense to simplify the code organization.

I hope this helps, and have fun!


Is there a plan B?


see https://github.com/robotology/QA/issues/139


Fixes #203


WTF OMG BBQ!


data: { confirm: t('helpers.links.confirm_delete', model: @contract.name) }


Good we have this. It really may be the case that someone will like to be notified about receiving `default_values`.


Updated code with review comments except creating a new file for common logic.
Raised PR #459 for common logic.
Will update and refactor this PR, once that is reviewed and merged, since it is common for the other spark ml plugins.
Please review again. Thanks!


The display date meta field was missing (by default it says DISPLAY DATE HERE) so I added this. It's just a text field, so you can put whatever kind of date helps give context.

![screen shot 2016-09-14 at 8 51 16 am](https://cloud.githubusercontent.com/assets/462020/18512731/74be7394-7a58-11e6-81c7-50a2b8a78011.png)


https://ffmpeg.org/pipermail/ffmpeg-cvslog/2012-May/050381.html
https://ffmpeg.org/doxygen/trunk/libmp3lame_8c-source.html


are you add shiboleth config in virtualhost and edited application_controller.rb ?

`        <Location /httpauth-*>
        RewriteEngine     On
        RewriteCond       %{IS_SUBREQ} ^false$
        RewriteCond       %{LA-U:REMOTE_USER} (.+)
        RewriteRule ^.*$ - [E=RU:%1]
        #RewriteRule       . - [E=RU:%1]
        RequestHeader     add X_REMOTE_USER_6E3RZQKX %{RU}e
        ShibRequestSetting requireSession On
        ShibRequestSetting applicationId default
        AuthType shibboleth
        Require valid-user
        </Location>
`


Maybe there should be a "delete with confirmation" and a "delete" helper.


file_out == NULL is handled separately and always turned into file_out != null. This is used for both, applet selection and EF selection. FCP caching is only used for applet selection.

The resulting file_out needs to be duplicated anyway, as the caller is freeing the structure independently of the cached result.


We had added a "coming soon" mode, which made the link to this class not clickable from the Courses page, though the page was still live. I disabled this, since the syllabus was ready.


I checked this prop from the appcelerator documentation.


closes #3


或者應該內碼輸入漢字，反查當前方案的編碼。這個好像更實用些


I have no idea which is more idiomatic, but now that you've brought it up, I suspect `getByType()` is the preferred method from Java. The `getByName()` method enables the Groovy `extensions.greeting` syntax.


I have been asked to do so, maybe I didn't understand. As I understood, you have something in you deployment scripts what places version tag automatically.

Please bring it back of course if I broke something :)


In Markdown, the lightweight formatting syntax used in Siteleaf, stacked lines of text need two spaces at the end of each line to create a linebreak. Otherwise it renders as a regular paragraph. You can see I added those spaces here.


This change is not yet updated in the version upgrade system.


Obrigado por hostear esses últimos dias.


Hi,
I'm using ember-i18n which recently changed their code to use ``Ember.String.htmlSafe``, but your type checking: ``text instanceof Ember.String.htmlSafe`` seems to not work. I've checked following statements:

``(new Ember.String.htmlSafe('lol')) instanceof Ember.String.htmlSafe`` -> false
``(new Ember.String.htmlSafe('lol')) instanceof Ember.Handlebars.SafeString`` -> true

Is this type checking tested?


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


This just highlights that I have done far more Groovy than Java these past years. `printf()` is definitely better here since we don't have another form of string expansion.


@pmuchowski  please tests again , it seems there was a connection error in Jenkins as far as I noticed from the logs.


I envision the grammar would be generated from the same source data that drives the "parse options from argv" code.  This way, when a project wants to add a --foo option, they need to update just one place, not two.


Sos un boludo


Video


Thank you for the advice! Gonna apply right away! :)