R/roxygen2.R

Defines functions rfc

rfc <- function(num, sec = NULL) {
  paste0(
    "[",
    if (!is.null(sec)) paste0("Section ", sec, " of "),
    "RFC ", num, "]",
    "(https://datatracker.ietf.org/doc/html/rfc", num,
    if (!is.null(sec)) paste0("#section-", sec),
    ")"
  )
}

Try the httr2 package in your browser

Any scripts or data that you put into this service are public.

httr2 documentation built on Nov. 14, 2023, 5:08 p.m.