Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix progress bar (not appearing when using package) #5

Open
atowey-uchi opened this issue Dec 10, 2024 · 0 comments
Open

Fix progress bar (not appearing when using package) #5

atowey-uchi opened this issue Dec 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@atowey-uchi
Copy link
Collaborator

atowey-uchi commented Dec 10, 2024

Description

The progress bar works as expected when running as an R script in RStudio, but it does not display when the same functionality is used within the package. This inconsistency affects the user experience when the package is used, as users are unable to visually track the progress of long-running processes.

Steps to Reproduce

  1. Run a function from the package that uses a progress bar (e.g., a function utilizing the progressr package).
  2. Observe that the progress bar does not appear.
  3. Run the same function as a standalone script in RStudio.
  4. Notice that the progress bar appears and functions as expected in the RStudio script.

Expected Behavior

The progress bar should display consistently both when running the script directly in RStudio and when using the function from the package. The progress bar should indicate the progress of long-running tasks to enhance user experience.

Additional Context

  • The progress bar currently functions in RStudio but not in other contexts (e.g., when the package is used from the command line or in non-interactive sessions).
  • This issue may relate to how RStudio handles interactive processes compared to non-interactive environments.

Proposed Solution

  • Investigate any discrepancies between the behavior of the progress bar when running as a script vs when used within the package.
  • Ensure that the progressr package is correctly initialized and rendered within the package functions.

Acceptance Criteria

  • The progress bar should be visible and functioning as expected both when running in RStudio and when using the package.
  • Any environment-specific configurations or dependencies related to progress display should be identified and resolved.
@atowey-uchi atowey-uchi added the bug Something isn't working label Dec 10, 2024
@atowey-uchi atowey-uchi self-assigned this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant