add_id_and_short | Add column 'pos_id' and 'short' |
add_line_col_to_wrapped_expr | Adds line and col information to an expression from its child |
add_spaces_or_newlines | Concentrate newlines or spaces in a string |
add_token_terminal | Add information about previous / next token to each terminal |
apply_ref_indention | Apply reference indention to tokens |
apply_ref_indention_one | Applying reference indention of a target token |
apply_transformers | Apply transformers to a parse table |
assert_filetype | Make sure all supplied file types are allowed |
assert_text | Assert text to be of positive length and replace it with the... |
assert_tokens | Check token validity |
bind_with_child | Bind a parse table with one of its children |
calls_sys | Invoke a system command |
can_verify_roundtrip | Check whether a roundtrip verification can be carried out |
character_to_ordered | Convert a character vector to an ordered factor |
choose_indention | Choose the indention method for the tokens |
combine_children | Combine child and internal child |
communicate_summary | Communicate the summary of styling |
communicate_warning | Communicate a warning if necessary |
compute_indent_indices | Compute the indices that need indention |
compute_parse_data_nested | Obtain a nested parse table from a character vector |
construct_out | Construct *-out.R from a *-in.R |
construct_tree | Construct paths of a tree object given the paths of *-in.R... |
construct_vertical | Construct an object of class vertical |
contains_else_expr_that_needs_braces | Check whether an else expression needs braces |
context_to_terminals | Propagate context to terminals |
context_towards_terminals | Update the a parse table given outer context |
copy_to_tempdir | Copy a file to a temporary directory |
create_node_from_nested | Create node from nested parse data |
create_node_from_nested_root | Convert a nested tibble into a node tree |
create_pos_ids | Create valid pos_ids if possible |
create_style_guide | Create a style guide |
create_tokens | Create a terminal token |
create_tree | Create a tree from text |
default_style_guide_attributes | Initialize default style guide attributes |
enhance_mapping_special | Enhance the mapping of text to the token "SPECIAL" |
enrich_terminals | Enrich flattened parse table |
expressions_are_identical | Check whether two expressions are identical |
extend_if_comment | Find the index of the last comment in the sequence of... |
extract_terminals | Extract terminal tokens |
find_block_id | Find the block to which a token belongs |
find_line_break_position_in_multiline_call | Find index of the token before which the line should be... |
find_start_line | Get the start right |
find_start_pos_id | Find legit starting value for a new positional id |
find_tokens_to_update | Find the tokens to update when applying a reference indention |
flatten_operators | Flatten some token in the nested parse table based on... |
flatten_operators_one | Flatten one level of nesting with its child |
flatten_pd | Flatten a parse table |
generate_test_samples | Generate a comprehensive collection test cases for comment /... |
get_engine_pattern | What's the engine pattern for rmd code chunks? |
get_knitr_pattern | Get chunk pattern |
get_parse_data | Obtain robust parse data |
identify_r_raw_chunks | Identifies raw R code chunks |
initialize_attributes | Initialize attributes |
is_code_chunk_header | Identify spinning code chunk header |
is_shebang | Identify comments that are shebangs |
lookup_new_special | Lookup which new tokens were created from "SPECIAL" |
lookup_tokens | Lookup all tokens that have a unique token-text mapping |
make_transformer | Closure to return a transformer function |
map_filetype_to_pattern | Map the file type to a corresponding regular expression |
math_token_spacing | Specify spacing around math tokens |
needs_indention | Check whether indention is needed |
needs_indention_one | Check whether indention is needed |
nest_parse_data | Nest a flat parse table |
next_non_comment | Find the index of the next non-comment in a parse table |
parse_transform_serialize | Parse, transform and serialize text |
pd_is | Check whether a parse table corresponds to a certain... |
pd_is_multi_line | Check whether a parse table is a multi-line token |
prettify_any | Prettify R code in current working directory |
reindention | Specify what is re-indented how |
relocate_eq_assign | Relocate the expressions containing the token 'EQ_ASSIGN'... |
relocate_eq_assign_nest | Relocate all assignment expressions that contain 'EQ_ASSIGN'... |
relocate_eq_assign_one | Relocate an assignment expression |
rep_char | Repeat elements of a character vector 'times' times and... |
separate_chunks | Separate chunks within Rmd contents |
serialize_parse_data_flattened | Serialize flattened parse data |
set_and_assert_arg_filetype | Set the file type argument |
set_arg_write_tree | Set the write_tree argument |
set_line_break_if_call_is_multi_line | Set line break for multi-line function calls |
set_multi_line | Set the multi-line column |
set_regex_indention | Set indention of tokens that match regex |
set_space_between_eq_sub_and_comma | Set space between EQ_SUB and "','" |
set_space_between_levels | Set space between levels of nesting |
set_spaces | Helper for setting spaces |
set_unindention_child | Unindent a child if necessary |
start_comments_with_space | Start comments with a space |
style_dir | Prettify arbitrary R code |
style_file | Style '.R' and/or '.Rmd' files |
style_guides | Style guides |
style_pkg | Prettify R source code |
styler_addins | Stylers for RStudio Addins |
styler-package | Non-invasive pretty printing of R code |
style_space_around_math_token | Style spacing around math tokens |
style_space_around_token | Set spacing of token to a certain level |
style_text | Style a string |
test_collection | Run a collection of tests |
testthat_file | Create the path to a test that file |
test_transformer | Transforming test input with a transformer function |
tidyverse_style | The tidyverse style |
tokenize | Obtain token table from text |
transform_and_check | Transform a file an check the result |
transform_code | Transform code from R or Rmd files |
transform_file | Transform a file and output a customized message |
transform_files | Transform files with transformer functions |
transform_rmd | Transform Rmd contents |
try_transform_as_r_file | Style a file as if it was an .R file |
unindent_child | Unindent a child |
unindent_fun_dec | Revert the indention of function declaration header |
update_indention | Update indention information of parse data |
update_indention_ref | Update the indention reference |
update_newlines | Update the newlines attribute |
validate_new_pos_ids | Validate sequence of new position ids |
verify_roundtrip | Verify the styling |
verify_str_txt | Verify the text of strings |
visit | Visit'em all |
visit_one | Transform a flat parse table with a list of transformers |
wrap_expr_in_curly | Wrap an expression in curly braces |
wrap_expr_in_expr | Wrap an expression into an expression |
wrap_if_else_multi_line_in_curly | Wrap if-else statement in curly braces |
wrap_subexpr_in_curly | Wrap a sub-expression in curly braces |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.