Repository navigation
Description
Bug description
Code available at: https://github.com/mcanouil/quarto-issues/tree/main/quarto-cli-1441
Screen.Recording.2022-07-18.at.00.19.11.mov
I installed two formats via the extension mechanism (i.e., quarto install extension umr1283/quarto-revealjs-umr1283) which resulted in the following directory tree:
.
├── _extensions
│ ├── dragonstyle
│ │ └── lexcorp
│ │ ├── _extension.yml
│ │ ├── custom.scss
│ │ ├── logo.png
│ │ └── title.png
│ └── umr1283
│ └── umr1283
│ ├── _extension.yml
│ ├── setup-ggplot2-umr1283.R
│ ├── umr1283.scss
│ └── umr1283_8199.svg
├── lexcorp.html
├── lexcorp.qmd
├── umr.html
└── umr.qmd
But Quarto does not like the _extensions/umr1283/umr1283 part.
quarto preview umr.qmd --no-browser --no-watch-inputs
WARNING: More than one extension is available for umr1283 in the directory /Users/mcanouil/Projects/misc/quarto-issues/quarto-cli-14xx/_extensions.
Extensions that match:
/Users/mcanouil/Projects/misc/quarto-issues/quarto-cli-14xx/_extensions/umr1283
/Users/mcanouil/Projects/misc/quarto-issues/quarto-cli-14xx/_extensions/umr1283/umr1283
ERROR: The extension 'umr1283' is missing the expected '_extensions.yml' file.Changing the organisation name directory fix the issue, i.e., _extensions/umr1283/umr1283 to _extensions/umr1283-whatever/umr1283.
I wonder if some kind of "lock" file (i.e., as for renvor pak) could be created at _extensions root, to get information about the installed extensions (e.g., commit SHA, tag, repo, etc.).
This could also help Quarto for different extensions sources such as subdirectory (#1440).
quarto check Output
[✓] Checking Quarto installation......OK
Version: 1.0.28
Path: /Applications/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.5
Path: /opt/homebrew/opt/[email protected]/bin/python3.10
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
(-) Checking R installation...........ℹ R version 4.2.1 (2022-06-23)
! Config '~/.Rprofile' was loaded!
[✓] Checking R installation...........OK
Version: 4.2.1
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library
rmarkdown: 2.14
[✓] Checking Knitr engine render......OKquarto tools check Output
[✓] Inspecting tools
Tool Status Installed Latest
chromium Not installed --- 869685
tinytex Not installed --- v2022.07
Activity
[-]Quarto does not like when org-name=extension-name[/-][+][Quarto Extension] Quarto does not like when org-name=extension-name[/+]mcanouil commentedon Jul 26, 2022
Easy/easier step to reproduce, simply run:
quarto use template umr1283/quarto-revealjs-umr1283, then render to produce the error:refactor: change name of ext