list_r_files <- function(path = "R") {
ls_result <- fs::dir_ls(path, regexp = "\\.[Rr]$")
stringr::str_match(ls_result, "[^/]+.[Rr]$")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.