Functions for Timing R Scripts, as Well as Implementations of "Stack" and "StackList" Structures
- CRAN checks, method
Method
Checks and health
CRAN runs every current package through
R CMD checkon a set of machines and publishes a result for each one. The health shown on a package page comes from these results alone.- Problems
- Notes alone never count against a package, but a warning, an error or a failure on any platform is a problem. Open CRAN deadlines are a fact of their own, shown as a clock after the mark, so the mark always says what the checks found.
- Checks only
- Health reflects CRAN's check results and nothing else. Even a package with no tests, no coverage or no recent release can have every platform OK.
- Once a day
- Results are collected once a day from files CRAN publishes. Each platform is one machine set-up, named by its R version, operating system, architecture and compiler, such as r-devel-linux-x86_64-fedora-clang.
- Platforms counted
- The 13 in 3 of 13 is the number of platform rows CRAN published for that package on the day of collection. The set of machines changes over time, so the number is not fixed, and a package missing from a platform counts as neither passing nor failing there.
- OKnotes on 2 of 13
- CRAN 30-day downloads, method
- 14,739+1% up on the 30 days before, the better direction
- Dependent packages, method
Method
Reverse dependencies
Dependent packages are other packages that list this one under
Depends,ImportsorLinkingToin theirDESCRIPTIONfile. Those fields list the packages a package needs to install, so dependents break if this one is archived or broken.- As declared
- The counts follow the declarations as written, not whether a package uses the other one when it runs.
- Suggests apart
- Packages that list this one only under
Suggestsinstall and run without it, and use it for tests, examples or an optional feature. They are counted as Suggested by, never among the dependents, and a package that also lists it under one of the three fields is a dependent and is not counted again. - Zero
- Zero dependents means no current CRAN package declares a need for this one, though some may suggest it. On 27 Oct 2026, 19,551 of the 25,555 current CRAN packages had no dependent package.
- 3142 more suggest it
- Test coverage, method
Method
Test coverage
Test coverage is measured by downloading each CRAN package's current source file, installing its dependencies, building it and running its tests under covr.
- Almost half of CRAN has no tests to run
- Only CRAN packages are measured. Many have no percentage, most often because the package has no tests, and that blank is a recorded outcome, not missing data.
- NOT_CRAN
- Tests run with NOT_CRAN=true, so tests that skip themselves on CRAN run here, and the figure can differ from what CRAN's own checks see.
- Current version only
- Only the current version is measured, and a new version on CRAN is measured again. Older rows are kept but never filled in later. This is one package's run.
- Never 0%
- On a package page three states stay apart: measured, no tests, and not measured. Neither of the last two is ever shown as 0%.
- 90%of lines run by tests
- Advisories, method
Method
Security advisories
Advisories come from the R Consortium advisory database, a community record of security problems in R packages, as OSV publishes it.
- The copy
- The record is read once a day. The data is published under the Apache License 2.0 and is credited on the advisories list.
- Box under the name
- Under the package's name, a box names any advisory that affects the current release, with its fix or that there is none.
- Ranges
- Advisories state ranges, such as from 0.9.12 up to but not including 1.8.8. Each range is checked against every version CRAN has published, using the version rules R itself uses, so a release that came out after the advisory was written is still caught by its range.
- Not the package
- The rating is for the library flaw itself, not for how exposed the R package is, and it is never added up into a figure for the package.
- None known
About
Method, About Method Licence figures come from the Licences
License field of each package's DESCRIPTION file, read the way R itself reads it. No licence file is opened.tools::analyze_license() and R's own licence database, as CRAN's checks read it.| is read, so one string can offer two families.
Code execution timing functions 'tic' and 'toc' that can be nested. One can record all timings while a complex script is running, and examine the values later. It is also possible to instrument the timing calls with custom callbacks.
Full description
Code execution timing functions 'tic' and 'toc' that can be nested. One can record all timings while a complex script is running, and examine the values later. It is also possible to instrument the timing calls with custom callbacks. In addition, this package provides class 'Stack', implemented as a vector, and class 'StackList', which is a stack implemented as a list, both of which support operations 'push', 'pop', 'first_element', 'last_element' and 'clear'.
- Maintainer
- Sergei Izrailev
- Latest release
- 18 Mar 2024
- First release
- 17 Jun 2014
More details
- Releases
- 5
- Needs compilation
- No
- Needs R
- >= 2.15
- Config/testthat/edition
- 3
- RoxygenNote
- 7.2.3
Cite
Package
Run in R for the authors' preferred citation:
citation("tictoc")R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
Balamuta, J. J. (2026). R Observatory: Metrics for tictoc version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-10-27. https://doi.org/10.5281/zenodo.21843040
About
From data release v2026-10-27, which the citation names so these numbers can be found later.
Health
No warnings or errors. 2 of 13 check platforms have notes.
r-devel-linux-x86_64-debian-clangThe unreleased R on Linux, x86_64, debian-clang
Note
- Version checked
- 1.2.1
- Time taken
- 26 s
CRAN incoming feasibility: Note
Maintainer: ‘Sergei Izrailev <sizrailev@jabiruventures.com>’
r-devel-linux-x86_64-debian-gccThe unreleased R on Linux, x86_64, debian-gcc
Note
- Version checked
- 1.2.1
- Time taken
- 22 s
CRAN incoming feasibility: Note
Maintainer: ‘Sergei Izrailev <sizrailev@jabiruventures.com>’
r-devel-linux-x86_64-fedora-clangThe unreleased R on Linux, x86_64, fedora-clang
OK
- Version checked
- 1.2.1
- Time taken
- 22 s
r-devel-linux-x86_64-fedora-gccThe unreleased R on Linux, x86_64, fedora-gcc
OK
- Version checked
- 1.2.1
- Time taken
- 18 s
r-devel-windows-x86_64The unreleased R on Windows, x86_64
OK
- Version checked
- 1.2.1
- Time taken
- 85 s
r-oldrel-macos-arm64The previous release of R on macOS, arm64
OK
- Version checked
- 1.2.1
r-oldrel-macos-x86_64The previous release of R on macOS, x86_64
OK
- Version checked
- 1.2.1
- Time taken
- 52 s
r-oldrel-windows-x86_64The previous release of R on Windows, x86_64
OK
- Version checked
- 1.2.1
- Time taken
- 72 s
r-patched-linux-x86_64The patched release of R on Linux, x86_64
OK
- Version checked
- 1.2.1
- Time taken
- 24 s
r-release-linux-x86_64The current release of R on Linux, x86_64
OK
- Version checked
- 1.2.1
- Time taken
- 24 s
r-release-macos-arm64The current release of R on macOS, arm64
OK
- Version checked
- 1.2.1
- Time taken
- 35 s
r-release-macos-x86_64The current release of R on macOS, x86_64
OK
- Version checked
- 1.2.1
- Time taken
- 59 s
r-release-windows-x86_64The current release of R on Windows, x86_64
OK
- Version checked
- 1.2.1
- Time taken
- 71 s
- 2 Note
- 11 OK
Check output (1)
CRAN incoming feasibility, Note on 2 platforms
Maintainer: ‘Sergei Izrailev <sizrailev@jabiruventures.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Sergei",
family = "Izrailev",
role = c("aut", "cre"),
email = "sizrailev@jabiruventures.com")
as necessary.Downloads
Method, Downloads Method Download figures count requests logged by each distribution channel. They are not counts of installs or of users, because each channel publishes its own totals and this site reads them.Downloads
- Total downloads in the last 30 days
- 17,102+3.9% up on the 30 days before, the better directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.
CRAN rank
931 of 26,529
CRAN
14,739 downloads in the last 30 days
- Rank
- 931 of 26,529
- Change
- +1% up on the 30 days before, the better direction
It is in the total. Take it out
r2u
1,202 downloads in the last 30 days
- Rank
- 761 of 30,526
- Change
- +85.5% up on the 30 days before, the better direction
It is in the total. Take it out
autoCRAN
5 downloads in the last 30 days
- Rank
- 10,712 of 29,212
- Change
- −66.7% down on the 30 days before, the worse direction
It is in the total. Take it out
conda-forge
1,135 downloads in the last 30 days
- Rank
- 944 of 3,828
- Change
- −3.3% down on the 30 days before, the worse direction
It is in the total. Take it out
c2d4u, no longer updated
21 downloads in the last 30 days
- Rank
- 861 of 7,575
- Change
- −19.2% down on the 30 days before, the worse direction
It is in the total. Take it out
The total is 17,102 downloads in the last 30 days. It is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.
Over time
Dependencies
- Needs
- 1
- Dependent packages
- 31
- Suggested by
- 42
Needs (1)
- methods
- Installing it adds
- 0 packages, 0 KB of source
- Of those, need compilation
- 0
Optional extras (1)
Dependent packages (31)
| Package | Title | Downloads in 30 days |
|---|---|---|
| multilevLCA | Estimates and Plots Single-Level and Multilevel Latent Class Models | 800 |
| maestro | Orchestration of Data Pipelines | 781 |
| modeltime.resample | Resampling Tools for Time Series Forecasting | 659 |
| modeltime.ensemble | Ensemble Algorithms for Time Series Forecasting with Modeltime | 638 |
| SWMPr | Retrieving, Organizing, and Analyzing Estuary Monitoring Data | 582 |
| AIscreenR | AI Screening Tools in R for Systematic Reviewing | 558 |
| exdqlm | Extended Dynamic Quantile Linear Models | 503 |
| bayesmove | Non-Parametric Bayesian Analyses of Animal Movement | 487 |
| ExPanDaR | Explore Your Data Interactively | 465 |
| CimpleG | A Method to Identify Single CpG Sites for Classification and Deconvolution | 373 |
| mbg | Model-Based Geostatistics | 345 |
| DecomposeR | Empirical Mode Decomposition for Cyclostratigraphy | 343 |
| NeuroDecodeR | Decode Information from Neural Activity | 342 |
| easyEWAS | Perform and Visualize EWAS Analysis | 331 |
| EmiR | Evolutionary Minimizer for R | 313 |
| simulateDCE | Simulate Data for Discrete Choice Experiments | 310 |
| ovbsa | Sensitivity Analysis of Omitted Variable Bias | 308 |
| spinebil | Investigating New Projection Pursuit Index Functions | 299 |
| exhaustiveRasch | Item Selection and Exhaustive Search for Rasch Models | 284 |
| isobxr | Stable Isotope Box Modelling in R | 269 |
| PiC | Interactive Processing and Segmentation of Forest TLS Point-Cloud Data | 259 |
| CIpostSelect | Confidence Interval Post-Selection of Variable | 250 |
| fssg | Parametric Survival Modeling in Bulk | 249 |
| tsxtreme | Bayesian Modelling of Extremal Dependence in Time Series | 246 |
| tetragon | Automatic Sequence Prediction by Expansion of the Distance Matrix | 231 |
| spFSR | Feature Selection and Ranking via Simultaneous Perturbation Stochastic Approximation | 227 |
| spinner | An Implementation of Graph Net Architecture Based on 'torch' | 219 |
| LGCU | Implementation of Learning Gamma CUSUM (Cumulative Sum) Control Charts | 205 |
| janus | Optimized Recommending System Based on 'tensorflow' | 205 |
| pingers | Identify, Ping, and Log Internet Provider Connection Data | 205 |
| REN | Regularization Ensemble for Robust Portfolio Optimization | 187 |
Code
Method, Code Method Code metrics come from reading the released source of each package version. The package is never installed, loaded or run.Code metrics
README, vignettes, a NEWS file and the shares read from its help pages. Files kept only in the repository, such as a pkgdown configuration or CI files, are read by the repository scan instead.
- Functions
- 45
- Public exports
- 17
- Lines of R code
- 738
- Median complexity
- 1
Functions (45)
Size and composition
Lines by kind (1,514)
| Kind | Lines | Share |
|---|---|---|
| R code | 738 | 49% |
| Tests | 435 | 29% |
| Documentation | 341 | 23% |
Lines by language
| Language | Lines | Share |
|---|---|---|
| R | 1,173 | 78% |
| Rd | 341 | 23% |
Languages are counted from file extensions.
- Files
- 25
- R functions
- 45
- Object systems
- S3: 27 methods
Complexity
- Median
- 1
- Mean
- 1.33
- Highest
- 5
- Median lines per function
- 1
About complexity
Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.
Call graph figures
- R functions
- 45
- Calls
- 12
- Unconnected
- 30
- Groups
- 3
Growth (5 releases)
Release changes
Tests
The tests ran and coverage was measured.
- Lines run by tests
- 89.8%
- Expressions run by tests
- 88.6%
- Test cases
- 18
- Exports named in tests
- 88.2%
Coverage by file (3)
Coverage run
- Lines counted
- 167
- Lines the tests ran
- 150
- Tests passed
- Yes
- Measured with
- covr 3.6.5 on R 4.6.1
Test suite
- Has tests
- Yes
- Test frameworks
- testthat
- Test cases
- 18
- Lines of tests
- 435
- Test lines per line of code
- 0.59
Documentation
- Exports documented
- 100%
- Arguments documented
- 100%
- Return value documented
- 50%
- Help pages with examples
- 33.3%
- Examples run in checks
- 0%
Other documentation
- README
- Yes, 33 words
- Release notes file
- Yes
- Help pages
- 3
- Lines of documentation
- 341
People
Method, People Method People on the site are the names packages give them in their Author and maintainer identity
DESCRIPTION files: authors from the author list, and the maintainer from the Maintainer field. Spellings of one name become one person only where the rules below allow it, and when in doubt the rules keep people apart.
Maintainer since 1.0 (2014)
Repository
Method, figures by host Method Repository signals are the figures read from the source repository a package links to: stars, forks, issues, commits, releases and the time issues take to close. They are read from GitHub, GitLab, Codeberg and Bitbucket.Repository signals
URL and BugReports fields of its DESCRIPTION file. Read-only mirrors, the cran and bioc accounts on GitHub and git.bioconductor.org, are left out.
- Stars
- 10no change on 30 days ago
- Forks
- 1
- Open issues
- 0
- Last commit
- 31 Mar 2024
Activity
- Commits
- 66
- Open pull requests
- 1
- Tagged releases
- 0
- Latest tagged release
- –
- Issues closed in
- 6 days (median)
- Pull requests closed in
- 0 days (median)
- Pull requests merged
- 100%
- Created
- 15 Jun 2014
- Licence file reads as
- Apache-2.0
Development practices (4)
| Kind | Found |
|---|---|
| Docs source | GitHub Pages site last deployed 2017-12-24 |
| CRAN release process | cran-comments.md, CRAN-SUBMISSION |
| Lint, format, editor | RStudio project |
Method, repository practices Method Beta Each week a scan of the public source repository a package links to looks for the tools a maintainer has set up, and the Repository section lists the findings. Repositories on GitHub and GitLab are scanned.Repository practices
R CMD build reads .Rbuildignore and leaves out files used only in development, such as .github/, .lintr, renv/, a Dockerfile and cran-comments.md, so the released source file holds almost none of them. The repository is the one place these files stay visible.
History
Method, History Method Archived is built from CRAN's archive records, its list of check deadlines and Bioconductor's package records. Every figure is counted to 27 Oct 2026, the day the data was read.Packages leaving