Assignment B4: Quarto Webpage
Due: Tuesday Dec 15, 2026 at 11:59pm
Total Points: 100
For this assignment, you will create a Quarto website app and deploy it.
Part A) Setup
Install Quarto
Before continuing, ensure that you’ve installed Quarto these directions.
Initial Website Set-up
This assignment will exist on your personal GitHub account, not the STAT545 organization.
Step 1: In RStudio, create a New Project.
Select “New Directory” and then find “Quarto Website”.
If given an option for version control, select Git. A simple build of a two paged website will generate.
Name the project “yourusername.github.io” if you want a personal website, or any other project name.
- NOTE: if you do not use “yourusername.github.io”, the website will be at “yourusername.github.io/yourprojectname” by default.
Step 2: In the Terminal, run touch .nojekyll (Mac OS) or copy NUL .nojekyll to disable Jekyll.
Step 3: Within the RStudio project, navigate to the _quarto.yml file in your files (right hand pane). Under the project: preamble, add output-dir: docs.
Step 4: Navigate back to index.qmd. Save and click the Render button. A local version of this simple website will appear.
Now, we should send this to GitHub so we can host our website on GitHub and make changes both locally and through GitHub. To do so, we need to connect this R Project with Github.
Step 5: When you made this project, you should have selected to use Git as a version control. If not, head to Tools > Version control > Project Setup and select Git as your version control. At this time, origin should be set to none.
Step 6: In the Console:
Load in the
usethispackage withlibrary(usethis)Run
use_git()and select the option that will commit all changesRun
use_github()to create a github repository with the same name as your R Project.
Step 7: Now will be working in the terminal to give commands to our computer to connect with Github. You can equivalently use the “Git” tab in RStudio to stage, commit, and push changes.
SAVE ALL FILES. In the Terminal (beside the Console in RStudio)
Run
git add .Then, commit the changes of our website to Git. Type
git commit -m "initial commit"- The
-m "<description>"part adds the <description> of your changes.
- The
Push the changes using
git push origin main. Head back to github to see new files added to your repository.
Step 8: See your new website
Navigate to your repository on Github and click the three dots and head to the repository settings.
Navigate to
pageson the lefthand side menu.Under
branch, selectmainas your branch and/docsas the folder. Select save.Give it a few minutes and refresh if you don’t see a success message pointing to the website.
Head to <yourreponame>.github.io to see if it worked!
Step 9: Edit your website and push the changes
Edit your version locally, and render and save.
Then, in the terminal:
Run
git add .Run
git commit -m "<description of your changes>"Run
git push origin main
Part B) Create a Website (80 points)
You can create any sort of website you’d like. The easiest thing to make is probably a professional (or perhaps a not-so-professional, fake) profile like what we demonstrated in class, but I won’t limit your creativity here.
While we don’t care too much about aesthetics, there will be five points devoted to the overall organization/cleanliness of the webpage. Avoid neon backgrounds and hard-to-read fonts.
Your website must include:
Part C) Deploy the Website (10 points)
Having issues? Make sure you quarto render your website before staging, committing, and pushing changes.
Part D) GitHub Repository (10 points)
Submission
Grading
The rubric can be found on Canvas.