Skip to content

Commit 398b11b

Browse files
author
mikblack
committed
lesson 3 typos
1 parent 990e2b3 commit 398b11b

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

R_Packages_Functions/03_package_anatomy.Rmd

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ output: ioslides_presentation
1414
- pdf: http://shop.oreilly.com/product/0636920034421.do
1515
- paper/kindle: http://www.amazon.com/dp/1491910593/
1616
- There are a few more things worth knowing though... (and many of them I learned from Hadley)
17-
- Note that Hadley's approach to creating packages is based on some additional functionality provided by RStudio: we haven't explicity utilized that here (more later).
17+
- Note that Hadley's approach to creating packages is based on some additional functionality provided by RStudio: we haven't explicitly utilized that here (more later).
1818

1919
## Aside - it's a package, not a library...
2020

21-
- Just a minor pont:
21+
- Just a minor point:
2222
- package: the thing we just made (basically a collection of functions).
23-
- library: a place where lots of packages live (i.e., a directory in your computer's filesystem).
23+
- library: a place where lots of packages live (i.e., a directory in your computer's file system).
2424

2525
## What is in our package?
2626
- Code: the 'R' directory
2727
- Package metadata: DESCRIPTION file
2828
- developer info (that's you)
29-
- includes dependency infomation (packages, R version etc)
29+
- includes dependency information (packages, R version etc)
3030
- version number
3131
- Documentation: the man directory
3232
- Objects and functions
@@ -63,7 +63,7 @@ list.files(pattern="*.gz")
6363

6464
## Sharing your package
6565

66-
- Easy to share aa version you package with others.
66+
- Easy to share a version of your package with others.
6767
- What happens when you change something?
6868
- Need a system that allows users to automatically update their version of the package, without you having to rebuild it and send it to them.
6969
- Perhaps time for some version control....
@@ -72,7 +72,7 @@ list.files(pattern="*.gz")
7272

7373
- Git provides the ability to track changes to the files that make up your package.
7474
- GitHub extends this functionality be providing a centralised repository where the evolving (and stable) versions of a package can be stored, and accessed by others.
75-
- The `devtools` packages provides an interface between R and GitHub, so that packages can be installed directly from a github repository.
75+
- The `devtools` packages provides an interface between R and GitHub, so that packages can be installed directly from a GitHub repository.
7676
- We've already done this with the `roxygen2` package:
7777
```{r, eval=F}
7878
devtools::install_github("klutometis/roxygen")
@@ -81,11 +81,11 @@ devtools::install_github("klutometis/roxygen")
8181

8282
## The beauty of devtools...
8383

84-
- `devtools` has made package dvelopment and distribution simple
84+
- `devtools` has made package development and distribution simple
8585
- Previously developers had to release packages through an established repository (e.g., CRAN or Bioconductor), or host copies of the package source code that could be downloaded and installed.
8686
- Now the same tools being used to provide centralised version control (Git and GitHub), are also being used for package distribution.
8787
- Even if you're only developing packages for yourself, the combination of `devtools`, `roxygen2`, Git and GitHub is a powerful development platform.
88-
- Now you just need to impliment some testing...
88+
- Now you just need to implement some testing...
8989

9090

9191

R_Packages_Functions/03_package_anatomy.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,17 @@ <h2 data-config-subtitle><!-- populated from slide_config.json --></h2>
105105
<li>paper/kindle: <a href='http://www.amazon.com/dp/1491910593/' title=''>http://www.amazon.com/dp/1491910593/</a></li>
106106
</ul></li>
107107
<li>There are a few more things worth knowing though&#8230; (and many of them I learned from Hadley)</li>
108-
<li>Note that Hadley&#39;s approach to creating packages is based on some additional functionality provided by RStudio: we haven&#39;t explicity utilized that here (more later).</li>
108+
<li>Note that Hadley&#39;s approach to creating packages is based on some additional functionality provided by RStudio: we haven&#39;t explicitly utilized that here (more later).</li>
109109
</ul>
110110

111111
</article></slide><slide class=''><hgroup><h2>Aside - it&#39;s a package, not a library&#8230;</h2></hgroup><article id="aside---its-a-package-not-a-library...">
112112

113113
<ul>
114-
<li>Just a minor pont:
114+
<li>Just a minor point:
115115

116116
<ul>
117117
<li>package: the thing we just made (basically a collection of functions).</li>
118-
<li>library: a place where lots of packages live (i.e., a directory in your computer&#39;s filesystem).</li>
118+
<li>library: a place where lots of packages live (i.e., a directory in your computer&#39;s file system).</li>
119119
</ul></li>
120120
</ul>
121121

@@ -127,7 +127,7 @@ <h2 data-config-subtitle><!-- populated from slide_config.json --></h2>
127127

128128
<ul>
129129
<li>developer info (that&#39;s you)</li>
130-
<li>includes dependency infomation (packages, R version etc)</li>
130+
<li>includes dependency information (packages, R version etc)</li>
131131
<li>version number</li>
132132
</ul></li>
133133
<li>Documentation: the man directory
@@ -187,7 +187,7 @@ <h2 data-config-subtitle><!-- populated from slide_config.json --></h2>
187187
</article></slide><slide class=''><hgroup><h2>Sharing your package</h2></hgroup><article id="sharing-your-package">
188188

189189
<ul>
190-
<li>Easy to share aa version you package with others.</li>
190+
<li>Easy to share a version of your package with others.</li>
191191
<li>What happens when you change something?</li>
192192
<li>Need a system that allows users to automatically update their version of the package, without you having to rebuild it and send it to them.</li>
193193
<li>Perhaps time for some version control&#8230;.</li>
@@ -198,7 +198,7 @@ <h2 data-config-subtitle><!-- populated from slide_config.json --></h2>
198198
<ul>
199199
<li>Git provides the ability to track changes to the files that make up your package.</li>
200200
<li>GitHub extends this functionality be providing a centralised repository where the evolving (and stable) versions of a package can be stored, and accessed by others.</li>
201-
<li>The <code>devtools</code> packages provides an interface between R and GitHub, so that packages can be installed directly from a github repository.</li>
201+
<li>The <code>devtools</code> packages provides an interface between R and GitHub, so that packages can be installed directly from a GitHub repository.</li>
202202
<li>We&#39;ve already done this with the <code>roxygen2</code> package:</li>
203203
</ul>
204204

@@ -211,14 +211,14 @@ <h2 data-config-subtitle><!-- populated from slide_config.json --></h2>
211211
</article></slide><slide class=''><hgroup><h2>The beauty of devtools&#8230;</h2></hgroup><article id="the-beauty-of-devtools...">
212212

213213
<ul>
214-
<li><code>devtools</code> has made package dvelopment and distribution simple
214+
<li><code>devtools</code> has made package development and distribution simple
215215

216216
<ul>
217217
<li>Previously developers had to release packages through an established repository (e.g., CRAN or Bioconductor), or host copies of the package source code that could be downloaded and installed.</li>
218218
<li>Now the same tools being used to provide centralised version control (Git and GitHub), are also being used for package distribution.<br/></li>
219219
</ul></li>
220220
<li>Even if you&#39;re only developing packages for yourself, the combination of <code>devtools</code>, <code>roxygen2</code>, Git and GitHub is a powerful development platform.</li>
221-
<li>Now you just need to impliment some testing&#8230;</li>
221+
<li>Now you just need to implement some testing&#8230;</li>
222222
</ul></article></slide>
223223

224224

0 commit comments

Comments
 (0)