Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

DirectoryQueue

An R6 class for managing persistent file-based queues (abstract base class)


Description

Abstract class from which all other classes in rotor inherit their basic fields and methods.

Details

This class is part of the R6 API of rotor which is intended for developers that want to extend this package. For normal usage, the simpler functional API is recommended (see rotate()).

Active bindings

dir

a character scalar. path of the directory in which to store the cache files

Methods

Public methods


Method new()

Usage
DirectoryQueue$new(...)

Method push()

Usage
DirectoryQueue$push(x, ...)

Method prune()

Usage
DirectoryQueue$prune(x, ...)

Method set_dir()

Usage
DirectoryQueue$set_dir(x, create = TRUE)

See Also


rotor

Log Rotation and Conditional Backups

v0.3.5
MIT + file LICENSE
Authors
Stefan Fleck [aut, cre] (<https://orcid.org/0000-0003-3344-9851>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.