Simple hard disk speed test
test_hdspeed(
path = tempdir(),
file_size = 1e+06,
quiet = FALSE,
abort_if_slow = TRUE,
use_cache = FALSE
)
A vector of two: writing and reading speed in MB per seconds.
an existing directory where to test speed, default is temporary local directory.
in bytes, default is 1 MB.
should verbose messages be suppressed?
abort test if hard drive is too slow. This usually happens when the hard drive is connected via slow internet: if the write speed is less than 0.1 MB per second.
if hard drive speed was tested before, abort testing and return cached results or not; default is false.