diff --git a/DESCRIPTION b/DESCRIPTION index e9f076c..66cb2ff 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: sqltargets Type: Package Title: 'Targets' Extension for 'SQL' Queries -Version: 0.1.0 +Version: 0.2.0 Authors@R: c( person("David", "Ranzolin", email = "daranzolin@gmail.com", role=c("aut", "cre", "cph")) ) diff --git a/NEWS.md b/NEWS.md index 1a587c2..93204fb 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,9 +1,10 @@ -# sqltargets (dev) +# sqltargets 0.2.0 -* Included 'jinjar' as a dependency, allowing jinja-like SQL queries +* Included 'jinjar' as a dependency, allowing jinja-like SQL queries. +* New option `sqltargets.template_engine` (either 'glue' or 'jinjar'). * Breaking change: `query_params` argument in `tar_sql()` is now `params`. * Additional tests -* `params` object name now recognized as a dependency. +* `params` object name now recognized as an upstream dependency. # sqltargets 0.1.0 diff --git a/R/sqltargets-option.R b/R/sqltargets-option.R index df4a3b4..ccd18ba 100644 --- a/R/sqltargets-option.R +++ b/R/sqltargets-option.R @@ -9,7 +9,7 @@ #' #' Available Options #' -#' - `"sqltargets.template_engine"` - Either 'glue' or 'jinjar'. Determines how the query file should be parsed`. +#' - `"sqltargets.template_engine"` - Either 'glue' or 'jinjar'. Determines how the query file should be parsed. #' #' - `"sqltargets.glue_sql_opening_delimiter"` - character. Length 1. The opening delimiter passed to `glue::glue_sql()`. #' diff --git a/man/sqltargets-options.Rd b/man/sqltargets-options.Rd index 5e00928..029d168 100644 --- a/man/sqltargets-options.Rd +++ b/man/sqltargets-options.Rd @@ -23,7 +23,7 @@ Get or Set sqltargets Options \details{ Available Options - - `"sqltargets.template_engine"` - Either 'glue' or 'jinjar'. Determines how the query file should be parsed`. + - `"sqltargets.template_engine"` - Either 'glue' or 'jinjar'. Determines how the query file should be parsed. - `"sqltargets.glue_sql_opening_delimiter"` - character. Length 1. The opening delimiter passed to `glue::glue_sql()`.