Skip to content

add pbapply logic #115

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

SanderDevisscher
Copy link
Collaborator

#114

Nu met progressbar

@SanderDevisscher SanderDevisscher self-assigned this Jul 10, 2025
@SanderDevisscher SanderDevisscher added the enhancement New feature or request label Jul 10, 2025
@SanderDevisscher SanderDevisscher linked an issue Jul 10, 2025 that may be closed by this pull request
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds progress bar functionality to file operations in the camera trap file renaming process using the pbapply package. The change replaces vectorized file operations with loop-based operations that display progress bars to provide user feedback during potentially long-running file operations.

  • Replaces file.rename() and file.copy() calls with pbapply::pblapply() to show progress bars
  • Adds pbapply package dependency to support the progress bar functionality

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
R/rename_ct_files.R Replaces vectorized file operations with pblapply loops for progress tracking
DESCRIPTION Adds pbapply package dependency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add progress bar to rename_ct_files
1 participant