Package: r2typ 0.4.0

Joseph Barbier

r2typ: An R Package for Generating Typst Markup

Translate R functions into valid Typst markup and provide a large number of built-in tools for working with Typst data types and Quarto documents.

Authors:Joseph Barbier [aut, cre]

r2typ_0.4.0.tar.gz
r2typ_0.4.0.zip(r-4.7-any)r2typ_0.4.0.zip(r-4.6-any)r2typ_0.4.0.zip(r-4.5-any)
r2typ_0.4.0.tgz(r-4.6-any)r2typ_0.4.0.tgz(r-4.5-any)
r2typ_0.4.0.tar.gz(r-4.7-any)r2typ_0.4.0.tar.gz(r-4.6-any)
r2typ_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
r2typ/json (API)

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

Bug tracker:https://github.com/y-sunflower/r2typ/issues

Pkgdown/docs site:https://y-sunflower.github.io

On CRAN:

Conda:

quartotypst

5.52 score 22 stars 6 scripts 208 exports 0 dependencies

Last updated from:f89396b19b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK115
source / vignettesOK554
linux-releaseOK116
macos-releaseOK148
macos-oldrelOK173
windows-develOK130
windows-releaseOK142
windows-oldrelOK128
wasm-releaseOK84

Exports:alignaquaas_quarto_typstassertautobibliographyblackblockbluebottombox_bttbytescentercirclecm_colbreakdatetimedecimaldegdocumentdurationeasternellipseememphenumeval_figurefootnoteformat_as_typstfrfuchsiagreengreygrid_hheadinghidehighlighthorizonimage_leftletlimeline_linebreaklist_lowerltrmaroonmmmovenavyoliveorangeoutlineoverlinepadpagepagebreakpanicpar_parbreakparse_typst_argspercentplacept_purplequote_radraw_rect_redregexreprrgb_rightrotatertlscale_set_alignset_bibliographyset_blockset_boxset_circleset_colbreakset_documentset_ellipseset_emphset_enumset_figureset_footnoteset_gridset_hset_headingset_hideset_highlightset_imageset_lineset_linebreakset_listset_lowerset_moveset_outlineset_overlineset_padset_pageset_pagebreakset_parset_parbreakset_placeset_quoteset_rawset_rectset_rotateset_scaleset_skewset_smallcapsset_smartquoteset_squareset_stackset_strikeset_strongset_subset_superset_tableset_textset_underlineset_upperset_vshow_alignshow_bibliographyshow_blockshow_boxshow_circleshow_colbreakshow_documentshow_ellipseshow_emphshow_enumshow_figureshow_footnoteshow_gridshow_hshow_headingshow_hideshow_highlightshow_imageshow_lineshow_linebreakshow_listshow_lowershow_moveshow_outlineshow_overlineshow_padshow_pageshow_pagebreakshow_parshow_parbreakshow_placeshow_quoteshow_rawshow_rectshow_rotateshow_scaleshow_skewshow_smallcapsshow_smartquoteshow_squareshow_stackshow_strikeshow_strongshow_subshow_supershow_tableshow_textshow_underlineshow_uppershow_vsilverskewsmallcapssmartquotesquarestackstr_strikestrongsub_supersymboltable_tealtext_topttbtypetypst_compiletypst_functiontypst_writeunderlineuppervversionwhiteyellow

Dependencies:

r2typ
Installation | Quick start | Typst units | Typst colors | Typst alignment | Convert R types to Typst types | Set and show rules | set rules | show rules | Nested function calls | Tables

Last update: 2026-03-18
Started: 2025-10-29

use-user-defined-functions

Last update: 2026-03-18
Started: 2025-12-11

using-r2typ-in-quarto-documents
Basic usage | Advanced usage

Last update: 2026-03-18
Started: 2025-10-29

Readme and manuals

Help Manual

Help pageTopics
Format into Typst formatformat_as_typst
Typst let keywordlet
Parse '...' argumentsparse_typst_args
Raw blocks for Quarto and Custom knit_printas_quarto_typst knit_print.typst_markup quarto
Typst set rulesset_align set_bibliography set_block set_box set_circle set_colbreak set_document set_ellipse set_emph set_enum set_figure set_footnote set_grid set_h set_heading set_hide set_highlight set_image set_line set_linebreak set_lower set_move set_outline set_overline set_pad set_page set_pagebreak set_par set_parbreak set_place set_quote set_raw set_rect set_rotate set_scale set_skew set_smallcaps set_smartquote set_square set_stack set_strike set_strong set_sub set_super set_table set_text set_underline set_upper set_v typst-set
Typst show rulesshow_align show_bibliography show_block show_box show_circle show_colbreak show_document show_ellipse show_emph show_enum show_figure show_footnote show_grid show_h show_heading show_hide show_highlight show_image show_line show_linebreak show_list show_lower show_move show_outline show_overline show_pad show_page show_pagebreak show_par show_parbreak show_place show_quote show_raw show_rect show_rotate show_scale show_skew show_smallcaps show_smartquote show_square show_stack show_strike show_strong show_sub show_super show_table show_text show_underline show_upper show_v typst-show
Typst Alignment+.typst_alignment bottom center horizon left right top typst_alignments
Typst autoauto typst_auto
Typst Coloraqua black blue eastern fuchsia green grey lime maroon navy olive orange purple red rgb_ silver teal typst_colors white yellow
Compile a '.typ' file to a '.pdf' file and return the output pathtypst_compile
Typst Directionbtt ltr rtl ttb typst_direction
Create a Typst functionalign assert bibliography block box_ bytes circle colbreak datetime decimal document duration ellipse emph enum eval_ figure footnote grid_ h heading hide highlight image_ linebreak line_ list_ lower move outline overline pad page pagebreak panic parbreak par_ place quote_ raw_ rect_ regex repr rotate scale_ set_list skew smallcaps smartquote square stack strike strong str_ sub_ super symbol table_ text_ type typst-function typst_function underline upper v version
Typst Unit Valuescm_ deg em fr mm percent pt_ rad typst_units
Write a Typst file from a character vectortypst_write