Skip to content

Spurious progress message from vroom_write_connection_() #546

@heavywatal

Description

@heavywatal
> vroom::vroom_write_lines(head(LETTERS), stdout())
A
wrote 2.00B in  0s, 279.62kB/sB
C
D
E
F
> vroom::vroom_write(head(iris), stdout(), progress = TRUE)
Sepal.Length    Sepal.Width     Petal.Length    Petal.Width     Species
5.1     3.5     1.4     0.2     setosa
wrote 23.00B in  0s, 3.86MB/s4.9        3       1.4     0.2     setosa
4.7     3.2     1.3     0.2     setosa
4.6     3.1     1.5     0.2     setosa
5       3.6     1.4     0.2     setosa
5.4     3.9     1.7     0.4     setosa

I understand writing to stdout() with progress = TRUE will eventually be problematic, and may not have many practical use other than testing, but still this message seems too early and not so informative. Is this intended behavior?

  • vroom 1.6.5
  • R 4.4.2
  • macOS 15.2 and Ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions