diff --git a/R/CST_Start.R b/R/CST_Start.R index bc688557d3bc681dbde26b58b373077b144b2de9..4b78ee0c979e61a70384ef8ff45c61c829cb7644 100644 --- a/R/CST_Start.R +++ b/R/CST_Start.R @@ -10,9 +10,8 @@ #' #'It receives any number of parameters (`...`) that are automatically forwarded #'to the `startR::Start` function. See details in `?startR::Start`. The -#'auxiliary functions used to define dimensions need to be called within the -#'startR namespace (e.g. startR::indices(), startR::values(), startR::Sort(), -#'startR::CircularSort(), startR::CDORemapper(), ...). +#'auxiliary startR functions (e.g. indices(), values(), Sort(), CircularSort(), +#'CDORemapper(), ...) can be used to define dimensions. #' #'@param ... Parameters that are automatically forwarded to the `startR::Start` #' function. See details in `?startR::Start`. @@ -44,7 +43,12 @@ #'@import startR #'@export CST_Start <- function(...) { - res <- Start(...) + inputs <- as.list(substitute(list(...)))[-1] + for (i in 1:length(inputs)) { + inputs[[i]] <- eval(inputs[[i]]) + } + res <- do.call(Start, inputs) res <- as.s2dv_cube(res) return(res) -} \ No newline at end of file +} + diff --git a/man/CST_Start.Rd b/man/CST_Start.Rd index b286bf18ed454ea9a47f972a0bbd1339a2755b27..b95f51ec415c8ef1aa1b9e57690406c2325fd99b 100644 --- a/man/CST_Start.Rd +++ b/man/CST_Start.Rd @@ -22,9 +22,8 @@ multidimensional distributed data sets. Then, the output is transformed into \details{ It receives any number of parameters (`...`) that are automatically forwarded to the `startR::Start` function. See details in `?startR::Start`. The -auxiliary functions used to define dimensions need to be called within the -startR namespace (e.g. startR::indices(), startR::values(), startR::Sort(), -startR::CircularSort(), startR::CDORemapper(), ...). +auxiliary startR functions (e.g. indices(), values(), Sort(), CircularSort(), +CDORemapper(), ...) can be used to define dimensions. } \examples{ \dontrun{ diff --git a/src/CSTools.so b/src/CSTools.so index b7629601725e5c3340bc5a7a4c3cee09088c4d6d..dcf5b0f54c8bdae91f78059af38e8d98122296af 100755 Binary files a/src/CSTools.so and b/src/CSTools.so differ