Last updated on 2024-10-05 04:49:19 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.1 | 8.06 | 293.53 | 301.59 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.1 | 5.52 | 164.69 | 170.21 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.1.1 | 493.69 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.1 | 340.09 | OK | |||
r-devel-windows-x86_64 | 1.1.1 | 13.00 | 252.00 | 265.00 | OK | |
r-patched-linux-x86_64 | 1.1.0 | 7.81 | 263.57 | 271.38 | ERROR | |
r-release-linux-x86_64 | 1.1.0 | 6.75 | 260.86 | 267.61 | ERROR | |
r-release-macos-arm64 | 1.1.1 | 135.00 | OK | |||
r-release-macos-x86_64 | 1.1.1 | 288.00 | OK | |||
r-release-windows-x86_64 | 1.1.1 | 11.00 | 249.00 | 260.00 | OK | |
r-oldrel-macos-arm64 | 1.1.1 | 125.00 | OK | |||
r-oldrel-macos-x86_64 | 1.1.1 | 260.00 | OK | |||
r-oldrel-windows-x86_64 | 1.1.1 | 14.00 | 300.00 | 314.00 | OK |
Version: 1.1.0
Check: examples
Result: ERROR
Running examples in ‘adoptr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: composite
> ### Title: Score Composition
> ### Aliases: composite evaluate,CompositeScore,TwoStageDesign-method
>
> ### ** Examples
>
> ess <- ExpectedSampleSize(Normal(), PointMassPrior(.4, 1))
> power <- Power(Normal(), PointMassPrior(.4, 1))
>
> # linear combination:
> composite({ess - 50*power})
Error in glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open, :
is.environment(.envir) is not TRUE
Calls: <Anonymous> ... as_character -> <Anonymous> -> glue_data -> stopifnot
Execution halted
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [48s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(adoptr)
Attaching package: 'adoptr'
The following object is masked from 'package:testthat':
expectation
>
> test_check("adoptr")
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 386 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_composite.R:118:5'): show works ────────────────────────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test_composite.R:118:5
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─utils::capture.output(...)
5. │ └─base::withVisible(...elt(i))
6. ├─methods::show(...)
7. └─adoptr (local) show(...)
8. ├─base::cat(as_character(object), "\n")
9. ├─adoptr:::as_character(object)
10. └─adoptr:::as_character(object)
11. └─glue::glue(...)
12. └─glue::glue_data(...)
13. └─base::stopifnot(is.environment(.envir))
── Error ('test_minimize.R:59:5'): nloptr maxiter warning correctly passed ─────
Error: Failed to evaluate glue component {as_character(x@score)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test_minimize.R:59:5
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─adoptr::minimize(...)
7. │ ├─base::warning(...)
8. │ ├─base::sprintf(...)
9. │ ├─utils::capture.output(show(constr))
10. │ │ └─base::withVisible(...elt(i))
11. │ ├─methods::show(constr)
12. │ └─adoptr (local) show(constr)
13. │ ├─base::cat(print(object), "\n")
14. │ ├─base::print(object)
15. │ └─adoptr:::print(object)
16. │ ├─glue::glue("{as_character(x@score)} <= {x@rhs}")
17. │ │ └─glue::glue_data(...)
18. │ ├─adoptr:::as_character(x@score)
19. │ └─adoptr:::as_character(x@score)
20. │ └─glue::glue(...)
21. │ └─glue::glue_data(...)
22. │ └─base::stopifnot(is.environment(.envir))
23. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
24. ├─glue (local) `<fn>`("as_character(x@score)")
25. │ ├─.transformer(expr, env) %||% .null
26. │ └─glue (local) .transformer(expr, env)
27. │ ├─glue:::with_glue_error(...)
28. │ │ └─base::withCallingHandlers(...)
29. │ └─base::eval(expr, envir)
30. │ └─base::eval(expr, envir)
31. └─glue (local) `<fn>`(`<smplErrr>`)
32. └─rlang::abort(message, parent = cnd, call = NULL)
── Error ('test_minimize.R:338:3'): constraint checks are working ──────────────
Error: Failed to evaluate glue component {as_character(x@score)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test_minimize.R:338:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─adoptr::minimize(...)
7. │ ├─base::warning(...)
8. │ ├─base::sprintf(...)
9. │ ├─utils::capture.output(show(constr))
10. │ │ └─base::withVisible(...elt(i))
11. │ ├─methods::show(constr)
12. │ └─adoptr (local) show(constr)
13. │ ├─base::cat(print(object), "\n")
14. │ ├─base::print(object)
15. │ └─adoptr:::print(object)
16. │ ├─glue::glue("{as_character(x@score)} <= {x@rhs}")
17. │ │ └─glue::glue_data(...)
18. │ ├─adoptr:::as_character(x@score)
19. │ └─adoptr:::as_character(x@score)
20. │ └─glue::glue(...)
21. │ └─glue::glue_data(...)
22. │ └─base::stopifnot(is.environment(.envir))
23. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
24. ├─glue (local) `<fn>`("as_character(x@score)")
25. │ ├─.transformer(expr, env) %||% .null
26. │ └─glue (local) .transformer(expr, env)
27. │ ├─glue:::with_glue_error(...)
28. │ │ └─base::withCallingHandlers(...)
29. │ └─base::eval(expr, envir)
30. │ └─base::eval(expr, envir)
31. └─glue (local) `<fn>`(`<smplErrr>`)
32. └─rlang::abort(message, parent = cnd, call = NULL)
── Error ('test_tunable.R:77:5'): two stage design can be optimized with fixed first stage ──
Error: Failed to evaluate glue component {as_character(x@score)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test_tunable.R:77:5
2. │ └─base::withCallingHandlers(...)
3. ├─adoptr::minimize(...)
4. │ ├─base::warning(...)
5. │ ├─base::sprintf(...)
6. │ ├─utils::capture.output(show(constr))
7. │ │ └─base::withVisible(...elt(i))
8. │ ├─methods::show(constr)
9. │ └─adoptr (local) show(constr)
10. │ ├─base::cat(print(object), "\n")
11. │ ├─base::print(object)
12. │ └─adoptr:::print(object)
13. │ ├─glue::glue("{as_character(x@score)} <= {x@rhs}")
14. │ │ └─glue::glue_data(...)
15. │ ├─adoptr:::as_character(x@score)
16. │ └─adoptr:::as_character(x@score)
17. │ └─glue::glue(...)
18. │ └─glue::glue_data(...)
19. │ └─base::stopifnot(is.environment(.envir))
20. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
21. ├─glue (local) `<fn>`("as_character(x@score)")
22. │ ├─.transformer(expr, env) %||% .null
23. │ └─glue (local) .transformer(expr, env)
24. │ ├─glue:::with_glue_error(...)
25. │ │ └─base::withCallingHandlers(...)
26. │ └─base::eval(expr, envir)
27. │ └─base::eval(expr, envir)
28. └─glue (local) `<fn>`(`<smplErrr>`)
29. └─rlang::abort(message, parent = cnd, call = NULL)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 386 ]
Error: Test failures
Execution halted
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.1.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘adoptr.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/adoptr.Rcheck/vign_test/adoptr/vignettes/adoptr_files/figure-html/plot-optimal-design-1.png
672x480 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 11542 bytes
Input file size = 12412 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9106
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9106
Output IDAT size = 9106 bytes (2436 bytes decrease)
Output file size = 9184 bytes (3228 bytes = 26.01% decrease)
--- finished re-building ‘adoptr.Rmd’
--- re-building ‘adoptr_jss.Rmd’ using rmarkdown
--- finished re-building ‘adoptr_jss.Rmd’
--- re-building ‘composite-scores.Rmd’ using rmarkdown
--- finished re-building ‘composite-scores.Rmd’
--- re-building ‘conditional-scores.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/adoptr.Rcheck/vign_test/adoptr/vignettes/conditional-scores_files/figure-html/define-design-1.png
672x480 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 10208 bytes
Input file size = 11078 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 8806
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 8796
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 8796
Output IDAT size = 8796 bytes (1412 bytes decrease)
Output file size = 8874 bytes (2204 bytes = 19.90% decrease)
** Processing: /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/adoptr.Rcheck/vign_test/adoptr/vignettes/conditional-scores_files/figure-html/unnamed-chunk-3-1.png
672x480 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 10821 bytes
Input file size = 11691 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 8302
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 8302
Output IDAT size = 8302 bytes (2519 bytes decrease)
Output file size = 8380 bytes (3311 bytes = 28.32% decrease)
Quitting from lines 126-127 [unnamed-chunk-7] (conditional-scores.Rmd)
Error: processing vignette 'conditional-scores.Rmd' failed with diagnostics:
Failed to evaluate glue component {as_character(x@score)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
--- failed re-building ‘conditional-scores.Rmd’
--- re-building ‘defining-new-scores.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/adoptr.Rcheck/vign_test/adoptr/vignettes/defining-new-scores_files/figure-html/define-design-1.png
672x480 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 10208 bytes
Input file size = 11078 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 8806
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 8796
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 8796
Output IDAT size = 8796 bytes (1412 bytes decrease)
Output file size = 8874 bytes (2204 bytes = 19.90% decrease)
--- finished re-building ‘defining-new-scores.Rmd’
--- re-building ‘other-endpoints.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/adoptr.Rcheck/vign_test/adoptr/vignettes/other-endpoints_files/figure-html/unnamed-chunk-5-1.png
672x480 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 11509 bytes
Input file size = 12379 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9631
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9631
Output IDAT size = 9631 bytes (1878 bytes decrease)
Output file size = 9709 bytes (2670 bytes = 21.57% decrease)
--- finished re-building ‘other-endpoints.Rmd’
--- re-building ‘working-with-priors.Rmd’ using rmarkdown
Quitting from lines 79-80 [unnamed-chunk-3] (working-with-priors.Rmd)
Error: processing vignette 'working-with-priors.Rmd' failed with diagnostics:
Failed to evaluate glue component {as_character(x@score)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
--- failed re-building ‘working-with-priors.Rmd’
SUMMARY: processing the following files failed:
‘conditional-scores.Rmd’ ‘working-with-priors.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.1.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘adoptr.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/adoptr.Rcheck/vign_test/adoptr/vignettes/adoptr_files/figure-html/plot-optimal-design-1.png
672x480 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 11542 bytes
Input file size = 12412 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9106
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9106
Output IDAT size = 9106 bytes (2436 bytes decrease)
Output file size = 9184 bytes (3228 bytes = 26.01% decrease)
--- finished re-building ‘adoptr.Rmd’
--- re-building ‘adoptr_jss.Rmd’ using rmarkdown
--- finished re-building ‘adoptr_jss.Rmd’
--- re-building ‘composite-scores.Rmd’ using rmarkdown
--- finished re-building ‘composite-scores.Rmd’
--- re-building ‘conditional-scores.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/adoptr.Rcheck/vign_test/adoptr/vignettes/conditional-scores_files/figure-html/define-design-1.png
672x480 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 10208 bytes
Input file size = 11078 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 8806
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 8796
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 8796
Output IDAT size = 8796 bytes (1412 bytes decrease)
Output file size = 8874 bytes (2204 bytes = 19.90% decrease)
** Processing: /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/adoptr.Rcheck/vign_test/adoptr/vignettes/conditional-scores_files/figure-html/unnamed-chunk-3-1.png
672x480 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 10821 bytes
Input file size = 11691 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 8302
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 8302
Output IDAT size = 8302 bytes (2519 bytes decrease)
Output file size = 8380 bytes (3311 bytes = 28.32% decrease)
Quitting from lines 126-127 [unnamed-chunk-7] (conditional-scores.Rmd)
Error: processing vignette 'conditional-scores.Rmd' failed with diagnostics:
Failed to evaluate glue component {as_character(x@score)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
--- failed re-building ‘conditional-scores.Rmd’
--- re-building ‘defining-new-scores.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/adoptr.Rcheck/vign_test/adoptr/vignettes/defining-new-scores_files/figure-html/define-design-1.png
672x480 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 10208 bytes
Input file size = 11078 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 8806
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 8796
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 8796
Output IDAT size = 8796 bytes (1412 bytes decrease)
Output file size = 8874 bytes (2204 bytes = 19.90% decrease)
--- finished re-building ‘defining-new-scores.Rmd’
--- re-building ‘other-endpoints.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/adoptr.Rcheck/vign_test/adoptr/vignettes/other-endpoints_files/figure-html/unnamed-chunk-5-1.png
672x480 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 11509 bytes
Input file size = 12379 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9631
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9631
Output IDAT size = 9631 bytes (1878 bytes decrease)
Output file size = 9709 bytes (2670 bytes = 21.57% decrease)
--- finished re-building ‘other-endpoints.Rmd’
--- re-building ‘working-with-priors.Rmd’ using rmarkdown
Quitting from lines 79-80 [unnamed-chunk-3] (working-with-priors.Rmd)
Error: processing vignette 'working-with-priors.Rmd' failed with diagnostics:
Failed to evaluate glue component {as_character(x@score)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
--- failed re-building ‘working-with-priors.Rmd’
SUMMARY: processing the following files failed:
‘conditional-scores.Rmd’ ‘working-with-priors.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-linux-x86_64