Learn R Programming

fulltext (version 2.0)

cache_file_info: Get information on possibly bad files in your cache

Description

Get information on possibly bad files in your cache

Usage

cache_file_info()

Arguments

Value

list, with three elements:

  • xml_not_valid: xml files that could not be read in with xml2::read_xml()

  • xml_abstract_only: xml files that only have abstracts. you can of choose to retain these if you like

  • pdf_not_valid: pdf files that could not be read in with pdftools::pdf_info()

Details

This function only identifies possibly bad files. You have to remove/delete them yourself. See example for how to do so. You can also open up your cache folder and delete them that way as well.

See Also

Other caching-functions: cache, ftxt_cache

Examples

Run this code
# NOT RUN {
# identify likely bad files
res <- cache_file_info()

# you can remove them yourself, e.g.,
# invisible(lapply(res$xml_abstract_only, unlink))
# }

Run the code above in your browser using DataLab