Skip to content

Commit

Permalink
differences for PR #4
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 1, 2021
1 parent 82cb00e commit acd8000
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
30 changes: 26 additions & 4 deletions 01-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ exercises: 2
We can now include non-standard packages in our {sandpaper} sites and have them
be reproducible! Case in point: [the {cowsay}
package](https://cran.r-project.org/package=cowsay) is not one of the imports
for sandpaper, but I can use it to generate random cat facts for my lesson
for sandpaper, but I can use it to generate random cat facts for my lesson, as
shown below.

### Demo

Expand All @@ -38,6 +39,27 @@ library("cowsay")
say("catfact", "cat")
```

```{.output}
--------------
During the time of the Spanish Inquisition, Pope Innocent VIII condemned cats as evil and thousands of cats were burned. Unfortunately, the widespread killing of cats led to an explosion of the rat population, which exacerbated the effects of the Black Death.
--------------
\
\
\
|\___/|
==) ^Y^ (==
\ ^ /
)=*=(
/ \
| |
/| | | |\
\| | |_|/\
jgs //_// ___/
\_)
```

### Try it yourself!

To try this out, install the development version of sandpaper with `remotes`:
Expand Down Expand Up @@ -160,14 +182,14 @@ sessioninfo::session_info()
collate en_US.UTF-8
ctype en_US.UTF-8
tz UTC
date 2021-08-31
date 2021-09-01
─ Packages ───────────────────────────────────────────────────────────────────────────────────────
! package * version date lib source
R assertthat 0.2.1 <NA> [?] <NA>
R callr 3.7.0 <NA> [?] <NA>
P cli 3.0.1 2021-07-17 [?] CRAN (R 4.1.0)
P cowsay * 0.7.0 2018-09-18 [?] CRAN (R 4.1.1)
P cowsay * 0.8.0 2020-02-06 [?] CRAN (R 4.1.0)
P crayon 1.4.1 2021-02-08 [?] CRAN (R 4.1.0)
P curl * 4.3.2 2021-06-23 [?] CRAN (R 4.1.0)
P evaluate 0.14 2019-05-28 [?] CRAN (R 4.1.0)
Expand All @@ -189,7 +211,7 @@ sessioninfo::session_info()
P xfun 0.25 2021-08-06 [?] CRAN (R 4.1.0)
[1] /Users/runner/work/test-with-renv/test-with-renv/renv/profiles/packages/renv/library/R-4.1/x86_64-apple-darwin17.0
[2] /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/Rtmphy2q7Y/renv-system-library
[2] /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpfHxAd3/renv-system-library
P ── Loaded and on-disk path mismatch.
R ── Package was removed from disk.
Expand Down
2 changes: 1 addition & 1 deletion md5sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"CODE_OF_CONDUCT.md" "8d9e44dd5c39f241b5e8b47ecfc802d1" "site/built/CODE_OF_CONDUCT.md"
"LICENSE.md" "afaf427b4223952624dcb6d8ded53ec0" "site/built/LICENSE.md"
"index.md" "fe85ec17ac86b35703e6ccdc88eebee7" "site/built/index.md"
"episodes/01-introduction.Rmd" "cb436dbf1c8280ade802cb11fa97a4bb" "site/built/01-introduction.md"
"episodes/01-introduction.Rmd" "a9e77fd228359b9dcbbb54959cf895b1" "site/built/01-introduction.md"
"episodes/02-poppr-example.Rmd" "f7c5d90644197947807a1a22bbca4757" "site/built/02-poppr-example.md"
"instructors/instructor-notes.md" "60b93493cf1da06dfd63255d73854461" "site/built/instructor-notes.md"
"learners/Setup.md" "0e4e4d7028efbf7d756a08217126884f" "site/built/Setup.md"
Expand Down

0 comments on commit acd8000

Please sign in to comment.