Skip to content

Add home_path parameter to quarto TinyTeX installation macros#370

Merged
ianpittwood merged 1 commit intomainfrom
quarto-home-path-override
Mar 12, 2026
Merged

Add home_path parameter to quarto TinyTeX installation macros#370
ianpittwood merged 1 commit intomainfrom
quarto-home-path-override

Conversation

@ianpittwood
Copy link
Contributor

Summary

  • Add home_path parameter to install_tinytex_command macro to override the HOME environment variable during TinyTeX installation
  • Add tinytex_home_path parameter to install and run_install macros to pass through to install_tinytex_command
  • Update tests to cover all new parameter combinations

Test plan

  • All TestQuartoMacros tests pass (29 tests)
  • Manual verification in a container build that uses the tinytex_home_path parameter

🤖 Generated with Claude Code

@ianpittwood ianpittwood requested a review from bschwedler as a code owner March 3, 2026 15:23
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Test Results

1 191 tests  +8   1 191 ✅ +8   13m 16s ⏱️ +14s
    1 suites ±0       0 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 127dbda. ± Comparison against base commit 862d3e8.

♻️ This comment has been updated with latest results.

@ianpittwood ianpittwood force-pushed the quarto-home-path-override branch from deaff5c to b0c9b9b Compare March 11, 2026 19:47
@ianpittwood ianpittwood added this pull request to the merge queue Mar 11, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 11, 2026
@ianpittwood ianpittwood added this pull request to the merge queue Mar 12, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 12, 2026
This allows overriding the HOME environment variable when installing
TinyTeX via Quarto, which controls where TinyTeX is installed. This is
useful when the container build runs as root but the TinyTeX installation
should target a different user's home directory.

- Add home_path parameter to install_tinytex_command macro
- Add tinytex_home_path parameter to install and run_install macros
- Update tests to cover the new parameters

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ianpittwood ianpittwood force-pushed the quarto-home-path-override branch from b0c9b9b to 127dbda Compare March 12, 2026 01:51
@ianpittwood ianpittwood added this pull request to the merge queue Mar 12, 2026
Merged via the queue into main with commit a1581b6 Mar 12, 2026
14 checks passed
@ianpittwood ianpittwood deleted the quarto-home-path-override branch March 12, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants