## prepare example file
p <- fs::path(tempdir(), "test-file-001.sql")
fs::file_create(p)
readr::write_lines("
-- name: select_count
select count(*) from tab1;
", p)
## sqlstrings
s <- generate_sql_strings(path = p)
s$select_count
Run the code above in your browser using DataLab