The Dovetail #2: Updates from The Carpentries Workbench

Working through chopportunities

This is the second post in a series that we are calling “The Dovetail.” In this series, we aim to keep members of The Carpentries community abreast of the current news for The Carpentries Workbench.

If you are interested in participating in discussions around The Carpentries Workbench, head over to our GitHub Discussions forum: https://github.com/carpentries/workbench/discussions

Updates to The Carpentries Workbench

Since 2022-05-25,

  • {sandpaper} version 0.5.5 -> 0.5.8
    • pull request workflow updated to include validation for lesson accessibility. Links and images that could be improved for accessibility will now be highlighted in the pull request.

      Screen capture of the 'files changed' tab of a pull request showing one line of text changed to include uninformative and missing links. Below the changed text are two alert boxes that show check warnings on that particular line of the file.

      GitHub will flag images with no alt text and links that are missing or have inaccessible descriptions.

  • {varnish} version 0.1.13 -> 0.1.14
    • Alerts for lesson development phase added
    • Lesson titles are now inline-block elements so long titles should wrap nicely
  • {pegboard} version 0.2.6 -> 0.3.0
    • new method $summary() for lessons and episodes tabulates the different markdown elements.
    • Lessons can now analyze built files with the $load_built() method.
    • Bug fixes for showing $error and $output code blocks

To update your local Workbench installation, open R and use the following code:

# Enable repository from carpentries
options(repos = c(
  ropensci = 'https://carpentries.r-universe.dev',
  CRAN = 'https://cloud.r-project.org'))
# Download and install sandpaper in R
install.packages(c('tinkr', 'pegboard', 'sandpaper', 'varnish'))

Upcoming and Current Lessons in Workbench Beta

Schedule for the upcoming lessons coming soon! There are a few bottlenecks in order to start beta testing for The Workbench:

  1. We are still working on the correct workflow for uploading our lessons to AWS with the correct permissions so that we can dual deploy lessons for the stable and beta versions.
  2. Our lesson transition toolchain is being modified to safely update lessons for entry into the workbench beta phase. It can enter lessons into pre-beta, but because this transition is irreversible, great care must be taken.
  3. We are working on creating archives of our lessons that can be included in the zenodo releases should they need to be reinstated.

We are working hard at resolving these bottlenecks so that we can commence with the testing!

New Participants

From our original call for participants in the workbench beta phase, we have gotten two new responses, for a total of seventeen community members officially participating in the beta phase:

Updates from Community About Working in Workbench Beta

None yet! Stay tuned!

Tips and Tricks for Using The Workbench

The syntax for alt text in Workbench lessons is a little different than the syntax you may be used to:

![caption](image.png){alt='alt text'}

The reason for this is because the text inside of the square braces ([]) can actually be rendered as markdown, so it makes more sense to use that as the figure caption, which can be formatted visually. The alt text first and foremost is text that needs to be accessible, so formatting is not as important.

Of course, your alt text is rarely going to fit within a single line, so instead of writing it as one long line, you can wrap the lines of text so that it fits within the page. An example:

![The author and his handsome son](fig/2022-06-08-author-cat.jpg){alt='A vertical
selfie photograph of Zhian (a Persian man) with thick-rimmed glasses and
short dark hair wearing headphones. His grey cat is sitting in his lap, looking
content as his head is being scratched.'}

A vertical selfie photograph of Zhian (a Persian man) with thick-rimmed glasses and short dark hair wearing headphones. His grey cat is sitting in his lap, looking content as his head is being scratched.

The author and his handsome son

You can find out more in the figures section of the Workbench Documentation.

Dialogue & Discussion

Comments must follow our Code of Conduct.

Edit this page on Github