Package: scratchy 0.1.0

scratchy: Hand-Drawn Charts, Drawings and Slides in the 'Excalidraw' Style

Build, read and write 'Excalidraw' scenes from R, turn 'ggplot2' and base graphics into editable hand-drawn drawings, and render them offline with the same 'rough.js' engine and handwriting fonts that 'Excalidraw' uses. Includes the 'Excalidraw' editor as an 'htmlwidget'. Not affiliated with or endorsed by Excalidraw.

Authors:Joseph S. Miller [aut, cre], Excalidraw [ctb, cph], Preet Shihn [ctb, cph], Stephen Ruiz [ctb, cph], pieroxy [ctb, cph], Florian Koerner [ctb, cph], Pablo Stanley [ctb], Ellinor Rapp [cph], Shannon Miwa [cph]

scratchy_0.1.0.tar.gz
scratchy_0.1.0.zip(r-4.7-any)scratchy_0.1.0.zip(r-4.6-any)scratchy_0.1.0.zip(r-4.5-any)
scratchy_0.1.0.tgz(r-4.6-any)scratchy_0.1.0.tgz(r-4.5-any)
scratchy_0.1.0.tar.gz(r-4.7-any)scratchy_0.1.0.tar.gz(r-4.6-any)
scratchy_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
scratchy/json (API)

# Install 'scratchy' in R:
install.packages('scratchy', repos = c('https://jossammil.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jossammil/scratchy/issues

On CRAN:

Conda:

excalidrawggplot2hand-drawnhtmlwidgetsrough-jssketchwebr

3.60 score 76 exports 46 dependencies

Last updated from:3aea3020d9. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develNOTE169
source / vignettesOK223
linux-releaseNOTE172
macos-releaseNOTE176
macos-oldrelNOTE163
windows-develNOTE114
windows-releaseNOTE112
windows-oldrelNOTE96
wasm-releaseOK172

Exports:as_excalidrawexc_addexc_animateexc_arrowexc_bboxexc_calloutexc_colorexc_d2exc_data_to_pxexc_diamondexc_editexc_ellipseexc_font_fetchexc_fontsexc_frameexc_freedrawexc_grobexc_groupexc_imageexc_install_fontsexc_libraryexc_library_itemexc_lineexc_markexc_mermaidexc_modifyexc_noteexc_papersexc_peepexc_peep_optionsexc_pptxexc_presetexc_proxy_addexc_proxy_exportexc_proxy_mermaidexc_proxy_replace_chartexc_proxy_resetexc_proxy_scroll_toexc_proxy_setexc_proxy_updateexc_rectexc_restyleexc_saveexc_sceneexc_scene_from_jsonexc_set_styleexc_slides_pdfexc_stickerexc_sticker_sheetexc_stickersexc_styleexc_template_exampleexc_template_fillexc_template_renderexc_textexc_titleexc_translateexcalidrawexcalidraw_colorsexcalidraw_proxyexcalidrawOutputread_excalidrawread_excalidraw_libregister_fontsrenderExcalidrawrun_sketch_studioscale_color_excalidrawscale_colour_excalidrawscale_colour_excalidraw_cscale_fill_excalidrawscale_fill_excalidraw_csketchtheme_excalidrawuse_excalidraw_slideswrite_excalidrawwrite_excalidraw_lib

Dependencies:base64encbslibcachemclicpp11curldigestevaluatefarverfastmapfontawesomefsggplot2gluegtablehighrhtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglifecyclememoisemimeR6rappdirsRColorBrewerRcpprlangrmarkdownS7sassscalesstringisvglitesystemfontstextshapingtinytexV8vctrsviridisLitewithrxfunyaml

Getting started
Shapes, text and arrows | Changing a scene | Saving | Editing by hand | Presets and paper

Last update: 2026-11-26
Started: 2026-11-26

ggplot2 charts, hand-drawn
Two ways in | Annotations with data values | Colours | Base graphics | Presets

Last update: 2026-11-26
Started: 2026-10-20

Hand-drawn slides
Quarto | PowerPoint

Last update: 2026-11-26
Started: 2026-10-20

Stickers, people, templates and diagrams
Stickers | Hand-drawn people | Templates | Diagrams | Drawings that draw themselves | More fonts | Sketch Studio

Last update: 2026-11-26
Started: 2026-10-20

Readme and manuals

Help Manual

Help pageTopics
Hand-drawn annotationsannotations exc_callout exc_mark exc_note exc_title
Turn a plot into an editable Excalidraw sceneas_excalidraw as_excalidraw.formula as_excalidraw.function as_excalidraw.ggplot as_excalidraw.grob
Tidy view of a scene's elementsas.data.frame.exc_scene
Add elements to a sceneexc_add
Animate a scene drawing itselfexc_animate
Bounding box of a sceneexc_bbox
Look up a colour by Excalidraw hue nameexc_color
Diagrams from D2 in sketch modeexc_d2
Map data values to positions in a converted plotexc_data_to_px
Edit a scene by hand in the Excalidraw editorexc_edit
Download extra fontsexc_font_fetch
Fonts available to scratchyexc_fonts
Framesexc_frame
Draw a scene with gridexc_grob
Group elements togetherexc_group
Imagesexc_image
Install the handwriting fonts on this computerexc_install_fonts
Load an Excalidraw library from a file or the webexc_library
Lines, arrows and freehand strokesexc_arrow exc_freedraw exc_line
Mermaid diagrams as editable Excalidraw elementsexc_mermaid
Change elements in a sceneexc_modify
Paper backgroundsexc_papers
Hand-drawn people from Open Peepsexc_peep exc_peep_options
Hand-drawn PowerPoint slidesexc_pptx
Style presetsexc_preset
Excalidraw shapes: rectangles, ellipses and diamondsexc_diamond exc_ellipse exc_rect
Restyle a whole sceneexc_restyle
Save a scene as an imageexc_save
Create an Excalidraw sceneexc_scene
Turn Excalidraw JSON into a sceneexc_scene_from_json
Set the default style for new elementsexc_set_style
Print rendered slides to PDFexc_slides_pdf
Stickers: hand-drawn icons, people and doodlesexc_sticker exc_stickers exc_sticker_sheet
Describe an Excalidraw styleexc_style
An example templateexc_template_example
Data-driven templatesexc_template_fill exc_template_render
Textexc_text
Move or scale a whole sceneexc_translate
The Excalidraw editor as an htmlwidgetexcalidraw
Excalidraw's colour paletteexcalidraw_colors
Control an Excalidraw editor from the Shiny serverexcalidraw_proxy exc_proxy_add exc_proxy_export exc_proxy_mermaid exc_proxy_replace_chart exc_proxy_reset exc_proxy_scroll_to exc_proxy_set exc_proxy_update
Excalidraw in ShinyexcalidrawOutput renderExcalidraw
Read a scene from a fileread_excalidraw
Excalidraw librariesexc_library_item read_excalidraw_lib write_excalidraw_lib
Register the bundled handwriting fontsregister_fonts
Sketch Studio: a point-and-click app for hand-drawn chartsrun_sketch_studio
Excalidraw colour scales for ggplot2scale_color_excalidraw scale_colour_excalidraw scale_colour_excalidraw_c scale_fill_excalidraw scale_fill_excalidraw_c
Draw any plot in Excalidraw stylesketch
An Excalidraw-style ggplot2 themetheme_excalidraw
Hand-drawn Quarto slidesuse_excalidraw_slides
Write a scene to a filewrite_excalidraw