-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tl_sizes()
does not return sizes for installed LaTeX packages
#329
Comments
I can't reproduce the problem on macOS. @cderv Are you able to repro on Windows? It sounds like a bug of TeX Live on Windows. |
Yes I can reproduce on Windows
This is an issue at command line:
So it seems a bug in TeX Live or a change in the command maybe. |
Seems the error is thrown from here: FWIW it is not specific to size. It seems the data field is not read correctly
I have just written on the mailing list: https://tug.org/mailman/listinfo/tex-live We'll see |
Someone commented: It seems there is a quoting issue. This works on Windows with CMD (not powershell)
I hope we'll have more answers before trying to fix this |
Quoting shouldn't hurt on *nix, so I guess we don't need to wait but just |
Let me try that and see if it fixes things |
It works. I have made a PR |
Thanks for the quick response! I can confirm that the PR fixes the issue :) library(tinytex)
length(tl_pkgs())
#> [1] 277
tl_sizes()
#> tlmgr info --list --only-installed --data "name,size"
#> The total size is 420.8 Mb
#> package size size_h
#> 1 tlperl.win32 45629440 43.5 Mb
#> 2 lm 43601920 41.6 Mb
#> 3 xetex.win32 41451520 39.5 Mb
#> 4 libertine 33402880 31.9 Mb
#> 5 biber.win32 29851648 28.5 Mb
#> 6 tlgs.win32 28864512 27.5 Mb
#> 7 roboto 27979776 26.7 Mb
#> 8 tex-gyre 27262976 26 Mb
#> 9 koma-script 22257664 21.2 Mb
#> 10 newtx 13578240 12.9 Mb
#> 11 amsfonts 7696384 7.3 Mb
#> 12 luaotfload 7663616 7.3 Mb
#> 13 luatex.win32 6905856 6.6 Mb
#> 14 texlive.infra.win32 6500352 6.2 Mb
#> 15 pgf 6234112 5.9 Mb
#> 16 luahbtex.win32 5926912 5.7 Mb
#> 17 ec 5918720 5.6 Mb
#> 18 tipa 4489216 4.3 Mb
#> 19 stix 4182016 4 Mb
#> 20 babel 3850240 3.7 Mb
#> 21 unicode-data 3125248 3 Mb
#> 22 ucs 2883584 2.8 Mb
#> 23 latex 2453504 2.3 Mb
#> 24 helvetic 2433024 2.3 Mb
#> 25 biblatex 2428928 2.3 Mb
#> 26 xypic 2355200 2.2 Mb
#> 27 pdftex.win32 1880064 1.8 Mb
#> 28 doclicense 1761280 1.7 Mb
#> 29 palatino 1589248 1.5 Mb
#> 30 polyglossia 1511424 1.4 Mb
#> 31 cm 1392640 1.3 Mb
#> 32 l3kernel 1392640 1.3 Mb
#> 33 times 1372160 1.3 Mb
#> 34 kpathsea.win32 1359872 1.3 Mb
#> 35 fontawesome5 1351680 1.3 Mb
#> 36 ncntrsbk 1249280 1.2 Mb
#> 37 inconsolata 1228800 1.2 Mb
#> 38 courier 1191936 1.1 Mb
#> 39 texlive.infra 1085440 1 Mb
#> 40 beamer 1040384 1016 Kb
#> 41 dvipdfmx.win32 978944 956 Kb
#> 42 hyperref 851968 832 Kb
#> 43 lualibs 786432 768 Kb
#> 44 apacite 774144 756 Kb
#> 45 lm-math 737280 720 Kb
#> 46 fpl 688128 672 Kb
#> 47 ae 643072 628 Kb
#> 48 texlive-scripts 643072 628 Kb
#> 49 listings 593920 580 Kb
#> 50 siunitx 593920 580 Kb
#> 51 tcolorbox 589824 576 Kb
#> 52 revtex4-1 573440 560 Kb
#> 53 dvips 565248 552 Kb
#> 54 metafont.win32 565248 552 Kb
#> 55 charter 520192 508 Kb
#> 56 unicode-math 520192 508 Kb
#> 57 translator 503808 492 Kb
#> 58 fontawesome 491520 480 Kb
#> 59 memoir 491520 480 Kb
#> 60 latex-tools-dev 450560 440 Kb
#> 61 psnfss 450560 440 Kb
#> 62 tools 450560 440 Kb
#> 63 mhchem 446464 436 Kb
#> 64 oberdiek 442368 432 Kb
#> 65 stringenc 442368 432 Kb
#> 66 langsci 438272 428 Kb
#> 67 microtype 438272 428 Kb
#> 68 achemso 430080 420 Kb
#> 69 ly1 425984 416 Kb
#> 70 latexmk 417792 408 Kb
#> 71 stmaryrd 401408 392 Kb
#> 72 lipsum 385024 376 Kb
#> 73 cleveref 331776 324 Kb
#> 74 fontspec 331776 324 Kb
#> 75 amscls 323584 316 Kb
#> 76 tex.win32 311296 304 Kb
#> 77 eurosym 294912 288 Kb
#> 78 fmtcount 290816 284 Kb
#> 79 ntgclass 290816 284 Kb
#> 80 amsmath 286720 280 Kb
#> 81 latex-amsmath-dev 286720 280 Kb
#> 82 datetime 270336 264 Kb
#> 83 l3packages 266240 260 Kb
#> 84 pdftex 266240 260 Kb
#> 85 latex-fonts 249856 244 Kb
#> 86 lineno 245760 240 Kb
#> 87 zapfchan 241664 236 Kb
#> 88 esvect 237568 232 Kb
#> 89 dehyph 233472 228 Kb
#> 90 mdframed 221184 216 Kb
#> 91 dvips.win32 217088 212 Kb
#> 92 caption 212992 208 Kb
#> 93 kpathsea 212992 208 Kb
#> 94 bibtex 208896 204 Kb
#> 95 marvosym 208896 204 Kb
#> 96 xunicode 208896 204 Kb
#> 97 l3backend 200704 196 Kb
#> 98 catoptions 192512 188 Kb
#> 99 knuth-lib 192512 188 Kb
#> 100 mfware.win32 184320 180 Kb
#> 101 dvipdfmx 167936 164 Kb
#> 102 mathpazo 167936 164 Kb
#> 103 urlbst 167936 164 Kb
#> 104 plain 163840 160 Kb
#> 105 texlive-scripts.win32 163840 160 Kb
#> 106 fp 151552 148 Kb
#> 107 luatex 151552 148 Kb
#> 108 zref 151552 148 Kb
#> 109 extsizes 143360 140 Kb
#> 110 graphics 143360 140 Kb
#> 111 rsfs 143360 140 Kb
#> 112 ltxkeys 139264 136 Kb
#> 113 natbib 135168 132 Kb
#> 114 mdwtools 126976 124 Kb
#> 115 mathtools 118784 116 Kb
#> 116 tabu 118784 116 Kb
#> 117 sttools 114688 112 Kb
#> 118 mnras 110592 108 Kb
#> 119 tufte-latex 110592 108 Kb
#> 120 bibtex.win32 102400 100 Kb
#> 121 bookmark 102400 100 Kb
#> 122 csquotes 102400 100 Kb
#> 123 hyph-utf8 102400 100 Kb
#> 124 pdfpages 102400 100 Kb
#> 125 symbol 102400 100 Kb
#> 126 adjustbox 98304 96 Kb
#> 127 babel-french 98304 96 Kb
#> 128 expex 98304 96 Kb
#> 129 glyphlist 98304 96 Kb
#> 130 hyphen-base 98304 96 Kb
#> 131 modes 98304 96 Kb
#> 132 titlesec 98304 96 Kb
#> 133 zapfding 98304 96 Kb
#> 134 graphics-def 94208 92 Kb
#> 135 thmtools 94208 92 Kb
#> 136 floatrow 90112 88 Kb
#> 137 xcolor 81920 80 Kb
#> 138 jknapltx 77824 76 Kb
#> 139 lettrine 77824 76 Kb
#> 140 thumbpdf 77824 76 Kb
#> 141 xwatermark 77824 76 Kb
#> 142 ametsoc 73728 72 Kb
#> 143 cite 73728 72 Kb
#> 144 standalone 73728 72 Kb
#> 145 fancyvrb 69632 68 Kb
#> 146 hyperxmp 69632 68 Kb
#> 147 hyphen-french 65536 64 Kb
#> 148 xkeyval 65536 64 Kb
#> 149 epsf 57344 56 Kb
#> 150 euenc 57344 56 Kb
#> 151 filehook 57344 56 Kb
#> 152 preview 57344 56 Kb
#> 153 eepic 53248 52 Kb
#> 154 enumitem 53248 52 Kb
#> 155 etoolbox 53248 52 Kb
#> 156 metafont 53248 52 Kb
#> 157 minifp 53248 52 Kb
#> 158 xstring 53248 52 Kb
#> 159 algorithmicx 49152 48 Kb
#> 160 chemgreek 49152 48 Kb
#> 161 etex 45056 44 Kb
#> 162 geometry 45056 44 Kb
#> 163 mathspec 45056 44 Kb
#> 164 bigintcalc 40960 40 Kb
#> 165 ccicons 40960 40 Kb
#> 166 kvoptions 40960 40 Kb
#> 167 morefloats 40960 40 Kb
#> 168 babel-english 36864 36 Kb
#> 169 bitset 36864 36 Kb
#> 170 epstopdf 36864 36 Kb
#> 171 preprint 36864 36 Kb
#> 172 carlisle 32768 32 Kb
#> 173 intcalc 32768 32 Kb
#> 174 mathalpha 32768 32 Kb
#> 175 newfloat 32768 32 Kb
#> 176 pdftexcmds 32768 32 Kb
#> 177 sauerj 32768 32 Kb
#> 178 subfig 32768 32 Kb
#> 179 tex-ini-files 32768 32 Kb
#> 180 atbegshi 28672 28 Kb
#> 181 fancyhdr 28672 28 Kb
#> 182 footmisc 28672 28 Kb
#> 183 hycolor 28672 28 Kb
#> 184 iftex 28672 28 Kb
#> 185 latexconfig 28672 28 Kb
#> 186 wrapfig 28672 28 Kb
#> 187 epstopdf-pkg 24576 24 Kb
#> 188 framed 24576 24 Kb
#> 189 sectsty 24576 24 Kb
#> 190 setspace 24576 24 Kb
#> 191 soul 24576 24 Kb
#> 192 xetex 24576 24 Kb
#> 193 atveryend 20480 20 Kb
#> 194 crop 20480 20 Kb
#> 195 endfloat 20480 20 Kb
#> 196 etex-pkg 20480 20 Kb
#> 197 forarray 20480 20 Kb
#> 198 grffile 20480 20 Kb
#> 199 ltxcmds 20480 20 Kb
#> 200 pdfescape 20480 20 Kb
#> 201 soulutf8 20480 20 Kb
#> 202 subfigure 20480 20 Kb
#> 203 threeparttable 20480 20 Kb
#> 204 vruler 20480 20 Kb
#> 205 algorithms 16384 16 Kb
#> 206 bbm-macros 16384 16 Kb
#> 207 changepage 16384 16 Kb
#> 208 draftwatermark 16384 16 Kb
#> 209 endnotes 16384 16 Kb
#> 210 eso-pic 16384 16 Kb
#> 211 firstaid 16384 16 Kb
#> 212 fontaxes 16384 16 Kb
#> 213 kvsetkeys 16384 16 Kb
#> 214 lastpage 16384 16 Kb
#> 215 latex-bin.win32 16384 16 Kb
#> 216 lualatex-math 16384 16 Kb
#> 217 makecell 16384 16 Kb
#> 218 marginnote 16384 16 Kb
#> 219 mfware 16384 16 Kb
#> 220 ms 16384 16 Kb
#> 221 multirow 16384 16 Kb
#> 222 paralist 16384 16 Kb
#> 223 picinpar 16384 16 Kb
#> 224 psfrag 16384 16 Kb
#> 225 ulem 16384 16 Kb
#> 226 url 16384 16 Kb
#> 227 xargs 16384 16 Kb
#> 228 appendix 12288 12 Kb
#> 229 breakurl 12288 12 Kb
#> 230 collectbox 12288 12 Kb
#> 231 colortbl 12288 12 Kb
#> 232 comment 12288 12 Kb
#> 233 everysel 12288 12 Kb
#> 234 floatflt 12288 12 Kb
#> 235 gettitlestring 12288 12 Kb
#> 236 hardwrap 12288 12 Kb
#> 237 infwarerr 12288 12 Kb
#> 238 logreq 12288 12 Kb
#> 239 parskip 12288 12 Kb
#> 240 pdfsync 12288 12 Kb
#> 241 ragged2e 12288 12 Kb
#> 242 refcount 12288 12 Kb
#> 243 rerunfilecheck 12288 12 Kb
#> 244 sidecap 12288 12 Kb
#> 245 srcltx 12288 12 Kb
#> 246 varwidth 12288 12 Kb
#> 247 awesomebox 8192 8 Kb
#> 248 booktabs 8192 8 Kb
#> 249 dblfloatfix 8192 8 Kb
#> 250 environ 8192 8 Kb
#> 251 epstopdf.win32 8192 8 Kb
#> 252 etexcmds 8192 8 Kb
#> 253 everyshi 8192 8 Kb
#> 254 float 8192 8 Kb
#> 255 graphics-cfg 8192 8 Kb
#> 256 grfext 8192 8 Kb
#> 257 hyphenat 8192 8 Kb
#> 258 kvdefinekeys 8192 8 Kb
#> 259 letltxmacro 8192 8 Kb
#> 260 metalogo 8192 8 Kb
#> 261 moreverb 8192 8 Kb
#> 262 mweights 8192 8 Kb
#> 263 pdflscape 8192 8 Kb
#> 264 realscripts 8192 8 Kb
#> 265 tabto-ltx 8192 8 Kb
#> 266 threeparttablex 8192 8 Kb
#> 267 totcount 8192 8 Kb
#> 268 totpages 8192 8 Kb
#> 269 uniquecounter 8192 8 Kb
#> 270 units 8192 8 Kb
#> 271 vmargin 8192 8 Kb
#> 272 wallpaper 8192 8 Kb
#> 273 xifthen 8192 8 Kb
#> 274 xltxtra 8192 8 Kb
#> 275 a4wide 4096 4 Kb
#> 276 auxhook 4096 4 Kb
#> 277 hyperxmp.win32 4096 4 Kb
#> 278 ifmtarg 4096 4 Kb
#> 279 kastrup 4096 4 Kb
#> 280 latexmk.win32 4096 4 Kb
#> 281 lua-alt-getopt 4096 4 Kb
#> 282 luaotfload.win32 4096 4 Kb
#> 283 makecmds 4096 4 Kb
#> 284 needspace 4096 4 Kb
#> 285 pbox 4096 4 Kb
#> 286 placeins 4096 4 Kb
#> 287 seqsplit 4096 4 Kb
#> 288 textcase 4096 4 Kb
#> 289 thumbpdf.win32 4096 4 Kb
#> 290 trimspaces 4096 4 Kb
#> 291 upquote 4096 4 Kb
#> 292 urlbst.win32 4096 4 Kb
#> 293 xetexconfig 4096 4 Kb
#> 294 biber 0 0 bytes
#> 295 latex-bin 0 0 bytes
#> 296 luahbtex 0 0 bytes
#> 297 scheme-infraonly 0 0 bytes
#> 298 tex 0 0 bytes Created on 2021-09-15 by the reprex package (v2.0.1) Session infosessioninfo::session_info()
#> - Session info ---------------------------------------------------------------
#> setting value
#> version R version 4.1.1 (2021-08-10)
#> os Windows 10 x64
#> system x86_64, mingw32
#> ui RTerm
#> language (EN)
#> collate English_United Kingdom.1252
#> ctype English_United Kingdom.1252
#> tz Europe/Berlin
#> date 2021-09-15
#>
#> - Packages -------------------------------------------------------------------
#> package * version date lib source
#> backports 1.2.1 2020-12-09 [1] CRAN (R 4.1.0)
#> cli 3.0.1 2021-07-17 [1] CRAN (R 4.1.0)
#> crayon 1.4.1 2021-02-08 [1] CRAN (R 4.1.1)
#> digest 0.6.27 2020-10-24 [1] CRAN (R 4.1.1)
#> ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.1.0)
#> evaluate 0.14 2019-05-28 [1] CRAN (R 4.1.1)
#> fansi 0.5.0 2021-05-25 [1] CRAN (R 4.1.1)
#> fastmap 1.1.0 2021-01-25 [1] CRAN (R 4.1.1)
#> fs 1.5.0 2020-07-31 [1] CRAN (R 4.1.1)
#> glue 1.4.2 2020-08-27 [1] CRAN (R 4.1.1)
#> highr 0.9 2021-04-16 [1] CRAN (R 4.1.1)
#> htmltools 0.5.2 2021-08-25 [1] CRAN (R 4.1.1)
#> knitr 1.34 2021-09-09 [1] CRAN (R 4.1.1)
#> lifecycle 1.0.0 2021-02-15 [1] CRAN (R 4.1.1)
#> magrittr 2.0.1 2020-11-17 [1] CRAN (R 4.1.1)
#> pillar 1.6.2 2021-07-29 [1] CRAN (R 4.1.1)
#> pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.1.1)
#> purrr 0.3.4 2020-04-17 [1] CRAN (R 4.1.1)
#> reprex 2.0.1 2021-08-05 [1] CRAN (R 4.1.1)
#> rlang 0.4.11 2021-04-30 [1] CRAN (R 4.1.1)
#> rmarkdown 2.11 2021-09-14 [1] CRAN (R 4.1.1)
#> rstudioapi 0.13 2020-11-12 [1] CRAN (R 4.1.1)
#> sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 4.1.1)
#> stringi 1.7.4 2021-08-25 [1] CRAN (R 4.1.1)
#> stringr 1.4.0 2019-02-10 [1] CRAN (R 4.1.1)
#> styler 1.5.1.9001 2021-09-13 [1] Github (r-lib/styler@6300c7c)
#> tibble 3.1.4 2021-08-25 [1] CRAN (R 4.1.1)
#> tinytex * 0.33.1 2021-09-15 [1] Github (yihui/tinytex@8761c0a)
#> utf8 1.2.2 2021-07-24 [1] CRAN (R 4.1.1)
#> vctrs 0.3.8 2021-04-29 [1] CRAN (R 4.1.1)
#> withr 2.4.2 2021-04-18 [1] CRAN (R 4.1.1)
#> xfun 0.26 2021-09-14 [1] CRAN (R 4.1.1)
#> yaml 2.2.1 2020-02-01 [1] CRAN (R 4.1.0)
#>
#> [1] C:/Users/IndrajeetPatil/Documents/R/win-library/4.1
#> [2] C:/Program Files/R/R-4.1.1/library |
I can reproduce the same behavior also at the terminal, so I am guessing that this is not strictly related to the R package, but then I am also not sure how to solve this issue and would appreciate any help :)
Reprex with session info in R
Created on 2021-09-14 by the reprex package (v2.0.1)
Session info
Output from terminal
The text was updated successfully, but these errors were encountered: