#' depend on the base pipe
#'
#' The base pipe `|>` was [introduced in R version 4.1.0](https://cran.r-project.org/bin/windows/base/old/4.1.0/NEWS.R-4.1.0.html)
#' so the package code that uses this base pipe needs to list it as a dependency.
#' This function updates the `DESCRIPTION` file to document this requirement.
#' @export
use_base_pipe <- function() {
use_package("R", type = "Depends", min_version = "4.1")
}