From 96d4fc5ed61f225a52a89fc04380fce73ed9794b Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Tue, 21 Jul 2020 10:51:12 +0200 Subject: [PATCH] Fix URLS --- DESCRIPTION | 2 +- vignettes/intro.Rmd | 4 ++-- vignettes/intro.Rmdin | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 82be54a..321ffaf 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -24,5 +24,5 @@ Suggests: mongolite Language: en-GB URL: https://docs.ropensci.org/ssh (website), - https://github.com/ropensci.org/ssh (devel) + https://github.com/ropensci/ssh (devel) VignetteBuilder: knitr diff --git a/vignettes/intro.Rmd b/vignettes/intro.Rmd index ed8ec37..74c7da7 100644 --- a/vignettes/intro.Rmd +++ b/vignettes/intro.Rmd @@ -32,13 +32,13 @@ Installation from source requires [`libssh`](https://www.libssh.org/) (which is sudo apt-get install -y libssh-dev ``` -On __Fedora__ we need [libssh-devel](https://apps.fedoraproject.org/packages/libssh-devel): +On __Fedora__ we need [libssh-devel](https://src.fedoraproject.org/rpms/libssh): ``` sudo yum install libssh-devel ```` -On __CentOS / RHEL__ we install [libssh-devel](https://apps.fedoraproject.org/packages/libssh-devel) via EPEL: +On __CentOS / RHEL__ we install [libssh-devel](https://src.fedoraproject.org/rpms/libssh) via EPEL: ``` sudo yum install epel-release diff --git a/vignettes/intro.Rmdin b/vignettes/intro.Rmdin index 33717ba..3badf8a 100644 --- a/vignettes/intro.Rmdin +++ b/vignettes/intro.Rmdin @@ -22,7 +22,7 @@ options(width = 120, max.print = 100) library(ssh) library <- function(package){ - withCallingHandlers(base::library(credentials), + withCallingHandlers(base::library(credentials), packageStartupMessage = function(e) { cat(e$message) invokeRestart("muffleMessage") @@ -44,13 +44,13 @@ Installation from source requires [`libssh`](https://www.libssh.org/) (which is sudo apt-get install -y libssh-dev ``` -On __Fedora__ we need [libssh-devel](https://apps.fedoraproject.org/packages/libssh-devel): +On __Fedora__ we need [libssh-devel](https://src.fedoraproject.org/rpms/libssh): ``` sudo yum install libssh-devel ```` -On __CentOS / RHEL__ we install [libssh-devel](https://apps.fedoraproject.org/packages/libssh-devel) via EPEL: +On __CentOS / RHEL__ we install [libssh-devel](https://src.fedoraproject.org/rpms/libssh) via EPEL: ``` sudo yum install epel-release @@ -116,7 +116,7 @@ ssh_key_info() ## Execute Script or Command -Run a command or script on the host and block while it runs. By default stdout and stderr are steamed directly back to the client. This function returns the exit status of the remote command (hence it does not automatically error for an unsuccessful exit status). +Run a command or script on the host and block while it runs. By default stdout and stderr are steamed directly back to the client. This function returns the exit status of the remote command (hence it does not automatically error for an unsuccessful exit status). ```{r} out <- ssh_exec_wait(session, command = 'whoami')