[R-pkg-devel] Package writing to disc
Uwe Ligges
||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:
>
> Hi,
>
> 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.
> https://github.com/brry/rskey/blob/master/R/setKeyboardBindings.R
> 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?
Yes.
Best,
Uwe Ligges
> Thanks ahead,
> Berry
>
>
> [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
More information about the R-package-devel
mailing list