You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Excellent PR #2332 (which removed the repeated and wasteful check that current keys are valid) triggered the thought that perhaps we need an is.valid(DT) function for use by users. It would check that DT is indeed sorted by the key (if any) and that the indexes (if any) do indeed sort those index columns correctly. Although unlikely, it is possible for advanced users to go 'under the hood' and change attributes directly and that's when mistakes can happen. They can decide to use is.valid(DT) to check all is well at a moment that suits them.
Activity
MichaelChirico commentedon Sep 7, 2017
Not sure how I feel about the name (
validate?valid_keys?check_sorting? etc), but the function itself would find use.jangorecki commentedon Apr 6, 2020
some extra checks that could be included as well
bycolumn contains non-ASCII characters #2072)x.ori..N,.I, ...is.valid function, #2334