Skip to content

Commit b5d7d8d

Browse files
committed
Check spelling
1 parent 0122c47 commit b5d7d8d

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

inst/WORDLIST

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Acknowledgement
2+
AppVeyor
3+
Codecov
4+
Hadley
5+
Lifecycle
6+
ORCID
7+
RStudio
8+
Wickham
9+
backports
10+
kimisc
11+
knitr
12+
pandoc
13+
rcc
14+
readxl
15+
rmarkdown
16+
testthat
17+
tidyverse
18+
wercker
19+
whereami

vignettes/rprojroot.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ rel_path_from_root <- find_root_file("R", "rrmake.R", criterion = has_file("DESC
210210
Since Examples A and B used different working directories, `rel_path_from_vignettes` and `rel_path_from_testthat` were different. This is an issue when trying to re-use the same code. This issue is solved by using *rprojroot*: the function `find_root_file()` finds a file relative from the root, where the root is determined from checking the criterion with `has_file()`.
211211

212212

213-
Note that the follow code produces identical results when building the vignette *and* when sourcing the chunk in RStudio, provided that the current working directory is the project root or anywhere below. So, we can check to make sure that *rprojroot* has succesfully determined the correct path:
213+
Note that the follow code produces identical results when building the vignette *and* when sourcing the chunk in RStudio, provided that the current working directory is the project root or anywhere below. So, we can check to make sure that *rprojroot* has successfully determined the correct path:
214214

215215
```{r}
216216
# Specify a path/to/file relative to the root

0 commit comments

Comments
 (0)