From 264c40512bfd7a2b51426039749c1a03882feab2 Mon Sep 17 00:00:00 2001 From: jgilber2 Date: Thu, 11 Jul 2024 13:24:01 -0700 Subject: [PATCH] More cran standard changes --- .Rbuildignore | 1 - R/SchemaGenerator.R | 3 +-- man/generateSqlSchema.Rd | 4 +--- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.Rbuildignore b/.Rbuildignore index 704fdc0..d9d76aa 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -3,7 +3,6 @@ ^\.idea$ ^renv$ ^renv\.lock$ -sql extras man-roxygen license_header_stub.txt diff --git a/R/SchemaGenerator.R b/R/SchemaGenerator.R index 7ffb55a..0d719bd 100644 --- a/R/SchemaGenerator.R +++ b/R/SchemaGenerator.R @@ -28,7 +28,7 @@ #' Schema generator #' @description #' Take a csv schema definition and create a basic sql script with it. -#' +#' returns string containing the sql for the table #' @param csvFilepath Path to schema file. Csv file must have the columns: #' "table_name", "column_name", "data_type", "is_required", "primary_key" #' @param schemaDefinition A schemaDefintiion data.frame` with the columns: @@ -38,7 +38,6 @@ #' @export #' #' @importFrom readr read_csv -#' @return string containing the sql for the table generateSqlSchema <- function(csvFilepath = NULL, schemaDefinition = NULL, sqlOutputPath = NULL, diff --git a/man/generateSqlSchema.Rd b/man/generateSqlSchema.Rd index 121d4e6..fe285d3 100644 --- a/man/generateSqlSchema.Rd +++ b/man/generateSqlSchema.Rd @@ -22,9 +22,7 @@ tableName, columnName, dataType, isRequired, primaryKey} \item{overwrite}{Boolean - overwrite existing file?} } -\value{ -string containing the sql for the table -} \description{ Take a csv schema definition and create a basic sql script with it. +returns string containing the sql for the table }