Commit 49729143 authored by Romulo Pereira Goncalves's avatar Romulo Pereira Goncalves
Browse files

Fix path in the installation.

parent c5921204
Pipeline #40729 passed with stages
in 22 minutes and 17 seconds
......@@ -75,7 +75,7 @@ HaSa is not yet available as a CRAN package. The user needs to install it direct
library(remotes)
remotes::install_git("https://git.gfz-potsdam.de/habitat-sampler/HabitatSampler.git",
ref = "master",
subdir = "R-package",
subdir = "R-package/hasa",
dependencies = NA,
upgrade = FALSE,
build = TRUE,
......
......@@ -2574,6 +2574,7 @@ window.onload = function() {
</style>
 
 
<style type="text/css">
code {
white-space: pre;
......@@ -2696,6 +2697,9 @@ button.code-folding-btn:focus {
summary {
display: list-item;
}
details > summary > p:only-child {
display: inline;
}
pre code {
padding: 0;
}
......@@ -2996,7 +3000,7 @@ div.tocify {
<p>HaSa is not yet available as a CRAN package. The user needs to install it directly from its repository. Since versions of certain packages were pinned (c.f., Section 2.1), the user should use <code>upgrade = FALSE</code> when calling <code>remotes::install_git</code>. In the following example the user can install the <code>HaSa</code> R package, build its manual and its vignettes.</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1"></a><span class="kw">library</span>(remotes)</span>
<span id="cb1-2"><a href="#cb1-2"></a>remotes<span class="op">::</span><span class="kw">install_git</span>(<span class="st">&quot;https://git.gfz-potsdam.de/habitat-sampler/HabitatSampler.git&quot;</span>, </span>
<span id="cb1-3"><a href="#cb1-3"></a> <span class="dt">ref =</span> <span class="st">&quot;master&quot;</span>, <span class="dt">subdir =</span> <span class="st">&quot;R-package&quot;</span>, <span class="dt">dependencies =</span> <span class="ot">NA</span>, <span class="dt">upgrade =</span> <span class="ot">FALSE</span>, </span>
<span id="cb1-3"><a href="#cb1-3"></a> <span class="dt">ref =</span> <span class="st">&quot;master&quot;</span>, <span class="dt">subdir =</span> <span class="st">&quot;R-package/hasa&quot;</span>, <span class="dt">dependencies =</span> <span class="ot">NA</span>, <span class="dt">upgrade =</span> <span class="ot">FALSE</span>, </span>
<span id="cb1-4"><a href="#cb1-4"></a> <span class="dt">build =</span> <span class="ot">TRUE</span>, <span class="dt">build_manual =</span> <span class="ot">TRUE</span>, <span class="dt">build_vignettes =</span> <span class="ot">TRUE</span>)</span></code></pre></div>
</div>
<div id="load-hasa" class="section level2">
No preview for this file type
......@@ -125,7 +125,7 @@ install the `HaSa` R package, build its manual and its vignettes.
``` r
library(remotes)
remotes::install_git("https://git.gfz-potsdam.de/habitat-sampler/HabitatSampler.git",
ref = "master", subdir = "R-package", dependencies = NA, upgrade = FALSE,
ref = "master", subdir = "R-package/hasa", dependencies = NA, upgrade = FALSE,
build = TRUE, build_manual = TRUE, build_vignettes = TRUE)
```
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment