Running 'spelling.R' [0s]
  Running 'testthat.R' [528s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > options(testthat.progress.max_fails = 100)
  > library(testthat)
  > library(greta)
  
  Attaching package: 'greta'
  
  The following objects are masked from 'package:stats':
  
      binomial, cov2cor, poisson
  
  The following objects are masked from 'package:base':
  
      %*%, apply, backsolve, beta, chol2inv, colMeans, colSums, diag,
      eigen, forwardsolve, gamma, identity, rowMeans, rowSums, sweep,
      tapply
  
  > test_check("greta")
  ℹ Initialising python and checking dependencies, this may take a moment.
  ✔ Initialising python and checking dependencies ... done!
  
  
  WARNING:tensorflow:
  The TensorFlow contrib module will not be included in TensorFlow 2.0.
  For more information, please see:
    * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
    * https://github.com/tensorflow/addons
    * https://github.com/tensorflow/io (for I/O related ops)
  If you depend on functionality not listed there, please file an issue.
  
  
  running 4 chains simultaneously on up to 2 cores
  
      warmup                                             0/50 | eta:  ?s          
      warmup ========================================== 50/50 | eta:  0s          
  
    sampling                                             0/50 | eta:  ?s          
    sampling ========================================== 50/50 | eta:  0s          
  running 2 samplers in parallel, each on 1 core
  
  
  i Installing python modules into 'greta-env' conda environment, this may take...
  x Installing python modules into 'greta-env' conda environment, this may take...
  
  [ FAIL 1 | WARN 0 | SKIP 144 | PASS 1038 ]
  
  ══ Skipped tests (144) ═════════════════════════════════════════════════════════
  • On CRAN (66): 'test-check-m1.R:4:3', 'test-diagrammer-installed.R:3:3',
    'test-tensorflow-rpkg-stability.R:25:3',
    'test-tensorflow-rpkg-stability.R:31:3',
    'test-tensorflow-rpkg-stability.R:57:3',
    'test-tensorflow-rpkg-stability.R:78:3',
    'test-tensorflow-rpkg-stability.R:86:3',
    'test-tensorflow-rpkg-stability.R:108:3', 'test_as_data.R:111:3',
    'test_calculate.R:193:3', 'test_calculate.R:249:3', 'test_calculate.R:280:3',
    'test_calculate.R:298:3', 'test_calculate.R:318:3', 'test_calculate.R:335:3',
    'test_calculate.R:380:3', 'test_calculate.R:514:3', 'test_calculate.R:525:3',
    'test_calculate.R:536:3', 'test_distributions.R:707:3',
    'test_distributions.R:736:3', 'test_distributions.R:768:3',
    'test_distributions.R:790:3', 'test_distributions.R:841:3',
    'test_distributions.R:924:3', 'test_distributions.R:966:3',
    'test_distributions.R:1009:3', 'test_distributions.R:1078:3',
    'test_extract_replace_combine.R:397:3',
    'test_extract_replace_combine.R:436:3',
    'test_extract_replace_combine.R:448:3',
    'test_extract_replace_combine.R:462:3',
    'test_extract_replace_combine.R:481:3',
    'test_extract_replace_combine.R:624:3', 'test_functions.R:77:5',
    'test_functions.R:91:5', 'test_functions.R:256:3', 'test_functions.R:321:3',
    'test_functions.R:387:3', 'test_functions.R:412:3', 'test_functions.R:439:3',
    'test_functions.R:501:3', 'test_functions.R:529:3', 'test_future.R:10:3',
    'test_future.R:23:3', 'test_future.R:39:3', 'test_greta_array_class.R:11:3',
    'test_iid_samples.R:298:3', 'test_inference.R:85:5',
    'test_inference.R:149:3', 'test_inference.R:178:5', 'test_inference.R:269:3',
    'test_inference.R:302:3', 'test_inference.R:398:3', 'test_inference.R:414:3',
    'test_inference.R:459:3', 'test_inference.R:482:3', 'test_inference.R:545:3',
    'test_inference.R:580:3', 'test_inference.R:608:3', 'test_inference.R:649:3',
    'test_install_greta_deps.R:3:3', 'test_joint.R:86:3', 'test_joint.R:98:3',
    'test_joint.R:111:3', 'test_misc.R:8:3'
  • check_tf_version() is not TRUE (78): 'test_misc.R:24:3', 'test_misc.R:30:3',
    'test_misc.R:43:3', 'test_misc.R:58:3', 'test_misc.R:66:3',
    'test_misc.R:117:3', 'test_misc.R:157:3', 'test_misc.R:182:3',
    'test_misc.R:193:3', 'test_misc.R:206:3', 'test_misc.R:230:3',
    'test_mixture.R:2:3', 'test_mixture.R:16:3', 'test_mixture.R:32:3',
    'test_mixture.R:47:3', 'test_mixture.R:62:3', 'test_mixture.R:76:3',
    'test_mixture.R:101:3', 'test_mixture.R:115:3', 'test_mixture.R:134:3',
    'test_mixture.R:172:3', 'test_mixture.R:218:3', 'test_mixture.R:255:3',
    'test_operators.R:2:3', 'test_operators.R:19:3', 'test_operators.R:35:3',
    'test_operators.R:49:3', 'test_operators.R:64:3', 'test_operators.R:99:3',
    'test_posteriors.R:2:3', 'test_posteriors.R:36:3', 'test_posteriors.R:46:3',
    'test_posteriors.R:58:3', 'test_posteriors.R:69:3', 'test_posteriors.R:82:3',
    'test_posteriors.R:100:3', 'test_representations.R:2:3',
    'test_representations.R:29:3', 'test_representations.R:56:3',
    'test_representations.R:88:3', 'test_representations.R:131:3',
    'test_representations.R:156:3', 'test_representations.R:192:3',
    'test_representations.R:251:3', 'test_simulate.R:2:3',
    'test_simulate.R:21:3', 'test_simulate.R:58:3', 'test_simulate.R:71:3',
    'test_simulate.R:86:3', 'test_syntax.R:2:3', 'test_syntax.R:16:3',
    'test_syntax.R:35:3', 'test_syntax.R:97:3', 'test_transforms.R:2:3',
    'test_transforms.R:32:3', 'test_truncated.R:9:3', 'test_truncated.R:53:3',
    'test_truncated.R:98:3', 'test_truncated.R:142:3', 'test_truncated.R:192:3',
    'test_truncated.R:237:3', 'test_truncated.R:270:3', 'test_truncated.R:325:3',
    'test_truncated.R:378:3', 'test_truncated.R:426:3', 'test_truncated.R:471:3',
    'test_truncated.R:516:3', 'test_truncated.R:561:3', 'test_truncated.R:606:3',
    'test_truncated.R:640:3', 'test_variables.R:2:3', 'test_variables.R:34:3',
    'test_variables.R:62:3', 'test_variables.R:82:3', 'test_variables.R:104:3',
    'test_variables.R:124:3', 'test_variables.R:150:3', 'test_variables.R:170:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_distributions.R:418:3'): dirichlet distribution has correct density ──
  `are_all_true` is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      ▆
   1. └─greta:::compare_distribution(...) at test_distributions.R:418:2
   2.   └─greta:::compare_op(r_log_density, greta_log_density, tolerance) at D:\RCompile\CRANpkg\local\4.4\greta.Rcheck\tests\testthat\helpers.R:78:2
   3.     └─testthat::expect_true(are_all_true)
  
  [ FAIL 1 | WARN 0 | SKIP 144 | PASS 1038 ]
  Error: Test failures
  Execution halted