mirror of
https://github.com/sensebox/opensensmapr
synced 2025-02-22 14:53:57 +01:00
create dir for clear_cache test but dont run
This commit is contained in:
parent
4b24aa9582
commit
4a81cab11c
1 changed files with 2 additions and 1 deletions
3
R/api.R
3
R/api.R
|
@ -121,11 +121,12 @@ osem_cache_filename = function (path, query = list(), host = osem_endpoint()) {
|
||||||
#'
|
#'
|
||||||
#' @export
|
#' @export
|
||||||
#' @examples
|
#' @examples
|
||||||
#' \donttest{
|
#' \dontrun{
|
||||||
#' osem_boxes(cache = tempdir())
|
#' osem_boxes(cache = tempdir())
|
||||||
#' osem_clear_cache()
|
#' osem_clear_cache()
|
||||||
#'
|
#'
|
||||||
#' cachedir = paste(getwd(), 'osemcache', sep = '/')
|
#' cachedir = paste(getwd(), 'osemcache', sep = '/')
|
||||||
|
#' dir.create(file.path(cachedir), showWarnings = FALSE)
|
||||||
#' osem_boxes(cache = cachedir)
|
#' osem_boxes(cache = cachedir)
|
||||||
#' osem_clear_cache(cachedir)
|
#' osem_clear_cache(cachedir)
|
||||||
#' }
|
#' }
|
||||||
|
|
Loading…
Add table
Reference in a new issue