Skip to content

Commit

Permalink
revert a modification I did in tidy_sem.data.frame
Browse files Browse the repository at this point in the history
  • Loading branch information
Gootjes committed Jun 21, 2023
1 parent c69a14e commit f960965
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/syntax_data_dictionary.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ tidy_sem.character <- function(x, split = "_"){
#' @export
tidy_sem.data.frame <- function(x, split = "_"){
Args <- as.list(match.call()[-1])

if(anyNA(names(x))) stop("data frame 'x' has missing variable names")

Args$x <- names(x)

out <- list(dictionary = do.call(.dict_internal, Args),
data = x,
syntax = NULL)
Expand Down

0 comments on commit f960965

Please sign in to comment.