From 4b251e077374152bfa7032cbcbb50cd2912aec1c Mon Sep 17 00:00:00 2001 From: statasarus <55274484+statasaurus@users.noreply.github.com> Date: Thu, 2 May 2024 10:11:40 +0100 Subject: [PATCH] Modify family name to pass cran checks --- CRAN-SUBMISSION | 6 +++--- R/spec_builder.R | 12 ++++++------ man/spec_type_to_codelist.Rd | 4 ++-- man/spec_type_to_derivations.Rd | 4 ++-- man/spec_type_to_ds_spec.Rd | 4 ++-- man/spec_type_to_ds_vars.Rd | 4 ++-- man/spec_type_to_value_spec.Rd | 4 ++-- man/spec_type_to_var_spec.Rd | 4 ++-- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index 0116310..a77b337 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.1.1 -Date: 2022-12-07 13:49:30 UTC -SHA: eb4bc01dbfd7f2563258e72c41851edf849b13f9 +Version: 0.1.3 +Date: 2024-05-02 08:11:47 UTC +SHA: dfac124015ca54e065a7c11a88aa2a492969b4f4 diff --git a/R/spec_builder.R b/R/spec_builder.R index b746436..86fb6b9 100644 --- a/R/spec_builder.R +++ b/R/spec_builder.R @@ -96,7 +96,7 @@ read_all_sheets <- function(path){ #' @return a dataset formatted for the metacore object #' @export #' -#' @family {spec builder} +#' @family spec builders spec_type_to_ds_spec <- function(doc, cols = c("dataset" = "[N|n]ame|[D|d]ataset|[D|d]omain", "structure" = "[S|s]tructure", "label" = "[L|l]abel|[D|d]escription"), sheet = NULL){ @@ -140,7 +140,7 @@ spec_type_to_ds_spec <- function(doc, cols = c("dataset" = "[N|n]ame|[D|d]ataset #' @return a dataset formatted for the metacore object #' @export #' -#' @family {spec builder} +#' @family spec builders spec_type_to_ds_vars <- function(doc, cols = c("dataset" = "[D|d]ataset|[D|d]omain", "variable" = "[V|v]ariable [[N|n]ame]?|[V|v]ariables?", "order" = "[V|v]ariable [O|o]rder|[O|o]rder", @@ -214,7 +214,7 @@ spec_type_to_ds_vars <- function(doc, cols = c("dataset" = "[D|d]ataset|[D|d]oma #' @return a dataset formatted for the metacore object #' @export #' -#' @family {spec builder} +#' @family spec builders spec_type_to_var_spec <- function(doc, cols = c("variable" = "[N|n]ame|[V|v]ariables?", "length" = "[L|l]ength", "label" = "[L|l]abel", @@ -314,7 +314,7 @@ spec_type_to_var_spec <- function(doc, cols = c("variable" = "[N|n]ame|[V|v]aria #' @return a dataset formatted for the metacore object #' @export #' -#' @family {spec builder} +#' @family spec builders spec_type_to_value_spec <- function(doc, cols = c("dataset" = "[D|d]ataset|[D|d]omain", "variable" = "[N|n]ame|[V|v]ariables?", "origin" = "[O|o]rigin", @@ -456,7 +456,7 @@ spec_type_to_value_spec <- function(doc, cols = c("dataset" = "[D|d]ataset|[D|d] #' @return a dataset formatted for the metacore object #' @export #' -#' @family {spec builder} +#' @family spec builders spec_type_to_codelist <- function(doc, codelist_cols = c("code_id" = "ID", "name" = "[N|n]ame", "code" = "^[C|c]ode|^[T|t]erm", @@ -561,7 +561,7 @@ spec_type_to_codelist <- function(doc, codelist_cols = c("code_id" = "ID", #' @return a dataset formatted for the metacore object #' @export #' -#' @family {spec builder} +#' @family spec builders #' @importFrom purrr quietly spec_type_to_derivations <- function(doc, cols = c("derivation_id" = "ID", "derivation" = "[D|d]efinition|[D|d]escription"), diff --git a/man/spec_type_to_codelist.Rd b/man/spec_type_to_codelist.Rd index 91646ec..0a052e9 100644 --- a/man/spec_type_to_codelist.Rd +++ b/man/spec_type_to_codelist.Rd @@ -47,11 +47,11 @@ sheet input). The named vector \verb{*_cols} is used to determine which is the correct sheet and renames the columns. } \seealso{ -Other {spec builder}: +Other spec builders: \code{\link{spec_type_to_derivations}()}, \code{\link{spec_type_to_ds_spec}()}, \code{\link{spec_type_to_ds_vars}()}, \code{\link{spec_type_to_value_spec}()}, \code{\link{spec_type_to_var_spec}()} } -\concept{{spec builder}} +\concept{spec builders} diff --git a/man/spec_type_to_derivations.Rd b/man/spec_type_to_derivations.Rd index eca35fc..e2bc4a3 100644 --- a/man/spec_type_to_derivations.Rd +++ b/man/spec_type_to_derivations.Rd @@ -36,11 +36,11 @@ correct sheet and renames the columns. The derivation will be used for "predecessor" origins. } \seealso{ -Other {spec builder}: +Other spec builders: \code{\link{spec_type_to_codelist}()}, \code{\link{spec_type_to_ds_spec}()}, \code{\link{spec_type_to_ds_vars}()}, \code{\link{spec_type_to_value_spec}()}, \code{\link{spec_type_to_var_spec}()} } -\concept{{spec builder}} +\concept{spec builders} diff --git a/man/spec_type_to_ds_spec.Rd b/man/spec_type_to_ds_spec.Rd index 30f135d..21d5d6e 100644 --- a/man/spec_type_to_ds_spec.Rd +++ b/man/spec_type_to_ds_spec.Rd @@ -29,11 +29,11 @@ input). The named vector \code{cols} is used to determine which is the correct sheet and renames the columns } \seealso{ -Other {spec builder}: +Other spec builders: \code{\link{spec_type_to_codelist}()}, \code{\link{spec_type_to_derivations}()}, \code{\link{spec_type_to_ds_vars}()}, \code{\link{spec_type_to_value_spec}()}, \code{\link{spec_type_to_var_spec}()} } -\concept{{spec builder}} +\concept{spec builders} diff --git a/man/spec_type_to_ds_vars.Rd b/man/spec_type_to_ds_vars.Rd index 8d493b9..844d3ff 100644 --- a/man/spec_type_to_ds_vars.Rd +++ b/man/spec_type_to_ds_vars.Rd @@ -39,11 +39,11 @@ input). The named vector \code{cols} is used to determine which is the correct sheet and renames the columns } \seealso{ -Other {spec builder}: +Other spec builders: \code{\link{spec_type_to_codelist}()}, \code{\link{spec_type_to_derivations}()}, \code{\link{spec_type_to_ds_spec}()}, \code{\link{spec_type_to_value_spec}()}, \code{\link{spec_type_to_var_spec}()} } -\concept{{spec builder}} +\concept{spec builders} diff --git a/man/spec_type_to_value_spec.Rd b/man/spec_type_to_value_spec.Rd index 84c4ab3..749c164 100644 --- a/man/spec_type_to_value_spec.Rd +++ b/man/spec_type_to_value_spec.Rd @@ -48,11 +48,11 @@ sheet input). The named vector \code{cols} is used to determine which is the correct sheet and renames the columns } \seealso{ -Other {spec builder}: +Other spec builders: \code{\link{spec_type_to_codelist}()}, \code{\link{spec_type_to_derivations}()}, \code{\link{spec_type_to_ds_spec}()}, \code{\link{spec_type_to_ds_vars}()}, \code{\link{spec_type_to_var_spec}()} } -\concept{{spec builder}} +\concept{spec builders} diff --git a/man/spec_type_to_var_spec.Rd b/man/spec_type_to_var_spec.Rd index ba02179..7045cca 100644 --- a/man/spec_type_to_var_spec.Rd +++ b/man/spec_type_to_var_spec.Rd @@ -30,11 +30,11 @@ input). The named vector \code{cols} is used to determine which is the correct sheet and renames the columns. (Note: the keep column will be converted logical) } \seealso{ -Other {spec builder}: +Other spec builders: \code{\link{spec_type_to_codelist}()}, \code{\link{spec_type_to_derivations}()}, \code{\link{spec_type_to_ds_spec}()}, \code{\link{spec_type_to_ds_vars}()}, \code{\link{spec_type_to_value_spec}()} } -\concept{{spec builder}} +\concept{spec builders}