CRAN Package Check Results for Package constructive

Last updated on 2024-03-01 19:48:55 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 9.35 95.61 104.96 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 7.94 72.44 80.38 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 129.44 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.0 146.56 ERROR
r-devel-windows-x86_64 0.2.0 11.00 95.00 106.00 OK
r-patched-linux-x86_64 0.2.0 7.27 93.07 100.34 ERROR
r-release-linux-x86_64 0.2.0 7.82 93.75 101.57 ERROR
r-release-macos-arm64 0.2.0 46.00 OK
r-release-macos-x86_64 0.2.0 104.00 OK
r-release-windows-x86_64 0.2.0 16.00 115.00 131.00 ERROR
r-oldrel-macos-arm64 0.2.0 44.00 OK
r-oldrel-windows-x86_64 0.2.0 14.00 110.00 124.00 ERROR

Check Details

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [31s/38s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(constructive) > > test_check("constructive") [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] ══ Skipped tests (58) ══════════════════════════════════════════════════════════ • On CRAN (55): 'test-abort.R:2:3', 'test-abort.R:27:3', 'test-construct_diff.R:2:3', 'test-construct_multi.R:15:3', 'test-construct_signature.R:2:3', 'test-deparse_call.R:2:3', 'test-encoding.R:2:3', 'test-opts.R:2:3', 'test-others.R:2:3', 'test-others.R:20:3', 'test-others.R:27:3', 'test-repair_attributes.R:4:3', 'test-s3-AsIs.R:2:3', 'test-s3-Date.R:15:3', 'test-s3-array.R:2:3', 'test-s3-atomic.R:2:3', 'test-s3-atomic.R:36:3', 'test-s3-atomic.R:48:3', 'test-s3-constructive_options.R:2:3', 'test-s3-data.frame.R:2:3', 'test-s3-data.table.R:2:3', 'test-s3-dm.R:2:3', 'test-s3-dots.R:2:3', 'test-s3-environment.R:2:3', 'test-s3-externalptr.R:2:3', 'test-s3-factor.R:2:3', 'test-s3-formula.R:3:3', 'test-s3-function.R:2:3', 'test-s3-ggplot2-Coord.R:11:3', 'test-s3-ggplot2-Coord.R:20:3', 'test-s3-ggplot2-Coord.R:26:3', 'test-s3-ggplot2-Coord.R:36:3', 'test-s3-ggplot2-Coord.R:44:3', 'test-s3-ggplot2-labels.R:2:3', 'test-s3-ggplot2-theme.R:2:3', 'test-s3-ggplot2-waiver.R:2:3', 'test-s3-grouped_df.R:2:3', 'test-s3-language.R:2:3', 'test-s3-language.R:11:3', 'test-s3-list.R:15:3', 'test-s3-matrix.R:2:3', 'test-s3-numeric_version.R:2:3', 'test-s3-ordered.R:2:3', 'test-s3-pairlist.R:2:3', 'test-s3-quosure.R:2:3', 'test-s3-quosures.R:2:3', 'test-s3-rowwise_df.R:2:3', 'test-s3-tbl_df.R:4:3', 'test-s3-tbl_df.R:14:3', 'test-s3-ts.R:2:3', 'test-s3-vctrs_list_of.R:2:3', 'test-s3-weakref.R:2:3', 'test-s4.R:2:3', 'test-utils.R:2:3', 'test-utils.R:10:3' • with_versions(R >= "4.3") is TRUE (3): 'test-s3-POSIXct.R:15:3', 'test-s3-POSIXlt.R:15:3', 'test-s3-mts.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-s3-ggplot2-Coord.R:2:3'): CoordCartesian ─────────────────────── Error in `construct(ggplot2::scale_x_continuous(limits = c(325, 500)))`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_x_continuous(limits = c(325, 500))) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-Scale.R:2:3'): Scale ──────────────────────────────── Error in `construct(ggplot2::scale_alpha())`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_alpha' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_alpha()) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-ggplot.R:2:3'): ggplot ────────────────────────────── Error in `construct(p2, data = tibble::lst(mpg_99), check = FALSE)`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(p2, data = tibble::lst(mpg_99), check = FALSE) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.ggplot(x, ...) 11. │ └─constructive:::pipe_to_scales(code, x$scales, ...) 12. │ ├─constructive::.cstr_construct(...) 13. │ └─constructive:::.cstr_construct.ScalesList(...) 14. │ └─base::lapply(...) 15. │ ├─constructive (local) FUN(X[[i]], ...) 16. │ └─constructive:::.cstr_construct.Scale(X[[i]], ...) 17. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 18. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 19. │ ├─base::as.list(getFromNamespace(fun, pkg)) 20. │ └─utils::getFromNamespace(fun, pkg) 21. │ └─base::get(x, envir = ns, inherits = FALSE) 22. └─base::.handleSimpleError(...) 23. └─rlang (local) h(simpleError(msg, call)) 24. └─handlers[[1L]](cnd) 25. └─rlang::abort(...) [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] Error: Test failures Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-release-linux-x86_64

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [23s/35s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(constructive) > > test_check("constructive") [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] ══ Skipped tests (58) ══════════════════════════════════════════════════════════ • On CRAN (55): 'test-abort.R:2:3', 'test-abort.R:27:3', 'test-construct_diff.R:2:3', 'test-construct_multi.R:15:3', 'test-construct_signature.R:2:3', 'test-deparse_call.R:2:3', 'test-encoding.R:2:3', 'test-opts.R:2:3', 'test-others.R:2:3', 'test-others.R:20:3', 'test-others.R:27:3', 'test-repair_attributes.R:4:3', 'test-s3-AsIs.R:2:3', 'test-s3-Date.R:15:3', 'test-s3-array.R:2:3', 'test-s3-atomic.R:2:3', 'test-s3-atomic.R:36:3', 'test-s3-atomic.R:48:3', 'test-s3-constructive_options.R:2:3', 'test-s3-data.frame.R:2:3', 'test-s3-data.table.R:2:3', 'test-s3-dm.R:2:3', 'test-s3-dots.R:2:3', 'test-s3-environment.R:2:3', 'test-s3-externalptr.R:2:3', 'test-s3-factor.R:2:3', 'test-s3-formula.R:3:3', 'test-s3-function.R:2:3', 'test-s3-ggplot2-Coord.R:11:3', 'test-s3-ggplot2-Coord.R:20:3', 'test-s3-ggplot2-Coord.R:26:3', 'test-s3-ggplot2-Coord.R:36:3', 'test-s3-ggplot2-Coord.R:44:3', 'test-s3-ggplot2-labels.R:2:3', 'test-s3-ggplot2-theme.R:2:3', 'test-s3-ggplot2-waiver.R:2:3', 'test-s3-grouped_df.R:2:3', 'test-s3-language.R:2:3', 'test-s3-language.R:11:3', 'test-s3-list.R:15:3', 'test-s3-matrix.R:2:3', 'test-s3-numeric_version.R:2:3', 'test-s3-ordered.R:2:3', 'test-s3-pairlist.R:2:3', 'test-s3-quosure.R:2:3', 'test-s3-quosures.R:2:3', 'test-s3-rowwise_df.R:2:3', 'test-s3-tbl_df.R:4:3', 'test-s3-tbl_df.R:14:3', 'test-s3-ts.R:2:3', 'test-s3-vctrs_list_of.R:2:3', 'test-s3-weakref.R:2:3', 'test-s4.R:2:3', 'test-utils.R:2:3', 'test-utils.R:10:3' • with_versions(R >= "4.3") is TRUE (3): 'test-s3-POSIXct.R:15:3', 'test-s3-POSIXlt.R:15:3', 'test-s3-mts.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-s3-ggplot2-Coord.R:2:3'): CoordCartesian ─────────────────────── Error in `construct(ggplot2::scale_x_continuous(limits = c(325, 500)))`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_x_continuous(limits = c(325, 500))) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-Scale.R:2:3'): Scale ──────────────────────────────── Error in `construct(ggplot2::scale_alpha())`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_alpha' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_alpha()) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-ggplot.R:2:3'): ggplot ────────────────────────────── Error in `construct(p2, data = tibble::lst(mpg_99), check = FALSE)`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(p2, data = tibble::lst(mpg_99), check = FALSE) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.ggplot(x, ...) 11. │ └─constructive:::pipe_to_scales(code, x$scales, ...) 12. │ ├─constructive::.cstr_construct(...) 13. │ └─constructive:::.cstr_construct.ScalesList(...) 14. │ └─base::lapply(...) 15. │ ├─constructive (local) FUN(X[[i]], ...) 16. │ └─constructive:::.cstr_construct.Scale(X[[i]], ...) 17. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 18. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 19. │ ├─base::as.list(getFromNamespace(fun, pkg)) 20. │ └─utils::getFromNamespace(fun, pkg) 21. │ └─base::get(x, envir = ns, inherits = FALSE) 22. └─base::.handleSimpleError(...) 23. └─rlang (local) h(simpleError(msg, call)) 24. └─handlers[[1L]](cnd) 25. └─rlang::abort(...) [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [37s/47s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(constructive) > > test_check("constructive") [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] ══ Skipped tests (58) ══════════════════════════════════════════════════════════ • On CRAN (55): 'test-abort.R:2:3', 'test-abort.R:27:3', 'test-construct_diff.R:2:3', 'test-construct_multi.R:15:3', 'test-construct_signature.R:2:3', 'test-deparse_call.R:2:3', 'test-encoding.R:2:3', 'test-opts.R:2:3', 'test-others.R:2:3', 'test-others.R:20:3', 'test-others.R:27:3', 'test-repair_attributes.R:4:3', 'test-s3-AsIs.R:2:3', 'test-s3-Date.R:15:3', 'test-s3-array.R:2:3', 'test-s3-atomic.R:2:3', 'test-s3-atomic.R:36:3', 'test-s3-atomic.R:48:3', 'test-s3-constructive_options.R:2:3', 'test-s3-data.frame.R:2:3', 'test-s3-data.table.R:2:3', 'test-s3-dm.R:2:3', 'test-s3-dots.R:2:3', 'test-s3-environment.R:2:3', 'test-s3-externalptr.R:2:3', 'test-s3-factor.R:2:3', 'test-s3-formula.R:3:3', 'test-s3-function.R:2:3', 'test-s3-ggplot2-Coord.R:11:3', 'test-s3-ggplot2-Coord.R:20:3', 'test-s3-ggplot2-Coord.R:26:3', 'test-s3-ggplot2-Coord.R:36:3', 'test-s3-ggplot2-Coord.R:44:3', 'test-s3-ggplot2-labels.R:2:3', 'test-s3-ggplot2-theme.R:2:3', 'test-s3-ggplot2-waiver.R:2:3', 'test-s3-grouped_df.R:2:3', 'test-s3-language.R:2:3', 'test-s3-language.R:11:3', 'test-s3-list.R:15:3', 'test-s3-matrix.R:2:3', 'test-s3-numeric_version.R:2:3', 'test-s3-ordered.R:2:3', 'test-s3-pairlist.R:2:3', 'test-s3-quosure.R:2:3', 'test-s3-quosures.R:2:3', 'test-s3-rowwise_df.R:2:3', 'test-s3-tbl_df.R:4:3', 'test-s3-tbl_df.R:14:3', 'test-s3-ts.R:2:3', 'test-s3-vctrs_list_of.R:2:3', 'test-s3-weakref.R:2:3', 'test-s4.R:2:3', 'test-utils.R:2:3', 'test-utils.R:10:3' • with_versions(R >= "4.3") is TRUE (3): 'test-s3-POSIXct.R:15:3', 'test-s3-POSIXlt.R:15:3', 'test-s3-mts.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-s3-ggplot2-Coord.R:2:3'): CoordCartesian ─────────────────────── Error in `construct(ggplot2::scale_x_continuous(limits = c(325, 500)))`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_x_continuous(limits = c(325, 500))) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-Scale.R:2:3'): Scale ──────────────────────────────── Error in `construct(ggplot2::scale_alpha())`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_alpha' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_alpha()) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-ggplot.R:2:3'): ggplot ────────────────────────────── Error in `construct(p2, data = tibble::lst(mpg_99), check = FALSE)`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(p2, data = tibble::lst(mpg_99), check = FALSE) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.ggplot(x, ...) 11. │ └─constructive:::pipe_to_scales(code, x$scales, ...) 12. │ ├─constructive::.cstr_construct(...) 13. │ └─constructive:::.cstr_construct.ScalesList(...) 14. │ └─base::lapply(...) 15. │ ├─constructive (local) FUN(X[[i]], ...) 16. │ └─constructive:::.cstr_construct.Scale(X[[i]], ...) 17. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 18. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 19. │ ├─base::as.list(getFromNamespace(fun, pkg)) 20. │ └─utils::getFromNamespace(fun, pkg) 21. │ └─base::get(x, envir = ns, inherits = FALSE) 22. └─base::.handleSimpleError(...) 23. └─rlang (local) h(simpleError(msg, call)) 24. └─handlers[[1L]](cnd) 25. └─rlang::abort(...) [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [39s/103s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(constructive) > > test_check("constructive") [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] ══ Skipped tests (58) ══════════════════════════════════════════════════════════ • On CRAN (55): 'test-abort.R:2:3', 'test-abort.R:27:3', 'test-construct_diff.R:2:3', 'test-construct_multi.R:15:3', 'test-construct_signature.R:2:3', 'test-deparse_call.R:2:3', 'test-encoding.R:2:3', 'test-opts.R:2:3', 'test-others.R:2:3', 'test-others.R:20:3', 'test-others.R:27:3', 'test-repair_attributes.R:4:3', 'test-s3-AsIs.R:2:3', 'test-s3-Date.R:15:3', 'test-s3-array.R:2:3', 'test-s3-atomic.R:2:3', 'test-s3-atomic.R:36:3', 'test-s3-atomic.R:48:3', 'test-s3-constructive_options.R:2:3', 'test-s3-data.frame.R:2:3', 'test-s3-data.table.R:2:3', 'test-s3-dm.R:2:3', 'test-s3-dots.R:2:3', 'test-s3-environment.R:2:3', 'test-s3-externalptr.R:2:3', 'test-s3-factor.R:2:3', 'test-s3-formula.R:3:3', 'test-s3-function.R:2:3', 'test-s3-ggplot2-Coord.R:11:3', 'test-s3-ggplot2-Coord.R:20:3', 'test-s3-ggplot2-Coord.R:26:3', 'test-s3-ggplot2-Coord.R:36:3', 'test-s3-ggplot2-Coord.R:44:3', 'test-s3-ggplot2-labels.R:2:3', 'test-s3-ggplot2-theme.R:2:3', 'test-s3-ggplot2-waiver.R:2:3', 'test-s3-grouped_df.R:2:3', 'test-s3-language.R:2:3', 'test-s3-language.R:11:3', 'test-s3-list.R:15:3', 'test-s3-matrix.R:2:3', 'test-s3-numeric_version.R:2:3', 'test-s3-ordered.R:2:3', 'test-s3-pairlist.R:2:3', 'test-s3-quosure.R:2:3', 'test-s3-quosures.R:2:3', 'test-s3-rowwise_df.R:2:3', 'test-s3-tbl_df.R:4:3', 'test-s3-tbl_df.R:14:3', 'test-s3-ts.R:2:3', 'test-s3-vctrs_list_of.R:2:3', 'test-s3-weakref.R:2:3', 'test-s4.R:2:3', 'test-utils.R:2:3', 'test-utils.R:10:3' • with_versions(R >= "4.3") is TRUE (3): 'test-s3-POSIXct.R:15:3', 'test-s3-POSIXlt.R:15:3', 'test-s3-mts.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-s3-ggplot2-Coord.R:2:3'): CoordCartesian ─────────────────────── Error in `construct(ggplot2::scale_x_continuous(limits = c(325, 500)))`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_x_continuous(limits = c(325, 500))) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-Scale.R:2:3'): Scale ──────────────────────────────── Error in `construct(ggplot2::scale_alpha())`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_alpha' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_alpha()) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-ggplot.R:2:3'): ggplot ────────────────────────────── Error in `construct(p2, data = tibble::lst(mpg_99), check = FALSE)`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(p2, data = tibble::lst(mpg_99), check = FALSE) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.ggplot(x, ...) 11. │ └─constructive:::pipe_to_scales(code, x$scales, ...) 12. │ ├─constructive::.cstr_construct(...) 13. │ └─constructive:::.cstr_construct.ScalesList(...) 14. │ └─base::lapply(...) 15. │ ├─constructive (local) FUN(X[[i]], ...) 16. │ └─constructive:::.cstr_construct.Scale(X[[i]], ...) 17. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 18. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 19. │ ├─base::as.list(getFromNamespace(fun, pkg)) 20. │ └─utils::getFromNamespace(fun, pkg) 21. │ └─base::get(x, envir = ns, inherits = FALSE) 22. └─base::.handleSimpleError(...) 23. └─rlang (local) h(simpleError(msg, call)) 24. └─handlers[[1L]](cnd) 25. └─rlang::abort(...) [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [31s/35s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(constructive) > > test_check("constructive") [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] ══ Skipped tests (58) ══════════════════════════════════════════════════════════ • On CRAN (55): 'test-abort.R:2:3', 'test-abort.R:27:3', 'test-construct_diff.R:2:3', 'test-construct_multi.R:15:3', 'test-construct_signature.R:2:3', 'test-deparse_call.R:2:3', 'test-encoding.R:2:3', 'test-opts.R:2:3', 'test-others.R:2:3', 'test-others.R:20:3', 'test-others.R:27:3', 'test-repair_attributes.R:4:3', 'test-s3-AsIs.R:2:3', 'test-s3-Date.R:15:3', 'test-s3-array.R:2:3', 'test-s3-atomic.R:2:3', 'test-s3-atomic.R:36:3', 'test-s3-atomic.R:48:3', 'test-s3-constructive_options.R:2:3', 'test-s3-data.frame.R:2:3', 'test-s3-data.table.R:2:3', 'test-s3-dm.R:2:3', 'test-s3-dots.R:2:3', 'test-s3-environment.R:2:3', 'test-s3-externalptr.R:2:3', 'test-s3-factor.R:2:3', 'test-s3-formula.R:3:3', 'test-s3-function.R:2:3', 'test-s3-ggplot2-Coord.R:11:3', 'test-s3-ggplot2-Coord.R:20:3', 'test-s3-ggplot2-Coord.R:26:3', 'test-s3-ggplot2-Coord.R:36:3', 'test-s3-ggplot2-Coord.R:44:3', 'test-s3-ggplot2-labels.R:2:3', 'test-s3-ggplot2-theme.R:2:3', 'test-s3-ggplot2-waiver.R:2:3', 'test-s3-grouped_df.R:2:3', 'test-s3-language.R:2:3', 'test-s3-language.R:11:3', 'test-s3-list.R:15:3', 'test-s3-matrix.R:2:3', 'test-s3-numeric_version.R:2:3', 'test-s3-ordered.R:2:3', 'test-s3-pairlist.R:2:3', 'test-s3-quosure.R:2:3', 'test-s3-quosures.R:2:3', 'test-s3-rowwise_df.R:2:3', 'test-s3-tbl_df.R:4:3', 'test-s3-tbl_df.R:14:3', 'test-s3-ts.R:2:3', 'test-s3-vctrs_list_of.R:2:3', 'test-s3-weakref.R:2:3', 'test-s4.R:2:3', 'test-utils.R:2:3', 'test-utils.R:10:3' • with_versions(R >= "4.3") is TRUE (3): 'test-s3-POSIXct.R:15:3', 'test-s3-POSIXlt.R:15:3', 'test-s3-mts.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-s3-ggplot2-Coord.R:2:3'): CoordCartesian ─────────────────────── Error in `construct(ggplot2::scale_x_continuous(limits = c(325, 500)))`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_x_continuous(limits = c(325, 500))) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-Scale.R:2:3'): Scale ──────────────────────────────── Error in `construct(ggplot2::scale_alpha())`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_alpha' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_alpha()) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-ggplot.R:2:3'): ggplot ────────────────────────────── Error in `construct(p2, data = tibble::lst(mpg_99), check = FALSE)`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(p2, data = tibble::lst(mpg_99), check = FALSE) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.ggplot(x, ...) 11. │ └─constructive:::pipe_to_scales(code, x$scales, ...) 12. │ ├─constructive::.cstr_construct(...) 13. │ └─constructive:::.cstr_construct.ScalesList(...) 14. │ └─base::lapply(...) 15. │ ├─constructive (local) FUN(X[[i]], ...) 16. │ └─constructive:::.cstr_construct.Scale(X[[i]], ...) 17. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 18. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 19. │ ├─base::as.list(getFromNamespace(fun, pkg)) 20. │ └─utils::getFromNamespace(fun, pkg) 21. │ └─base::get(x, envir = ns, inherits = FALSE) 22. └─base::.handleSimpleError(...) 23. └─rlang (local) h(simpleError(msg, call)) 24. └─handlers[[1L]](cnd) 25. └─rlang::abort(...) [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 0.2.0
Check: tests
Result: ERROR Running 'testthat.R' [29s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(constructive) > > test_check("constructive") [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] ══ Skipped tests (58) ══════════════════════════════════════════════════════════ • On CRAN (55): 'test-abort.R:2:3', 'test-abort.R:27:3', 'test-construct_diff.R:2:3', 'test-construct_multi.R:15:3', 'test-construct_signature.R:2:3', 'test-deparse_call.R:2:3', 'test-encoding.R:2:3', 'test-opts.R:2:3', 'test-others.R:2:3', 'test-others.R:20:3', 'test-others.R:27:3', 'test-repair_attributes.R:4:3', 'test-s3-AsIs.R:2:3', 'test-s3-Date.R:15:3', 'test-s3-array.R:2:3', 'test-s3-atomic.R:2:3', 'test-s3-atomic.R:36:3', 'test-s3-atomic.R:48:3', 'test-s3-constructive_options.R:2:3', 'test-s3-data.frame.R:2:3', 'test-s3-data.table.R:2:3', 'test-s3-dm.R:2:3', 'test-s3-dots.R:2:3', 'test-s3-environment.R:2:3', 'test-s3-externalptr.R:2:3', 'test-s3-factor.R:2:3', 'test-s3-formula.R:3:3', 'test-s3-function.R:2:3', 'test-s3-ggplot2-Coord.R:11:3', 'test-s3-ggplot2-Coord.R:20:3', 'test-s3-ggplot2-Coord.R:26:3', 'test-s3-ggplot2-Coord.R:36:3', 'test-s3-ggplot2-Coord.R:44:3', 'test-s3-ggplot2-labels.R:2:3', 'test-s3-ggplot2-theme.R:2:3', 'test-s3-ggplot2-waiver.R:2:3', 'test-s3-grouped_df.R:2:3', 'test-s3-language.R:2:3', 'test-s3-language.R:11:3', 'test-s3-list.R:15:3', 'test-s3-matrix.R:2:3', 'test-s3-numeric_version.R:2:3', 'test-s3-ordered.R:2:3', 'test-s3-pairlist.R:2:3', 'test-s3-quosure.R:2:3', 'test-s3-quosures.R:2:3', 'test-s3-rowwise_df.R:2:3', 'test-s3-tbl_df.R:4:3', 'test-s3-tbl_df.R:14:3', 'test-s3-ts.R:2:3', 'test-s3-vctrs_list_of.R:2:3', 'test-s3-weakref.R:2:3', 'test-s4.R:2:3', 'test-utils.R:2:3', 'test-utils.R:10:3' • with_versions(R >= "4.3") is TRUE (3): 'test-s3-POSIXct.R:15:3', 'test-s3-POSIXlt.R:15:3', 'test-s3-mts.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-s3-ggplot2-Coord.R:2:3'): CoordCartesian ─────────────────────── Error in `construct(ggplot2::scale_x_continuous(limits = c(325, 500)))`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_x_continuous(limits = c(325, 500))) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-Scale.R:2:3'): Scale ──────────────────────────────── Error in `construct(ggplot2::scale_alpha())`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_alpha' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_alpha()) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-ggplot.R:2:3'): ggplot ────────────────────────────── Error in `construct(p2, data = tibble::lst(mpg_99), check = FALSE)`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(p2, data = tibble::lst(mpg_99), check = FALSE) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.ggplot(x, ...) 11. │ └─constructive:::pipe_to_scales(code, x$scales, ...) 12. │ ├─constructive::.cstr_construct(...) 13. │ └─constructive:::.cstr_construct.ScalesList(...) 14. │ └─base::lapply(...) 15. │ ├─constructive (local) FUN(X[[i]], ...) 16. │ └─constructive:::.cstr_construct.Scale(X[[i]], ...) 17. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 18. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 19. │ ├─base::as.list(getFromNamespace(fun, pkg)) 20. │ └─utils::getFromNamespace(fun, pkg) 21. │ └─base::get(x, envir = ns, inherits = FALSE) 22. └─base::.handleSimpleError(...) 23. └─rlang (local) h(simpleError(msg, call)) 24. └─handlers[[1L]](cnd) 25. └─rlang::abort(...) [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 0.2.0
Check: tests
Result: ERROR Running 'testthat.R' [32s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(constructive) > > test_check("constructive") [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] ══ Skipped tests (58) ══════════════════════════════════════════════════════════ • On CRAN (58): 'test-abort.R:2:3', 'test-abort.R:27:3', 'test-construct_diff.R:2:3', 'test-construct_multi.R:15:3', 'test-construct_signature.R:2:3', 'test-deparse_call.R:2:3', 'test-encoding.R:2:3', 'test-opts.R:2:3', 'test-others.R:2:3', 'test-others.R:20:3', 'test-others.R:27:3', 'test-repair_attributes.R:4:3', 'test-s3-AsIs.R:2:3', 'test-s3-Date.R:15:3', 'test-s3-POSIXct.R:19:3', 'test-s3-POSIXlt.R:19:3', 'test-s3-array.R:2:3', 'test-s3-atomic.R:2:3', 'test-s3-atomic.R:36:3', 'test-s3-atomic.R:48:3', 'test-s3-constructive_options.R:2:3', 'test-s3-data.frame.R:2:3', 'test-s3-data.table.R:2:3', 'test-s3-dm.R:2:3', 'test-s3-dots.R:2:3', 'test-s3-environment.R:2:3', 'test-s3-externalptr.R:2:3', 'test-s3-factor.R:2:3', 'test-s3-formula.R:3:3', 'test-s3-function.R:2:3', 'test-s3-ggplot2-Coord.R:11:3', 'test-s3-ggplot2-Coord.R:20:3', 'test-s3-ggplot2-Coord.R:26:3', 'test-s3-ggplot2-Coord.R:36:3', 'test-s3-ggplot2-Coord.R:44:3', 'test-s3-ggplot2-labels.R:2:3', 'test-s3-ggplot2-theme.R:2:3', 'test-s3-ggplot2-waiver.R:2:3', 'test-s3-grouped_df.R:2:3', 'test-s3-language.R:2:3', 'test-s3-language.R:11:3', 'test-s3-list.R:15:3', 'test-s3-matrix.R:2:3', 'test-s3-mts.R:3:3', 'test-s3-numeric_version.R:2:3', 'test-s3-ordered.R:2:3', 'test-s3-pairlist.R:2:3', 'test-s3-quosure.R:2:3', 'test-s3-quosures.R:2:3', 'test-s3-rowwise_df.R:2:3', 'test-s3-tbl_df.R:4:3', 'test-s3-tbl_df.R:14:3', 'test-s3-ts.R:2:3', 'test-s3-vctrs_list_of.R:2:3', 'test-s3-weakref.R:2:3', 'test-s4.R:2:3', 'test-utils.R:2:3', 'test-utils.R:10:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-s3-ggplot2-Coord.R:2:3'): CoordCartesian ─────────────────────── Error in `construct(ggplot2::scale_x_continuous(limits = c(325, 500)))`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_x_continuous(limits = c(325, 500))) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-Scale.R:2:3'): Scale ──────────────────────────────── Error in `construct(ggplot2::scale_alpha())`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_alpha' not found Backtrace: ▆ 1. ├─constructive::construct(ggplot2::scale_alpha()) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.Scale(x, ...) 11. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 12. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 13. │ ├─base::as.list(getFromNamespace(fun, pkg)) 14. │ └─utils::getFromNamespace(fun, pkg) 15. │ └─base::get(x, envir = ns, inherits = FALSE) 16. └─base::.handleSimpleError(...) 17. └─rlang (local) h(simpleError(msg, call)) 18. └─handlers[[1L]](cnd) 19. └─rlang::abort(...) ── Error ('test-s3-ggplot2-ggplot.R:2:3'): ggplot ────────────────────────────── Error in `construct(p2, data = tibble::lst(mpg_99), check = FALSE)`: {constructive} could not build the requested code. Caused by error in `get()`: ! object 'ggplot2::scale_x_continuous' not found Backtrace: ▆ 1. ├─constructive::construct(p2, data = tibble::lst(mpg_99), check = FALSE) 2. │ └─constructive:::try_construct(...) 3. │ ├─rlang::try_fetch(...) 4. │ │ ├─base::tryCatch(...) 5. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─constructive::.cstr_construct(x, ...) 10. │ └─constructive:::.cstr_construct.ggplot(x, ...) 11. │ └─constructive:::pipe_to_scales(code, x$scales, ...) 12. │ ├─constructive::.cstr_construct(...) 13. │ └─constructive:::.cstr_construct.ScalesList(...) 14. │ └─base::lapply(...) 15. │ ├─constructive (local) FUN(X[[i]], ...) 16. │ └─constructive:::.cstr_construct.Scale(X[[i]], ...) 17. │ └─constructive:::defaults_arg_values(fun_chr, "ggplot2") 18. │ ├─utils::head(as.list(getFromNamespace(fun, pkg)), -1) 19. │ ├─base::as.list(getFromNamespace(fun, pkg)) 20. │ └─utils::getFromNamespace(fun, pkg) 21. │ └─base::get(x, envir = ns, inherits = FALSE) 22. └─base::.handleSimpleError(...) 23. └─rlang (local) h(simpleError(msg, call)) 24. └─handlers[[1L]](cnd) 25. └─rlang::abort(...) [ FAIL 3 | WARN 0 | SKIP 58 | PASS 10 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64