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

Progressor

Progressor


Description

Wraps progressr::progressor() function and stores current progress.

Public fields

progressor

(progressr::progressor()).

max_steps

(integer(1)).

current_steps

(integer(1)).

unit

(character(1)).

Methods

Public methods


Method new()

Creates a new instance of this R6 class.

Usage
Progressor$new()

Method setup()

Creates progressr::progressor().

Usage
Progressor$setup(terminator, archive)
Arguments
terminator

(Terminator).

archive

(Archive).


Method update()

Updates progressr::progressor() with current steps.

Usage
Progressor$update(terminator, archive)
Arguments
terminator

(Terminator).

archive

(Archive).


Method clone()

The objects of this class are cloneable with this method.

Usage
Progressor$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


bbotk

Black-Box Optimization Toolkit

v0.3.2
LGPL-3
Authors
Marc Becker [cre, aut] (<https://orcid.org/0000-0002-8115-0400>), Jakob Richter [aut] (<https://orcid.org/0000-0003-4481-5554>), Michel Lang [aut] (<https://orcid.org/0000-0001-9754-0393>), Bernd Bischl [aut] (<https://orcid.org/0000-0001-6002-6980>), Martin Binder [aut], Olaf Mersmann [ctb]
Initial release

We don't support your browser anymore

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