Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

This PR adds a .devcontainer configuration to the project. It sets up a development environment based on mcr.microsoft.com/devcontainers/r:latest.

Key features:

  1. Java-Free Environment: The container is configured to start without Java. The dependency installation script (.devcontainer/setup.R) reads DESCRIPTION and installs all dependencies except rJava. This allows testing the package's functionality for downloading and installing Java.
  2. Tooling:
    • Installs Posit Air CLI for code formatting.
    • Installs VS Code extensions: Posit.air-vscode and quarto.quarto.
  3. Automation: The postCreateCommand runs a setup script that installs the Air CLI and the R dependencies.

PR created automatically by Jules for task 15392296075773728410 started by @e-kotov

- Use `mcr.microsoft.com/devcontainers/r:latest` as base image.
- Exclude `rJava` from dependency installation to keep container Java-free.
- Install Posit Air CLI and VS Code extension.
- Install Quarto extension.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@e-kotov e-kotov marked this pull request as ready for review January 11, 2026 23:26
Copilot AI review requested due to automatic review settings January 11, 2026 23:26
@codecov
Copy link

codecov bot commented Jan 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.79%. Comparing base (cbc4a78) to head (82b279e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #97      +/-   ##
==========================================
+ Coverage   86.80%   88.79%   +1.98%     
==========================================
  Files          20       27       +7     
  Lines        1993     2819     +826     
==========================================
+ Hits         1730     2503     +773     
- Misses        263      316      +53     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a devcontainer configuration to facilitate development and testing of the rJavaEnv package in an environment without Java pre-installed. This is valuable for testing the package's core functionality of downloading and installing Java.

Changes:

  • Added devcontainer configuration using Microsoft's R devcontainer base image
  • Created setup scripts to install Posit Air CLI and R dependencies while explicitly excluding rJava
  • Configured VS Code extensions for R, Quarto, and Posit Air development

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
.devcontainer/devcontainer.json Defines the devcontainer configuration with base image, VS Code extensions, and post-create command
.devcontainer/setup.sh Bash script that installs Posit Air CLI and executes R dependency setup
.devcontainer/setup.R R script that reads DESCRIPTION and installs all dependencies except rJava

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

google-labs-jules bot and others added 3 commits January 12, 2026 11:57
- Use `mcr.microsoft.com/devcontainers/r:latest` as base image.
- Exclude `rJava` from dependency installation to keep container Java-free.
- Install Posit Air CLI and VS Code extension.
- Install Quarto extension.
- Update scripts to address PR review feedback (robust dependency handling, verification).
- Use `mcr.microsoft.com/devcontainers/r:latest` as base image.
- Exclude `rJava` from dependency installation to keep container Java-free.
- Install Posit Air CLI and VS Code extension.
- Install Quarto extension.
- Update scripts to address PR review feedback (pinned version, security, robustness).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant