Thank you for your interest in RDesk!
Branch Strategy
-
main: Stable, CRAN-tagged releases ONLY. Direct pushes to this branch are prohibited. -
dev: Active development branch. All internal work, features, and fixes happen here first.
How to Contribute
Fork the repository
-
Create a feature branch from
dev: Make your changes with clear, atomic commits.
Open a Pull Request targeting
dev, notmain. PRs tomainwill only be merged fromdevduring a release cycle.
Development setup
- Clone the repository
- Install Rtools44 from https://cran.r-project.org/bin/windows/Rtools/
- Install dependencies:
devtools::install_deps() - Run checks:
devtools::check()
Important: OneDrive / synced folder warning
Do not develop RDesk from a folder synced by OneDrive or similar. The g++ compiler reads stale cached source files from synced folders, producing ghost bugs where code changes have no effect. Always work from a local non-synced directory such as C:/Projects/RDesk. The build system copies source to a temp directory to mitigate this, but working locally is still strongly recommended.
Building the launcher
The C++ launcher is compiled automatically by build_app(). To compile manually for development:
source("R/build.R")
rdesk_build_stub(
stub_cpp = "inst/stub/stub.cpp",
out_exe = "inst/bin/rdesk-launcher.exe",
app_name = "RDesk"
)Running the demo app
devtools::load_all()
source("inst/apps/mtcars_dashboard/app.R")