Get the path to the snippets file for a given type
get_snippets_file.Rd
This function determines the appropriate path to the snippets file based on the type of the file and the version of RStudio being used. It handles the differences in file locations between old and new versions of RStudio.
Usage
get_snippets_file(
type = c("r", "markdown", "c_cpp", "css", "html", "java", "javascript", "python",
"sql", "stan", "tex")
)