Skip to content

Commit

Permalink
Replace devtools::install_github() with remotes::install_github()
Browse files Browse the repository at this point in the history
- in README and vignette
  • Loading branch information
kbroman committed Jan 22, 2024
1 parent 485a6b8 commit 363d8c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ install.packages("aRxiv")

__Development Version__

Or use `devtools::install_github()` to get the (more recent) version
Or use `remotes::install_github()` to get the (more recent) version
at [GitHub](https://github.com/rOpenSci/aRxiv):

```r
install.packages("devtools")
library(devtools)
install.packages("remotes")
library(remotes)
install_github("ropensci/aRxiv")
```

Expand Down
6 changes: 3 additions & 3 deletions inst/doc/aRxiv.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,10 @@ <h2>Installation</h2>
<p>You can install the <a href="https://github.com/rOpenSci/aRxiv">aRxiv
package</a> via <a href="https://cran.r-project.org">CRAN</a>:</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" tabindex="-1"></a><span class="fu">install.packages</span>(<span class="st">&quot;aRxiv&quot;</span>)</span></code></pre></div>
<p>Or use <code>devtools::install_github()</code> to get the (possibly
<p>Or use <code>remotes::install_github()</code> to get the (possibly
more recent) version at <a href="https://github.com/rOpenSci/aRxiv">GitHub</a>:</p>
<div class="sourceCode" id="cb2"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb2-1"><a href="#cb2-1" tabindex="-1"></a><span class="fu">install.packages</span>(<span class="st">&quot;devtools&quot;</span>)</span>
<span id="cb2-2"><a href="#cb2-2" tabindex="-1"></a><span class="fu">library</span>(devtools)</span>
<div class="sourceCode" id="cb2"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb2-1"><a href="#cb2-1" tabindex="-1"></a><span class="fu">install.packages</span>(<span class="st">&quot;remotes&quot;</span>)</span>
<span id="cb2-2"><a href="#cb2-2" tabindex="-1"></a><span class="fu">library</span>(remotes)</span>
<span id="cb2-3"><a href="#cb2-3" tabindex="-1"></a><span class="fu">install_github</span>(<span class="st">&quot;ropensci/aRxiv&quot;</span>)</span></code></pre></div>
</div>
<div id="basic-use" class="section level2">
Expand Down
6 changes: 3 additions & 3 deletions vignettes/aRxiv.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ via [CRAN](https://cran.r-project.org):
install.packages("aRxiv")
```

Or use `devtools::install_github()` to get the (possibly more recent) version
Or use `remotes::install_github()` to get the (possibly more recent) version
at [GitHub](https://github.com/rOpenSci/aRxiv):

```{r install_pkgs, eval=FALSE}
install.packages("devtools")
library(devtools)
install.packages("remotes")
library(remotes)
install_github("ropensci/aRxiv")
```

Expand Down

0 comments on commit 363d8c1

Please sign in to comment.