{
  "_id": "6ab1ca983d719c1f84088a2b",
  "Package": "CodeCarbonR",
  "Title": "Track Energy Consumption and Carbon Emissions of R Code",
  "Version": "0.1.1",
  "Authors@R": "c(\nperson(\"Beatrice\", \"Bock\", email = \"beabockm@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-2240-9360\")),\nperson(\"Rachel\", \"Peterson\", email = \"rachel.peterson.5683@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0009-0007-2048-8268\")),\nperson(\"Dylan\", \"Van Bramer\", role = \"aut\"))",
  "Description": "Wraps the Python 'codecarbon' package via 'reticulate' to\nmeasure the energy consumption and estimated carbon emissions\nof R code. Provides a self-contained setup routine that\ninstalls 'codecarbon' into a dedicated conda environment, and\nan R-facing tracker API for measuring a block of code or a\nlonger-running session.",
  "License": "MIT + file LICENSE",
  "URL": "https://beabock.github.io/CodeCarbonR/,\nhttps://github.com/beabock/CodeCarbonR",
  "BugReports": "https://github.com/beabock/CodeCarbonR/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/Needs/website": "rmarkdown",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "SystemRequirements": "Python (>= 3.9); codecarbon Python package (>=\n2.2.2), installed via setup_carbon_tracker()",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://beabock.r-universe.dev",
  "Date/Publication": "2026-09-21 22:05:29 UTC",
  "RemoteUrl": "https://github.com/beabock/codecarbonr",
  "RemoteRef": "HEAD",
  "RemoteSha": "f851eb61d32aa3b593c88a067cd9a37c128ae10a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-22 00:19:41 UTC",
    "User": "root"
  },
  "Author": "Beatrice Bock [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-2240-9360>),\nRachel Peterson [aut] (ORCID: <https://orcid.org/0009-0007-2048-8268>),\nDylan Van Bramer [aut]",
  "Maintainer": "Beatrice Bock <beabockm@gmail.com>",
  "_user": "beabock",
  "_type": "src",
  "_file": "CodeCarbonR_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/42ea059139bfe82048260985b21565aabe4057c0bb7d1c642df1f05ae4529fe6",
  "_filesize": 198436,
  "_sha256": "42ea059139bfe82048260985b21565aabe4057c0bb7d1c642df1f05ae4529fe6",
  "_expires": "2026-12-31T00:23:50.000Z",
  "_created": "2026-09-22T00:19:41.000Z",
  "_published": "2026-09-22T00:23:52.045Z",
  "_jobs": [
    {
      "job": 106568786592,
      "time": 203,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10672145193"
    },
    {
      "job": 106568786623,
      "time": 185,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10671441511"
    },
    {
      "job": 106568786615,
      "time": 91,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10671186608"
    },
    {
      "job": 106568786559,
      "time": 137,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10672065257"
    },
    {
      "job": 106567952351,
      "time": 226,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10670971660"
    },
    {
      "job": 106568786544,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10670966974"
    },
    {
      "job": 106568786614,
      "time": 106,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10671830937"
    },
    {
      "job": 106568786665,
      "time": 95,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10671371346"
    },
    {
      "job": 106568786601,
      "time": 105,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10671111583"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/beabock/actions/runs/35671211408",
  "_status": "success",
  "_upstream": "https://github.com/beabock/codecarbonr",
  "_commit": {
    "id": "f851eb61d32aa3b593c88a067cd9a37c128ae10a",
    "author": "Bea Bock <31285089+beabock@users.noreply.github.com>",
    "committer": "Bea Bock <31285089+beabock@users.noreply.github.com>",
    "message": "Update CITATION.cff with v0.1.1 Zenodo version DOI\n",
    "time": 1790028329
  },
  "_maintainer": {
    "name": "Beatrice Bock",
    "email": "beabockm@gmail.com",
    "orcid": "0000-0003-2240-9360"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "reticulate",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "beabock",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 2
    },
    {
      "week": "2026-32",
      "n": 8
    },
    {
      "week": "2026-33",
      "n": 1
    },
    {
      "week": "2026-34",
      "n": 28
    },
    {
      "week": "2026-35",
      "n": 4
    },
    {
      "week": "2026-36",
      "n": 4
    },
    {
      "week": "2026-39",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-08-21"
    },
    {
      "name": "v0.1.1",
      "date": "2026-09-21"
    }
  ],
  "_topics": [
    "carbon-emissions",
    "carbon-footprint",
    "environmental-data-science",
    "environmental-science"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "beabock",
      "count": 48,
      "uuid": 31285089
    },
    {
      "user": "r-petes",
      "count": 4,
      "uuid": 73244447
    }
  ],
  "_userbio": {
    "uuid": 31285089,
    "type": "user",
    "name": "Beatrice Bock, PhD",
    "followers": 3
  },
  "_downloads": {
    "count": 154,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CodeCarbonR"
  },
  "_devurl": "https://github.com/beabock/codecarbonr",
  "_pkgdown": "https://beabock.github.io/CodeCarbonR/",
  "_searchresults": 11,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/CodeCarbonR.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/beabock/codecarbonr",
  "_realowner": "beabock",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-08"
    },
    {
      "version": "0.1.1",
      "date": "2026-09-21"
    }
  ],
  "_exports": [
    "carbon_tracker",
    "carbon_tracker_ready",
    "list_carbon_tracker_countries",
    "setup_carbon_tracker",
    "with_emissions_tracked"
  ],
  "_help": [
    {
      "page": "carbon_tracker",
      "title": "Create a carbon emissions tracker",
      "topics": [
        "carbon_tracker"
      ]
    },
    {
      "page": "carbon_tracker_ready",
      "title": "Check whether codecarbon is installed and importable",
      "topics": [
        "carbon_tracker_ready"
      ]
    },
    {
      "page": "list_carbon_tracker_countries",
      "title": "List supported country codes for carbon intensity lookup",
      "topics": [
        "list_carbon_tracker_countries"
      ]
    },
    {
      "page": "setup_carbon_tracker",
      "title": "Install codecarbon into a dedicated conda environment",
      "topics": [
        "setup_carbon_tracker"
      ]
    },
    {
      "page": "with_emissions_tracked",
      "title": "Track emissions for a single block of code",
      "topics": [
        "with_emissions_tracked"
      ]
    }
  ],
  "_pkglogo": "https://github.com/beabock/codecarbonr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/beabock/codecarbonr/raw/HEAD/README.md",
  "_rundeps": [
    "here",
    "jsonlite",
    "lattice",
    "Matrix",
    "png",
    "R6",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "quickstart.Rmd",
      "filename": "quickstart.html",
      "title": "Quickstart",
      "engine": "knitr::rmarkdown",
      "headings": [
        "One-time setup",
        "Track a block of code",
        "Reading the result",
        "Tracking several phases separately",
        "How accurate is this?",
        "Where to go next"
      ],
      "created": "2026-08-04 21:01:09",
      "modified": "2026-08-04 21:01:09",
      "commits": 1
    }
  ],
  "_score": 4.585460729508501,
  "_indexed": true,
  "_nocasepkg": "codecarbonr",
  "_universes": [
    "beabock"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-09-22T00:22:52.000Z",
      "distro": "resolute",
      "commit": "f851eb61d32aa3b593c88a067cd9a37c128ae10a",
      "fileid": "https://r2.ropensci.org/c811df29d25df21af94f3d1d85729dac61aaae2bbe51f9ba895228195c4b7f38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/beabock/actions/runs/35671211408"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-09-22T00:22:38.000Z",
      "distro": "resolute",
      "commit": "f851eb61d32aa3b593c88a067cd9a37c128ae10a",
      "fileid": "https://r2.ropensci.org/493646637a03cff54828dbd9b56b70e8af28104dc36f1b7ce7efe0c5a7266d01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/beabock/actions/runs/35671211408"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-09-22T00:21:17.000Z",
      "commit": "f851eb61d32aa3b593c88a067cd9a37c128ae10a",
      "fileid": "https://r2.ropensci.org/6299aa421eedc7610bba29184b2a9c7fbd9d834d33fc6962355d421e6bfd8ef1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/beabock/actions/runs/35671211408"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-09-22T00:21:50.000Z",
      "commit": "f851eb61d32aa3b593c88a067cd9a37c128ae10a",
      "fileid": "https://r2.ropensci.org/79086e3530728c606ef1e04cdcfb01d822fb7566ea59ab11811504e91bf41634",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/beabock/actions/runs/35671211408"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-09-22T00:22:03.000Z",
      "commit": "f851eb61d32aa3b593c88a067cd9a37c128ae10a",
      "fileid": "https://r2.ropensci.org/738806f551510b49892092afaa3349255438795ced2dd6b3ff994ee65e5ee416",
      "status": "success",
      "buildurl": "https://github.com/r-universe/beabock/actions/runs/35671211408"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-09-22T00:20:52.000Z",
      "commit": "f851eb61d32aa3b593c88a067cd9a37c128ae10a",
      "fileid": "https://r2.ropensci.org/a6b314e418fc74ca059d9029f870780f262495f42e578bf8417565a13cef1320",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/beabock/actions/runs/35671211408"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-09-22T00:20:47.000Z",
      "commit": "f851eb61d32aa3b593c88a067cd9a37c128ae10a",
      "fileid": "https://r2.ropensci.org/de259aeddb93093e4123c7a91f607ddcddbdb9c3e6d7b4ba8b93c038338d11d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/beabock/actions/runs/35671211408"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-09-22T00:20:53.000Z",
      "commit": "f851eb61d32aa3b593c88a067cd9a37c128ae10a",
      "fileid": "https://r2.ropensci.org/fb964c3449b3fc7a35692a28c45d2d1c10939748214802a9d802f8e4692eb744",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/beabock/actions/runs/35671211408"
    }
  ]
}