Wraps the Python 'codecarbon' package via 'reticulate' to measure the energy consumption and estimated carbon emissions of R code. Provides a self-contained setup routine that installs 'codecarbon' into a dedicated conda environment, and an R-facing tracker API for measuring a block of code or a longer-running session.
| Version: | 0.1.0 |
| Imports: | R6, reticulate |
| Suggests: | knitr, pkgdown, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2026-09-05 |
| DOI: | 10.32614/CRAN.package.CodeCarbonR |
| Author: | Beatrice Bock |
| Maintainer: | Beatrice Bock <beabockm at gmail.com> |
| BugReports: | https://github.com/beabock/CodeCarbonR/issues |
| License: | MIT + file LICENSE |
| URL: | https://beabock.github.io/CodeCarbonR/, https://github.com/beabock/CodeCarbonR |
| NeedsCompilation: | no |
| SystemRequirements: | Python (>= 3.9); codecarbon Python package (>= 2.2.2), installed via setup_carbon_tracker() |
| Citation: | CodeCarbonR citation info |
| Materials: | README, NEWS |
| CRAN checks: | CodeCarbonR results |
| Reference manual: | CodeCarbonR.html , CodeCarbonR.pdf |
| Vignettes: |
Quickstart (source, R code) |
| Package source: | CodeCarbonR_0.1.0.tar.gz |
| Windows binaries: | r-devel: CodeCarbonR_0.1.0.zip, r-release: CodeCarbonR_0.1.0.zip, r-oldrel: CodeCarbonR_0.1.0.zip |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): CodeCarbonR_0.1.0.tgz, r-release (x86_64): CodeCarbonR_0.1.0.tgz, r-oldrel (x86_64): CodeCarbonR_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=CodeCarbonR to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.