Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v.2.2.3 #35

Merged
merged 5 commits into from
Aug 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
^raw-data$
^_tmp$
^\.pre-commit-config\.yaml$
^inst/rs-settings/other$
4 changes: 3 additions & 1 deletion R/settings--preferences.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,10 @@ rstudio_set_preferences <- function(file) {
rstudioapi::writeRStudioPreference(.x, as.integer(.y))
} else if (stringr::str_detect(e_msg, "expected <Real>")) {
rstudioapi::writeRStudioPreference(.x, as.numeric(.y))
} else if (stringr::str_detect(e_msg, "expected <Array>")) {
rstudioapi::writeRStudioPreference(.x, as.list(.y))
} else {
print(glue::glue("'In {.x}' = {.y}\n{e}:\n"))
print(glue::glue("'In {.x}' = {.y}\n{e}\n"))
}
}
)
Expand Down
293 changes: 293 additions & 0 deletions inst/rs-settings/other/rstudio-prefs--rstudio-default--all.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,293 @@
{
"allow_source_columns" : true,
"always_enable_rnw_concordance" : true,
"always_save_history" : true,
"always_shown_extensions" : [
".circleci",
".gitattributes",
".github",
".gitignore",
".httr-oauth",
".lintr",
".quartoignore",
".r",
".rbuildignore",
".rdata",
".renvignore",
".renviron",
".rhistory",
".rprofile",
".ruserdata"
],
"always_shown_files" : [
".build.yml",
".gitlab-ci.yml",
".travis.yml"
],
"ansi_console_mode" : "on",
"auto_append_newline" : false,
"auto_detect_indentation" : false,
"auto_discover_package_dependencies" : true,
"auto_expand_error_tracebacks" : false,
"auto_run_setup_chunk" : true,
"auto_save_idle_ms" : 1000,
"auto_save_on_blur" : false,
"auto_save_on_idle" : "backup",
"background_diagnostics" : true,
"background_diagnostics_delay_ms" : 2000,
"bioconductor_mirror_name" : "Seattle (USA)",
"bioconductor_mirror_url" : "http://www.bioconductor.org",
"blinking_cursor" : true,
"browser_fixed_width_fonts" : [
"Andale Mono",
"Bitstream Vera Sans Mono",
"Cascadia Code",
"Consolas",
"Courier New",
"Courier",
"DejaVu Sans Mono",
"Droid Sans Mono",
"Fira Code",
"Hack",
"IBM Plex Mono",
"Inconsolata",
"JetBrains Mono",
"Lucida Console",
"Lucida Sans Typewriter",
"Menlo",
"Monaco",
"Monoid",
"Operator Mono",
"Pragmata",
"SF Mono",
"Source Code Pro",
"Vera Sans Mono",
"Victor Mono",
"Ubuntu Mono"
],
"busy_detection" : "always",
"busy_exclusion_list" : ["tmux", "screen"],
"check_arguments_to_r_function_calls" : false,
"check_for_updates" : true,
"check_null_external_pointers" : false,
"check_unexpected_assignment_in_function_call" : false,
"clang_verbose" : 0,
"clean_before_install" : true,
"clean_texi2dvi_output" : true,
"cleanup_after_r_cmd_check" : true,
"code_completion" : "always",
"code_completion_characters" : 3,
"code_completion_delay" : 250,
"code_completion_other" : "always",
"color_preview" : true,
"command_palette_mru" : true,
"console_code_completion" : true,
"console_double_click_select" : false,
"console_line_length_limit" : 1000,
"console_max_lines" : 1000,
"console_suspend_blocked_notice" : true,
"console_suspend_blocked_notice_delay" : 5,
"continue_comments_on_newline" : false,
"cpp_template" : "Rcpp",
"cran_mirror" : {},
"custom_shell_command" : "",
"custom_shell_options" : "",
"data_viewer_max_cell_size" : 50,
"data_viewer_max_columns" : 50,
"default_encoding" : "",
"default_latex_program" : "pdfLaTeX",
"default_project_location" : "",
"default_r_version" : {},
"default_sweave_engine" : "Sweave",
"diagnostics_in_r_function_calls" : true,
"diagnostics_on_save" : true,
"disable_renderer_accessibility" : false,
"disabled_aria_live_announcements" : [],
"discard_pending_console_input_on_error" : true,
"doc_outline_show" : "sections_only",
"document_author" : "",
"document_load_lint_delay" : 5000,
"editor_keybindings" : "default",
"editor_scroll_multiplier" : 100,
"editor_theme" : "Textmate (default)",
"emoji_skintone" : "(None)",
"enable_cloud_publish_ui" : true,
"enable_screen_reader" : false,
"enable_snippets" : true,
"enable_text_drag" : true,
"execution_behavior" : "statement",
"file_monitor_ignored_components" : [],
"find_panel_legacy_tab_sequence" : false,
"focus_console_after_exec" : false,
"fold_style" : "begin-and-end",
"font_size_points" : 10,
"full_project_path_in_window_title" : false,
"git_diff_ignore_whitespace" : false,
"git_exe_path" : "",
"global_theme" : "default",
"graphics_antialiasing" : "default",
"graphics_backend" : "default",
"handle_errors_in_user_code_only" : true,
"help_font_size_points" : 10,
"hide_console_on_chunk_execute" : true,
"hide_object_files" : true,
"highlight_code_chunks" : true,
"highlight_console_errors" : true,
"highlight_r_function_calls" : false,
"highlight_selected_line" : false,
"highlight_selected_word" : true,
"highlight_web_link" : true,
"ignore_uppercase_words" : true,
"ignore_words_with_numbers" : true,
"indent_guides" : "none",
"initial_working_directory" : "",
"insert_matching" : true,
"insert_native_pipe_operator" : false,
"insert_numbered_latex_sections" : false,
"insert_parens_after_function_completion" : true,
"insert_spaces_around_equals" : true,
"install_pkg_deps_individually" : true,
"jobs_tab_visibility" : "default",
"knit_working_dir" : "default",
"latex_preview_on_cursor_idle" : "always",
"latex_shell_escape" : false,
"launcher_jobs_sort" : "recorded",
"limit_visible_console" : false,
"line_ending_conversion" : "native",
"load_workspace" : true,
"margin_column" : 80,
"memory_query_interval_seconds" : 10,
"native_file_dialogs" : true,
"navigate_to_build_error" : true,
"new_proj_git_init" : false,
"new_proj_use_renv" : false,
"num_spaces_for_tab" : 2,
"packages_pane_enabled" : true,
"panes" : {},
"pdf_previewer" : "default",
"plumber_viewer_type" : "window",
"posix_terminal_shell" : "default",
"project_safe_startup_seconds" : 30,
"publish_ca_bundle" : "",
"publish_check_certificates" : true,
"python_path" : "",
"python_project_environment_automatic_activate": true,
"python_type" : "",
"python_version" : "",
"rainbow_fenced_divs" : true,
"rainbow_parentheses" : false,
"real_time_spellchecking" : true,
"reduced_motion" : false,
"reindent_on_paste" : true,
"relative_line_numbers" : false,
"remove_history_duplicates" : false,
"restore_last_project" : true,
"restore_project_r_version" : true,
"restore_source_document_cursor_position" : true,
"restore_source_documents" : true,
"reuse_sessions_for_project_links" : false,
"rmd_auto_date" : false,
"rmd_chunk_output_inline" : true,
"rmd_preferred_template_path" : "",
"rmd_viewer_type" : "window",
"root_document" : "",
"rsa_key_path" : "",
"run_rprofile_on_resume" : false,
"save_before_sourcing" : true,
"save_files_before_build" : false,
"save_retry_timeout" : 15,
"save_workspace" : "ask",
"screenreader_console_announce_limit" : 25,
"scroll_past_end_of_document" : false,
"server_editor_font" : "",
"server_editor_font_enabled" : false,
"session_protocol_debug" : false,
"shiny_background_jobs" : false,
"shiny_viewer_type" : "window",
"show_diagnostics_cpp" : true,
"show_diagnostics_other" : false,
"show_diagnostics_r" : true,
"show_diagnostics_yaml" : true,
"show_doc_outline_rmd" : false,
"show_focus_rectangles" : true,
"show_function_signature_tooltips" : true,
"show_help_tooltip_on_idle" : false,
"show_hidden_files" : false,
"show_inline_toolbar_for_r_code_chunks" : true,
"show_internal_functions" : false,
"show_invisibles" : false,
"show_last_dot_value" : false,
"show_launcher_jobs_tab" : true,
"show_line_numbers" : true,
"show_margin" : true,
"show_memory_usage" : true,
"show_panel_focus_rectangle" : false,
"show_publish_diagnostics" : false,
"show_rmd_render_command" : false,
"show_terminal_tab" : true,
"show_user_home_page" : "sessions",
"soft_wrap_r_files" : false,
"soft_wrap_rmd_files" : true,
"sort_file_names_naturally" : true,
"source_with_echo" : false,
"spelling_custom_dictionaries" : [],
"spelling_dictionary_language" : "en_US",
"ssh_key_type" : "ed25519",
"strip_trailing_whitespace" : false,
"style_diagnostics" : false,
"submit_crash_reports" : true,
"surround_selection" : "quotes_and_brackets",
"svn_exe_path" : "",
"sync_files_pane_working_dir" : false,
"syntax_color_console" : false,
"tab_completion" : true,
"tab_key_move_focus" : false,
"tab_multiline_completion" : false,
"terminal_bell_style" : "sound",
"terminal_close_behavior" : "always",
"terminal_hooks" : true,
"terminal_ignored_environment_variables" : [],
"terminal_initial_directory" : "project",
"terminal_local_echo" : true,
"terminal_path" : "",
"terminal_python_integration" : true,
"terminal_renderer" : "canvas",
"terminal_track_environment" : true,
"terminal_weblinks" : true,
"terminal_websockets" : true,
"text_rendering" : "auto",
"toolbar_visible" : true,
"typing_status_delay_ms" : 2000,
"ui_language" : "en",
"use_dataimport" : true,
"use_devtools" : true,
"use_internet2" : true,
"use_newlines_in_makefiles" : true,
"use_publish_ca_bundle" : false,
"use_roxygen" : false,
"use_secure_download" : true,
"use_spaces_for_tab" : true,
"use_tinytex" : false,
"vcs_autorefresh" : true,
"vcs_enabled" : true,
"vertically_align_arguments_indent" : true,
"view_dir_after_r_cmd_check" : false,
"visual_markdown_code_editor" : "ace",
"visual_markdown_code_editor_line_numbers" : false,
"visual_markdown_editing_canonical" : false,
"visual_markdown_editing_font_size_points" : 0,
"visual_markdown_editing_is_default" : false,
"visual_markdown_editing_list_spacing" : "spaced",
"visual_markdown_editing_max_content_width" : 700,
"visual_markdown_editing_references_location" : "block",
"visual_markdown_editing_show_doc_outline" : true,
"visual_markdown_editing_show_margin" : false,
"visual_markdown_editing_wrap" : "none",
"visual_markdown_editing_wrap_at_column" : 72,
"warn_if_no_such_variable_in_scope" : false,
"warn_variable_defined_but_not_used" : false,
"windows_terminal_shell" : "default",
"wrap_tab_navigation" : true,
"zotero_libraries" : ["My Library"]
}

Loading