Skip to content

Commit

Permalink
Use DT
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed Oct 23, 2024
1 parent b78ec5e commit 25b32c1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 38 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Imports:
stats19,
nycflights13,
remotes,
spDataLarge
spDataLarge,
DT
Remotes:
nowosad/spDataLarge
42 changes: 8 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,13 @@


# Quarto course website template
This repo contain code for the Transport Data Science module at the
Institute for Transport Studies, University of Leeds.

A template for course websites developed with
[Quarto](https://quarto.org) and hosted on GitHub.
To set it up we used commands such as:

This is all configured so you only need to edit the source files in
Quarto (.qmd). The website is generated and hosted automatically by
GitHub.

Example website:
https://pakillo.github.io/quarto-course-website-template (see also
https://github.com/rstudio-conf-2022/teach-ds-course-website for a more
developed example).

## Using this template

1. Click on green button “Use this template” -\> “Create a new
repository”

2. Choose a name for your repository

3. Important: check ‘Include all branches’ when creating the repository
(because we will need the `gh-pages` branch to host the website).

4. Once your repo is created, remember to update the links to your
GitHub repo in [\_quarto.yml](_quarto.yml), replacing ‘Pakillo’ with
your GitHub username.

To create an empty branch and take a look at the [Quarto
documentation](https://quarto.org/docs/publishing/github-pages.html):

``` bash
git checkout --orphan gh-pages
git reset --hard # make sure all changes are committed before running this!
git commit --allow-empty -m "Initialising gh-pages branch"
git push origin gh-pages
``` r
usethis::use_description()
usethis::use_package("stats19")
usethis::use_package("DT")
usethis::use_package("quarto")
```
5 changes: 2 additions & 3 deletions README.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ format: gfm

This repo contain code for the Transport Data Science module at the Institute for Transport Studies, University of Leeds.

To set it up we used the following commands:
To set it up we used commands such as:

```{r}
#| eval: false
usethis::use_description()
usethis::use_package("stats19")
usethis::use_package("dplyr")
usethis::use_package("ggplot2")
usethis::use_package("DT")
usethis::use_package("quarto")
```

0 comments on commit 25b32c1

Please sign in to comment.