Detection and Localization of Executable Files
Overview
A set of functions to locate some programs available on the user machine. It can locate 'Node.js', 'npm', 'LibreOffice', 'Microsoft Word', 'Microsoft PowerPoint', 'Microsoft Excel', 'Python', 'pip', 'Mozilla Firefox', 'Google Chrome', 'Air' and 'Pandoc'. The user can test the availability of a program, optionally with a required version, and call it with the functions system2() or system(). This allows the use of a single function to retrieve the path to a program regardless of the operating system and its configuration.
- On Linux, executables are now run without the
LD_LIBRARY_PATHset by R to read their version. R prepends its own library directories to this variable and 'LibreOffice' was then failing ("libreglo.so: cannot open shared object file") or aborting, so that it was not detected.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-26
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 18
- Examples that run
- 100%18 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Commits over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/ardata-fr/locatexec on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-21 · The repository has a site deploy workflow
pkgdown site last built 2026-10-21
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-05-25Named in .Rbuildignore: .claudeCommits: at least 2 crediting it in the message
- Claude Opus 5.52 commits · Oct 2026
Dependencies
Installing locatexec adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2.1Latest
- 0.2.0
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.1.12021-05-19 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.1.02021-03-18
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-03-18
- Total releases
- 4 / 5 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 15 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("locatexec")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.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.