diff --git a/.Rbuildignore b/.Rbuildignore index 727ef2b7..fb887ec6 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -15,3 +15,4 @@ ^raw-data$ ^_tmp$ ^\.pre-commit-config\.yaml$ +^inst/rs-settings/other$ diff --git a/R/settings--preferences.R b/R/settings--preferences.R index e087b4cb..09915b09 100644 --- a/R/settings--preferences.R +++ b/R/settings--preferences.R @@ -172,8 +172,10 @@ rstudio_set_preferences <- function(file) { rstudioapi::writeRStudioPreference(.x, as.integer(.y)) } else if (stringr::str_detect(e_msg, "expected ")) { rstudioapi::writeRStudioPreference(.x, as.numeric(.y)) + } else if (stringr::str_detect(e_msg, "expected ")) { + 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")) } } ) diff --git a/inst/rs-settings/rstudio-prefs--RStudio1.3.json b/inst/rs-settings/other/rstudio-prefs--RStudio1.3.json similarity index 100% rename from inst/rs-settings/rstudio-prefs--RStudio1.3.json rename to inst/rs-settings/other/rstudio-prefs--RStudio1.3.json diff --git a/inst/rs-settings/rstudio-prefs--bio-1.json b/inst/rs-settings/other/rstudio-prefs--bio-1.json similarity index 100% rename from inst/rs-settings/rstudio-prefs--bio-1.json rename to inst/rs-settings/other/rstudio-prefs--bio-1.json diff --git a/inst/rs-settings/rstudio-prefs--bio-2.json b/inst/rs-settings/other/rstudio-prefs--bio-2.json similarity index 100% rename from inst/rs-settings/rstudio-prefs--bio-2.json rename to inst/rs-settings/other/rstudio-prefs--bio-2.json diff --git a/inst/rs-settings/other/rstudio-prefs--rstudio-default--all.json b/inst/rs-settings/other/rstudio-prefs--rstudio-default--all.json new file mode 100644 index 00000000..9a3d572d --- /dev/null +++ b/inst/rs-settings/other/rstudio-prefs--rstudio-default--all.json @@ -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"] +} + diff --git a/inst/rs-settings/other/rstudio-prefs--rstudio-default--full.json b/inst/rs-settings/other/rstudio-prefs--rstudio-default--full.json new file mode 100644 index 00000000..a63ab097 --- /dev/null +++ b/inst/rs-settings/other/rstudio-prefs--rstudio-default--full.json @@ -0,0 +1,282 @@ +{ + "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, + "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", + "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_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, + "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, + "pdf_previewer" : "default", + "plumber_viewer_type" : "window", + "posix_terminal_shell" : "default", + "project_safe_startup_seconds" : 30, + "publish_ca_bundle" : "", + "publish_check_certificates" : true, + "python_project_environment_automatic_activate": true, + "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" : "", + "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 +} + diff --git a/inst/rs-settings/rstudio-prefs--rstudio-default-2022.json b/inst/rs-settings/other/rstudio-prefs--rstudio-default-2022.json similarity index 100% rename from inst/rs-settings/rstudio-prefs--rstudio-default-2022.json rename to inst/rs-settings/other/rstudio-prefs--rstudio-default-2022.json diff --git a/inst/rs-settings/user-settings b/inst/rs-settings/other/user-settings similarity index 100% rename from inst/rs-settings/user-settings rename to inst/rs-settings/other/user-settings diff --git a/inst/rs-settings/rstudio-prefs--bio-default.json b/inst/rs-settings/rstudio-prefs--bio-default.json index 9996c3f6..5e992228 100644 --- a/inst/rs-settings/rstudio-prefs--bio-default.json +++ b/inst/rs-settings/rstudio-prefs--bio-default.json @@ -13,8 +13,6 @@ "auto_save_on_idle" : "backup", "background_diagnostics" : true, "background_diagnostics_delay_ms" : 2000, - "bioconductor_mirror_name" : "Sweden (Umea) [https]", - "bioconductor_mirror_url" : "https://mirror.accum.se/mirror/bioconductor.org/", "blinking_cursor" : true, "busy_detection" : "always", "busy_exclusion_list" : ["tmux", "screen"], @@ -40,7 +38,6 @@ "console_suspend_blocked_notice_delay" : 5, "continue_comments_on_newline" : true, "cpp_template" : "Rcpp", - "cran_mirror" : {}, "custom_shell_command" : "", "custom_shell_options" : "", "data_viewer_max_cell_size" : 50, @@ -48,7 +45,6 @@ "default_encoding" : "UTF-8", "default_latex_program" : "pdfLaTeX", "default_project_location" : "~/R", - "default_r_version" : {}, "default_sweave_engine" : "Sweave", "diagnostics_in_r_function_calls" : true, "diagnostics_on_save" : true, @@ -74,7 +70,6 @@ "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", @@ -114,17 +109,13 @@ "new_proj_use_renv" : false, "num_spaces_for_tab" : 2, "packages_pane_enabled" : true, - "panes" : {}, "pdf_previewer" : "rstudio", "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" : true, "real_time_spellchecking" : true, @@ -142,7 +133,6 @@ "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" : true, @@ -181,14 +171,10 @@ "soft_wrap_rmd_files" : true, "sort_file_names_naturally" : true, "source_with_echo" : true, - "spelling_custom_dictionaries" : [], - "spelling_dictionary_language" : "en_US", - "ssh_key_type" : "ed25519", "strip_trailing_whitespace" : true, "style_diagnostics" : true, "submit_crash_reports" : true, "surround_selection" : "quotes_and_brackets", - "svn_exe_path" : "", "sync_files_pane_working_dir" : true, "syntax_color_console" : true, "tab_completion" : true, @@ -196,6 +182,8 @@ "tab_multiline_completion" : false, "terminal_bell_style" : "sound", "terminal_close_behavior" : "never", + "terminal_hooks" : true, + "terminal_ignored_environment_variables" : [], "terminal_initial_directory" : "project", "terminal_local_echo" : true, "terminal_path" : "", @@ -236,7 +224,6 @@ "warn_if_no_such_variable_in_scope" : true, "warn_variable_defined_but_not_used" : true, "windows_terminal_shell" : "win-git-bash", - "wrap_tab_navigation" : true, - "zotero_libraries" : ["My Library"] + "wrap_tab_navigation" : true } diff --git a/inst/rs-settings/rstudio-prefs--rstudio-default.json b/inst/rs-settings/rstudio-prefs--rstudio-default.json index d8bd5107..1b6b0947 100644 --- a/inst/rs-settings/rstudio-prefs--rstudio-default.json +++ b/inst/rs-settings/rstudio-prefs--rstudio-default.json @@ -2,6 +2,28 @@ "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, @@ -13,9 +35,34 @@ "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, @@ -40,15 +87,11 @@ "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, @@ -74,7 +117,6 @@ "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", @@ -121,10 +163,7 @@ "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, @@ -142,7 +181,6 @@ "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, @@ -181,7 +219,6 @@ "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, @@ -196,6 +233,8 @@ "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" : "", @@ -236,7 +275,6 @@ "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"] + "wrap_tab_navigation" : true }