Skip to content

rJavaEnv

0.3.0

'Java' Environments for R Projects

1packages depend
11.2Kdownloads / year
7.2%test coverage
13/13checks pass

Overview

About
Maintained by Egor KotovFirst published 2024-08-264 releasesCRAN page ↗GitHub ↗

Quickly install 'Java Development Kit (JDK)' without administrative privileges and set environment variables in current R session or project to solve common issues with 'Java' environment management in 'R'. Recommended to users of 'Java'/'rJava'-dependent 'R' packages such as 'r5r', 'opentripplanner', 'xlsx', 'openNLP', 'rWeka', 'RJDBC', 'tabulapdf', and many more. 'rJavaEnv' prevents common problems like 'Java' not found, 'Java' version conflicts, missing 'Java' installations, and the inability to install 'Java' due to lack of administrative privileges. 'rJavaEnv' automates the download, installation, and setup of the 'Java' on a per-project basis by setting the relevant 'JAVA_HOME' in the current 'R' session or the current working directory (via '.Rprofile', with the user's consent). Similar to what 'renv' does for 'R' packages, 'rJavaEnv' allows different 'Java' versions to be used across different projects, but can also be configured to allow multiple versions within the same project (e.g. with the help of 'targets' package). Note: there are a few extra steps for 'Linux' users, who don't have any 'Java' previously installed in their system, and who prefer package installation from source, rather then installing binaries from 'Posit Package Manager'. See documentation for details.

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.03
7.2%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,381 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
8%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

11.2K
CRAN downloads in the past year
Rank #4,054 · ~31/day · ~934/mo
Daily download trend is not available in this view yet.
54030 days
2.1K90 days
11.2K1 year
Compare downloads with other packages →
Also on103 r2u16 autocran

Repository

Repository
25Stars
3Forks
9Open issues
0Open PRs
5Releases
418Commits
6Contributors
environmentsjavarreproducibilityreproducible-research
418 commits · Last activity 2026-07-27 · +4.2% stars, 30d

Stars over time

2025-06-30 · 182026-07-30 · 25

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/e-kotov/rjavaenv on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Dev Container
CRAN release process (1)
cran-comments.md
Docs source (1)
README.qmd
Show all practices
Research and citation (2)
CITATION.cffcodemeta.json
Lint, format, editor (3)
AirEditorConfigRStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: jules on 2026-01-11

julesclaude

Most recent: claude on 2026-01-13

Evidence
  • jules: on 2026-01-11 · evidence B, PR
  • claude: on 2026-01-13 · evidence D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (6)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Author · added in 0.3.0
Contributors (4)
Contributor · added in 0.3.0
Contributor · added in 0.3.0
Contributor
Contributor · added in 0.2.1
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

4 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.3.0Latest
    2025-04-04 · current release · diff ↗
  • 0.2.2
    2024-09-13 · diff ↗
  • 0.2.1
    2024-09-03 · diff ↗
  • 0.1.2
    2024-08-26
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-08-26
Total releases
4 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.0
Download size
102 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rJavaEnv")

The authors publish a CITATION.cff, so they have said how they want this cited. Run citation() and use what it gives you.

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 rJavaEnv version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-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