checkhelper
checkhelper copied to clipboard
As a developper, I would like to have a message if some latex distribution is required
Reprex
-
clone the "branch" seb_yohann" from the "kata1" repository
gert::git_clone(url = "............./kata1.git", branch = "seb_yohann") -
run
devtools::check()

- run
checkhelper::print_globals()



Context
tests have been performed on bakadev admin
sessionInfo()
R version 4.2.0 (2022-04-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.5 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/liblapack.so.3
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8
[6] LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] checkhelper_0.0.1.9000 devtools_2.4.3 usethis_2.1.6 testthat_3.1.4 stringr_1.4.0 dplyr_1.0.9
loaded via a namespace (and not attached):
[1] pillar_1.7.0 compiler_4.2.0 remotes_2.4.2 prettyunits_1.1.1 tools_4.2.0 digest_0.6.29 pkgbuild_1.3.1 pkgload_1.2.4
[9] evaluate_0.15 memoise_2.0.1 lifecycle_1.0.1 tibble_3.1.7 pkgconfig_2.0.3 rlang_1.0.2 rex_1.2.1 rstudioapi_0.13
[17] DBI_1.1.3 cli_3.3.0 yaml_2.3.5 curl_4.3.2 xfun_0.31 xopen_1.0.0 fastmap_1.1.0 knitr_1.39
[25] withr_2.5.0 generics_0.1.2 desc_1.4.1 vctrs_0.4.1 fs_1.5.2 rprojroot_2.0.3 tidyselect_1.1.2 packacode_1.0.4
[33] glue_1.6.2 R6_2.5.1 processx_3.6.1 fansi_1.0.3 rcmdcheck_1.4.0 rmarkdown_2.14 sessioninfo_1.2.2 covr_3.5.1
[41] purrr_0.3.4 callr_3.7.0 magrittr_2.0.3 htmltools_0.5.2 ps_1.7.1 ellipsis_0.3.2 assertthat_0.2.1 utf8_1.2.2
[49] stringi_1.7.6 lazyeval_0.2.2 cachem_1.0.6 crayon_1.5.1 brio_1.1.3
Yohann said:
Pour info, après avoir installé Miktek sur mon poste, j'ai pu lancer print_globals() et là pas d'erreur.
So the problem was your installation and not the package I guess.
Can I close this issue ?
I guess the problem was related to the absence of miktek on my computer.
It might be good to add a message in the README telling the user (as a developper) that some latex distribution is required ?
Thx @ymansiaux , i change the content of this issue