diff --git a/.Rbuildignore b/.Rbuildignore index b0db0f5..01c7858 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -6,6 +6,7 @@ ^_pkgdown\.yml$ ^docs$ ^pkgdown$ +^revdep$ ^codecov\.yml$ ^cran-comments\.md$ ^[\.]?air\.toml$ diff --git a/.gitignore b/.gitignore index 2895218..04db3c7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,6 @@ .Ruserdata install docs +revdep .vscode air.toml diff --git a/DESCRIPTION b/DESCRIPTION index 35d37ac..46c5059 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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")), diff --git a/NEWS.md b/NEWS.md index 02ade49..135df50 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 diff --git a/cran-comments.md b/cran-comments.md index 0037a2f..9f32410 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -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 + diff --git a/src/watcher.c b/src/watcher.c index 1ae5ae9..61379ec 100644 --- a/src/watcher.c +++ b/src/watcher.c @@ -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++) {