Skip to content

Commit

Permalink
Update teal.slice version (#1414)
Browse files Browse the repository at this point in the history
Once this was merged in teal.slice and the version was bumped to
`0.5.1.9013` insightsengineering/teal.slice#622

We now allow non-alphabetical non-standard names in filter panel.
Without it, some tests break. Below is for teal.slice `0.5.1.9012` 

```r
data = within(
  teal.data::teal_data(),
  {
    iris <- iris
    mtcars <- mtcars
    `_a variable with spaces_` <- "new_column" # nolint: object_name.
    iris <- cbind(iris, data.frame(`_a variable with spaces_`))
  }
)
teal_data_to_filtered_data(data)

Error in check_simple_name(dataname) : 
  name '_a variable with spaces_' must only contain alphanumeric characters (with underscores) and the first character must be an alphabetic character
Called from: check_simple_name(dataname)
```

---------

Signed-off-by: Marcin <[email protected]>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
m7pr and github-actions[bot] authored Nov 19, 2024
1 parent f9d33a1 commit 9e65126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Depends:
R (>= 4.0),
shiny (>= 1.8.1),
teal.data (>= 0.6.0.9017),
teal.slice (>= 0.5.1.9009)
teal.slice (>= 0.5.1.9015)
Imports:
checkmate (>= 2.1.0),
crayon,
Expand Down

0 comments on commit 9e65126

Please sign in to comment.