Skip to content

Commit 1657215

Browse files
CLEANUP: Don't export wormhole functions
Rename files
1 parent a52e536 commit 1657215

File tree

5 files changed

+1
-9
lines changed

5 files changed

+1
-9
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: future.p2p
22
Title: A Peer-to-Peer Compute Cluster via Futureverse
3-
Version: 0.1.0-9003
3+
Version: 0.1.0-9004
44
Description: Implementation of the 'Future' API <doi:10.32614/RJ-2021-048> that resolves futures on a peer-to-peer ('P2P') compute environment. By using this future backend, you and your friends can share your spare compute resources with each other.
55
Depends:
66
future (>= 1.67.0)

NAMESPACE

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export(cluster)
1515
export(find_wormhole)
1616
export(future_id)
1717
export(host_cluster)
18-
export(install_wormhole)
1918
export(p2p_cluster)
2019
export(p2p_name)
2120
export(pico_hosted_channels)
@@ -35,9 +34,6 @@ export(pico_send_message)
3534
export(pico_terminate)
3635
export(pico_username)
3736
export(worker)
38-
export(wormhole_filename)
39-
export(wormhole_receive)
40-
export(wormhole_send)
4137
importFrom(callr,r_bg)
4238
importFrom(future,Future)
4339
importFrom(future,FutureBackend)
File renamed without changes.
File renamed without changes.

R/wormhole.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#' This function relies on the <https://pico.sh> services.
1414
#'
1515
#' @importFrom utils file_test
16-
#' @export
1716
wormhole_send <- function(file, code, rsh = NULL, ...) {
1817
debug <- isTRUE(getOption("future.p2p.debug"))
1918
if (debug) {
@@ -35,7 +34,6 @@ wormhole_send <- function(file, code, rsh = NULL, ...) {
3534
#'
3635
#' @rdname wormhole_send
3736
#' @importFrom utils file_test
38-
#' @export
3937
wormhole_receive <- function(code, path = tempdir(), ..., rsh = NULL) {
4038
stopifnot(file_test("-d", path))
4139
path <- tempfile(pattern = "dir", tmpdir = path)
@@ -180,7 +178,6 @@ wormhole_call <- function(command = c("send", "receive"), ..., input = NULL, rsh
180178
}
181179

182180

183-
#' @export
184181
wormhole_filename <- function(sysname = Sys.info()[["sysname"]], arch = R.version[["arch"]]) {
185182
sysname <- tolower(sysname)
186183

@@ -203,7 +200,6 @@ wormhole_pathname <- function(filename = wormhole_filename(), path = tools::R_us
203200
} ## wormhole_pathname()
204201

205202
#' @importFrom utils download.file file_test
206-
#' @export
207203
install_wormhole <- function(pathname = wormhole_pathname(), version = "1.0.8") {
208204
## Nothing to do?
209205
if (file_test("-x", pathname)) return(pathname)

0 commit comments

Comments
 (0)