Closed thomaszwagerman closed 1 month ago
On inspection, fs::file_temp()
is used with ext
in other files, opening a PR.
thanks for this @thomaszwagerman, and sorry for any inconvenience.
Also note that you now appear proudly on the allcontributors section of this package. Thanks!
No worries, thank you!
Running
ctags_install()
on Ubuntu 24.04 fails:See below:
https://github.com/ropensci-review-tools/pkgstats/blob/e6c0d98c38f0fa26693b67f3af1b2a427f9added/R/ctags-install.R#L48
On inspection,
fs::file_temp()
actually expectsext
rather thanfileext
.See
fs::file_temp()
: https://github.com/r-lib/fs/blob/2807019e843c956b508ba79fd001a9d1c0e460e0/R/temp.R#L42I see why this is confusing, because base's
tempfile()
uses thefileext
argument.Happy to open a PR. I assume
fs::file_temp()
should be used, and the argument changed fromfileext
toext
but checking first whether shouldtempfile()
should be used instead?