You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DESCRIPTION
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
Package: future.p2p
2
2
Title: A Peer-to-Peer Compute Cluster via Futureverse
3
-
Version: 0.3.0
3
+
Version: 0.4.0
4
4
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.
if (!p2p_can_connect(cluster, name=name, host=host, ssh_args=ssh_args)) {
103
-
stop(sprintf("Cannot connect to P2P cluster %s - make sure they have given you (%s) access", sQuote(cluster), sQuote(pico_username())))
103
+
stop(sprintf("Cannot connect to P2P cluster %s - make sure they have given you (%s) access", sQuote(cluster), sQuote(pico_username(host=host, ssh_args=ssh_args))))
if (cluster_owner== pico_username(host=host, ssh_args=ssh_args)) {
32
32
okay<-TRUE
33
33
cluster_name<-parts[2]
34
34
}
35
35
}
36
36
if (!okay) {
37
-
stop(sprintf("Argument 'cluster' must be of format '{owner}/{name}' or '{name}' where '{owner}' is your Pico username (%s): %s", sQuote(cluster), sQuote(pico_username())))
37
+
stop(sprintf("Argument 'cluster' must be of format '{owner}/{name}' or '{name}' where '{owner}' is your Pico username (%s): %s", sQuote(cluster), sQuote(pico_username(host=host, ssh_args=ssh_args))))
0 commit comments