#' Check the queue on Peregrine
#'
#' This is pure laziness. Shortcut for `squeue -u $USER`.
#'
#' @author Théo Pannetier
#' @export
queue <- function() {
session <- ssh::ssh_connect(
"p282688@peregrine.hpc.rug.nl"
)
ssh::ssh_exec_wait(
session = session,
command = "squeue -u $USER"
)
ssh::ssh_disconnect(
session = session
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.