{
  "_id": "6a479db5e06c18f0a6518791",
  "Package": "rco",
  "Type": "Package",
  "Title": "The R Code Optimizer",
  "Version": "1.0.2",
  "Authors@R": "c(\nperson(given = \"Juan Cruz\", family = \"Rodriguez\",\nrole = c(\"aut\", \"cre\"), email = \"jcrodriguez@unc.edu.ar\"),\nperson(\"Yihui\", \"Xie\", role = \"ctb\", email = \"xie@yihui.name\", comment =\nc(ORCID = \"0000-0003-0645-5666\")),\nperson(\"Nicolás\", \"Wolovick\", role = \"ctb\", email =\n\"nicolasw@famaf.unc.edu.ar\")\n)",
  "Maintainer": "Juan Cruz Rodriguez <jcrodriguez@unc.edu.ar>",
  "Description": "Automatically apply different strategies to optimize R\ncode. 'rco' functions take R code as input, and returns R code\nas output.",
  "License": "GPL-3",
  "URL": "https://jcrodriguez1989.github.io/rco/",
  "BugReports": "https://github.com/jcrodriguez1989/rco/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.1.1",
  "Repository": "https://jcrodriguez1989.r-universe.dev",
  "Date/Publication": "2024-11-11 15:02:58 UTC",
  "RemoteUrl": "https://github.com/jcrodriguez1989/rco",
  "RemoteRef": "HEAD",
  "RemoteSha": "1df14992b7351bf68f28ae316abd8715ed7ff633",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-03 11:25:01 UTC",
    "User": "root"
  },
  "Author": "Juan Cruz Rodriguez [aut, cre],\nYihui Xie [ctb] (ORCID: <https://orcid.org/0000-0003-0645-5666>),\nNicolás Wolovick [ctb]",
  "_user": "jcrodriguez1989",
  "_type": "src",
  "_file": "rco_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/30a74fb74e9435f3f0ec51e376b811beb265280d8b990c7faf1a6bb8b8b28009",
  "_filesize": 868897,
  "_sha256": "30a74fb74e9435f3f0ec51e376b811beb265280d8b990c7faf1a6bb8b8b28009",
  "_expires": "2026-10-11T11:32:05.000Z",
  "_created": "2026-07-03T11:25:01.000Z",
  "_published": "2026-07-03T11:32:05.967Z",
  "_jobs": [
    {
      "job": 84989921343,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8065294100"
    },
    {
      "job": 84989921288,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8065292259"
    },
    {
      "job": 84989921298,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8065358640"
    },
    {
      "job": 84989921284,
      "time": 136,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8065330488"
    },
    {
      "job": 84989328078,
      "time": 223,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8065243840"
    },
    {
      "job": 84989921278,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8065293949"
    },
    {
      "job": 84989921296,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8065276395"
    },
    {
      "job": 84989921324,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8065278243"
    },
    {
      "job": 84989921366,
      "time": 102,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8065278744"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/28657265394",
  "_status": "success",
  "_upstream": "https://github.com/jcrodriguez1989/rco",
  "_commit": {
    "id": "1df14992b7351bf68f28ae316abd8715ed7ff633",
    "author": "Juan C Rodriguez <jcrodriguez@unc.edu.ar>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Fixed spelling",
    "time": 1731337378
  },
  "_maintainer": {
    "name": "Juan Cruz Rodriguez",
    "email": "jcrodriguez@unc.edu.ar",
    "login": "jcrodriguez1989",
    "twitter": "@CancuCS",
    "description": "PhD in Computer Science 🍁",
    "uuid": 18466307
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "diffr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "httr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "rvest",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinythemes",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    }
  ],
  "_owner": "jcrodriguez1989",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "compiler",
    "fast",
    "gcc",
    "hpc",
    "optimization",
    "optimizer"
  ],
  "_stars": 82,
  "_contributors": [
    {
      "user": "jcrodriguez1989",
      "count": 319,
      "uuid": 18466307
    },
    {
      "user": "adamhsparks",
      "count": 1,
      "uuid": 3195906
    }
  ],
  "_userbio": {
    "uuid": 18466307,
    "type": "user",
    "name": "Cancu Rodriguez",
    "followers": 289,
    "description": "PhD in Computer Science 🍁"
  },
  "_downloads": {
    "count": 284,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rco"
  },
  "_devurl": "https://github.com/jcrodriguez1989/rco",
  "_pkgdown": "https://jcrodriguez1989.github.io/rco/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/rco.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jcrodriguez1989/rco",
  "_realowner": "jcrodriguez1989",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2020-02-06"
    },
    {
      "version": "1.0.1",
      "date": "2020-02-08"
    },
    {
      "version": "1.0.2",
      "date": "2021-04-17"
    }
  ],
  "_exports": [
    "all_optimizers",
    "generate_files_opt_report",
    "generate_folder_opt_report",
    "generate_text_opt_report",
    "max_optimizers",
    "opt_common_subexpr",
    "opt_cond_thread",
    "opt_constant_folding",
    "opt_constant_propagation",
    "opt_dead_code",
    "opt_dead_expr",
    "opt_dead_store",
    "opt_loop_invariant",
    "opt_memory_alloc",
    "optimize_files",
    "optimize_folder",
    "optimize_text",
    "rco_gui"
  ],
  "_help": [
    {
      "page": "all_optimizers",
      "title": "All optimizers list.",
      "topics": [
        "all_optimizers"
      ]
    },
    {
      "page": "generate_files_opt_report",
      "title": "Report possible optimizations in `.R` files.",
      "topics": [
        "generate_files_opt_report"
      ]
    },
    {
      "page": "generate_folder_opt_report",
      "title": "Report possible optimizations in folder containing `.R` files.",
      "topics": [
        "generate_folder_opt_report"
      ]
    },
    {
      "page": "generate_text_opt_report",
      "title": "Report possible optimizations in `.R` code snippet.",
      "topics": [
        "generate_text_opt_report"
      ]
    },
    {
      "page": "max_optimizers",
      "title": "Max optimizers list.",
      "topics": [
        "max_optimizers"
      ]
    },
    {
      "page": "opt_common_subexpr",
      "title": "Optimizer: Common Subexpression Elimination.",
      "topics": [
        "opt_common_subexpr"
      ]
    },
    {
      "page": "opt_cond_thread",
      "title": "Optimizer: Conditional Threading.",
      "topics": [
        "opt_cond_thread"
      ]
    },
    {
      "page": "opt_constant_folding",
      "title": "Optimizer: Constant Folding.",
      "topics": [
        "opt_constant_folding"
      ]
    },
    {
      "page": "opt_constant_propagation",
      "title": "Optimizer: Constant Propagation.",
      "topics": [
        "opt_constant_propagation"
      ]
    },
    {
      "page": "opt_dead_code",
      "title": "Optimizer: Dead Code Elimination.",
      "topics": [
        "opt_dead_code"
      ]
    },
    {
      "page": "opt_dead_expr",
      "title": "Optimizer: Dead Expression Elimination.",
      "topics": [
        "opt_dead_expr"
      ]
    },
    {
      "page": "opt_dead_store",
      "title": "Optimizer: Dead Store Elimination.",
      "topics": [
        "opt_dead_store"
      ]
    },
    {
      "page": "opt_loop_invariant",
      "title": "Optimizer: Loop-invariant Code Motion.",
      "topics": [
        "opt_loop_invariant"
      ]
    },
    {
      "page": "opt_memory_alloc",
      "title": "Optimizer: Memory Allocation.",
      "topics": [
        "opt_memory_alloc"
      ]
    },
    {
      "page": "optimize_files",
      "title": "Optimize `.R` files.",
      "topics": [
        "optimize_files"
      ]
    },
    {
      "page": "optimize_folder",
      "title": "Optimize a folder with `.R` files.",
      "topics": [
        "optimize_folder"
      ]
    },
    {
      "page": "optimize_text",
      "title": "Optimize text containing code.",
      "topics": [
        "optimize_text"
      ]
    },
    {
      "page": "rco_gui",
      "title": "rco GUI selector.",
      "topics": [
        "rco_gui"
      ]
    }
  ],
  "_readme": "https://github.com/jcrodriguez1989/rco/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "opt-common-subexpr.Rmd",
      "filename": "opt-common-subexpr.html",
      "title": "Common Subexpression Elimination",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Common Subexpression Elimination",
        "Idea",
        "Background",
        "Example",
        "Implementation",
        "To-Do"
      ],
      "created": "2019-07-05 21:42:39",
      "modified": "2021-07-14 12:28:16",
      "commits": 3
    },
    {
      "source": "opt-cond-thread.Rmd",
      "filename": "opt-cond-thread.html",
      "title": "Conditional Threading Optimizer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Conditional Threading Optimizer",
        "Background",
        "Example",
        "Implementation"
      ],
      "created": "2021-07-14 12:28:16",
      "modified": "2021-07-14 12:28:16",
      "commits": 1
    },
    {
      "source": "opt-constant-folding.Rmd",
      "filename": "opt-constant-folding.html",
      "title": "Constant Folding",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Constant Folding",
        "Idea",
        "Background",
        "Example",
        "Implementation",
        "Floating-point precision",
        "To-Do"
      ],
      "created": "2019-06-05 14:52:14",
      "modified": "2021-07-14 12:28:16",
      "commits": 4
    },
    {
      "source": "opt-constant-propagation.Rmd",
      "filename": "opt-constant-propagation.html",
      "title": "Constant Propagation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Constant Propagation",
        "Idea",
        "Background",
        "Example",
        "Implementation",
        "VAR <- CONST",
        "VAR * CONST + VAR",
        "FUN({FUN_PARAMS})",
        "LOOP (COND)",
        "IF (COND)",
        "VAR <- EXPR",
        "FUN (",
        "Other cases",
        "To-Do",
        "o @edits_env rm_all"
      ],
      "created": "2019-06-07 14:05:16",
      "modified": "2021-07-14 12:28:16",
      "commits": 5
    },
    {
      "source": "contributing-an-optimizer.Rmd",
      "filename": "contributing-an-optimizer.html",
      "title": "Contributing an optimizer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Contributing an optimizer",
        "Writing the code",
        "Writing the tests",
        "Writing the vignette",
        "Writing additional files",
        "DESCRIPTION",
        "NEWS.md",
        "R/optimizers.R",
        "_pkgdown.yml"
      ],
      "created": "2019-06-19 15:29:15",
      "modified": "2019-06-19 15:29:15",
      "commits": 1
    },
    {
      "source": "opt-dead-code.Rmd",
      "filename": "opt-dead-code.html",
      "title": "Dead Code Elimination",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Dead Code Elimination",
        "Idea",
        "Background",
        "Example",
        "Implementation",
        "Remove code after interruption commands",
        "Remove constant conditionals"
      ],
      "created": "2019-06-08 19:53:00",
      "modified": "2021-07-14 12:28:16",
      "commits": 3
    },
    {
      "source": "opt-dead-expr.Rmd",
      "filename": "opt-dead-expr.html",
      "title": "Dead Expression Elimination",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Dead Expression Elimination",
        "Idea",
        "Background",
        "Example",
        "Implementation",
        "To-Do"
      ],
      "created": "2019-07-10 21:26:48",
      "modified": "2021-07-14 12:28:16",
      "commits": 3
    },
    {
      "source": "opt-dead-store.Rmd",
      "filename": "opt-dead-store.html",
      "title": "Dead Store Elimination",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Dead Store Elimination",
        "Idea",
        "Background",
        "Example",
        "Implementation",
        "To-Do"
      ],
      "created": "2019-06-27 13:53:03",
      "modified": "2021-07-14 12:28:16",
      "commits": 3
    },
    {
      "source": "docker-readme.Rmd",
      "filename": "docker-readme.html",
      "title": "Docker file",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Docker file",
        "Installation",
        "Usage"
      ],
      "created": "2019-06-11 15:12:41",
      "modified": "2019-08-16 13:54:58",
      "commits": 3
    },
    {
      "source": "gsoc2020-final-report.Rmd",
      "filename": "gsoc2020-final-report.html",
      "title": "GSoC 2020 Final Report",
      "author": "Rahul Saxena",
      "engine": "knitr::rmarkdown",
      "headings": [
        "My GSoC 2020 work in a nutshell",
        "Humble Beginnings:",
        "Post GSoC selection:",
        "Getting up to speed:",
        "Unexpected Turn of Events:",
        "Conditional Threading Optimizer:",
        "Unoptimized Code",
        "Proposed Optimized Code",
        "Benchmark",
        "Memory Allocation Optimizer:",
        "Pivot and Push:",
        "Fixing a critical issue:",
        "Call for Actions:",
        "Acting on users' recommendations:",
        "And, my GSoC '20 journey comes to an end:"
      ],
      "created": "2021-07-14 12:28:16",
      "modified": "2021-07-14 12:28:16",
      "commits": 1
    },
    {
      "source": "opt-loop-invariant.Rmd",
      "filename": "opt-loop-invariant.html",
      "title": "Loop-invariant Code Motion",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Loop-invariant Code Motion",
        "Idea",
        "Background",
        "Example",
        "Implementation",
        "To-Do"
      ],
      "created": "2019-07-16 16:29:34",
      "modified": "2021-07-14 12:28:16",
      "commits": 4
    },
    {
      "source": "opt-memory-alloc.Rmd",
      "filename": "opt-memory-alloc.html",
      "title": "Memory Allocation Optimizer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Memory Allocation Optimizer",
        "Background",
        "Example",
        "Implementation",
        "Limitations of the Optimizer"
      ],
      "created": "2021-07-14 12:28:16",
      "modified": "2021-07-14 12:28:16",
      "commits": 1
    },
    {
      "source": "potential-optimizers.Rmd",
      "filename": "potential-optimizers.html",
      "title": "Potential Optimizers",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Potential optimizers",
        "Inline Expansion",
        "Idea",
        "Code Examples",
        "Unoptimized Code",
        "Proposed Optimized Code",
        "Benchmark",
        "Memory Pre-Allocation",
        "Vectorization",
        "Efficient Column Extraction",
        "Drawbacks",
        "Efficient Value Extraction",
        "Drawback"
      ],
      "created": "2021-07-14 12:28:16",
      "modified": "2021-07-14 12:28:16",
      "commits": 1
    }
  ],
  "_score": 6.726727209026572,
  "_indexed": true,
  "_nocasepkg": "rco",
  "_universes": [
    "jcrodriguez1989"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-07-03T11:27:20.000Z",
      "distro": "resolute",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/c6c23efa6c2630bcade233cb37c6bc1e6aa6cb7ebdced013cfc89ffdaf9c1701",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/28657265394"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-07-03T11:27:16.000Z",
      "distro": "resolute",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/0e82198212d53764deb395f1ee27588d700a31605477e25967a508eb1cd77618",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/28657265394"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-07-03T11:30:56.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/5d1ca997840529bcf892eed05f081b65381defeba0ab107ef7de298d78650363",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/28657265394"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-07-03T11:29:28.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/e23642f99702ce42ab48e3a4c8f01ce08ea761e1a8ceba54d4e8bff47840676a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/28657265394"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-07-03T11:27:50.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/b760fae7d0b6dfc39f48b49fb312484bff48de4371119f4c378ca5035bac53d9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/28657265394"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-07-03T11:26:16.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/ae9fc7c56861f3ccafac98204e5d3864ab74ff716b77c9b5c4bc74eea11a66d5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/28657265394"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-07-03T11:26:21.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/1df85418b424ff52942a75ed67ea89a4bf9db4949cfd06cfca3a6f71a9876fc0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/28657265394"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-07-03T11:26:27.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/421a545a8334a45d7606be630e9ab2cf73c463682d9762aef46eb21154bf49d3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/28657265394"
    }
  ]
}