edit_r_profile()opens.Rprofileedit_r_environ()opens.Renvironedit_r_makevars()opens.R/Makevarsedit_git_config()opens.gitconfigor.git/configedit_git_ignore()opens global (user-level) gitignore file and ensuresits path is declared in your global Git config.edit_pkgdown_configopens the pkgdown YAML configuration file for thecurrent Project.edit_rstudio_snippets()opens RStudio's snippet config for the given type.edit_rstudio_prefs()opensRStudio's preference file.
Usage
edit_r_profile(scope=c("user","project"))edit_r_environ(scope=c("user","project"))edit_r_buildignore()edit_r_makevars(scope=c("user","project"))edit_rstudio_snippets( type=c("r","markdown","c_cpp","css","html","java","javascript","python","sql","stan","tex","yaml"))edit_rstudio_prefs()edit_git_config(scope=c("user","project"))edit_git_ignore(scope=c("user","project"))edit_pkgdown_config()Details
Theedit_r_*() functions consult R's notion of user's home directory.Theedit_git_*() functions (andusethis in general) inherit homedirectory behaviour from thefs package, which differs from R itselfon Windows. Thefs default is more conventional in terms of thelocation of user-level Git config files. Seefs::path_home() for moredetails.
Files created byedit_rstudio_snippets() willmask, not supplement,the built-in default snippets. If you like the built-in snippets, copy themand include with your custom snippets.
