% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{inmet_cache_clear}
\alias{inmet_cache_clear}
\title{Clear the rmet download cache}
\usage{
inmet_cache_clear(
  years = NULL,
  dest_dir = tools::R_user_dir("rmet", "cache"),
  ask = interactive()
)
}
\arguments{
\item{years}{Integer vector of years to remove, or \code{NULL} to remove all.}

\item{dest_dir}{Character. Cache directory.}

\item{ask}{Logical. If \code{TRUE} (default in interactive sessions), prompt
before deleting.}
}
\value{
Invisible \code{NULL}.
}
\description{
Deletes downloaded ZIP files from the cache directory.
}
