Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
plietar committed Oct 3, 2024
1 parent 1bd6410 commit d737c55
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
8 changes: 6 additions & 2 deletions R/rrq.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,20 @@
##' @param set_as_default Set the rrq controller to be the default;
##' this is usually what you want.
##'
##' @param queue_id The rrq queue id to use. You shouldn't need to pass a value
##' for this: the queue id can be found from the hipercow state directory, or
##' a new one is created if needed.
##'
##' @inheritParams task_create_expr
##'
##' @return An [rrq::rrq_controller] object.
##'
##' @export
hipercow_rrq_controller <- function(..., set_as_default = TRUE, driver = NULL,
queue_id = NA, root = NULL) {
queue_id = NULL, root = NULL) {
root <- hipercow_root(root)
call <- rlang::current_env()
if (is.na(queue_id)) {
if (is.null(queue_id)) {
driver <- hipercow_driver_select(driver, TRUE, root, call)
r <- rrq_prepare(driver, root, ..., call = call)
} else {
Expand Down
12 changes: 11 additions & 1 deletion man/hipercow_rrq_controller.Rd

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

0 comments on commit d737c55

Please sign in to comment.