Skip to contents

Check if a certain dataset is downloaded.

Usage

isMockDatasetDownloaded(datasetName = "GiBleed", path = mockDatasetsFolder())

Arguments

datasetName

Name of the mock dataset. See availableMockDatasets() for possibilities.

path

Path where to search for the dataset.

Value

Whether the dataset is available or not.

Examples

# \donttest{
library(omock)

isMockDatasetDownloaded("GiBleed")
#> [1] TRUE
downloadMockDataset("GiBleed")
#>  Deleting prior version of GiBleed.
isMockDatasetDownloaded("GiBleed")
#> [1] TRUE
# }