Skip to content

whereami

Reliably Return the Source and Call Location of a Command

v0.2.0 · Dec 22, 2022 · MIT + file LICENSE

Description

Robust and reliable functions to return informative outputs to console with the run or source location of a command. This can be from the 'RScript'/R terminal commands or 'RStudio' console, source editor, 'Rmarkdown' document and a Shiny application.

Downloads

CRAN

542

Last 30 days

7024th

1.4K

Last 90 days

5.3K

Last year

Trend: +63.8% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

25

Last 90 days

93

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

3

Last 7 days

16

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

1,501

Files

57

Compiled share

0%

Has compiled src

No

Language breakdown

R 602 (40.1%)Tests 243 (16.2%)Docs 268 (17.9%)Vignettes 388 (25.8%)

API

Exported functions

13

Internal functions

10

Recent export changes

v0.1.9+3 counter_get, counter_tags, set_whereami_log
v0.1.8+10 cat_where, counter_names, counter_reset +7 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.40

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

60%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.2.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2019-04-26

Latest release

2022-12-22

Avg cadence

186 days

Cold removal rate

Dep drift

5

LOC over versions

v0.1.8: 1,223 LOCv0.1.8.1: 1,225 LOCv0.1.9: 1,544 LOCv0.2.0: 1,501 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies cli rstudioapi jsonlite whereami

Version History

5 tracked
new 0.2.0 Mar 10, 2026
updated 0.2.0 ← 0.1.9 diff Dec 21, 2022
updated 0.1.9 ← 0.1.8.1 diff Nov 6, 2019
updated 0.1.8.1 ← 0.1.8 diff May 4, 2019
new 0.1.8 Apr 25, 2019