Skip to content

Commit 07ab966

Browse files
committed
update readme and pkgdown
1 parent 8897f10 commit 07ab966

File tree

5 files changed

+21
-12
lines changed

5 files changed

+21
-12
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Description: R binding for 'libfswatch', a file system monitoring library. Watch
1515
activity, or run an R function every time a change event occurs.
1616
License: MIT + file LICENSE
1717
BugReports: https://github.com/r-lib/watcher/issues
18-
URL: https://r-lib.github.io/watcher/, https://github.com/r-lib/watcher
18+
URL: https://watcher.r-lib.org, https://github.com/r-lib/watcher
1919
Encoding: UTF-8
2020
SystemRequirements: 'libfswatch', or 'cmake' to compile from package sources
2121
Depends:

README.Rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ Watching is done asynchronously in the background, without blocking the session.
3838

3939
## Installation
4040

41-
Install the current development version of watcher using:
41+
Install watcher from CRAN with:
4242

4343
``` r
44-
pak::pak("r-lib/watcher")
44+
install.packages("watcher")
4545
```
4646

4747
#### Installation from Source

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ session.
3131

3232
## Installation
3333

34-
Install the current development version of watcher using:
34+
Install watcher from CRAN with:
3535

3636
``` r
37-
pak::pak("r-lib/watcher")
37+
install.packages("watcher")
3838
```
3939

4040
#### Installation from Source
@@ -78,7 +78,7 @@ w
7878
#> start: function ()
7979
#> stop: function ()
8080
#> Private:
81-
#> path: /tmp/RtmpgY1G2U/watcher-example
81+
#> path: /tmp/RtmpR5tJmF/watcher-example
8282
#> running: FALSE
8383
#> watch: externalptr
8484
w$start()
@@ -88,19 +88,19 @@ file.create(file.path(dir, "newfile"))
8888
file.create(file.path(dir, "anotherfile"))
8989
#> [1] TRUE
9090
later::run_now(1)
91-
#> [1] "/tmp/RtmpgY1G2U/watcher-example/newfile"
92-
#> [1] "/tmp/RtmpgY1G2U/watcher-example/anotherfile"
91+
#> [1] "/tmp/RtmpR5tJmF/watcher-example/newfile"
92+
#> [1] "/tmp/RtmpR5tJmF/watcher-example/anotherfile"
9393

9494
newfile <- file(file.path(dir, "newfile"), open = "r+")
9595
cat("hello", file = newfile)
9696
close(newfile)
9797
later::run_now(1)
98-
#> [1] "/tmp/RtmpgY1G2U/watcher-example/newfile"
98+
#> [1] "/tmp/RtmpR5tJmF/watcher-example/newfile"
9999

100100
file.remove(file.path(dir, "newfile"))
101101
#> [1] TRUE
102102
later::run_now(1)
103-
#> [1] "/tmp/RtmpgY1G2U/watcher-example/newfile"
103+
#> [1] "/tmp/RtmpR5tJmF/watcher-example/newfile"
104104

105105
w$stop()
106106
unlink(dir, recursive = TRUE, force = TRUE)

_pkgdown.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1-
url: https://r-lib.github.io/watcher/
1+
url: https://watcher.r-lib.org
2+
23
template:
4+
package: tidytemplate
35
bootstrap: 5
6+
7+
includes:
8+
in_header: |
9+
<script defer data-domain="watcher.r-lib.org,all.tidyverse.org" src="https://plausible.io/js/plausible.js"></script>
10+
11+
development:
12+
mode: auto

man/watcher-package.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)