Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A lot of tests are skipped [ FAIL 0 | WARN 0 | SKIP 37 | PASS 49 ] #359

Open
barracuda156 opened this issue Sep 15, 2024 · 0 comments
Open

Comments

@barracuda156
Copy link

Is there some specific reason to skip almost the half of tests?

R version 4.4.1 (2024-06-14) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.0.0d2 (32-bit)

> library(testthat)
> 
> library(CausalQueries)
Loading required package: Rcpp
> 
> test_check("CausalQueries")
[ FAIL 0 | WARN 0 | SKIP 37 | PASS 49 ]

══ Skipped tests (37) ══════════════════════════════════════════════════════════
• On CRAN (35): 'test_data_helpers.R:9:1', 'test_data_strategy.R:9:1',
  'test_draw_causal_type.R:5:1', 'test_get_ambiguity_matrix.R:8:1',
  'test_get_causal_types.R:8:1', 'test_get_event_prob.R:9:1',
  'test_get_nodal_types.R:9:1', 'test_get_query_types.R:8:1',
  'test_get_type_prob.R:8:1', 'test_get_types.R:8:1', 'test_grab.R:4:1',
  'test_helpers.R:7:1', 'test_layering.R:9:1', 'test_lookuptype.R:10:1',
  'test_make_data.R:4:1', 'test_make_events.R:5:1', 'test_make_model.R:3:1',
  'test_map_query_to_causal_types.R:8:1', 'test_map_query_to_nodal_type.R:9:1',
  'test_misc.R:8:1', 'test_observe.R:9:1', 'test_parmap.R:3:1',
  'test_plot_dag.R:3:1', 'test_prep_stan_data.R:8:1',
  'test_query_helpers.R:8:1', 'test_query_model.R:4:1',
  'test_restrictions.R:8:1', 'test_reveal_outcomes.R:8:1',
  'test_set_confound.R:3:1', 'test_set_parameter_matrix.R:3:1',
  'test_set_parameters.R:8:1', 'test_set_prior_distribution.R:3:1',
  'test_set_priors.R:4:1', 'test_set_restrictions.R:6:1',
  'test_update_model.R:9:1'
• empty test (2): 'test_get_posterior_distribution.R:9:1',
  'test_get_posterior_distribution.R:19:1'

[ FAIL 0 | WARN 0 | SKIP 37 | PASS 49 ]
> 
> if (length(strsplit(packageDescription("CausalQueries")$Version, "\\.")[[1]]) > 3) {
+   Sys.setenv("RunAllRcppTests"="yes")
+ }
> 
> proc.time()
   user  system elapsed 
 23.091   0.874  25.135 

Version of CausalQueries used: 9d6da89

@gerasy1987 gerasy1987 mentioned this issue Sep 24, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant