The Dovetail #2: Updates from The Carpentries Workbench
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.
- {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
- new method
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:
- 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.
- 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.
- 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]({{ site.url }}/blog/2022/05/workbench-beta/), we have gotten two new responses, for a total of seventeen community members officially participating in the beta phase:
- Jon Haitz Legarreta Gorroño, Lesson Developer (in The Carpentries Incubator)
- Karen Word, Maintainer
- Luis J. Villanueva, Maintainer
- Jon Wheeler, Lesson Developer (in The Carpentries Incubator)
- Simon Christ, Lesson Developer (in The Carpentries Incubator)
- Maneesha Sane, Instructor
- Sarah Brown, Maintainer
- Joel Nitta, Translator
- Juan Fung, Maintainer
- Jannetta Steyn, Lesson Developer (in The Carpentries Incubator)
- Michael Joseph, Lesson Developer (in The Carpentries Incubator)
- Sarah Stevens, Lesson Developer (in The Carpentries Incubator)
- Kozo Nishida, Lesson Translation (to Japanese)
- François Michonneau, Maintainer
- Jamie Jamison, Maintainer
- Jennifer Stubbs (she/her), Instructor
- Drake Asberry, Maintainer
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.'}
You can find out more in the figures section of the Workbench Documentation.