if (FALSE) {
pkg_install("dplyr")
# Upgrade dplyr and all its dependencies
pkg_install("dplyr", upgrade = TRUE)
# Install the development version of dplyr
pkg_install("tidyverse/dplyr")
# Switch back to the CRAN version. This will be fast because
# pak will have cached the prior install.
pkg_install("dplyr")
}
Run the code above in your browser using DataLab