Closed schloerke closed 4 years ago
Do we actually call any ssh::
functions?
Not directly. But analogsea
does, which it only suggests. plumberDeploy
calls analogsea::droplet_ssh
❯❯ analogsea::droplet_ssh
function (droplet, ..., user = "root", keyfile = NULL, ssh_passwd = NULL,
verbose = FALSE)
{
check_for_a_pkg("ssh")
....
❯❯ analogsea:::check_for_a_pkg
function (x)
{
if (!requireNamespace(x, quietly = TRUE)) {
stop("Please install ", x, call. = FALSE)
}
else {
invisible(TRUE)
}
}
<bytecode: 0x7fd57323f3a8>
<environment: namespace:analogsea>
❯❯ packageDescription("analogsea")$Suggests
[1] "testthat, knitr, ssh (>= 0.6), aws.s3"
Have validated with this PR that
do_provision(unstable = TRUE)
produces a working droplet and working plumber api.