Skip to content

Commit 981afd2

Browse files
tweaks
1 parent 8b8a310 commit 981afd2

File tree

7 files changed

+11
-5
lines changed

7 files changed

+11
-5
lines changed

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ importFrom(processx,process)
4040
importFrom(utils,capture.output)
4141
importFrom(utils,download.file)
4242
importFrom(utils,file_test)
43+
importFrom(utils,head)
4344
importFrom(utils,packageVersion)
4445
importFrom(utils,str)

R/p2p_client_id.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#' @param users Users to have access to the cluster. This controls whether
44
#' the default cluster names should be "personal" or "friends".
55
#'
6+
#' @param \ldots Passed as-is to [pico_username()].
7+
#'
68
#' @return
79
#' `p2p_cluster_name()` returns R option `future.p2p.cluster`, if set.
810
#' If not set, it returns `{pico_name}/personal` if `length(users) == 0`,

R/worker.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#' to with a single CPU core to prevent nested parallelization.
1616
#'
1717
#' @importFrom processx poll
18+
#' @importFrom utils head
1819
#' @export
1920
worker <- function(cluster = p2p_cluster_name(host = host, ssh_args = ssh_args), host = "pipe.pico.sh", ssh_args = NULL, duration = 60*60) {
2021
parts <- strsplit(cluster, split = "/", fixed = TRUE)[[1]]

man/host_cluster.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/p2p_client_id.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/p2p_cluster_name.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/worker.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)