R/guid.R

Defines functions guid

Documented in guid

#' Get a unique GUID
#' @description Get a unique GUID. Simple. See: `ddg('guid')`.
#' @usage guid()
#' @return A unique GUID.
#' @examples guid()
#' @export
guid <- function() {
  guid <- RCurl::httpGET('http://givemeguid.com')
  writeLines(crayon::blue(guid[[1]]))
  return(guid[[1]])
}

Try the webtools package in your browser

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

webtools documentation built on Aug. 12, 2022, 1:07 a.m.