Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion copier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
6 changes: 6 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion template/{{ github_repo }}.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
RnwWeave: knitr
LaTeX: pdfLaTeX

AutoAppendNewline: Yes
Expand Down
Loading