diff --git a/_extensions/rostools/r3-theme/includes/reading-website-r.qmd b/_extensions/rostools/r3-theme/includes/reading-website-r.qmd new file mode 100644 index 0000000..2c0cbec --- /dev/null +++ b/_extensions/rostools/r3-theme/includes/reading-website-r.qmd @@ -0,0 +1,19 @@ +We will explain this a bit during the course, but read this to start +learning how the website is structured and how to read certain things. +Specifically, there are a few "syntax" type formatting of the text in +this website to be aware of: + +- Folder names always end with a `/`, for example `data/` means the + data folder. +- File names always end with their file extension, for example `content.md` + means the file is a Markdown file. +- R variables are always shown as is. For instance, for the code + `x <- 10`, `x` is a variable because it was assigned with 10. +- Functions always end with `()`, for instance `mean()` or + `read_csv()`. +- Sometimes functions have their package name appended with `::` to + indicate to run the code from the specific package, since we likely + haven't loaded the package with `library()`. For instance, to + install packages from GitHub using the `{pak}` package we use + `pak::pkg_install("user/packagename")`. You'll learn about this more + later. diff --git a/_extensions/rostools/r3-theme/includes/reading-website.qmd b/_extensions/rostools/r3-theme/includes/reading-website.qmd new file mode 100644 index 0000000..5b175a0 --- /dev/null +++ b/_extensions/rostools/r3-theme/includes/reading-website.qmd @@ -0,0 +1,9 @@ +We will explain this a bit during the lessons, but read this to start +learning how the website is structured and how to read certain things. +Specifically, there are a few "syntax" type formatting of the text in +this website to be aware of: + +- Folder names always end with a `/`, for example `data/` means the + data folder. +- File names always end with their file extension, for example `content.md` + means the file is a Markdown file.