I'm using a package of learnr tutorials for teaching that I wrote (https://github.com/profandyfield/discovr).
A couple of my students are getting the following error:
Error: parse error: trailing garbage
":{},"value":["0.10.1"]}]}]} {"type":"list","attributes":{},
(right here) ------^
Execution halted
For one student, the first tutorial (discovr_01) throws this error but the others load fine. For the second student, the second tutorial (discovr_02) throws this error but the others are fine. I can't replicate the error, and because teaching is remote it's hard to delve into their system. The fact they get it from different tutorials suggests to me that it isn't the tutorial RMDs per se that are the problem, but am I wrong with that assumption? Does anyone have any idea what the error is referring to (i.e. what might be causing it) so I can investigate further?
Session info from one of the students:
sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets
[6] methods base
loaded via a namespace (and not attached):
[1] rstudioapi_0.11 knitr_1.30 magrittr_1.5
[4] tidyselect_1.1.0 munsell_0.5.0 colorspace_1.4-1
[7] R6_2.4.1 rlang_0.4.7 dplyr_1.0.2
[10] tools_4.0.2 grid_4.0.2 gtable_0.3.0
[13] xfun_0.17 tinytex_0.26 htmltools_0.5.0
[16] ellipsis_0.3.1 yaml_2.2.1 digest_0.6.25
[19] tibble_3.0.3 lifecycle_0.2.0 crayon_1.3.4
[22] purrr_0.3.4 ggplot2_3.3.2 vctrs_0.3.4
[25] glue_1.4.2 evaluate_0.14 rmarkdown_2.3
[28] compiler_4.0.2 pillar_1.4.6 generics_0.0.2
[31] scales_1.1.1 renv_0.12.0 pkgconfig_2.0.3