# Interactive Sketches

## Documentation for package ‘sketch’ version 1.1.19

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

A B C D E F G H I L M P R S T V W

sketch-package | Interactive visualisation

## -- A --

annotate_exprs | Parse and annotate expressions
assets | Process assets in headers

## -- B --

basic_deparsers | A minimal list of deparsers for deparsing JavaScript
basic_rules | Mapping R operators into JavaScript operators
basic_tags | HTML templates
bundle | Bundle a list of files into a single JavaScript file

## -- C --

combine_rules | Combine rules for fast transpilation
compile_active | Compile active file in 'RStudio'
compile_data | Compile a data file into a JavaScript file
compile_exprs | Compile R code into JavaScript code
compile_r | Compile an R file into a JavaScript file
const | Empty functions
convert_src | Convert an asset link into a 'shiny.tag' object

## -- D --

declare | Empty functions
default_2_deparsers | A list of deparsers with additional features
default_deparsers | A list of default deparsers for deparsing JavaScript
default_processors | A list of handlers for processing the '#!'/'#|' header
default_rules | Mapping R operators into JavaScript operators
default_tags | HTML templates
deparse_add | Deparsers (specialised)
deparse_assignment | Deparsers (specialised)
deparse_assignment_auto | Deparsers (specialised)
deparse_assignment_pipe | Deparsers (specialised)
deparse_async_await | Deparsers (specialised)
deparse_call | Deparsers (specialised)
deparse_const | Deparsers (specialised)
deparse_d3_attr | Deparsers (specialised)
deparse_d3_style | Deparsers (specialised)
deparse_data | Deparsers (specialised)
deparse_dataURI | Deparsers (specialised)
deparse_df | Deparsers (specialised)
deparse_df_mutate | Deparsers (specialised)
deparse_df_summarise | Deparsers (specialised)
deparse_export | Deparsers (specialised)
deparse_extract | Deparsers (specialised)
deparse_extract2 | Deparsers (specialised)
deparse_extract2Assign | Deparsers (specialised)
deparse_extractAssign | Deparsers (specialised)
deparse_Family | Deparsers (specialised)
deparse_for | Deparsers (specialised)
deparse_formula | Deparsers (specialised)
deparse_function | Deparsers (specialised)
deparse_function_with_return | Deparsers (specialised)
deparse_html_tags | Deparsers (specialised)
deparse_if | Deparsers (specialised)
deparse_ifelse | Deparsers (specialised)
deparse_infix | Deparsers (specialised)
deparse_js | Expression deparsing for JavaScript
deparse_js_ast | Deparse a compiled AST
deparse_lambda | Deparsers (specialised)
deparse_let | Deparsers (specialised)
deparse_list | Deparsers (specialised)
deparse_macro | Deparsers (specialised)
deparse_NA | Deparsers (specialised)
deparse_NaN | Deparsers (specialised)
deparse_new | Deparsers (specialised)
deparse_next | Deparsers (specialised)
deparse_NULL | Deparsers (specialised)
deparse_pipe | Deparsers (specialised)
deparse_R6Class | Deparsers (specialised)
deparse_raw_string | Deparsers (specialised)
deparse_return | Deparsers (specialised)
deparse_subtract | Deparsers (specialised)
deparse_sym | Deparsers (specialised)
deparse_throw | Deparsers (specialised)
deparse_try | Deparsers (specialised)
deparse_tryCatch | Deparsers (specialised)
deparse_typeof | Deparsers (specialised)
deparse_var | Deparsers (specialised)
deparse_while | Deparsers (specialised)
deparse_wrap | Deparsers (specialised)
dp | Constructor function to combine low-level deparsers
dp_auto | Low-level lists of deparsers
dp_d3 | Low-level lists of deparsers
dp_dom | Low-level lists of deparsers
dp_macro | Low-level lists of deparsers
dp_r_support | Low-level lists of deparsers

## -- E --

eng_sketch | A language engine for 'sketch'

## -- F --

flatten_filelist | Flatten a list of files and directories into a list of files

## -- G --

get_dependencies | Extract the content of the 'load_script' headers of a sketch R file

## -- H --

html_tags | HTML templates

## -- I --

insert_sketch | Insert a 'sketch' app into an R Markdown document
is_call | Predicate for calls
is_call_add | Predicate for symbols, i.e. symbols or syntactic literals
is_call_assignment | Predicate for symbols, i.e. symbols or syntactic literals
is_call_assignment_auto | Predicate for symbols, i.e. symbols or syntactic literals
is_call_assignment_pipe | Predicate for symbols, i.e. symbols or syntactic literals
is_call_async_await | Predicate for symbols, i.e. symbols or syntactic literals
is_call_break | Predicate for symbols, i.e. symbols or syntactic literals
is_call_const | Predicate for symbols, i.e. symbols or syntactic literals
is_call_dataURI | Predicate for symbols, i.e. symbols or syntactic literals
is_call_df | Predicate for symbols, i.e. symbols or syntactic literals
is_call_df_mutate | Predicate for symbols, i.e. symbols or syntactic literals
is_call_df_summarise | Predicate for symbols, i.e. symbols or syntactic literals
is_call_export | Predicate for symbols, i.e. symbols or syntactic literals
is_call_extract | Predicate for symbols, i.e. symbols or syntactic literals
is_call_extract2 | Predicate for symbols, i.e. symbols or syntactic literals
is_call_extract2Assign | Predicate for symbols, i.e. symbols or syntactic literals
is_call_extractAssign | Predicate for symbols, i.e. symbols or syntactic literals
is_call_for | Predicate for symbols, i.e. symbols or syntactic literals
is_call_formula | Predicate for symbols, i.e. symbols or syntactic literals
is_call_function | Predicate for symbols, i.e. symbols or syntactic literals
is_call_if | Predicate for symbols, i.e. symbols or syntactic literals
is_call_ifelse | Predicate for symbols, i.e. symbols or syntactic literals
is_call_lambda | Predicate for symbols, i.e. symbols or syntactic literals
is_call_let | Predicate for symbols, i.e. symbols or syntactic literals
is_call_list | Predicate for symbols, i.e. symbols or syntactic literals
is_call_new | Predicate for symbols, i.e. symbols or syntactic literals
is_call_next | Predicate for symbols, i.e. symbols or syntactic literals
is_call_pipe | Predicate for symbols, i.e. symbols or syntactic literals
is_call_R6Class | Predicate for symbols, i.e. symbols or syntactic literals
is_call_raw_string | Predicate for symbols, i.e. symbols or syntactic literals
is_call_return | Predicate for symbols, i.e. symbols or syntactic literals
is_call_subtract | Predicate for symbols, i.e. symbols or syntactic literals
is_call_throw | Predicate for symbols, i.e. symbols or syntactic literals
is_call_try | Predicate for symbols, i.e. symbols or syntactic literals
is_call_tryCatch | Predicate for symbols, i.e. symbols or syntactic literals
is_call_typeof | Predicate for symbols, i.e. symbols or syntactic literals
is_call_var | Predicate for symbols, i.e. symbols or syntactic literals
is_call_while | Predicate for symbols, i.e. symbols or syntactic literals
is_d3_attr | Predicate for symbols, i.e. symbols or syntactic literals
is_d3_style | Predicate for symbols, i.e. symbols or syntactic literals
is_data | Predicate for symbols, i.e. symbols or syntactic literals
is_Family | Predicate for symbols, i.e. symbols or syntactic literals
is_html_tags | Predicate for symbols, i.e. symbols or syntactic literals
is_infix | Predicate for symbols, i.e. symbols or syntactic literals
is_macro | Predicate for symbols, i.e. symbols or syntactic literals
is_sym | Predicate for symbols, i.e. symbols or syntactic literals
is_syntactic_literal | Predicate for syntactic literal
is_wrap | Predicate for symbols, i.e. symbols or syntactic literals

## -- L --

let | Empty functions
let-declare-const | Empty functions
license_info | License information
list-of-deparsers | Low-level lists of deparsers
load_data | Header functions
load_Family | Header functions
load_library | Header functions
load_script | Header functions
local | A helper function to enable debugger option

## -- M --

make_deparser | A constructor for a "typed" deparser
make_processor | Make a handle to process header
make_rule | Make a AST transformation rule

## -- P --

parse_expr | Parse R code
print.sketch_rule | Print function for 'sketch_rule' objects

## -- R --

r-to-js-rules | Mapping R operators into JavaScript operators
read_multilines | Read one or more lines from the console for the first successful parse
rewrite | Interface for AST rewriting
runShinyApp | Run 'Shiny' Application

## -- S --

safeguard | Perform pre-transpilation check
sketch | Interactive visualisation
source_active | Source active file in 'RStudio'
source_js | Serve a compiled 'sketch' JavaScript file
source_map | Convert a compiled AST into a source map
source_map_from_files | Create a source map (.map) file
source_map_table | Display the source map in a table
source_r | Source a 'sketch' R file
split_rules | Split rules for customisation
src | Get the source link of a JavaScript library

## -- T --

test_sketch | Test a sketch application
to_json | Convert a file into a JavaScript expression

## -- V --

verify_source_map | Verify a source map

## -- W --

websocket | Websocket for 'sketch' applications