Test Quarto Book
Preface
This is my first Quarto book. For now, I’m just using it for some experimentation. Eventually, I will probably want to add all of this to a GitHub repository. Right now, Olivia is in class and I’m content with just experimenting a little bit.
This is not my new R Notes book; although, I may move R Notes over to Quarto at some point. This is purely just a sandbox for playing with Quarto books.
Useful websites:
Rendering
You can render the files by clicking the Render button in RStudio. To render the HTML and PDF files at the same time, type quarto render
into the terminal. You can also render Quarto files with a native R code chunk.
The input argument: The input file or project directory to be rendered (defaults to rendering the project in the current working directory).
The output_format argument: Target output format (defaults to “html”). The option “all” will render all formats defined within the file or project.
```{r}
#| Render with R
#| eval: false
quarto::quarto_render(output_format = "all")
```
Publishing to GitHub pages
- Make sure you are on the main branch.
- After rendering (see above), make sure to save and commit your changes to GitHub.
- Type
quarto publish gh-pages
in the terminal.