From 202c051230456274836ccb58f9466c45d4b89e17 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Thu, 28 Aug 2025 12:17:27 +0200 Subject: [PATCH 1/3] fix: :pencil2: should be `knitr` in the `Rproj` file, not `Sweave` --- template/{{ github_repo }}.Rproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/{{ github_repo }}.Rproj b/template/{{ github_repo }}.Rproj index 32ea086..8b8ffb4 100644 --- a/template/{{ github_repo }}.Rproj +++ b/template/{{ github_repo }}.Rproj @@ -10,7 +10,7 @@ UseSpacesForTab: Yes NumSpacesForTab: 2 Encoding: UTF-8 -RnwWeave: Sweave +RnwWeave: knitr LaTeX: pdfLaTeX AutoAppendNewline: Yes From d43721843498726502e2d79bceb4133f075a7ba6 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Thu, 28 Aug 2025 12:18:09 +0200 Subject: [PATCH 2/3] fix: :pencil2: should be `>-` for validating --- copier.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copier.yaml b/copier.yaml index 19ed1e2..71d699a 100644 --- a/copier.yaml +++ b/copier.yaml @@ -75,7 +75,7 @@ github_board_number: type: str help: "What is the GitHub project board number to add issues and PRs to?" default: 12 - validator: | + validator: >- {% if github_board_number and not github_board_number.isdigit() %} The board number must be an integer. {% endif %} From 75ffc21c0fe7a84ca9d1ba6fe166a8f7b3e2d77e Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Thu, 28 Aug 2025 17:18:26 +0200 Subject: [PATCH 3/3] build: :white_check_mark: Add manual test recipe in justfile --- justfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/justfile b/justfile index c6fcecf..1d84367 100644 --- a/justfile +++ b/justfile @@ -51,6 +51,12 @@ check-spelling: test type="r": sh ./test-template.sh {{ type }} +# Test the template through the manual, question-based approach +test-manual: + mkdir -p _temp/manual/ + rm -rf _temp/manual/test-template + uvx copier copy --trust -r HEAD . _temp/manual/test-template + # Build the website using Quarto build-website: uvx --from quarto quarto render