Skip to content

Commit a4488ad

Browse files
Remove stray, rarely seen debug print messages
1 parent 84b44e8 commit a4488ad

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: progressr
2-
Version: 0.18.0-9009
2+
Version: 0.18.0-9010
33
Title: An Inclusive, Unifying API for Progress Updates
44
Description: A minimal, unifying API for scripts and packages to report progress updates from anywhere including when using parallel processing. The package is designed such that the developer can to focus on what progress should be reported on without having to worry about how to present it. The end user has full control of how, where, and when to render these progress updates, e.g. in the terminal using utils::txtProgressBar(), cli::cli_progress_bar(), in a graphical user interface using utils::winProgressBar(), tcltk::tkProgressBar() or shiny::withProgress(), via the speakers using beepr::beep(), or on a file system via the size of a file. Anyone can add additional, customized, progression handlers. The 'progressr' package uses R's condition framework for signaling progress updated. Because of this, progress can be reported from almost anywhere in R, e.g. from classical for and while loops, from map-reduce API:s like the lapply() family of functions, 'purrr', 'plyr', and 'foreach'. It will also work with parallel processing via the 'future' framework, e.g. 'lapply(...) |> futurize()' and 'purrr::map(...) |> futurize()', which uses future.apply::future_lapply() and furrr::future_map() internally. The package is compatible with Shiny applications.
55
Authors@R: c(person("Henrik", "Bengtsson",

R/make_progression_handler.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,6 @@ make_progression_handler <- function(name, reporter = list(), handler = NULL, en
555555

556556
#' @export
557557
print.progression_handler <- function(x, ...) {
558-
print(sys.calls())
559558
s <- sprintf("Progression calling handler of class %s:", sQuote(class(x)[1]))
560559

561560
env <- environment(x)

R/progressor.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ progressor <- local({
170170
## Self-reference progressor function needed by the finalizer function
171171
progressor_envir$self <- fcn
172172
reg.finalizer(progressor_envir, function(e) {
173-
print(utils::ls.str(e))
174173
if (is.function(e$self)) {
175174
e$self(type = "shutdown")
176175
e$self <- NULL

0 commit comments

Comments
 (0)