blob: 5d524e44c97ec876e85eedf502306961974eb5ce [file] [log] [blame]
Marc Kupietzb1dec012025-06-04 17:16:57 +02001% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/logging.R
3\name{calculate_eta}
4\alias{calculate_eta}
5\title{Calculate and format ETA for batch operations}
6\usage{
7calculate_eta(current_item, total_items, start_time)
8}
9\arguments{
10\item{current_item}{current item number (1-based)}
11
12\item{total_items}{total number of items to process}
13
14\item{start_time}{POSIXct start time of the operation}
15}
16\value{
17character string with formatted ETA and completion time or empty string if not calculable
18}
19\description{
20Helper function to calculate estimated time of arrival based on elapsed time
21and progress through a batch operation.
22}
23\keyword{internal}