Skip to content

origin

1.2.1Package record

Explicitly Qualifying Namespaces by Automatically Adding 'pkg::' to Functions

0packages depend
5.4Kdownloads / year
84.7%test coverage
8/13flavors OK

Overview

About

Automatically adding 'pkg::' to a function, i.e. mutate() becomes dplyr::mutate(). It is up to the user to determine which packages should be used explicitly, whether to include base R packages or use the functionality on selected text, a file, or a complete directory. User friendly logging is provided in the 'RStudio' Markers pane. Lives in the spirit of 'lintr' and 'styler'. Can also be used for checking which packages are actually used in a project.

Changes in 1.2.1

Patch

  • Due to the removing of the soon to be defunct function dplyr::id, I changed examples and tests by now using dplyr::filter instead. Thanks to @DavisVaughan for raising the issue #11.

From NEWS.md in the release

Install

Health

CRAN checks
5ERROR8OK
Check messages
ERRORtestsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("origin")
  Loading required package: origin
  Error : RStudio not running
  == Package Usage Report ========================================================
  -- Used Packages: 3 ------------------------------------------------------------
  v data.table
  v dplyr     
  v purrr     
  
  -- Unused Packages: 1 ----------------------------------------------------------
  i testthat
  
  -- Possible Namespace Conflicts:  2 --------------------------------------------
  x last    data.table >> dplyr
  x %>%     dplyr      >> purrr, testthat
  
  -- Functions with unknown origin: 1 --------------------------------------------
  x bind_cols_2
  
  == Package Usage Report ========================================================
  -- Used Packages: 2 ------------------------------------------------------------
  v data.table
  v testthat  
  
  -- Unused Packages: 0 ----------------
...[truncated]...
"[1261 chars quoted with ''']"
  - "sed do eiusmod tempor incididunt ut labore et dolore"
  + "[1261 chars quoted with ''']"
  - "magna aliqua. Venenatis tellus in metus vulputate eu"
  + "[1261 chars quoted with ''']"
  - "scelerisque felis. Commodo elit at imperdiet dui. In "
  + "[1261 chars quoted with ''']"
  - "fermentum et sollicitudin ac orci phasellus egestas "
  + "[1261 chars quoted with ''']"
  - "tellus. Vel risus commodo viverra maecenas. Urna neque"
  + "[1261 chars quoted with ''']"
  - "viverra justo nec. Nec dui nunc mattis enim ut. Donec"
  + "[1261 chars quoted with ''']"
  - "pretium vulputate sapien nec sagittis. Blandit cursus"
  + "[1261 chars quoted with ''']"
  - "risus at ultrices. Leo urna molestie at elementum eu"
  + "[1261 chars quoted with ''']"
  - "facilisis. Dignissim convallis aenean et tortor at risus."
  + "[1261 chars quoted with ''']"
  and 14 more ...
  
  
  [ FAIL 1 | WARN 0 | SKIP 18 | PASS 125 ]
  Error:
  ! Test failures.
  Execution halted

r-devel-linux-x86_64-debian-clang

Running ‘testthat.R’ [8s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("origin")
  Loading required package: origin
  Error : RStudio not running
  == Package Usage Report ========================================================
  -- Used Packages: 3 ------------------------------------------------------------
  v data.table
  v dplyr     
  v purrr     
  
  -- Unused Packages: 1 ----------------------------------------------------------
  i testthat
  
  -- Possible Namespace Conflicts:  2 --------------------------------------------
  x last    data.table >> dplyr
  x %>%     dplyr      >> purrr, testthat
  
  -- Functions with unknown origin: 1 --------------------------------------------
  x bind_cols_2
  
  == Package Usage Report ========================================================
  -- Used Packages: 2 ------------------------------------------------------------
  v data.table
  v testthat  
  
  -- Unused Packages: 0 -------
...[truncated]...
"[1261 chars quoted with ''']"
  - "sed do eiusmod tempor incididunt ut labore et dolore"
  + "[1261 chars quoted with ''']"
  - "magna aliqua. Venenatis tellus in metus vulputate eu"
  + "[1261 chars quoted with ''']"
  - "scelerisque felis. Commodo elit at imperdiet dui. In "
  + "[1261 chars quoted with ''']"
  - "fermentum et sollicitudin ac orci phasellus egestas "
  + "[1261 chars quoted with ''']"
  - "tellus. Vel risus commodo viverra maecenas. Urna neque"
  + "[1261 chars quoted with ''']"
  - "viverra justo nec. Nec dui nunc mattis enim ut. Donec"
  + "[1261 chars quoted with ''']"
  - "pretium vulputate sapien nec sagittis. Blandit cursus"
  + "[1261 chars quoted with ''']"
  - "risus at ultrices. Leo urna molestie at elementum eu"
  + "[1261 chars quoted with ''']"
  - "facilisis. Dignissim convallis aenean et tortor at risus."
  + "[1261 chars quoted with ''']"
  and 14 more ...
  
  
  [ FAIL 1 | WARN 0 | SKIP 18 | PASS 125 ]
  Error:
  ! Test failures.
  Execution halted

r-devel-linux-x86_64-debian-gcc

Running ‘testthat.R’ [5s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("origin")
  Loading required package: origin
  Error : RStudio not running
  == Package Usage Report ========================================================
  -- Used Packages: 3 ------------------------------------------------------------
  v data.table
  v dplyr     
  v purrr     
  
  -- Unused Packages: 1 ----------------------------------------------------------
  i testthat
  
  -- Possible Namespace Conflicts:  2 --------------------------------------------
  x last    data.table >> dplyr
  x %>%     dplyr      >> purrr, testthat
  
  -- Functions with unknown origin: 1 --------------------------------------------
  x bind_cols_2
  
  == Package Usage Report ========================================================
  -- Used Packages: 2 ------------------------------------------------------------
  v data.table
  v testthat  
  
  -- Unused Packages: 0 --------
...[truncated]...
"[1261 chars quoted with ''']"
  - "sed do eiusmod tempor incididunt ut labore et dolore"
  + "[1261 chars quoted with ''']"
  - "magna aliqua. Venenatis tellus in metus vulputate eu"
  + "[1261 chars quoted with ''']"
  - "scelerisque felis. Commodo elit at imperdiet dui. In "
  + "[1261 chars quoted with ''']"
  - "fermentum et sollicitudin ac orci phasellus egestas "
  + "[1261 chars quoted with ''']"
  - "tellus. Vel risus commodo viverra maecenas. Urna neque"
  + "[1261 chars quoted with ''']"
  - "viverra justo nec. Nec dui nunc mattis enim ut. Donec"
  + "[1261 chars quoted with ''']"
  - "pretium vulputate sapien nec sagittis. Blandit cursus"
  + "[1261 chars quoted with ''']"
  - "risus at ultrices. Leo urna molestie at elementum eu"
  + "[1261 chars quoted with ''']"
  - "facilisis. Dignissim convallis aenean et tortor at risus."
  + "[1261 chars quoted with ''']"
  and 14 more ...
  
  
  [ FAIL 1 | WARN 0 | SKIP 18 | PASS 125 ]
  Error:
  ! Test failures.
  Execution halted

r-devel-windows-x86_64

Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > testthat::test_check("origin")
  Loading required package: origin
  Error : RStudio not running
  == Package Usage Report ========================================================
  -- Used Packages: 3 ------------------------------------------------------------
  v data.table
  v dplyr     
  v purrr     
  
  -- Unused Packages: 1 ----------------------------------------------------------
  i testthat
  
  -- Possible Namespace Conflicts:  2 --------------------------------------------
  x last    data.table >> dplyr
  x %>%     dplyr      >> purrr, testthat
  
  -- Functions with unknown origin: 1 --------------------------------------------
  x bind_cols_2
  
  == Package Usage Report ========================================================
  -- Used Packages: 2 ------------------------------------------------------------
  v data.table
  v testthat  
  
  -- Unused Packages: 0 -----------
...[truncated]...
"[1261 chars quoted with ''']"
  - "sed do eiusmod tempor incididunt ut labore et dolore"
  + "[1261 chars quoted with ''']"
  - "magna aliqua. Venenatis tellus in metus vulputate eu"
  + "[1261 chars quoted with ''']"
  - "scelerisque felis. Commodo elit at imperdiet dui. In "
  + "[1261 chars quoted with ''']"
  - "fermentum et sollicitudin ac orci phasellus egestas "
  + "[1261 chars quoted with ''']"
  - "tellus. Vel risus commodo viverra maecenas. Urna neque"
  + "[1261 chars quoted with ''']"
  - "viverra justo nec. Nec dui nunc mattis enim ut. Donec"
  + "[1261 chars quoted with ''']"
  - "pretium vulputate sapien nec sagittis. Blandit cursus"
  + "[1261 chars quoted with ''']"
  - "risus at ultrices. Leo urna molestie at elementum eu"
  + "[1261 chars quoted with ''']"
  - "facilisis. Dignissim convallis aenean et tortor at risus."
  + "[1261 chars quoted with ''']"
  and 14 more ...
  
  
  [ FAIL 1 | WARN 0 | SKIP 18 | PASS 125 ]
  Error:
  ! Test failures.
  Execution halted

CRAN check page ↗

Slowest check: 2.4 min · r-oldrel-macos-x86_64
Status changes
  • ERROR8 OK, 5 ERRORNow
  • ERROR12 OK, 1 ERROR2026-10-14
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.1
READMEYes · 1,001 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.2.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
10 (1 internal)includes a package overview page
Examples that run
25%2 run in a plain check · 6 never run
Exported functions with examples
100%
Documented parameters
87%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Downloads

5.4K
CRAN downloads in the past year
Rank #10,703 · ~15/day · ~450/mo
Daily download trend is not available in this view yet.
39930 days
95890 days
5.4K1 year
Compare downloads with other packages →
Also on82 r2u4 autocran

Repository

11Stars
2Forks
5Open issues
0Open PRs
6Releases
412Commits
7Commit identities
rpackageraddin
412 commits · Last activity 2026-01-18 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
67%
Median days to close, 50 most recently updated closed issues
42
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-03-22 · 112026-07-07 · 11
PracticesBeta

9 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/mnist91/origin on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Coverage (2)
Coverage reporting.covrignore
Reproducibility and dev environment (1)
renv
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (2)
lintrLint workflow
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing origin adds 2 packages (1 with compiled code, 757 KB of source tarballs). Heaviest: cli 629 KB, rstudioapi 128 KB.

Depends (1)
R >= 2.10
Imports (4)
clirstudioapistatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer · added in 1.2.1

Maintainer since 0.5.3 (2021)

Listed in earlier versions (1)
Matthias Nistler
no longer listed · 0.5.3 to 1.2.0
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.1Latest
    record
    2026-01-18 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.0
    record
    2024-11-24 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.2
    record
    2024-04-21 · diff ↗
  • 1.1.1
    record
    2023-09-03 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.0
    record
    2022-11-02 · diff ↗
  • 1.0.0
    record
    2022-10-24 · diff ↗ ·
    added 1 export
    check_pkg_usage
  • R
    R 4.2.0 released · 2022-04-22
  • 0.5.3
    record
    2021-09-22
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-09-22
Total releases
7 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.10
Download size
724 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("origin")
Braun FKA Nistler, M. (2026). origin: Explicitly Qualifying Namespaces by Automatically Adding 'pkg::' to Functions (Version 1.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.origin

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for origin version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy