R/print.R

Defines functions print.minesweeper_recording

#' @export
print.minesweeper_recording <- function(x, ...) {
  time <- x$inputs[[length(x$inputs)]]$diff
  cat(sprintf("Minesweeper recording of %f %s\n", time, units(time)))
}

Try the minesweeper package in your browser

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

minesweeper documentation built on April 3, 2025, 9:29 p.m.