You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quarto dashboards include datatables.min.js which appears to require jQuery, and causes an error in the browser console about jQuery not being defined. I believe this is because jQuery needs to be loaded first and is not. I can add a script to load jQuery using include-in-header but it loads jQuery after datatables.min.js, and hence does not eliminate the error. Manually editing the html to change the order does eliminate it.
Steps to reproduce
---title: "test"format: dashboard---## Hello
When I render this simplest of dashboards and use dev tools in the browser to look at the console, I see the error jQuery is not defined.
Expected behavior
The html generated should not throw errors in the browser.
Actual behavior
There's a jQuery is not defined error in the browser console due to jQuery not being loaded before datatables.min.js
Your environment
IDE: RStudio version 2024.04.2+764
OS: Ventura 13.4
Quarto version 1.5.57
Quarto check output
Quarto 1.5.57
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.2.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.41.0: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.5.57
Path: /Applications/quarto/bin
(base) elaines-mbp:data-site elainemcvey$ quarto --version
1.5.57
(base) elaines-mbp:data-site elainemcvey$ quarto check
Quarto 1.5.57
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.2.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.41.0: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.5.57
Path: /Applications/quarto/bin
Bug description
Quarto dashboards include datatables.min.js which appears to require jQuery, and causes an error in the browser console about jQuery not being defined. I believe this is because jQuery needs to be loaded first and is not. I can add a script to load jQuery using
include-in-header
but it loads jQuery after datatables.min.js, and hence does not eliminate the error. Manually editing the html to change the order does eliminate it.Steps to reproduce
Expected behavior
The html generated should not throw errors in the browser.
Actual behavior
There's a jQuery is not defined error in the browser console due to jQuery not being loaded before datatables.min.js
Your environment
Quarto check output
Quarto 1.5.57
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.2.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.41.0: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.5.57
Path: /Applications/quarto/bin
[✓] Checking tools....................OK
TinyTeX: v2023.06
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/elainemcvey/Library/TinyTeX/bin/universal-darwin
Version: 2023
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.11.6
Path: /private/var/folders/gf/x1wgsr292lg4j14sftwts7hh0000gn/T/Rtmpt4lf0Q/rstudio/terminal/python3
Jupyter: (None)
[✓] Checking R installation...........OK
Version: 4.4.0
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library
knitr: 1.47
rmarkdown: 2.27
[✓] Checking Knitr engine render......OK
(base) elaines-mbp:data-site elainemcvey$ quarto --version
1.5.57
(base) elaines-mbp:data-site elainemcvey$ quarto check
Quarto 1.5.57
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.2.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.41.0: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.5.57
Path: /Applications/quarto/bin
[✓] Checking tools....................OK
TinyTeX: v2023.06
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/elainemcvey/Library/TinyTeX/bin/universal-darwin
Version: 2023
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.11.6
Path: /private/var/folders/gf/x1wgsr292lg4j14sftwts7hh0000gn/T/Rtmp6vp4EL/rstudio/terminal/python3
Jupyter: (None)
[✓] Checking R installation...........OK
Version: 4.4.0
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library
knitr: 1.47
rmarkdown: 2.27
[✓] Checking Knitr engine render......OK
The text was updated successfully, but these errors were encountered: