With my environment I am not able to build the report.
All tests ran successfully but an error is raised just after:
> testdown::test_down()
Loading saslog
Testing saslog
Test ended at 2019-10-04 15:00:13
Test ended at 2019-10-04 15:00:15
Test ended at 2019-10-04 15:00:17
Test ended at 2019-10-04 15:00:19
Test ended at 2019-10-04 15:00:23
Test ended at 2019-10-04 15:00:24
Test ended at 2019-10-04 15:00:26
Test ended at 2019-10-04 15:00:26
Test ended at 2019-10-04 15:00:26
Test ended at 2019-10-04 15:00:26
Test ended at 2019-10-04 15:00:26
Test ended at 2019-10-04 15:00:26
Test ended at 2019-10-04 15:00:26
Test ended at 2019-10-04 15:00:26
Test ended at 2019-10-04 15:00:26
Test ended at 2019-10-04 15:00:26
Test ended at 2019-10-04 15:00:27
Erreur : `levels.vctrs_list_of()` not supported.
Call `rlang::last_error()` to see a backtrace
De plus : Warning message:
In gsub(pattern, replacement, a) :
l'argument replacement a une longueur > 1 et seul le premier élément est utilisé
> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.6
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
locale:
[1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] saslog_0.0.3 magrittr_1.5 knitr_1.25 covr_3.3.1 testthat_2.2.1
loaded via a namespace (and not attached):
[1] pkgload_1.0.2 tidyr_1.0.0 jsonlite_1.6 bit64_0.9-7
[5] shiny_1.3.2 assertthat_0.2.1 highr_0.8 blob_1.2.0
[9] testdown_0.0.0.9000 yaml_2.2.0 remotes_2.1.0 sessioninfo_1.1.1
[13] gdtools_0.2.0 pillar_1.4.2 RSQLite_2.1.2 backports_1.1.5
[17] glue_1.3.1.9000 uuid_0.1-2 digest_0.6.21 promises_1.0.1.9002
[21] htmltools_0.3.6 httpuv_1.5.2 pkgconfig_2.0.3 devtools_2.2.1
[25] purrr_0.3.2 xtable_1.8-4 processx_3.4.1 whisker_0.4
[29] later_0.8.0.9004 officer_0.3.6.015 git2r_0.26.1 tibble_2.1.3
[33] cranlike_1.0.2 usethis_1.5.1 ellipsis_0.3.0 DT_0.9
[37] withr_2.1.2 lazyeval_0.2.2 covrpage_0.0.70 cli_1.1.0
[41] crayon_1.3.4 mime_0.7 memoise_1.1.0 evaluate_0.14
[45] ps_1.3.0 fs_1.3.1 crancache_0.0.0.9000 xml2_1.2.2
[49] parsedate_1.2.0 pkgbuild_1.0.5 tools_3.6.0 data.table_1.12.2
[53] prettyunits_1.0.2 hms_0.5.1 lifecycle_0.1.0 stringr_1.4.0
[57] flextable_0.5.5 zip_2.0.4 callr_3.3.2 packrat_0.5.0
[61] rex_1.1.2 compiler_3.6.0 systemfonts_0.1.1 rlang_0.4.0
[65] debugme_1.1.0 attempt_0.3.0 rstudioapi_0.10 rappdirs_0.3.1
[69] htmlwidgets_1.3 crosstalk_1.0.0 base64enc_0.1-3 rmarkdown_1.16
[73] DBI_1.0.0 curl_4.2 rematch2_2.1.0 R6_2.4.0
[77] dplyr_0.8.3 bit_1.1-14 zeallot_0.1.0 rprojroot_1.3-2
[81] readr_1.3.1 desc_1.2.0 stringi_1.4.3 Rcpp_1.0.2
[85] vctrs_0.2.0 tidyselect_0.2.5 xfun_0.10
The rlang trace is below:
Erreur : `levels.vctrs_list_of()` not supported.
Call `rlang::last_error()` to see a backtrace
De plus : Warning message:
In gsub(pattern, replacement, a) :
l'argument replacement a une longueur > 1 et seul le premier élément est utilisé
> rlang::last_error()
<error>
message: `levels.vctrs_list_of()` not supported.
class: `vctrs_error_unsupported`
backtrace:
1. testdown::test_down()
5. knitr::kable(res[i])
9. base::as.matrix.data.frame(x)
11. vctrs:::levels.vctrs_vctr(xj)
12. vctrs:::stop_unsupported(x, "levels")
13. vctrs:::stop_vctrs(...)
Call `rlang::last_trace()` to see the full backtrace
> rlang::last_trace()
█
1. └─testdown::test_down()
2. ├─testdown:::write_in(kable(res[i]))
3. │ └─base::write(x, file = there, append = TRUE)
4. │ └─base::cat(...)
5. └─knitr::kable(res[i])
6. ├─knitr:::replace_na(to_character(as.matrix(x)), is.na(x))
7. ├─knitr:::to_character(as.matrix(x))
8. ├─base::as.matrix(x)
9. └─base::as.matrix.data.frame(x)
10. ├─base::levels(xj)
11. └─vctrs:::levels.vctrs_vctr(xj)
12. └─vctrs:::stop_unsupported(x, "levels")
13. └─vctrs:::stop_vctrs(...)
Hi,
With my environment I am not able to build the report.
All tests ran successfully but an error is raised just after:
The rlang trace is below: