Package: governor 0.1.3
governor: Speed Limiter to Control Rate of Execution of Loops
It can be necessary to limit the rate of execution of a loop or repeated function call e.g. to show or gather data only at particular intervals. This package includes two methods for limiting this execution rate; speed governors and timers. A speed governor will insert pauses during execution to meet a user-specified loop time. Timers are alarm clocks which will indicate whether a certain time has passed. These mechanisms are implemented in 'C' to minimize processing overhead.
Authors:
governor_0.1.3.tar.gz
governor_0.1.3.zip(r-4.7)governor_0.1.3.zip(r-4.6)governor_0.1.3.zip(r-4.5)
governor_0.1.3.tgz(r-4.6-x86_64)governor_0.1.3.tgz(r-4.6-arm64)governor_0.1.3.tgz(r-4.5-x86_64)governor_0.1.3.tgz(r-4.5-arm64)
governor_0.1.3.tar.gz(r-4.7-arm64)governor_0.1.3.tar.gz(r-4.7-x86_64)governor_0.1.3.tar.gz(r-4.6-arm64)governor_0.1.3.tar.gz(r-4.6-x86_64)
governor_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
governor/json (API)
| # Install 'governor' in R: |
| install.packages('governor', repos = c('https://coolbutuseless.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/coolbutuseless/governor/issues
Last updated from:7968a23647. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 141 | ||
| linux-devel-x86_64 | OK | 116 | ||
| source / vignettes | OK | 164 | ||
| linux-release-arm64 | OK | 104 | ||
| linux-release-x86_64 | OK | 95 | ||
| macos-release-arm64 | OK | 76 | ||
| macos-release-x86_64 | OK | 190 | ||
| macos-oldrel-arm64 | OK | 121 | ||
| macos-oldrel-x86_64 | OK | 172 | ||
| windows-devel | OK | 152 | ||
| windows-release | OK | 85 | ||
| windows-oldrel | OK | 134 | ||
| wasm-release | OK | 93 |
Exports:gov_disablegov_enablegov_initgov_waittimer_checktimer_disabletimer_enabletimer_init
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Disable/enable a governor | gov_disable gov_enable |
| Initialize a governor to control the speed of a loop | gov_init |
| Wait an appropriate amount of time within a for-loop to match the desired interval set in 'gov' | gov_wait |
| Check the status of a timer | timer_check |
| Disable/enable a timer | timer_disable timer_enable |
| Create a timer object which will return 'TRUE' when checked and the given duration has elapsed. | timer_init |
