[R-pkg-devel] Package writing to disc
||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Wed Apr 24 11:17:36 CEST 2019
On 24.04.2019 11:08, Berry Boessenkool wrote:
> I have a package with some keyboard shortcuts for Rstudio. Several friends and colleagues asked me to put it on CRAN.
> It includes a function to set the keyboard bindings that will write to ~/.R/rstudio/keybindings/addins.json et al.
> This is not allowed by CRAN policy:
> "Packages should not write in the user�s [...] file system [...]. Limited exceptions may be allowed in interactive sessions if the package obtains confirmation from the user."
> So if I include readline("Is it OK to write into the '~/.R/rstudio/keybindings' files? y/n: ")
> and explain this behaviour in the submission note, should I be fine to submit and see what happens?
> Thanks ahead,
> [[alternative HTML version deleted]]
> R-package-devel using r-project.org mailing list
More information about the R-package-devel