Skip to content

Commit

Permalink
change colunm name in tar_crew()
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed May 12, 2023
1 parent 898a3a1 commit c134844
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions R/class_crew.R
Original file line number Diff line number Diff line change
Expand Up @@ -275,14 +275,14 @@ crew_summary <- function(controller) {
worker = summary$worker_index,
launches = summary$worker_launches,
seconds = summary$popped_seconds,
tasks = summary$popped_tasks
targets = summary$popped_tasks
)
}

database_crew <- function(path_store) {
database_init(
path = file.path(path_meta_dir(path_store), "crew"),
header = c("controller", "worker", "launches", "seconds", "tasks")
header = c("controller", "worker", "launches", "seconds", "targets")
)
}

Expand Down
3 changes: 1 addition & 2 deletions R/tar_crew.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
#' * `worker`: worker index in the controller.
#' * `launches`: number of times the worker was launched.
#' * `seconds`: number of seconds the worker spent running tasks.
#' * `tasks`: number of tasks the worker completed
#' and handed over to `targets`.
#' * `targets`: number of targets the worker completed and delivered.
#' @inheritParams tar_validate
#' @examples
#' if (identical(Sys.getenv("TAR_EXAMPLES"), "true")) { # for CRAN
Expand Down
3 changes: 1 addition & 2 deletions man/tar_crew.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c134844

Please sign in to comment.