1
0
Fork
You've already forked technology-training
0
  • Jupyter Notebook 80.3%
  • HTML 6.9%
  • TeX 4.5%
  • SCSS 4%
  • JavaScript 3.3%
  • Other 0.9%
Find a file
2026年01月21日 14:08:58 +11:00
.github/workflows Include requests package in link checker depedencies 2026年01月12日 15:19:37 +10:00
_extensions/mcanouil/iconify Added most icons and iconify extension 2025年05月01日 18:33:09 +10:00
_freeze Activate weekly link-checking and update broken links 2026年01月12日 15:15:58 +10:00
_processing Activate weekly link-checking and update broken links 2026年01月12日 15:15:58 +10:00
Acrobat linked pdf and zip files 2025年05月26日 16:40:06 +10:00
Audacity cleanup: remove obsolete descriptions 2025年10月15日 17:27:50 +10:00
Course_contributions/QBIO7006 ggplot2, plotly and shiny module for QBIO7006 2022年05月20日 06:33:04 +10:00
Excel remove Excel files now that they are in the assets repo 2025年06月30日 10:22:21 +10:00
GenAI genAI: rename; update PDF and move it to assets 2026年01月13日 18:15:40 +10:00
Git cleanup: remove obsolete descriptions 2025年10月15日 17:27:50 +10:00
images Added Favicon 2025年09月18日 13:53:53 +10:00
Inkscape Inkscape: add draft for new lesson 2025年12月31日 12:22:54 +10:00
LaTeX (LaTeX) Minor: use formatted LaTeX command, $\LaTeX$ 2025年09月17日 13:40:37 +10:00
Loop Loop: turn PDFs into QMD 2025年11月14日 15:40:21 +10:00
NVivo Support upcoming links for Word, Excel and NVivo sessions 2025年10月14日 15:50:36 +10:00
OpenRefine cleanup: remove obsolete descriptions 2025年10月15日 17:27:50 +10:00
Orientation update order of O-week sessions 2025年07月21日 17:31:05 +10:00
OSM cleanup: remove obsolete descriptions 2025年10月15日 17:27:50 +10:00
Photoshop linked pdf and zip files 2025年05月26日 15:48:32 +10:00
PowerPoint Support upcoming links for Word, Excel and NVivo sessions 2025年10月14日 15:50:36 +10:00
Premiere_Pro Update premiere_pro.qmd 2025年05月28日 15:16:26 +10:00
Python Python: update and publish useful links 2026年01月19日 16:40:46 +10:00
QGIS cleanup obsolete files and tidy up 2026年01月20日 19:20:13 +10:00
Qualtrics Qualtrics: correct description of software 2025年10月01日 12:49:09 +10:00
R R: clarify installation on UQ devices 2026年01月21日 14:08:58 +11:00
renv Check renv into version control properly 2025年12月12日 14:14:33 +08:00
Shell cleanup obsolete files and tidy up 2026年01月20日 19:20:13 +10:00
Toolbox licenCe in Australian English! 2018年05月03日 15:45:30 +10:00
uMap first draft of training website 2025年04月14日 15:02:28 +10:00
Voyant first draft of training website 2025年04月14日 15:02:28 +10:00
Word linked styles and structure pdf and zip 2025年05月26日 15:32:43 +10:00
.gitignore Only insert banners during workflow, check links during local render. Update readme. 2026年01月09日 15:32:04 +10:00
.renvignore Exclude active sessions from renvignore, freeze 2025年10月22日 14:00:10 +10:00
.Rprofile Check renv into version control properly 2025年12月12日 14:14:33 +08:00
_dependencies.R R: manually record dependency for renv 2026年01月06日 15:46:44 +10:00
_quarto.yml accessibility: turn axe on 2026年01月21日 02:39:09 +11:00
_quarto_internal_scss_error.scss Corrected the light mode issues I created 2025年05月02日 16:07:44 +10:00
index.qmd Include google search console tag 2025年10月15日 13:23:16 +10:00
LICENSE Add CC BY 4.0 LICENSE 2018年11月23日 07:53:22 +00:00
more_training.qmd add LADAL and RCC to "Training elsewhere" page 2025年11月05日 14:47:27 +10:00
README.md fixes to README 2026年01月20日 23:59:32 +11:00
renv.lock R: update package and cleanup lockfile 2026年01月07日 11:30:31 +10:00
requirements.txt (Python) include statsmodels in requirements.txt 2025年10月30日 15:25:38 +10:00
styles.scss CSS: reduce vertical kbd padding 2026年01月21日 01:08:51 +11:00
technology-training.Rproj Rproj file now has a project ID for some reason 2025年03月19日 20:32:27 +10:00

UQ Library Technology Training

The UQ Library Technology Training website is where manuals and files used in our training sessions are published.

The website is built using Quarto and uses the latest patches of R v4.5 and Python v3.12.

Format of training sessions

Most sessions are designed to be hands-on.

All programming sessions use the "live-coding" format in which the instructor and the attendees type and execute commands together. A collaborative online pad (e.g. Etherpad, CryptPad and HedgeDoc) can be used to list useful links, challenges, and to interact during the session.

Contributing

Contributions are welcome! You can raise an issue or submit a change in this repository.

Linked files

To keep this repository light, PDF manuals, PDF slides and other example files (e.g. DOCX, XLSX, video samples...) that are destined to be downloaded are usually kept in a separate "assets" repository.

  1. Go to the appropriate folder in the assets repository
  2. Press "Add file" > "Upload files"
  3. Choose the file, include an appropriate message (e.g. "Update Excel manual") and press "Commit changes"

To update a file, make sure the file name and location are the same. Otherwise, the website will have a broken link.

If you've used a new name, or are uploading a new file, you will also need to update the website by changing the URL in the corresponding .qmd file.

Updating the website

Small changes can be made directly on GitHub, by editing files directly (if you have the rights), or submitting a pull request.

If you prefer to work on your local copy of the repository:

  1. Modify the corresponding Quarto (.qmd) file.
  2. Preview the website locally to see the changes:
quarto preview <path/to/the_source.qmd>

(Alternatively, click "Render" in the "Build" tab of RStudio, or "Preview" in Positron.)

  1. Once you are happy with the changes, commit and push them to this repository.

The freeze: auto setting

This website uses the freeze: auto setting in the _quarto.yml file. This means that when the website is rendered, only the files that have been modified are re-rendered, whereas the others use the previously rendered files stored in the _freeze directory. This helps with:

  • reducing rendering times (for contributors as well as the GitHub workflow), and
  • making sure pages don't break when using a system that is not capable of rendering the whole website (packages not installed, dependency on older versions...).

When rendering locally after a change (to a .qmd file containing code), the files in the _freeze directory will likely change, so do commit those changes too - as long as your environment is set up properly (more on that in the next section).

Managing dependencies

We use renv for managing R dependencies and requirements.txt (with venv) for Python.

The benefits are:

  • More consistency between systems that render
  • More reproducibility, as we know which package versions were successfully used when rendering a page

If your contributions need new or updated packages, you'll need to update these dependencies.

Before you do, some things to consider:

  • The website uses an Ubuntu runner. Some Python and R packages are specific to Windows/macOS, so please ensure that the packages you are updating are required for Ubuntu. (Ideally, you would make such changes on an Ubuntu machine / in WSL.)
  • You will need to use virtual environments. Specifically, your clone of this repo should use Python/R environments that have the same dependencies (and no more) as specified in renv.lock (R) or requirements.txt (Python). Once the clones are actually clones, you can then start to add new dependencies as required.
  • Please ensure you only install what is necessary! There are too many dependencies already.
R environment with renv

The renv package use the renv.lock file to record package versions.

When working on R lessons:

  • run renv::restore(clean = TRUE) before making changes to code in the R lessons, so your local package versions match what is currently used (and so unused packages are removed)
  • run renv::snapshot() to update the renv.lock file if packages had to be updated or new packages had to be installed.

If a package dependency is not caught automatically by renv (for example, if a function depends on an optional package), you can manually add it to the _dependencies.R file.

Make sure to commit any changes to renv.lock and _dependencies.R.

Python environment with requirements.txt

This repository also comes with a requirements.txt file that keeps track of Python dependencies used during website rendering.

If your changes require new Python packages, be sure to include these in the requirements.txt file.

To update the file, use a virtual environment manager. We recommend venv.

  1. Make a clean Python environment in your local clone of the repo. Do not check this into version control: ensure the folder is in .gitignore.
  2. Install the packages in requirements.txt (typically via pip install -r requirements.txt)
  3. Install any other packages you require if you still need to (typically via pip install ...)
  4. Update requirements.txt (typically via pip freeze > requirements.txt).
  5. Commit any changes to requirements.txt. Do not commit any venv-related files.

Captions and alternative text

For images that are not generated by code, you can use this syntax for caption and alternative text:

![Caption goes here](picture.png){fig-alt="Alternative text goes here"}

If the image (a graph, for example) is generated by a code chunk, use the chunk options fig-cap and fig-alt:

```{language}
#| fig-cap: "Caption goes here"
#| fig-alt: "Alternative text goes here"
Executable code goes here
```

Learn more about alt text:

Automation

The _processing folder contains some scripts which run before and after render, and change depending on whether the render occurs locally or during CI (i.e. the GitHub workflow). Specifically:

During local renders

During workflow renders

  • Preprocessing injects banners onto all .qmd files which are associated with upcoming, advertised training. This has the unfortunate consequence of requiring those files to re-render, regardless of the state in _freeze.
  • Postprocessing removes banners from files.

Note that all changes made during workflow renders occur on the runner, none of which are actually committed to the repo.

Archive

The following sessions are not currently maintained.

Title Course notes
Introduction to R for Humanities qmd
R statistics: time series qmd

Licence

Files in this repository (https://github.com/uqlibrary/technology-training) are freely available under the Creative Commons - Attribution 4.0 International Licence ("CC BY") unless specified otherwise. You may re-use and re-mix the CC BY material in any way you wish, without asking permission, provided you cite the original source. However, we'd love to hear about what you do with it!

Part of this repository is based on Paula Andrea Martinez's work available under the same CC-By-4.0 licence.

If you would like to develop on top of this, please cite the source as mentioned above, and conserve the git history if possible (so authors are credited).

Contact

If you are part of the UQ community, you can contact the technology trainers for a 1-on-1 consultation, an enquiry about sessions, or any question about the software supported by the UQ Library: training<commercial at>library.uq.edu.au