Skip to content

governor

0.1.3

Speed Limiter to Control Rate of Execution of Loops

0packages depend
1.8Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Mike ChengFirst published 2024-07-122 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
Yes
Vignettes
No
README
0
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

1.8K
CRAN downloads in the past year
Rank #23,246 · ~5/day · ~152/mo
governor
Daily download trend is not available in this view yet.
19430 days
48290 days
1.8K1 year
Compare downloads with other packages →
Also on408 r2u16 autocran

Repository

Repository
8Stars
0Forks
1Open issues
0Open PRs
0Releases

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
C 451 (47%)R 199 (21%)Rd 199 (21%)Vignettes 117 (12%)
Code characteristics
Cyclomatic complexity
1.0 median / 7 max
Documented parameters
100%

Test coverage

Line coverage

Expression

Tests / Examples

Functions

23 8 exported

Complexity

1.8 avg / 7 max

Call network

23 nodes / 19 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Release timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.3Latest
    2024-08-25 · current release · diff ↗
  • 0.1.2
    2024-07-12
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-07-12
Total releases
2 / 2 yrs
License
MIT + file LICENSE OSI
Download size
15 KB
Installed size
not tracked yet
With dependencies
not tracked yet