Skip to content

Commit

Permalink
cleaning up site
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrimas committed Mar 20, 2018
1 parent 7fa5178 commit af654d9
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 4 deletions.
3 changes: 0 additions & 3 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ navbar:
href: articles/auk.html
- text: Function Reference
href: reference/index.html
right:
- icon: fa-github fa-lg
href: https://github.com/CornellLabofOrnithology/auk

authors:
Matthew Strimas-Mackey:
Expand Down
1 change: 1 addition & 0 deletions docs/articles/auk.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions inst/doc/auk.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ awk_script <- system.file("extdata/ebd-sample.txt", package = "auk") %>%
auk_filter(awk_file = "awk-script.txt", execute = FALSE)
# read back in and prepare for printing
awk_file <- readLines(awk_script)
unlink("awk-script.txt")
awk_file[!grepl("^[[:space:]]*$", awk_file)] %>%
paste0(collapse = "\n") %>%
cat()
Expand Down
1 change: 1 addition & 0 deletions inst/doc/auk.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ awk_script <- system.file("extdata/ebd-sample.txt", package = "auk") %>%
auk_filter(awk_file = "awk-script.txt", execute = FALSE)
# read back in and prepare for printing
awk_file <- readLines(awk_script)
unlink("awk-script.txt")
awk_file[!grepl("^[[:space:]]*$", awk_file)] %>%
paste0(collapse = "\n") %>%
cat()
Expand Down
1 change: 1 addition & 0 deletions inst/doc/auk.html
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ <h3>Saving the AWK command</h3>
<span class="st"> </span><span class="kw">auk_filter</span>(<span class="dt">awk_file =</span> <span class="st">&quot;awk-script.txt&quot;</span>, <span class="dt">execute =</span> <span class="ot">FALSE</span>)
<span class="co"># read back in and prepare for printing</span>
awk_file &lt;-<span class="st"> </span><span class="kw">readLines</span>(awk_script)
<span class="kw">unlink</span>(<span class="st">&quot;awk-script.txt&quot;</span>)
awk_file[<span class="op">!</span><span class="kw">grepl</span>(<span class="st">&quot;^[[:space:]]*$&quot;</span>, awk_file)] <span class="op">%&gt;%</span><span class="st"> </span>
<span class="st"> </span><span class="kw">paste0</span>(<span class="dt">collapse =</span> <span class="st">&quot;</span><span class="ch">\n</span><span class="st">&quot;</span>) <span class="op">%&gt;%</span><span class="st"> </span>
<span class="st"> </span><span class="kw">cat</span>()
Expand Down
1 change: 1 addition & 0 deletions vignettes/auk.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ awk_script <- system.file("extdata/ebd-sample.txt", package = "auk") %>%
auk_filter(awk_file = "awk-script.txt", execute = FALSE)
# read back in and prepare for printing
awk_file <- readLines(awk_script)
unlink("awk-script.txt")
awk_file[!grepl("^[[:space:]]*$", awk_file)] %>%
paste0(collapse = "\n") %>%
cat()
Expand Down

0 comments on commit af654d9

Please sign in to comment.