重装 tinytex 之后,所有需要安装包的场景都会报错 xz: (stdin): Unexpected end of input
> tinytex::uninstall_tinytex()
> tinytex::install_tinytex()
trying URL 'https://yihui.org/tinytex/TinyTeX-1.zip'
Content type 'application/octet-stream' length 99789020 bytes (95.2 MB)
downloaded 95.2 MB
> tinytex::tlmgr_install("accanthis")
tlmgr install accanthis
xz: (stdin): Unexpected end of input
C:\Users\Lenovo\AppData\Roaming\TinyTeX\texmf-dist\scripts\texlive\tlmgr.pl: checksum error when downloading C:\Users\Lenovo\AppData\Local\Temp\RuxTwRsc73\dpwbVQ_PNv from http://ctan.mirrors.hoobly.com/systems/texlive/tlnet/tlpkg/texlive.tlpdb: digest disagree
tlmgr update --self
tlmgr install accanthis
xz: (stdin): Unexpected end of input
C:\Users\Lenovo\AppData\Roaming\TinyTeX\texmf-dist\scripts\texlive\tlmgr.pl: checksum error when downloading C:\Users\Lenovo\AppData\Local\Temp\zLSKWjrvUs\nyTw7aib8e from http://ctan.mirrors.hoobly.com/systems/texlive/tlnet/tlpkg/texlive.tlpdb: digest disagree
版本
xfun::session_info(c("tinytex", "rmarkdown"))
#> R version 4.0.2 (2020-06-22)
#> Platform: x86_64-w64-mingw32/x64 (64-bit)
#> Running under: Windows 10 x64 (build 18363)
#>
#> Locale:
#> LC_COLLATE=English_United States.1252
#> LC_CTYPE=English_United States.1252
#> LC_MONETARY=English_United States.1252
#> LC_NUMERIC=C
#> LC_TIME=English_United States.1252
#> system code page: 936
#>
#> Package version:
#> base64enc_0.1.3 digest_0.6.27 evaluate_0.14 glue_1.4.2
#> graphics_4.0.2 grDevices_4.0.2 highr_0.8 htmltools_0.5.0
#> jsonlite_1.7.1 knitr_1.30 magrittr_1.5 markdown_1.1
#> methods_4.0.2 mime_0.9 rlang_0.4.8 rmarkdown_2.5
#> stats_4.0.2 stringi_1.5.3 stringr_1.4.0 tinytex_0.27
#> tools_4.0.2 utils_4.0.2 xfun_0.19 yaml_2.2.1
#>
#> Pandoc version: 2.11