gutenberg_cache_remove_ids: Delete specific files from the cache

View source: R/gutenberg_cache.R

gutenberg_cache_remove_idsR Documentation

Delete specific files from the cache

Description

Delete specific files from the cache

Usage

gutenberg_cache_remove_ids(ids, verbose = TRUE)

Arguments

ids

A numeric or character vector of Gutenberg IDs to remove from the current cache.

verbose

Whether to show the status messages.

Value

The number of files successfully deleted (invisibly).

Examples


# Remove specific books from cache
gutenberg_cache_remove_ids(c(1, 2))

# Remove silently
gutenberg_cache_remove_ids(1, verbose = FALSE)


gutenbergr documentation built on Jan. 19, 2026, 9:07 a.m.