quarto-codespaces

Quarto Codespaces / Dev Containers setup for quick online testing.

https://github.com/mcanouil/quarto-codespaces

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary

Keywords

codespaces devcontainer quarto quartopub
Last synced: 4 months ago · JSON representation ·

Repository

Quarto Codespaces / Dev Containers setup for quick online testing.

Basic Info
  • Host: GitHub
  • Owner: mcanouil
  • License: mit
  • Language: Shell
  • Default Branch: main
  • Homepage:
  • Size: 191 KB
Statistics
  • Stars: 30
  • Watchers: 1
  • Forks: 13
  • Open Issues: 2
  • Releases: 24
Topics
codespaces devcontainer quarto quartopub
Created about 2 years ago · Last pushed 5 months ago
Metadata Files
Readme Funding License Citation

README.md

Quarto Codespaces

Dev Container Docker Image Build

Setup to deploy GitHub Codespaces (Codespaces) or Development Containers (Dev Containers) with Quarto.

Overview

This repository provides a setup to deploy Codespaces or Dev Containers with Quarto, supporting R, Python, and Julia environments. It includes configuration files and scripts to initialise and manage these environments.

Using ghcr.io/mcanouil/quarto-codespaces:latest as a base image for a quick deployment (Ubuntu 22.04 - Jammy Jellyfish):
Open in GitHub Codespaces

Using Codespaces default base image (ghcr.io/mcanouil/quarto-codespaces:release-universal) to mitigate GitHub storage usage (Ubuntu 20.04 - Focal Fossa):
Open in GitHub Codespaces

Using as a Template

You can use this repository as a template for your own projects. To do so, click the "Use this template" button on the GitHub repository page. This will create a new repository with the same files and structure.

Using with Codespaces

This repository is configured to work with GitHub Codespaces. To use it, follow these steps:

  1. Open the repository on GitHub.
  2. Click the "Code" button and select "Open with Codespaces".
  3. If you don't have a Codespace already, create a new one.
  4. The Codespace will be set up automatically using the configuration provided in this repository.

Dev Container Configuration

The Dev Container configuration is located in .github/.devcontainer/devcontainer.json. This file defines the development container settings, including the base image, user settings, and features to be installed.

Key Features

  • Base Image: The container uses the buildpack-deps:jammy-curl image as the base.
  • Remote User: The default user is set to vscode.
  • Installed Features:
    • Common utilities with Zsh shell.
    • Git for version control.
    • R with renv support and rmarkdown.
    • Python with shared libraries, jupyter and uv.
    • Julia with the latest release channel and IJulia.
    • TinyTeX for LaTeX support.
    • Decktape for PDF generation from HTML presentations.
    • Quarto CLI for scientific and technical publishing.

Docker Image

The Dev Container configuration is used to build a Docker image that is available for use. You can pull the latest image (using Quarto stable release) using the following command:

sh docker pull ghcr.io/mcanouil/quarto-codespaces:latest

Available tags: ghcr.io/mcanouil/quarto-codespaces

Initialisation Script

The initialisation script init.sh is used to set up the R, Python, and Julia environments. It supports initialising all environments or specific ones based on the provided options.

Usage

sh ./init-env.sh [--what/-w all|r|python|julia] [--force/-f] [--help/-h]

Script Details

  • Options:
    • --what/-w: Specify which environment(s) to initialise (all, r, python (uv), julia).
    • --force/-f: Force reinstallation of the specified environment(s).
    • --help/-h: Display help message and exit.
  • Functionality: The script installs necessary dependencies for R, Python, and Julia, inside environments.
    • For R, it sets up renv and installs required packages.
    • For Python, it sets up uv and installs required libraries.
    • For Julia, it sets up an environment and installs required packages.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Owner

  • Name: Mickaël Canouil
  • Login: mcanouil
  • Kind: user
  • Location: Lille, France

Biostatistician, Ph. D. (& cinephile) @RLille User Group Organiser

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this project, please cite it as below."
title: "Quarto Codespaces"
authors:
  - family-names: "Canouil"
    given-names: "Mickaël"
    orcid: "https://orcid.org/0000-0002-3396-4549"
date-released: "2025-06-30"
version: 2025.06.30
url: "https://github.com/mcanouil/quarto-codespaces"
repository-code: "https://github.com/mcanouil/quarto-codespaces"
license: "MIT"

GitHub Events

Total
  • Create event: 43
  • Issues event: 4
  • Release event: 20
  • Watch event: 18
  • Delete event: 30
  • Issue comment event: 5
  • Push event: 125
  • Pull request event: 48
  • Fork event: 14
Last Year
  • Create event: 43
  • Issues event: 4
  • Release event: 20
  • Watch event: 18
  • Delete event: 30
  • Issue comment event: 5
  • Push event: 125
  • Pull request event: 48
  • Fork event: 14

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 3
  • Total pull requests: 48
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 5 hours
  • Total issue authors: 3
  • Total pull request authors: 5
  • Average comments per issue: 0.67
  • Average comments per pull request: 0.06
  • Merged pull requests: 39
  • Bot issues: 0
  • Bot pull requests: 3
Past Year
  • Issues: 3
  • Pull requests: 40
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 7 hours
  • Issue authors: 3
  • Pull request authors: 5
  • Average comments per issue: 0.67
  • Average comments per pull request: 0.08
  • Merged pull requests: 31
  • Bot issues: 0
  • Bot pull requests: 2
Top Authors
Issue Authors
  • mcanouil (1)
  • chamaoskurumi (1)
  • MitchellAcoustics (1)
Pull Request Authors
  • mcanouil (46)
  • dependabot[bot] (3)
  • chamaoskurumi (2)
  • tylere (2)
  • mcanouil-dev[bot] (1)
Top Labels
Issue Labels
Type: Enhancement :bulb: (1) Type: CI/CD :robot: (1)
Pull Request Labels
Type: Dependencies :arrow_up: (11) Type: Enhancement :bulb: (10) Type: Bug :bug: (7) Type: CI/CD :robot: (6) Type: Refactor :fire: (6) Type: Valorisation :tada: (2) Type: Documentation :memo: (2) dependencies (1)

Dependencies

.devcontainer/Dockerfile docker
  • buildpack-deps ${VARIANT}-curl build