tests/profmem,error.R

library("profmem")

if (capabilities("profmem")) {

p <- profmem({
  x <- raw(1000)
  stop("Woops!")
})
print(p)

} ## if (capabilities("profmem"))

Try the profmem package in your browser

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

profmem documentation built on Dec. 15, 2020, 5:07 p.m.