Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notPlancha/settingsSync
R package and Rstudio Addin to sync its settings, keymaps and keyboard shortcuts, using Google Drive.
https://github.com/notPlancha/settingsSync
google-drive r-package rstudio rstudio-addin
Last synced: 12 days ago
JSON representation
R package and Rstudio Addin to sync its settings, keymaps and keyboard shortcuts, using Google Drive.
- Host: GitHub
- URL: https://github.com/notPlancha/settingsSync
- Owner: notPlancha
- License: apache-2.0
- Created: 2023-12-15T19:52:18.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-06-13T20:36:48.000Z (5 months ago)
- Last Synced: 2024-10-28T17:32:41.973Z (17 days ago)
- Topics: google-drive, r-package, rstudio, rstudio-addin
- Language: R
- Homepage:
- Size: 122 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - notPlancha/settingsSync - R package and Rstudio Addin to sync its settings, keymaps and keyboard shortcuts, using Google Drive. (R)
README
[![R-CMD-check](https://github.com/notPlancha/settingsSync/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/notPlancha/settingsSync/actions/workflows/R-CMD-check.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/settingsSync)](https://CRAN.R-project.org/package=settingsSync)# settingsSync
R package and Rstudio Addin to sync its settings, keymaps and keyboard shortcuts, using Google Drive.## Installation
```r
install.packages("settinsSync")
# or
pak::pak("notPlancha/settingsSync")
# or pak::pak("notPlancha/[email protected]") If you want a specific version
```
Version 2.0.0 is incompatible with CRAN policies, because it writes the files by default but it has a generally better api because of it.
Otherwise it's generally the same IMO.## Usage
You can directly call `settingsSync::sync()`, or use the Rstudio Addin (they do the same thing); and follow the instructions. The extension pulls the settings from Google Drive (if any), tries to merge them with the local settings (the package has conflict resolution), and then pushes the merged settings to Google Drive.## Contributing
I'm using [pixi](https://github.com/prefix-dev/pixi) to ease development, and [pre-commit](https://pre-commit.com/). So after cloning:```bash
# scoop install pixi
pixi install
pixi run hook-install
```
should do the trick. After that open the project in Rstudio. If you want to
install the exact package versions I used, then run `pak::lockfile_install()`.All of this is optional, it just helps upkeep for me. If you know what you're doing,
don't worry about it.> [!NOTE]
> I didn't add R to pixi because [Windows versions are not updated](https://github.com/conda-forge/r-base-feedstock/issues/248) and they don't work well with rstudio (and [rstudio in conda is also not updated as of writing](https://github.com/conda-forge/rstudio-feedstock/issues/29)).Feel free to open an issue or a PR.