Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate R scripts #58

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Integrate R scripts #58

wants to merge 3 commits into from

Conversation

khaeru
Copy link
Member

@khaeru khaeru commented Mar 10, 2022

This PR adds the two methods of invoking R code discussed in #40, and closes that issue.

Some things to be decided:

  1. What kinds of conversions (see rpy2 docs) should be provided by default for R code?
  2. What environment variables, utility code, etc. do standalone R scripts need to use from message-ix-models & co.?

How to review

TBA.

PR checklist

  • Add CLI/helper for Rscript for invoking R scripts in a standard way.
  • Continuous integration checks all ✅
  • Add or expand tests; coverage checks both ✅
  • Add, expand, or update documentation.
  • Update doc/whatsnew.

@khaeru khaeru added the enh New features or functionality label Mar 10, 2022
@khaeru khaeru self-assigned this Mar 10, 2022
@khaeru khaeru linked an issue Mar 10, 2022 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Mar 10, 2022

Codecov Report

Merging #58 (f85c3d5) into main (3ad3890) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #58   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           34        36    +2     
  Lines         1726      1752   +26     
=========================================
+ Hits          1726      1752   +26     
Impacted Files Coverage Δ
...ssage-ix-models/message_ix_models/util/__init__.py 100.00% <0.00%> (ø)
message-ix-models/message_ix_models/util/r.py 100.00% <0.00%> (ø)
...e-ix-models/message_ix_models/tests/util/test_r.py 100.00% <0.00%> (ø)

@khaeru khaeru marked this pull request as draft August 2, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enh New features or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate R scripts
1 participant