osem_clear_cache: Purge cached responses from the given cache directory

osem_clear_cacheR Documentation

Purge cached responses from the given cache directory

Description

Purge cached responses from the given cache directory

Usage

osem_clear_cache(location = tempdir())

Arguments

location

A path to the cache directory, defaults to the sessions' tempdir()

Value

Boolean whether the deletion was successful

Examples

## Not run: 
  osem_boxes(cache = tempdir())
  osem_clear_cache()

  cachedir = paste(getwd(), 'osemcache', sep = '/')
  dir.create(file.path(cachedir), showWarnings = FALSE)
  osem_boxes(cache = cachedir)
  osem_clear_cache(cachedir)

## End(Not run)

sensebox/opensensmapR documentation built on March 12, 2023, 8:09 a.m.