Skip to content

tomaztk/LazyMouse

Repository files navigation

LazyMouse

Overview

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 the package

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.

Usage

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
)

Cloning / fork the repository

You can follow the steps below to clone the repository.

git clone https://github.com/tomaztk/LazyMouse.git

Contributing

Thanks to these wonderful community people testing, providing feedback and making the library better! For contributing please read the contributing file.

License

MIT license

ToDO

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