Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
^_pkgdown\.yml$
^docs$
^pkgdown$
^revdep$
^codecov\.yml$
^cran-comments\.md$
^[\.]?air\.toml$
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
.Ruserdata
install
docs
revdep
.vscode
air.toml
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: watcher
Title: Watch the File System for Changes
Version: 0.1.3.9000
Version: 0.1.4
Authors@R: c(
person("Charlie", "Gao", , "charlie.gao@posit.co", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-0750-061X")),
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# watcher (development version)
# watcher 0.1.4

* Watcher can now use a system-installed 'libfswatch' in a non-standard filesystem location.
* Watcher can now use a system 'libfswatch' installed in a non-standard location (#28).

# watcher 0.1.3

Expand Down
13 changes: 12 additions & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## R CMD check results

0 errors | 0 warnings | 0 notes
0 errors | 0 warnings | 1 note

Note on CRAN incoming feasibility: change of maintainer email address.
I've already emailed cran-submissions about this.

## revdepcheck results

We checked 1 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages

4 changes: 2 additions & 2 deletions src/watcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ static void Wprintf(const char *fmt, ...) {

}

static inline void watcher_error(FSW_HANDLE handle, const char *msg) {
static void watcher_error(FSW_HANDLE handle, const char *msg) {

if (handle) fsw_destroy_session(handle);
Rf_error("%s", msg);

}

static inline void watcher_unwind(watcher_cb *wcb) {
static void watcher_unwind(watcher_cb *wcb) {

if (wcb->paths) {
for (unsigned int i = 0; i < wcb->event_num; i++) {
Expand Down
Loading