R/last.R

Defines functions last_check

Documented in last_check

#' The last rhub check of this R session
#'
#' `rhub` caches the id(s) of the last submission. This can be retrieved
#' with `last_check`.
#'
#' @return An rhub_check object.
#'
#' @export
#' @examples
#' \dontrun{
#' check("packagedir")
#' last_check()
#' last_check()$livelog()
#' }

last_check <- function() {
  package_data$last_handle
}

Try the rhub package in your browser

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

rhub documentation built on Aug. 31, 2022, 5:06 p.m.