NEWS.md
Fixed segfault issue which did occur in partial_argsort() when the n_elements argument was larger than the length of the input vector. In order to ensure equivalence with order(x, decreasing = TRUE)[1:n_elements], the additional elements, if any, are padded at the end of the answer as NA values.
Made it explicit in the documentation that missing values are not allows and wrote a test for this case.
Makevars file has been created.matrixStats::colRanks instead of an apply statement with base::rank.