Adds file structure needed for testthat unit tests. Introduces unit test on SQL query (test/testthat/test-sql-query.R), verifying that the write_sql_query() function produces a query that correctly handles variable mapping into categorical buckets based on falling under specific ranges and equalling specific values.
Adds file structure needed for
testthat
unit tests. Introduces unit test on SQL query (test/testthat/test-sql-query.R
), verifying that thewrite_sql_query()
function produces a query that correctly handles variable mapping into categorical buckets based on falling under specific ranges and equalling specific values.