Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Correctly sort re-ordered columns #1096

Merged
merged 9 commits into from
Nov 16, 2023
Prev Previous commit
Next Next commit
Add options to start of test script
  • Loading branch information
ashbaldry committed Nov 15, 2023
commit 92a0880555e69892b2aeca115bfe9af4cfc991ac
4 changes: 4 additions & 0 deletions tests/testit/test-sort.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
library(testit)

# Factors and strings are searched differently.
# Older versions of R don't have this set.
op = options(stringsAsFactors = FALSE)

# Helpers to create client queries that run without errors
clientQuery = function(data, columns = lapply(names(data), columnQuery)) {
columns = rep_len(columns, ncol(data))