{"action":"created","issue":{"url":"https://api.github.com/repos/RcppCore/Rcpp/issues/950","repository_url":"https://api.github.com/repos/RcppCore/Rcpp","labels_url":"https://api.github.com/repos/RcppCore/Rcpp/issues/950/labels{/name}","comments_url":"https://api.github.com/repos/RcppCore/Rcpp/issues/950/comments","events_url":"https://api.github.com/repos/RcppCore/Rcpp/issues/950/events","html_url":"https://github.com/RcppCore/Rcpp/issues/950","id":421679733,"node_id":"MDU6SXNzdWU0MjE2Nzk3MzM=","number":950,"title":"Can `sort_unique()` pass along the `decreasing` argument to `sort()`?","user":{"login":"DavisVaughan","id":19150088,"node_id":"MDQ6VXNlcjE5MTUwMDg4","avatar_url":"https://avatars3.githubusercontent.com/u/19150088?v=4","gravatar_id":"","url":"https://api.github.com/users/DavisVaughan","html_url":"https://github.com/DavisVaughan","followers_url":"https://api.github.com/users/DavisVaughan/followers","following_url":"https://api.github.com/users/DavisVaughan/following{/other_user}","gists_url":"https://api.github.com/users/DavisVaughan/gists{/gist_id}","starred_url":"https://api.github.com/users/DavisVaughan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavisVaughan/subscriptions","organizations_url":"https://api.github.com/users/DavisVaughan/orgs","repos_url":"https://api.github.com/users/DavisVaughan/repos","events_url":"https://api.github.com/users/DavisVaughan/events{/privacy}","received_events_url":"https://api.github.com/users/DavisVaughan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-15T19:51:20Z","updated_at":"2019-03-15T19:54:30Z","closed_at":null,"author_association":"NONE","body":"It looks like `sort_unique()` is simply `unique(x).sort()`, as shown [here](http://dirk.eddelbuettel.com/code/rcpp/html/namespaceRcpp.html#a47ab8d30a152cd824a5e63a6d9046af1). Would it be possible to expose the `decreasing` argument of [`sort()`](http://dirk.eddelbuettel.com/code/rcpp/html/classRcpp_1_1Vector.html#a88c8e717a758626ad5150a2e0324d247) to `sort_unique()`? I can call both separately to do this, but it seems useful to wrap the pattern completely."},"comment":{"url":"https://api.github.com/repos/RcppCore/Rcpp/issues/comments/473420940","html_url":"https://github.com/RcppCore/Rcpp/issues/950#issuecomment-473420940","issue_url":"https://api.github.com/repos/RcppCore/Rcpp/issues/950","id":473420940,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MzQyMDk0MA==","user":{"login":"eddelbuettel","id":673121,"node_id":"MDQ6VXNlcjY3MzEyMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/673121?v=4","gravatar_id":"","url":"https://api.github.com/users/eddelbuettel","html_url":"https://github.com/eddelbuettel","followers_url":"https://api.github.com/users/eddelbuettel/followers","following_url":"https://api.github.com/users/eddelbuettel/following{/other_user}","gists_url":"https://api.github.com/users/eddelbuettel/gists{/gist_id}","starred_url":"https://api.github.com/users/eddelbuettel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddelbuettel/subscriptions","organizations_url":"https://api.github.com/users/eddelbuettel/orgs","repos_url":"https://api.github.com/users/eddelbuettel/repos","events_url":"https://api.github.com/users/eddelbuettel/events{/privacy}","received_events_url":"https://api.github.com/users/eddelbuettel/received_events","type":"User","site_admin":false},"created_at":"2019-03-15T19:54:30Z","updated_at":"2019-03-15T19:54:30Z","author_association":"MEMBER","body":"Yes, looks like an oversight we can fix.  \r\n\r\nMaybe wait a day or three before PRing as I am trying to get 1.0.1 out of the door but I am seriously short of resources for the rev.dep.   So patience is a virtue."}}
{"actor":{"display_login":"eddelbuettel"}}