Skip to content

Commit

Permalink
correct three more typos in new vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Apr 8, 2021
1 parent 40cba05 commit 65f35d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2021-04-08 Dirk Eddelbuettel <edd@debian.org>

* vignettes/DratStepByStep.Rmd: Fix more typos thanks to Roman

2021-04-08 Felix Ernst <felix.gm.ernst@outlook.com>

tests/skeleton_git2r.R: Refactored and restructed for docs/ use
Expand Down
6 changes: 3 additions & 3 deletions vignettes/DratStepByStep.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ git clone git@github.com:donalduck/quacking
This will _clone_ the repository to your local machine which creates a local copy typically used for read-only access.

Now that you have the source, create a package from them via `R CMD build .` inside the `quacking` repository.
This will generate are source file, say `quacking_1.2.3.tar.gz`.
This will generate a source file, say `quacking_1.2.3.tar.gz`, for this repository.

(You can also create a binary package if you want, and/or do so from, say, within RStudio.
We focus on command-line use here.)
Expand Down Expand Up @@ -118,7 +118,7 @@ In the above "1.2.3" is a possible placeholder for the actual version number of
This will add the quacking source and binary package to the folders `drat/docs/src/contrib` and `drat/docs/bin/windows/contrib/4.0`.
If you only have a source package, just omit the binary package ending in `.zip`.

Optionally, change to content of the file `drat/README.md` to fit your purpose.
Optionally, change the content of the file `drat/README.md` to fit your purpose.
The file can be also be deleted altogether.

#### Finalising
Expand Down Expand Up @@ -153,7 +153,7 @@ install.packages("quacking", repos="https://yourname.github.io/drat")
```

and verify that the package is installed successfully.
(Note that you may have to say `type="source"` if your operating prefers source installation and you only added a source version to your [`drat`](https://github.com/eddelbuettel/drat) repository.)
(Note that you may have to say `type="source"` if your operating system prefers source installation and you only added a source version to your [`drat`](https://github.com/eddelbuettel/drat) repository.)

#### Use the [`drat`](https://github.com/eddelbuettel/drat) repo

Expand Down
6 changes: 3 additions & 3 deletions vignettes/DratStepByStep.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h4>Prepare the dependent package</h4>
</ul>
<pre class="shell="><code>git clone git@github.com:donalduck/quacking</code></pre>
<p>This will <em>clone</em> the repository to your local machine which creates a local copy typically used for read-only access.</p>
<p>Now that you have the source, create a package from them via <code>R CMD build .</code> inside the <code>quacking</code> repository. This will generate are source file, say <code>quacking_1.2.3.tar.gz</code>.</p>
<p>Now that you have the source, create a package from them via <code>R CMD build .</code> inside the <code>quacking</code> repository. This will generate a source file, say <code>quacking_1.2.3.tar.gz</code>, for this repository.</p>
<p>(You can also create a binary package if you want, and/or do so from, say, within RStudio.<br />
We focus on command-line use here.)</p>
</section>
Expand Down Expand Up @@ -105,7 +105,7 @@ <h4>Ensure you have the <code>drat</code> package</h4>
insertPackage(file=c(&quot;quacking/quacking_1.2.3.tar.gz&quot;, &quot;quacking/quacking_1.2.3.zip&quot;),
repodir=&quot;drat/&quot;)</code></pre>
<p>In the above “1.2.3” is a possible placeholder for the actual version number of the quacking package, just as quacking is a placeholder for your actual package of interest. This will add the quacking source and binary package to the folders <code>drat/docs/src/contrib</code> and <code>drat/docs/bin/windows/contrib/4.0</code>. If you only have a source package, just omit the binary package ending in <code>.zip</code>.</p>
<p>Optionally, change to content of the file <code>drat/README.md</code> to fit your purpose. The file can be also be deleted altogether.</p>
<p>Optionally, change the content of the file <code>drat/README.md</code> to fit your purpose. The file can be also be deleted altogether.</p>
</section>
<section id="finalising" class="level4">
<h4>Finalising</h4>
Expand All @@ -124,7 +124,7 @@ <h4>Finalising</h4>
<h4>Test it</h4>
<p>To test whether the package can be installed from your new repository, type in R</p>
<pre class="r="><code>install.packages(&quot;quacking&quot;, repos=&quot;https://yourname.github.io/drat&quot;)</code></pre>
<p>and verify that the package is installed successfully. (Note that you may have to say <code>type=&quot;source&quot;</code> if your operating prefers source installation and you only added a source version to your <a href="https://github.com/eddelbuettel/drat"><code>drat</code></a> repository.)</p>
<p>and verify that the package is installed successfully. (Note that you may have to say <code>type=&quot;source&quot;</code> if your operating system prefers source installation and you only added a source version to your <a href="https://github.com/eddelbuettel/drat"><code>drat</code></a> repository.)</p>
</section>
<section id="use-the-drat-repo" class="level4">
<h4>Use the <a href="https://github.com/eddelbuettel/drat"><code>drat</code></a> repo</h4>
Expand Down

0 comments on commit 65f35d5

Please sign in to comment.