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@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel