☰
Debian Codegraph
@
1.5.0+dfsg-3
1.5.0+dfsg-2
/
/
R
/
methods.R
☽
☼
R/methods.R
code
plain
raw
MIT
2016-2018 Joe Cheng, RStudio
debian/copyright
1
#' @export
2
format.promise <- function(x, ...) {
3
p <- attr(x, "promise_impl", exact = TRUE)
4
p$format()
5
}
6
7
#' @export
8
print.promise <- function(x, ...) {
9
cat(paste(format(x), collapse = "\n"), "\n", sep = "")
10
}