LayzMouse
is an R package with single function for randomly moving mouse cursor in your favorite R IDE.
For every R developer, R data scientists and all those everyday R users, that
also need a break.
install.packages("remotes")
remotes::install_github("tomaztk/LazyMouse")
The complete installation (with all dependencies and packages preinstalled), can be found in the file: Install_package.r. For better convenience have RTools installed as well in your working environment.
library(LazyMouse)
LazyMouse::lazy_mouse(
number_of_repetitions = 5, # number of loops
time_between_repetitions = 10, # time in seconds between each loop
pixels = 150 # random change of x-axis / y-axis mouse position
)
You can follow the steps below to clone the repository.
git clone https://github.com/tomaztk/LazyMouse.git
Thanks to these wonderful community people testing, providing feedback and making the library better! For contributing please read the contributing file.
MIT license
Next improvements:
- Package testing (R versions and systems). Tested on R 4.4.1 and 4.3.1. versions.
- Testing Win 10 and lower. Tested on Win11.
- Testing MacOS 18 and lower. Tested on MacOs26.x
- Teams / Skype / Slack online status to remain green
