Other packages > Find by keyword >

styler  

Non-Invasive Pretty Printing of R Code
View on CRAN: Click here


Download and install styler package within the R console
Install from CRAN:
install.packages("styler")

Install from Github:
library("remotes")
install_github("cran/styler")

Install by package version:
library("remotes")
install_version("styler", "1.10.3")



Attach the package and use:
library("styler")
Maintained by
Lorenz Walthert
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-12-11
Latest Update: 2023-08-29
Description:
Pretty-prints R code without changing the user's formatting intent.
How to cite:
Lorenz Walthert (2017). styler: Non-Invasive Pretty Printing of R Code. R package version 1.10.3, https://cran.r-project.org/web/packages/styler
Previous versions and publish date:
1.0.0 (2017-12-11 13:52), 1.0.1 (2018-03-09 00:20), 1.0.2 (2018-06-26 21:22), 1.1.0 (2018-11-20 17:40), 1.1.1 (2019-05-06 23:50), 1.2.0 (2019-10-17 22:20), 1.3.0 (2020-02-10 23:30), 1.3.1 (2020-02-13 18:10), 1.3.2 (2020-02-23 06:50), 1.4.0 (2021-03-22 23:30), 1.4.1 (2021-03-30 18:10), 1.5.1 (2021-07-13 06:50), 1.6.1 (2021-09-17 10:10), 1.6.2 (2021-09-23 19:00), 1.7.0 (2022-03-14 00:00), 1.8.0 (2022-10-23 01:00), 1.8.1 (2022-11-08 00:40), 1.9.0 (2023-01-15 14:10), 1.9.1 (2023-03-05 00:50), 1.10.0 (2023-05-24 18:20), 1.10.1 (2023-06-05 17:40), 1.10.2 (2023-08-29 14:00)
Other packages that cited styler R package
View styler citation profile
Other R packages that styler depends, imports, suggests or enhances
Functions, R codes and Examples using the styler R package
Some associated functions: add_cache_block . add_id_and_short . add_roxygen_mask . add_spaces_or_newlines . add_stylerignore . add_token_terminal . alignment_col1_all_named . alignment_drop_comments . alignment_drop_last_expr . alignment_ensure_no_closing_brace . alignment_ensure_trailing_comma . alignment_has_correct_spacing_around_comma . alignment_has_correct_spacing_around_eq_sub . alignment_serialize . alignment_serialize_column . alignment_serialize_line . apply_ref_indention . apply_ref_indention_one . apply_stylerignore . apply_transformers . assert_filetype . assert_text . assert_tokens . assert_transformers . bind_with_child . cache_activate . cache_by_expression . cache_clear . cache_find_block . cache_find_path . cache_info . cache_is_activated . cache_make_key . cache_more_specs . cache_write . caching . calls_sys . catch_style_file_output . choose_indention . combine_children . communicate_summary . communicate_warning . compute_indent_indices . compute_parse_data_nested . construct_out . construct_tree . construct_vertical . contains_else_expr_that_needs_braces . context_to_terminals . context_towards_terminals . convert_newlines_to_linebreaks . copy_to_tempdir . create_node_from_nested . create_node_from_nested_root . create_pos_ids . create_style_guide . create_tokens . create_tree . default_style_guide_attributes . delete_if_cache_directory . dir_without_. . dir_without_._one . emulate_rd . enhance_mapping_special . enrich_terminals . ensure_correct_txt . ensure_last_n_empty . env_add_stylerignore . env_current . expressions_are_identical . extend_if_comment . extract_terminals . finalize_raw_chunks . find_blank_lines_to_next_block . find_blank_lines_to_next_expr . find_dont_seqs . find_line_break_position_in_multiline_call . find_pos_id_to_keep . find_start_pos_id . find_tokens_to_update . fix_quotes . flatten_operators . flatten_operators_one . flatten_pd . generate_test_samples . get_addins_style_transformer_name . get_engine_pattern . get_knitr_pattern . get_parse_data . has_crlf_as_first_line_sep . hash_standardize . identify_raw_chunks . identify_start_to_stop_of_roxygen_examples_from_text . if_for_while_part_requires_braces . initialize_attributes . invalid_utf8 . is_cached . is_code_chunk_header_or_xaringan_or_code_output . is_double_indent_function_declaration . is_insufficiently_parsed_string . is_shebang . local_test_setup . lookup_new_special . lookup_tokens . make_transformer . map_filetype_to_pattern . match_stop_to_start . math_token_spacing . n_times_faster_with_cache . needs_indention . needs_indention_one . needs_rd_emulation . nest_parse_data . next_non_comment . next_terminal . option_read . parse_roxygen . parse_safely . parse_transform_serialize_r . parse_transform_serialize_r_block . parse_transform_serialize_roxygen . parse_tree_must_be_identical . parser_version_set . pd_is . pd_is_multi_line . post_parse_roxygen . prettify_any . prettify_pkg . print.vertical . read_utf8 . read_utf8_bare . reindention . remove_dont_mask . remove_roxygen_header . rep_char . roxygen_remove_extra_brace . save_after_styling_is_active . scope_normalize . separate_chunks . serialize_parse_data_flattened . set_and_assert_arg_filetype . set_arg_paths . set_arg_write_tree . set_line_break_after_opening_if_call_is_multi_line . set_line_break_around_curly_curly . set_line_break_before_curly_opening . set_line_break_if_call_is_multi_line . set_multi_line . set_regex_indention . set_space_around_op . set_space_between_eq_sub_and_comma . set_space_between_levels . set_spaces . set_style_transformers . set_unindention_child . shallowify . specify_transformers_drop . split_roxygen_segments . start_comments_with_space . style_active_pkg . style_dir . style_file . style_guides . style_pkg . style_roxygen_code_example . style_roxygen_code_example_one . style_roxygen_code_example_segment . style_roxygen_example_snippet . style_selection . style_space_around_math_token . style_space_around_token . style_text . style_text_without_curly_curly . styler-package . styler_addins . stylerignore . stylerignore_consolidate_col . test_collection . test_dry . test_transformer . test_transformers_drop . testthat_file . text_to_flat_pd . tidyverse_style . token_is_on_aligned_line . tokenize . transform_and_check . transform_code . transform_file . transform_files . transform_mixed . transform_mixed_non_empty . transform_utf8 . transform_utf8_one . transformers_drop . try_transform_as_r_file . unindent_child . unindent_fun_dec . update_indention . update_indention_ref . update_newlines . validate_new_pos_ids . verify_roundtrip . visit . visit_one . wrap_else_multiline_curly . wrap_expr_in_curly . wrap_expr_in_expr . wrap_if_else_while_for_fun_multi_line_in_curly . wrap_multiline_curly . wrap_subexpr_in_curly . write_utf8 . 
Some associated R codes: addins.R . communicate.R . compat-dplyr.R . compat-tidyr.R . detect-alignment-utils.R . detect-alignment.R . environments.R . expr-is.R . indent.R . initialize.R . io.R . nest.R . nested-to-tree.R . parse.R . reindent.R . relevel.R . roxygen-examples-add-remove.R . roxygen-examples-find.R . roxygen-examples-parse.R . roxygen-examples.R . rules-indention.R . rules-line-breaks.R . rules-spaces.R . rules-tokens.R . serialize.R . set-assert-args.R . style-guides.R . styler-package.R . stylerignore.R . testing-mocks.R . testing-public-api.R . testing.R . token-create.R . token-define.R . transform-block.R . transform-code.R . transform-files.R . ui-caching.R . ui-styling.R . unindent.R . utils-cache.R . utils-files.R . utils-navigate-nest.R . utils-strings.R . utils.R . vertical.R . visit.R . zzz.R .  Full styler package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

critpath  
Setting the Critical Path in Project Management
Solving the problem of project management using CPM (Critical Path Method), PERT (Program Evaluation ...
Download / Learn more Package Citations See dependency  
steepness  
Testing Steepness of Dominance Hierarchies
The steepness package computes steepness as a property of dominance hierarchies. Steepness is define ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
ftaproxim  
Fault Tree Analysis Based on Proxel Simulation
Calculation and plotting of instantaneous unavailabilities of basic events along with the top event ...
Download / Learn more Package Citations See dependency  
mistral  
Methods in Structural Reliability
Various reliability analysis methods for rare event inference (computing failure probability and qua ...
Download / Learn more Package Citations See dependency  
rdbnomics  
Download DBnomics Data
R access to hundreds of millions data series from DBnomics API (). ...
Download / Learn more Package Citations See dependency  

22,114

R Packages

188,080

Dependencies

55,244

Author Associations

22,115

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net. Contact Us / Suggestions / Concerns