Skip to content

Add missing prior distributions #436

Add missing prior distributions

Add missing prior distributions #436

GitHub Actions / Unit Tests Summary failed Jan 31, 2024 in 0s

1 errors, 24 skipped, 73 pass in 5m 24s

  1 files   34 suites   5m 24s ⏱️
 98 tests  73 βœ…β€ƒ24 πŸ’€β€ƒ0 βŒβ€ƒ1 πŸ”₯
346 runsβ€Šβ€ƒ320 βœ…β€ƒ24 πŸ’€β€ƒ1 βŒβ€ƒ1 πŸ”₯

Results for commit eba1bbd.

Annotations

Check warning on line 0 in Prior

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 14 runs failed: Priors_work_as_expected (Prior)

jmpost.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`full_sm` (`actual`) not equal to StanModule(test_path("models", "Prior_3.stan")) (`expected`). ('test-Prior.R:71:5')
`full_sm` (`actual`) not equal to StanModule(test_path("models", "Prior_3.stan")) (`expected`).

     actual@data                           | expected@data    
 [1] "    real prior_mu_tom;"              - ""            [1]
 [2] "    real<lower=0> prior_sigma_tom;"  -                  
 [3] "    real<lower=0> prior_alpha_dave;" -                  
 [4] "    real<lower=0> prior_beta_dave;"  -                  
 [5] "    real<lower=0> prior_alpha_jim;"  -                  
 [6] "    real<lower=0> prior_beta_jim;"   -                  
 [7] "    real<lower=0> prior_nu_ben;"     -                  
 [8] "    real prior_mu_ben;"              -                  
 [9] "    real<lower=0> prior_sigma_ben;"  -                  
[10] "    real prior_alpha_kim;"           -                  
[11] "    real prior_beta_kim;"            -                  

    actual@parameters | expected@parameters    
[1] "    real tom;"   - ""                  [1]
[2] "    real dave;"  -                        
[3] "    real jim;"   -                        
[4] "    real ben;"   -                        
[5] "    real kim;"   -                        

actual@model vs expected@model
- "    tom ~ logistic(prior_mu_tom, prior_sigma_tom);"
- "    dave ~ loglogistic(prior_alpha_dave, prior_beta_dave);"
- "    jim ~ inv_gamma(prior_alpha_jim, prior_beta_jim);"
- "    ben ~ student_t(prior_nu_ben, prior_mu_ben, prior_sigma_ben);"
- "    kim ~ uniform(prior_alpha_kim, prior_beta_kim);"
+ ""

Check failure on line 0 in Prior

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 14 runs with error: Priors_work_as_expected (Prior)

jmpost.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `initialize(...)`: Assertion on 'stan_file' failed: File does not exist: 'models/Prior_3.stan'. ('test-Prior.R:78:5')
Error in `initialize(...)`: Assertion on 'stan_file' failed: File does not exist: 'models/Prior_3.stan'.
Backtrace:
    x
 1. \-cmdstanr::cmdstan_model(...) at test-Prior.R:78:5
 2.   \-CmdStanModel$new(...)
 3.     \-cmdstanr (local) initialize(...)
 4.       \-cmdstanr:::assert_file_exists(...)
 5.         \-checkmate::makeAssertion(files, res, .var.name, add)
 6.           \-checkmate:::mstop(...)