[R-pkg-team] Bug#903819: r-cran-rmarkdown: Broken link /usr/lib/R/site-library/rmarkdown/rmd/h/bootstrap-3.3.5/shim
Ralf Stubner
ralf.stubner at web.de
Sun Jul 15 11:06:49 BST 2018
Package: r-cran-rmarkdown
Version: 1.10+dfsg-2
Severity: normal
Dear Maintainer,
I called the reprex package to render a minimal example based on an .R file:
> reprex::reprex(input="parallelMap-rng.R")
Rendering reprex...
pandoc: /usr/lib/R/site-library/rmarkdown/rmd/h/bootstrap-3.3.5/shim/html5shiv.min.js: openBinaryFile: does not exist (No such file or directory)
Error: pandoc document conversion failed with error 1
The file does not exist under this path on my system, since the shim direcoty is actaully a broken link:
$ ls -l /usr/lib/R/site-library/rmarkdown/rmd/h/bootstrap-3.3.5/shim
lrwxrwxrwx 1 root root 43 Jun 29 16:16 /usr/lib/R/site-library/rmarkdown/rmd/h/bootstrap-3.3.5/shim -> ../../../../shiny/www/shared/bootstrap/shim
$ ls -l /usr/lib/R/site-library/rmarkdown/rmd/h/bootstrap-3.3.5/shim/
ls: cannot access '/usr/lib/R/site-library/rmarkdown/rmd/h/bootstrap-3.3.5/shim/': No such file or directory
The relative path itself looks fine, resolving it by hand:
$ ls -l /usr/lib/R/site-library/shiny/www/shared/bootstrap/shim
total 12
lrwxrwxrwx 1 root root 80 Jun 5 11:16 html5shiv.min.js -> ../../../../../../../../share/twitter-bootstrap/files/html5shiv/html5shiv.min.js
-rw-r--r-- 1 root root 4433 Jun 5 11:16 respond.min.js
However, the bootstrap directory is already a link
ls -l /usr/lib/R/site-library/rmarkdown/rmd/h/bootstrap-3.3.5
lrwxrwxrwx 1 root root 44 Mär 23 08:25 /usr/lib/R/site-library/rmarkdown/rmd/h/bootstrap-3.3.5 -> ../../../../../../share/javascript/bootstrap
And relative to that directory, the link to the shim directory does not resolve:
$ ls -l /usr/share/javascript/bootstrap
total 16
drwxr-xr-x 2 root root 4096 Jan 7 2018 css
drwxr-xr-x 2 root root 4096 Jan 7 2018 fonts
drwxr-xr-x 2 root root 4096 Jan 7 2018 js
drwxr-xr-x 3 root root 4096 Jan 7 2018 less
lrwxrwxrwx 1 root root 43 Jun 29 16:16 shim -> ../../../../shiny/www/shared/bootstrap/shim
Please let me know if you need further info.
Greetings
Ralf
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.16.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages r-cran-rmarkdown depends on:
ii fonts-font-awesome 5.0.10+really4.7.0~dfsg-1
ii libjs-bootstrap 3.3.7+dfsg-2
ii libjs-highlight.js 9.12.0+dfsg1-4
ii libjs-jquery 3.2.1-1
ii libjs-jquery-ui 1.12.1+dfsg-5
ii libjs-modernizr 2.6.2+ds1-3
ii libjs-prettify 2015.12.04+dfsg-1
ii pandoc 2.2.1-2
ii r-base-core [r-api-3.5] 3.5.1-1
ii r-cran-base64enc 0.1-3-2
ii r-cran-evaluate 0.10.1-2
ii r-cran-htmltools 0.3.6-2
ii r-cran-jsonlite 1.5-3
ii r-cran-knitr 1.20+dfsg-1
ii r-cran-mime 0.5-2
ii r-cran-rprojroot 1.3-2-2
ii r-cran-shiny 1.1.0+dfsg-1
ii r-cran-stringr 1.3.1-2
ii r-cran-tinytex 0.5-2
ii r-cran-yaml 2.1.19-1+b1
Versions of packages r-cran-rmarkdown recommends:
ii r-cran-testthat 2.0.0-3
Versions of packages r-cran-rmarkdown suggests:
ii r-cran-digest 0.6.15-1+b1
pn r-cran-dygraphs <none>
ii r-cran-shiny 1.1.0+dfsg-1
ii r-cran-tibble 1.4.2-3
-- no debconf information
More information about the R-pkg-team
mailing list