radix_sort | R Documentation |
sort()
with method = 'radix'
THE BASE SORT FUNCTION USES A DIFFERENT METHOD DEPENDING ON YOUR LOCALE. However, the order for the radix method is always stable.
radix_sort(...)
... |
All arguments forwarded to |
see https://stackoverflow.com/questions/42272119/r-cmd-check-fails-devtoolstest-works-fine
stringr::str_sort()
solves this problem with the locale
parameter having
a default value, but I don't want to add that as another dependency.
Whatever you passed in, now in a stable sorted order regardless of your locale.
Kelly Sovacool sovacool@umich.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.