Does the input contain a temporary file (that exists on disk)?
Source:R/check-vector-isTempFile.R
check-vector-isTempFile.Rd
Does the input contain a temporary file (that exists on disk)?
Examples
## The temporary file must exist on disk.
## TRUE ====
x <- tempfile()
file.create(x)
#> [1] TRUE
file.exists(x)
#> [1] TRUE
isATempFile(x)
#> [1] TRUE
unlink(x)
## FALSE ====
x <- tempfile()
file.exists(x)
#> [1] FALSE
isATempFile(x)
#> [1] FALSE