Last updated on 2021-06-07 07:51:04 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.4.0 | 10.36 | 144.76 | 155.12 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.4.0 | 8.89 | 108.89 | 117.78 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.4.0 | 192.22 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.4.0 | 183.35 | ERROR | |||
r-devel-windows-x86_64 | 0.4.0 | 18.00 | 128.00 | 146.00 | ERROR | |
r-devel-windows-x86_64-gcc10-UCRT | 0.4.0 | ERROR | ||||
r-patched-linux-x86_64 | 0.4.0 | 13.92 | 162.94 | 176.86 | NOTE | |
r-patched-solaris-x86 | 0.4.0 | 275.00 | NOTE | |||
r-release-linux-x86_64 | 0.4.0 | 11.02 | 160.04 | 171.06 | NOTE | |
r-release-macos-arm64 | 0.4.0 | NOTE | ||||
r-release-macos-x86_64 | 0.4.0 | NOTE | ||||
r-release-windows-ix86+x86_64 | 0.4.0 | 18.00 | 175.00 | 193.00 | NOTE | |
r-oldrel-macos-x86_64 | 0.4.0 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 0.4.0 | 24.00 | 208.00 | 232.00 | OK |
Version: 0.4.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64
Version: 0.4.0
Check: examples
Result: ERROR
Running examples in 'powerlmm-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: dropout_manual
> ### Title: Manually specify dropout per time point
> ### Aliases: dropout_manual
>
> ### ** Examples
>
> dropout <- dropout_manual(0, 0, 0, 0, 0.2, 0.2, 0.3, 0.3, 0.4, 0.4, 0.45)
>
> p <- study_parameters(n1 = 11,
+ n2 = 5,
+ n3 = 6,
+ T_end = 10,
+ icc_pre_subject = 0.5,
+ icc_pre_cluster = 0,
+ var_ratio = 0.03,
+ icc_slope = 0.05,
+ dropout = dropout,
+ cohend = -0.8)
> plot(p, plot = 2)
> get_power(p)
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
invalid value 0 for 'digits' argument
Calls: <Anonymous> ... prepare_print_plcp -> format -> format -> format.default -> prettyNum
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.4.0
Check: tests
Result: ERROR
Running 'testthat.R' [40s/44s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(dplyr)
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
> library(powerlmm)
> library(lme4)
Loading required package: Matrix
>
> test_check("powerlmm")
== Failed tests ================================================================
-- Error (tests.power.R:528:5): power partially nested -------------------------
Error: invalid value 0 for 'digits' argument
Backtrace:
x
1. +-testthat::expect_output(print(x), "n1 = 11") tests.power.R:528:4
2. | \-testthat:::quasi_capture(...)
3. | +-testthat:::.capture(...)
4. | | \-testthat::capture_output_lines(code, print, width = width)
5. | | \-testthat:::eval_with_output(code, print = print, width = width)
6. | | +-withr::with_output_sink(temp, withVisible(code))
7. | | | \-base::force(code)
8. | | \-base::withVisible(code)
9. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. +-base::print(x)
11. +-base::print(x)
12. \-powerlmm:::print.plcp_power_3lvl(x)
13. \-powerlmm:::prepare_print_plcp_3lvl(.p$paras)
14. \-powerlmm:::prepare_print_plcp(x)
15. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
16. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. \-base::format.default(...)
18. \-base::prettyNum(...)
-- Error (tests.setup_print.R:16:5): setup print -------------------------------
Error: invalid value 0 for 'digits' argument
Backtrace:
x
1. +-testthat::expect_output(str(print(p)), "Study setup \\(two-level\\)") tests.setup_print.R:16:4
2. | \-testthat:::quasi_capture(...)
3. | +-testthat:::.capture(...)
4. | | \-testthat::capture_output_lines(code, print, width = width)
5. | | \-testthat:::eval_with_output(code, print = print, width = width)
6. | | +-withr::with_output_sink(temp, withVisible(code))
7. | | | \-base::force(code)
8. | | \-base::withVisible(code)
9. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. +-utils::str(print(p))
11. +-base::print(p)
12. +-base::print(p)
13. \-powerlmm:::print.plcp_2lvl(p)
14. \-powerlmm:::prepare_print_plcp_2lvl(x)
15. \-powerlmm:::prepare_print_plcp(x, two_level = TRUE)
16. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. \-base::format.default(...)
19. \-base::prettyNum(...)
-- Error (tests.setup_print.R:72:5): setup print -------------------------------
Error: invalid value 0 for 'digits' argument
Backtrace:
x
1. +-testthat::expect_output(str(print(p)), "Study setup \\(three-level\\)") tests.setup_print.R:72:4
2. | \-testthat:::quasi_capture(...)
3. | +-testthat:::.capture(...)
4. | | \-testthat::capture_output_lines(code, print, width = width)
5. | | \-testthat:::eval_with_output(code, print = print, width = width)
6. | | +-withr::with_output_sink(temp, withVisible(code))
7. | | | \-base::force(code)
8. | | \-base::withVisible(code)
9. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. +-utils::str(print(p))
11. +-base::print(p)
12. +-base::print(p)
13. \-powerlmm:::print.plcp_3lvl(p)
14. \-powerlmm:::prepare_print_plcp_3lvl(x)
15. \-powerlmm:::prepare_print_plcp(x)
16. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. \-base::format.default(...)
19. \-base::prettyNum(...)
-- Error (tests.setup_print.R:128:5): setup print ------------------------------
Error: invalid value 0 for 'digits' argument
Backtrace:
x
1. +-testthat::expect_output(str(print(p)), "Study setup \\(three-level, partially nested\\)") tests.setup_print.R:128:4
2. | \-testthat:::quasi_capture(...)
3. | +-testthat:::.capture(...)
4. | | \-testthat::capture_output_lines(code, print, width = width)
5. | | \-testthat:::eval_with_output(code, print = print, width = width)
6. | | +-withr::with_output_sink(temp, withVisible(code))
7. | | | \-base::force(code)
8. | | \-base::withVisible(code)
9. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. +-utils::str(print(p))
11. +-base::print(p)
12. +-base::print(p)
13. \-powerlmm:::print.plcp_3lvl(p)
14. \-powerlmm:::prepare_print_plcp_3lvl(x)
15. \-powerlmm:::prepare_print_plcp(x)
16. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. \-base::format.default(...)
19. \-base::prettyNum(...)
[ FAIL 4 | WARN 7 | SKIP 0 | PASS 902 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.4.0
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
...
--- re-building 'simulations.Rmd' using rmarkdown
--- finished re-building 'simulations.Rmd'
--- re-building 'technical.Rmd' using rmarkdown
--- finished re-building 'technical.Rmd'
--- re-building 'three-level.Rmd' using rmarkdown
Quitting from lines 150-160 (three-level.Rmd)
Error: processing vignette 'three-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building 'three-level.Rmd'
--- re-building 'two-level.Rmd' using rmarkdown
Quitting from lines 123-138 (two-level.Rmd)
Error: processing vignette 'two-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building 'two-level.Rmd'
SUMMARY: processing the following files failed:
'three-level.Rmd' 'two-level.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64-gcc10-UCRT
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [30s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(dplyr)
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
> library(powerlmm)
> library(lme4)
Loading required package: Matrix
>
> test_check("powerlmm")
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (tests.power.R:528:5): power partially nested ─────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(print(x), "n1 = 11") tests.power.R:528:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::print(x)
11. ├─base::print(x)
12. └─powerlmm:::print.plcp_power_3lvl(x)
13. └─powerlmm:::prepare_print_plcp_3lvl(.p$paras)
14. └─powerlmm:::prepare_print_plcp(x)
15. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. └─base::format.default(...)
18. └─base::prettyNum(...)
── Error (tests.setup_print.R:16:5): setup print ───────────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(str(print(p)), "Study setup \\(two-level\\)") tests.setup_print.R:16:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─utils::str(print(p))
11. ├─base::print(p)
12. ├─base::print(p)
13. └─powerlmm:::print.plcp_2lvl(p)
14. └─powerlmm:::prepare_print_plcp_2lvl(x)
15. └─powerlmm:::prepare_print_plcp(x, two_level = TRUE)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. └─base::format.default(...)
19. └─base::prettyNum(...)
── Error (tests.setup_print.R:72:5): setup print ───────────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(str(print(p)), "Study setup \\(three-level\\)") tests.setup_print.R:72:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─utils::str(print(p))
11. ├─base::print(p)
12. ├─base::print(p)
13. └─powerlmm:::print.plcp_3lvl(p)
14. └─powerlmm:::prepare_print_plcp_3lvl(x)
15. └─powerlmm:::prepare_print_plcp(x)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. └─base::format.default(...)
19. └─base::prettyNum(...)
── Error (tests.setup_print.R:128:5): setup print ──────────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(str(print(p)), "Study setup \\(three-level, partially nested\\)") tests.setup_print.R:128:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─utils::str(print(p))
11. ├─base::print(p)
12. ├─base::print(p)
13. └─powerlmm:::print.plcp_3lvl(p)
14. └─powerlmm:::prepare_print_plcp_3lvl(x)
15. └─powerlmm:::prepare_print_plcp(x)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. └─base::format.default(...)
19. └─base::prettyNum(...)
[ FAIL 4 | WARN 5 | SKIP 0 | PASS 902 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.0
Check: examples
Result: ERROR
Running examples in ‘powerlmm-Ex.R’ failed
The error most likely occurred in:
> ### Name: dropout_manual
> ### Title: Manually specify dropout per time point
> ### Aliases: dropout_manual
>
> ### ** Examples
>
> dropout <- dropout_manual(0, 0, 0, 0, 0.2, 0.2, 0.3, 0.3, 0.4, 0.4, 0.45)
>
> p <- study_parameters(n1 = 11,
+ n2 = 5,
+ n3 = 6,
+ T_end = 10,
+ icc_pre_subject = 0.5,
+ icc_pre_cluster = 0,
+ var_ratio = 0.03,
+ icc_slope = 0.05,
+ dropout = dropout,
+ cohend = -0.8)
> plot(p, plot = 2)
> get_power(p)
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
invalid value 0 for 'digits' argument
Calls: <Anonymous> ... prepare_print_plcp -> format -> format -> format.default -> prettyNum
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [46s/52s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(dplyr)
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
> library(powerlmm)
> library(lme4)
Loading required package: Matrix
>
> test_check("powerlmm")
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (tests.power.R:528:5): power partially nested ─────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(print(x), "n1 = 11") tests.power.R:528:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::print(x)
11. ├─base::print(x)
12. └─powerlmm:::print.plcp_power_3lvl(x)
13. └─powerlmm:::prepare_print_plcp_3lvl(.p$paras)
14. └─powerlmm:::prepare_print_plcp(x)
15. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. └─base::format.default(...)
18. └─base::prettyNum(...)
── Error (tests.setup_print.R:16:5): setup print ───────────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(str(print(p)), "Study setup \\(two-level\\)") tests.setup_print.R:16:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─utils::str(print(p))
11. ├─base::print(p)
12. ├─base::print(p)
13. └─powerlmm:::print.plcp_2lvl(p)
14. └─powerlmm:::prepare_print_plcp_2lvl(x)
15. └─powerlmm:::prepare_print_plcp(x, two_level = TRUE)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. └─base::format.default(...)
19. └─base::prettyNum(...)
── Error (tests.setup_print.R:72:5): setup print ───────────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(str(print(p)), "Study setup \\(three-level\\)") tests.setup_print.R:72:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─utils::str(print(p))
11. ├─base::print(p)
12. ├─base::print(p)
13. └─powerlmm:::print.plcp_3lvl(p)
14. └─powerlmm:::prepare_print_plcp_3lvl(x)
15. └─powerlmm:::prepare_print_plcp(x)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. └─base::format.default(...)
19. └─base::prettyNum(...)
── Error (tests.setup_print.R:128:5): setup print ──────────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(str(print(p)), "Study setup \\(three-level, partially nested\\)") tests.setup_print.R:128:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─utils::str(print(p))
11. ├─base::print(p)
12. ├─base::print(p)
13. └─powerlmm:::print.plcp_3lvl(p)
14. └─powerlmm:::prepare_print_plcp_3lvl(x)
15. └─powerlmm:::prepare_print_plcp(x)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. └─base::format.default(...)
19. └─base::prettyNum(...)
[ FAIL 4 | WARN 5 | SKIP 0 | PASS 902 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.4.0
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building ‘simulations.Rmd’ using rmarkdown
--- finished re-building ‘simulations.Rmd’
--- re-building ‘technical.Rmd’ using rmarkdown
--- finished re-building ‘technical.Rmd’
--- re-building ‘three-level.Rmd’ using rmarkdown
Quitting from lines 150-160 (three-level.Rmd)
Error: processing vignette 'three-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building ‘three-level.Rmd’
--- re-building ‘two-level.Rmd’ using rmarkdown
Quitting from lines 123-138 (two-level.Rmd)
Error: processing vignette 'two-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building ‘two-level.Rmd’
SUMMARY: processing the following files failed:
‘three-level.Rmd’ ‘two-level.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
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [48s/57s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(dplyr)
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
> library(powerlmm)
> library(lme4)
Loading required package: Matrix
>
> test_check("powerlmm")
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (tests.power.R:528:5): power partially nested ─────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(print(x), "n1 = 11") tests.power.R:528:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::print(x)
11. ├─base::print(x)
12. └─powerlmm:::print.plcp_power_3lvl(x)
13. └─powerlmm:::prepare_print_plcp_3lvl(.p$paras)
14. └─powerlmm:::prepare_print_plcp(x)
15. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. └─base::format.default(...)
18. └─base::prettyNum(...)
── Error (tests.setup_print.R:16:5): setup print ───────────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(str(print(p)), "Study setup \\(two-level\\)") tests.setup_print.R:16:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─utils::str(print(p))
11. ├─base::print(p)
12. ├─base::print(p)
13. └─powerlmm:::print.plcp_2lvl(p)
14. └─powerlmm:::prepare_print_plcp_2lvl(x)
15. └─powerlmm:::prepare_print_plcp(x, two_level = TRUE)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. └─base::format.default(...)
19. └─base::prettyNum(...)
── Error (tests.setup_print.R:72:5): setup print ───────────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(str(print(p)), "Study setup \\(three-level\\)") tests.setup_print.R:72:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─utils::str(print(p))
11. ├─base::print(p)
12. ├─base::print(p)
13. └─powerlmm:::print.plcp_3lvl(p)
14. └─powerlmm:::prepare_print_plcp_3lvl(x)
15. └─powerlmm:::prepare_print_plcp(x)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. └─base::format.default(...)
19. └─base::prettyNum(...)
── Error (tests.setup_print.R:128:5): setup print ──────────────────────────────
Error: invalid value 0 for 'digits' argument
Backtrace:
█
1. ├─testthat::expect_output(str(print(p)), "Study setup \\(three-level, partially nested\\)") tests.setup_print.R:128:4
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(temp, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─utils::str(print(p))
11. ├─base::print(p)
12. ├─base::print(p)
13. └─powerlmm:::print.plcp_3lvl(p)
14. └─powerlmm:::prepare_print_plcp_3lvl(x)
15. └─powerlmm:::prepare_print_plcp(x)
16. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. ├─base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. └─base::format.default(...)
19. └─base::prettyNum(...)
[ FAIL 4 | WARN 5 | SKIP 0 | PASS 902 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.4.0
Check: tests
Result: ERROR
Running 'testthat.R' [32s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(dplyr)
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
> library(powerlmm)
> library(lme4)
Loading required package: Matrix
>
> test_check("powerlmm")
== Failed tests ================================================================
-- Error (tests.power.R:528:5): power partially nested -------------------------
Error: invalid value 0 for 'digits' argument
Backtrace:
x
1. +-testthat::expect_output(print(x), "n1 = 11") tests.power.R:528:4
2. | \-testthat:::quasi_capture(...)
3. | +-testthat:::.capture(...)
4. | | \-testthat::capture_output_lines(code, print, width = width)
5. | | \-testthat:::eval_with_output(code, print = print, width = width)
6. | | +-withr::with_output_sink(temp, withVisible(code))
7. | | | \-base::force(code)
8. | | \-base::withVisible(code)
9. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. +-base::print(x)
11. +-base::print(x)
12. \-powerlmm:::print.plcp_power_3lvl(x)
13. \-powerlmm:::prepare_print_plcp_3lvl(.p$paras)
14. \-powerlmm:::prepare_print_plcp(x)
15. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
16. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. \-base::format.default(...)
18. \-base::prettyNum(...)
-- Error (tests.setup_print.R:16:5): setup print -------------------------------
Error: invalid value 0 for 'digits' argument
Backtrace:
x
1. +-testthat::expect_output(str(print(p)), "Study setup \\(two-level\\)") tests.setup_print.R:16:4
2. | \-testthat:::quasi_capture(...)
3. | +-testthat:::.capture(...)
4. | | \-testthat::capture_output_lines(code, print, width = width)
5. | | \-testthat:::eval_with_output(code, print = print, width = width)
6. | | +-withr::with_output_sink(temp, withVisible(code))
7. | | | \-base::force(code)
8. | | \-base::withVisible(code)
9. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. +-utils::str(print(p))
11. +-base::print(p)
12. +-base::print(p)
13. \-powerlmm:::print.plcp_2lvl(p)
14. \-powerlmm:::prepare_print_plcp_2lvl(x)
15. \-powerlmm:::prepare_print_plcp(x, two_level = TRUE)
16. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. \-base::format.default(...)
19. \-base::prettyNum(...)
-- Error (tests.setup_print.R:72:5): setup print -------------------------------
Error: invalid value 0 for 'digits' argument
Backtrace:
x
1. +-testthat::expect_output(str(print(p)), "Study setup \\(three-level\\)") tests.setup_print.R:72:4
2. | \-testthat:::quasi_capture(...)
3. | +-testthat:::.capture(...)
4. | | \-testthat::capture_output_lines(code, print, width = width)
5. | | \-testthat:::eval_with_output(code, print = print, width = width)
6. | | +-withr::with_output_sink(temp, withVisible(code))
7. | | | \-base::force(code)
8. | | \-base::withVisible(code)
9. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. +-utils::str(print(p))
11. +-base::print(p)
12. +-base::print(p)
13. \-powerlmm:::print.plcp_3lvl(p)
14. \-powerlmm:::prepare_print_plcp_3lvl(x)
15. \-powerlmm:::prepare_print_plcp(x)
16. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. \-base::format.default(...)
19. \-base::prettyNum(...)
-- Error (tests.setup_print.R:128:5): setup print ------------------------------
Error: invalid value 0 for 'digits' argument
Backtrace:
x
1. +-testthat::expect_output(str(print(p)), "Study setup \\(three-level, partially nested\\)") tests.setup_print.R:128:4
2. | \-testthat:::quasi_capture(...)
3. | +-testthat:::.capture(...)
4. | | \-testthat::capture_output_lines(code, print, width = width)
5. | | \-testthat:::eval_with_output(code, print = print, width = width)
6. | | +-withr::with_output_sink(temp, withVisible(code))
7. | | | \-base::force(code)
8. | | \-base::withVisible(code)
9. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. +-utils::str(print(p))
11. +-base::print(p)
12. +-base::print(p)
13. \-powerlmm:::print.plcp_3lvl(p)
14. \-powerlmm:::prepare_print_plcp_3lvl(x)
15. \-powerlmm:::prepare_print_plcp(x)
16. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. \-base::format.default(...)
19. \-base::prettyNum(...)
[ FAIL 4 | WARN 4 | SKIP 0 | PASS 902 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.4.0
Check: tests
Result: ERROR
Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
9. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. +-utils::str(print(p))
11. +-base::print(p)
12. +-base::print(p)
13. \-powerlmm:::print.plcp_3lvl(p)
14. \-powerlmm:::prepare_print_plcp_3lvl(x)
15. \-powerlmm:::prepare_print_plcp(x)
16. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
17. +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
18. \-base::format.default(...)
19. \-base::prettyNum(...)
[ FAIL 4 | WARN 6 | SKIP 0 | PASS 902 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT