Skip to content

Commit

Permalink
do not change variable names when setting up the table-instance, fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhard-da committed Jan 28, 2025
1 parent 63301eb commit 80bb032
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ Imports:
parallel
License: GPL-2
Encoding: UTF-8
RoxygenNote: 7.2.3
Suggests:
testthat,
knitr,
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cellKey 1.0.3 (next)
- Do not modify variable names in `ck_setup()` [https://github.com/sdcTools/cellKey/issues/17]

# cellKey 1.0.2
- Performance Fix: Do not compute contributing indices (relevant only for the perturbation of numerical variables) if no such variables were specified in `ck_setup()`
- Prefix logging-Outputs with a timestamp
Expand Down
3 changes: 0 additions & 3 deletions R/cellkey_pkg.R
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,6 @@ ck_class <- R6::R6Class("cellkey_obj", cloneable = FALSE,
stop("Some elements provided in `numvars` are not numeric.", call. = FALSE)
}

setnames(x, numvars, tolower(numvars))
numvars <- tolower(numvars)

# compute weighted variables and index to compute record keys for only
# units actually contributing
numvars_w <- paste0("ws_", numvars)
Expand Down

0 comments on commit 80bb032

Please sign in to comment.