Last updated on 2023-01-10 09:52:09 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.2 | 5.30 | 57.46 | 62.76 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.2 | 3.81 | 44.48 | 48.29 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.2 | 89.42 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.2 | 90.36 | ERROR | |||
r-devel-windows-x86_64 | 0.1.2 | 67.00 | 101.00 | 168.00 | ERROR | |
r-patched-linux-x86_64 | 0.1.2 | 5.16 | 56.83 | 61.99 | ERROR | |
r-release-linux-x86_64 | 0.1.2 | 4.34 | 49.60 | 53.94 | ERROR | |
r-release-macos-arm64 | 0.1.2 | 30.00 | NOTE | |||
r-release-macos-x86_64 | 0.1.2 | 49.00 | NOTE | |||
r-release-windows-x86_64 | 0.1.2 | 37.00 | 107.00 | 144.00 | ERROR | |
r-oldrel-macos-arm64 | 0.1.2 | 33.00 | NOTE | |||
r-oldrel-macos-x86_64 | 0.1.2 | 43.00 | NOTE | |||
r-oldrel-windows-ix86+x86_64 | 0.1.2 | 11.00 | 87.00 | 98.00 | ERROR |
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(mockery)
> library(DataFakeR)
>
> test_check("DataFakeR")
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (1)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-simulate_cols.R:18'): generate_deterministic creates values based on defined constraints and formulas ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:18:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::generate_deterministic(...)
5. └─DataFakeR:::prepare_expression(col_expr[[1]])
6. └─purrr::modify(expr, prepare_expression)
7. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
8. └─rlang::abort(...)
── Error ('test-simulate_cols.R:36'): fake_column fakes deterministic columns correctly ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:36:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::fake_column(...)
5. └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
6. └─DataFakeR:::prepare_expression(col_expr[[1]])
7. └─purrr::modify(expr, prepare_expression)
8. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
9. └─rlang::abort(...)
── Error ('test-simulate_cols.R:91'): group_by parameter is supported by all methods ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_cols.R:91:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
── Error ('test-simulate_tables.R:19'): simulate_schema preserved defined rules properly ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_tables.R:19:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
Error: Test failures
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘datafaker_workflow.Rmd’ using rmarkdown
--- finished re-building ‘datafaker_workflow.Rmd’
--- re-building ‘extra_parameters.Rmd’ using rmarkdown
Quitting from lines 68-71 (extra_parameters.Rmd)
Error: processing vignette ‘extra_parameters.Rmd’ failed with diagnostics:
Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
--- failed re-building ‘extra_parameters.Rmd’
--- re-building ‘main.Rmd’ using rmarkdown
--- finished re-building ‘main.Rmd’
--- re-building ‘schema_structure.Rmd’ using rmarkdown
--- finished re-building ‘schema_structure.Rmd’
--- re-building ‘simulation_methods.Rmd’ using rmarkdown
Quitting from lines 133-135 (simulation_methods.Rmd)
Error: processing vignette ‘simulation_methods.Rmd’ failed with diagnostics:
Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
--- failed re-building ‘simulation_methods.Rmd’
--- re-building ‘simulation_options.Rmd’ using rmarkdown
--- finished re-building ‘simulation_options.Rmd’
--- re-building ‘structure_from_db.Rmd’ using rmarkdown
--- finished re-building ‘structure_from_db.Rmd’
SUMMARY: processing the following files failed:
‘extra_parameters.Rmd’ ‘simulation_methods.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(mockery)
> library(DataFakeR)
>
> test_check("DataFakeR")
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (1)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-simulate_cols.R:18'): generate_deterministic creates values based on defined constraints and formulas ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:18:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::generate_deterministic(...)
5. └─DataFakeR:::prepare_expression(col_expr[[1]])
6. └─purrr::modify(expr, prepare_expression)
7. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
8. └─rlang::abort(...)
── Error ('test-simulate_cols.R:36'): fake_column fakes deterministic columns correctly ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:36:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::fake_column(...)
5. └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
6. └─DataFakeR:::prepare_expression(col_expr[[1]])
7. └─purrr::modify(expr, prepare_expression)
8. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
9. └─rlang::abort(...)
── Error ('test-simulate_cols.R:91'): group_by parameter is supported by all methods ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_cols.R:91:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
── Error ('test-simulate_tables.R:19'): simulate_schema preserved defined rules properly ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_tables.R:19:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.2
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘R6’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [11s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(mockery)
> library(DataFakeR)
>
> test_check("DataFakeR")
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (1)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-simulate_cols.R:18'): generate_deterministic creates values based on defined constraints and formulas ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:18:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::generate_deterministic(...)
5. └─DataFakeR:::prepare_expression(col_expr[[1]])
6. └─purrr::modify(expr, prepare_expression)
7. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
8. └─rlang::abort(...)
── Error ('test-simulate_cols.R:36'): fake_column fakes deterministic columns correctly ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:36:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::fake_column(...)
5. └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
6. └─DataFakeR:::prepare_expression(col_expr[[1]])
7. └─purrr::modify(expr, prepare_expression)
8. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
9. └─rlang::abort(...)
── Error ('test-simulate_cols.R:91'): group_by parameter is supported by all methods ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_cols.R:91:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
── Error ('test-simulate_tables.R:19'): simulate_schema preserved defined rules properly ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_tables.R:19:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘datafaker_workflow.Rmd’ using rmarkdown
--- finished re-building ‘datafaker_workflow.Rmd’
--- re-building ‘extra_parameters.Rmd’ using rmarkdown
Quitting from lines 68-71 (extra_parameters.Rmd)
Error: processing vignette 'extra_parameters.Rmd' failed with diagnostics:
Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
--- failed re-building ‘extra_parameters.Rmd’
--- re-building ‘main.Rmd’ using rmarkdown
--- finished re-building ‘main.Rmd’
--- re-building ‘schema_structure.Rmd’ using rmarkdown
--- finished re-building ‘schema_structure.Rmd’
--- re-building ‘simulation_methods.Rmd’ using rmarkdown
Quitting from lines 133-135 (simulation_methods.Rmd)
Error: processing vignette 'simulation_methods.Rmd' failed with diagnostics:
Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
--- failed re-building ‘simulation_methods.Rmd’
--- re-building ‘simulation_options.Rmd’ using rmarkdown
--- finished re-building ‘simulation_options.Rmd’
--- re-building ‘structure_from_db.Rmd’ using rmarkdown
--- finished re-building ‘structure_from_db.Rmd’
SUMMARY: processing the following files failed:
‘extra_parameters.Rmd’ ‘simulation_methods.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(mockery)
> library(DataFakeR)
>
> test_check("DataFakeR")
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (1)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-simulate_cols.R:18'): generate_deterministic creates values based on defined constraints and formulas ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:18:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::generate_deterministic(...)
5. └─DataFakeR:::prepare_expression(col_expr[[1]])
6. └─purrr::modify(expr, prepare_expression)
7. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
8. └─rlang::abort(...)
── Error ('test-simulate_cols.R:36'): fake_column fakes deterministic columns correctly ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:36:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::fake_column(...)
5. └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
6. └─DataFakeR:::prepare_expression(col_expr[[1]])
7. └─purrr::modify(expr, prepare_expression)
8. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
9. └─rlang::abort(...)
── Error ('test-simulate_cols.R:91'): group_by parameter is supported by all methods ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_cols.R:91:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
── Error ('test-simulate_tables.R:19'): simulate_schema preserved defined rules properly ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_tables.R:19:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.2
Check: tests
Result: ERROR
Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(mockery)
> library(DataFakeR)
>
> test_check("DataFakeR")
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (1)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-simulate_cols.R:18'): generate_deterministic creates values based on defined constraints and formulas ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:18:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::generate_deterministic(...)
5. └─DataFakeR:::prepare_expression(col_expr[[1]])
6. └─purrr::modify(expr, prepare_expression)
7. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
8. └─rlang::abort(...)
── Error ('test-simulate_cols.R:36'): fake_column fakes deterministic columns correctly ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:36:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::fake_column(...)
5. └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
6. └─DataFakeR:::prepare_expression(col_expr[[1]])
7. └─purrr::modify(expr, prepare_expression)
8. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
9. └─rlang::abort(...)
── Error ('test-simulate_cols.R:91'): group_by parameter is supported by all methods ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_cols.R:91:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
── Error ('test-simulate_tables.R:19'): simulate_schema preserved defined rules properly ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_tables.R:19:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.2
Check: tests
Result: ERROR
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(mockery)
> library(DataFakeR)
>
> test_check("DataFakeR")
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (1)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-simulate_cols.R:18'): generate_deterministic creates values based on defined constraints and formulas ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:18:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::generate_deterministic(...)
5. └─DataFakeR:::prepare_expression(col_expr[[1]])
6. └─purrr::modify(expr, prepare_expression)
7. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
8. └─rlang::abort(...)
── Error ('test-simulate_cols.R:36'): fake_column fakes deterministic columns correctly ──
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simulate_cols.R:36:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─DataFakeR:::fake_column(...)
5. └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
6. └─DataFakeR:::prepare_expression(col_expr[[1]])
7. └─purrr::modify(expr, prepare_expression)
8. └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
9. └─rlang::abort(...)
── Error ('test-simulate_cols.R:91'): group_by parameter is supported by all methods ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_cols.R:91:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
── Error ('test-simulate_tables.R:19'): simulate_schema preserved defined rules properly ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
▆
1. ├─DataFakeR:::simulate_schema_obj(schema) at test-simulate_tables.R:19:2
2. │ └─schema_obj$get_schema("graph") %>% ...
3. ├─tidygraph::mutate(...)
4. ├─tidygraph:::mutate.tbl_graph(...)
5. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
6. │ ├─dplyr::mutate(d_tmp, ...)
7. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. │ ├─base::withCallingHandlers(...)
10. │ └─mask$eval_all_mutate(quo)
11. ├─tidygraph::map_bfs(...)
12. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. │ ├─base::do.call(...)
14. │ └─DataFakeR (local) `<fn>`(...)
15. │ └─table %>% ...
16. ├─tidygraph::mutate(...)
17. ├─tidygraph:::mutate.tbl_graph(...)
18. │ └─tidygraph::mutate_as_tbl(.data, !!!dot)
19. │ ├─dplyr::mutate(d_tmp, ...)
20. │ └─dplyr:::mutate.data.frame(d_tmp, ...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_mutate(quo)
24. ├─tidygraph::map_bfs(...)
25. │ └─tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. │ ├─base::do.call(...)
27. │ └─DataFakeR (local) `<fn>`(...)
28. │ └─DataFakeR:::fake_column(...)
29. │ └─DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. │ └─DataFakeR:::prepare_expression(col_expr[[1]])
31. │ └─purrr::modify(expr, prepare_expression)
32. │ └─cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. │ └─rlang::abort(...)
34. │ └─rlang:::signal_abort(cnd, .file)
35. │ └─base::signalCondition(cnd)
36. ├─dplyr (local) `<fn>`(`<rlng_rrr>`)
37. │ └─rlang::abort(...)
38. │ └─rlang:::signal_abort(cnd, .file)
39. │ └─base::signalCondition(cnd)
40. └─dplyr (local) `<fn>`(`<dply:::_>`)
41. └─rlang::abort(...)
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.1.2
Check: tests
Result: ERROR
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(mockery)
> library(DataFakeR)
>
> test_check("DataFakeR")
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
== Skipped tests ===============================================================
* On CRAN (1)
== Failed tests ================================================================
-- Error ('test-simulate_cols.R:18'): generate_deterministic creates values based on defined constraints and formulas --
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
x
1. +-testthat::expect_equal(...) at test-simulate_cols.R:18:2
2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
3. | \-rlang::eval_bare(expr, quo_get_env(quo))
4. \-DataFakeR:::generate_deterministic(...)
5. \-DataFakeR:::prepare_expression(col_expr[[1]])
6. \-purrr::modify(expr, prepare_expression)
7. \-cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
8. \-rlang::abort(...)
-- Error ('test-simulate_cols.R:36'): fake_column fakes deterministic columns correctly --
Error in `purrr::modify(expr, prepare_expression)`: `.x` must be a vector, list, or data frame, not a call.
Backtrace:
x
1. +-testthat::expect_equal(...) at test-simulate_cols.R:36:2
2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
3. | \-rlang::eval_bare(expr, quo_get_env(quo))
4. \-DataFakeR:::fake_column(...)
5. \-DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
6. \-DataFakeR:::prepare_expression(col_expr[[1]])
7. \-purrr::modify(expr, prepare_expression)
8. \-cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
9. \-rlang::abort(...)
-- Error ('test-simulate_cols.R:91'): group_by parameter is supported by all methods --
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
x
1. +-DataFakeR:::simulate_schema_obj(schema) at test-simulate_cols.R:91:2
2. | \-schema_obj$get_schema("graph") %>% ...
3. +-tidygraph::mutate(...)
4. +-tidygraph:::mutate.tbl_graph(...)
5. | \-tidygraph::mutate_as_tbl(.data, !!!dot)
6. | +-dplyr::mutate(d_tmp, ...)
7. | \-dplyr:::mutate.data.frame(d_tmp, ...)
8. | \-dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. | +-base::withCallingHandlers(...)
10. | \-mask$eval_all_mutate(quo)
11. +-tidygraph::map_bfs(...)
12. | \-tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. | +-base::do.call(...)
14. | \-DataFakeR (local) `<fn>`(...)
15. | \-table %>% ...
16. +-tidygraph::mutate(...)
17. +-tidygraph:::mutate.tbl_graph(...)
18. | \-tidygraph::mutate_as_tbl(.data, !!!dot)
19. | +-dplyr::mutate(d_tmp, ...)
20. | \-dplyr:::mutate.data.frame(d_tmp, ...)
21. | \-dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. | +-base::withCallingHandlers(...)
23. | \-mask$eval_all_mutate(quo)
24. +-tidygraph::map_bfs(...)
25. | \-tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. | +-base::do.call(...)
27. | \-DataFakeR (local) `<fn>`(...)
28. | \-DataFakeR:::fake_column(...)
29. | \-DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. | \-DataFakeR:::prepare_expression(col_expr[[1]])
31. | \-purrr::modify(expr, prepare_expression)
32. | \-cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. | \-rlang::abort(...)
34. | \-rlang:::signal_abort(cnd, .file)
35. | \-base::signalCondition(cnd)
36. +-dplyr (local) `<fn>`(`<rlng_rrr>`)
37. | \-rlang::abort(...)
38. | \-rlang:::signal_abort(cnd, .file)
39. | \-base::signalCondition(cnd)
40. \-dplyr (local) `<fn>`(`<dply:::_>`)
41. \-rlang::abort(...)
-- Error ('test-simulate_tables.R:19'): simulate_schema preserved defined rules properly --
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(d_tmp, ...)`: Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
Backtrace:
x
1. +-DataFakeR:::simulate_schema_obj(schema) at test-simulate_tables.R:19:2
2. | \-schema_obj$get_schema("graph") %>% ...
3. +-tidygraph::mutate(...)
4. +-tidygraph:::mutate.tbl_graph(...)
5. | \-tidygraph::mutate_as_tbl(.data, !!!dot)
6. | +-dplyr::mutate(d_tmp, ...)
7. | \-dplyr:::mutate.data.frame(d_tmp, ...)
8. | \-dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. | +-base::withCallingHandlers(...)
10. | \-mask$eval_all_mutate(quo)
11. +-tidygraph::map_bfs(...)
12. | \-tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
13. | +-base::do.call(...)
14. | \-DataFakeR (local) `<fn>`(...)
15. | \-table %>% ...
16. +-tidygraph::mutate(...)
17. +-tidygraph:::mutate.tbl_graph(...)
18. | \-tidygraph::mutate_as_tbl(.data, !!!dot)
19. | +-dplyr::mutate(d_tmp, ...)
20. | \-dplyr:::mutate.data.frame(d_tmp, ...)
21. | \-dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
22. | +-base::withCallingHandlers(...)
23. | \-mask$eval_all_mutate(quo)
24. +-tidygraph::map_bfs(...)
25. | \-tidygraph:::call_nodes(graph, .f, search_df, paths, dot_params)
26. | +-base::do.call(...)
27. | \-DataFakeR (local) `<fn>`(...)
28. | \-DataFakeR:::fake_column(...)
29. | \-DataFakeR:::generate_deterministic(n, col_def, schema, faker_opts)
30. | \-DataFakeR:::prepare_expression(col_expr[[1]])
31. | \-purrr::modify(expr, prepare_expression)
32. | \-cli::cli_abort("{.arg .x} must be a vector, list, or data frame, not {.obj_type_friendly {.x}}.")
33. | \-rlang::abort(...)
34. | \-rlang:::signal_abort(cnd, .file)
35. | \-base::signalCondition(cnd)
36. +-dplyr (local) `<fn>`(`<rlng_rrr>`)
37. | \-rlang::abort(...)
38. | \-rlang:::signal_abort(cnd, .file)
39. | \-base::signalCondition(cnd)
40. \-dplyr (local) `<fn>`(`<dply:::_>`)
41. \-rlang::abort(...)
[ FAIL 4 | WARN 2 | SKIP 1 | PASS 47 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64
Version: 0.1.2
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building 'datafaker_workflow.Rmd' using rmarkdown
--- finished re-building 'datafaker_workflow.Rmd'
--- re-building 'extra_parameters.Rmd' using rmarkdown
Quitting from lines 68-71 (extra_parameters.Rmd)
Error: processing vignette 'extra_parameters.Rmd' failed with diagnostics:
Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
--- failed re-building 'extra_parameters.Rmd'
--- re-building 'main.Rmd' using rmarkdown
Error: processing vignette 'main.Rmd' failed with diagnostics:
object 'preview_math' not found
--- failed re-building 'main.Rmd'
--- re-building 'schema_structure.Rmd' using rmarkdown
--- finished re-building 'schema_structure.Rmd'
--- re-building 'simulation_methods.Rmd' using rmarkdown
Quitting from lines 133-135 (simulation_methods.Rmd)
Error: processing vignette 'simulation_methods.Rmd' failed with diagnostics:
Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `mutate()`:
! Problem while computing `state = tidygraph::map_bfs(...)`.
Caused by error in `purrr::modify()`:
! `.x` must be a vector, list, or data frame, not a call.
--- failed re-building 'simulation_methods.Rmd'
--- re-building 'simulation_options.Rmd' using rmarkdown
--- finished re-building 'simulation_options.Rmd'
--- re-building 'structure_from_db.Rmd' using rmarkdown
--- finished re-building 'structure_from_db.Rmd'
SUMMARY: processing the following files failed:
'extra_parameters.Rmd' 'main.Rmd' 'simulation_methods.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64