This is a quick demo package to serve as a sort of reprex.
You can install the development version of mydesc from GitHub with:
# install.packages("devtools")
devtools::install_github("jonthegeek/mydesc")
You should never reexport dplyr::desc
. Here’s why:
df <- data.frame(x = c("first", "second"))
dplyr::arrange(df, dplyr::desc(x))$x[[1]]
#> [1] "second"
dplyr::arrange(df, mydesc::desc(x))$x[[1]]
#> [1] "first"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.