{
  "_id": "6a16aeb1acfb0bcc41d84852",
  "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-05-27 08:40:26 UTC",
    "User": "root"
  },
  "Author": "Juan Cruz Rodriguez [aut, cre],\nYihui Xie [ctb] (ORCID: <https://orcid.org/0000-0003-0645-5666>),\nNicolás Wolovick [ctb]",
  "MD5sum": "97405afd5c60d1be644c850357ca95a2",
  "_user": "jcrodriguez1989",
  "_type": "src",
  "_file": "rco_1.0.2.tar.gz",
  "_fileid": "6d9757ee3d4ae068b936f0792aa8d11ae921bc68f868757b9b1b8612718fb922",
  "_filesize": 861106,
  "_sha256": "6d9757ee3d4ae068b936f0792aa8d11ae921bc68f868757b9b1b8612718fb922",
  "_created": "2026-05-27T08:40:26.000Z",
  "_published": "2026-05-27T08:43:29.407Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78039759994,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7235877358"
    },
    {
      "job": 78039760006,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7235876658"
    },
    {
      "job": 78039760529,
      "time": 94,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7235858587"
    },
    {
      "job": 78039760523,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7235864230"
    },
    {
      "job": 78039103428,
      "time": 242,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7235826129"
    },
    {
      "job": 78039759966,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7235858665"
    },
    {
      "job": 78039760566,
      "time": 119,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7235867355"
    },
    {
      "job": 78039760525,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7235859153"
    },
    {
      "job": 78039760489,
      "time": 145,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7235875914"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/26500397144",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "description": "PhD in Computer Science 🍁"
  },
  "_downloads": {
    "count": 181,
    "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.0",
  "_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-05-27T08:42:43.000Z",
      "distro": "noble",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "886f6f293d3b8e8ba8f3234339f5ca4446fb954e49c81aebb08754250d34b81b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/26500397144"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-27T08:42:41.000Z",
      "distro": "noble",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "807d6f09a103e2c54baf38419561956245d60c0a8eaca405c952586bda4e98e4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/26500397144"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-27T08:41:59.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "78d3468ee222a6f37a18a17e53ef2b7f9f043e8fa99ceb80e5b037187cc804e3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/26500397144"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-27T08:42:14.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "aa142e22992f0b3636353fcb1e800c9b9551751f75572a676ea28820c6a38f79",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/26500397144"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-05-27T08:42:19.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "9333d460aeba1fded71dd83c09db44b5871e0f85892dc9f5ef27462fb1415cab",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/26500397144"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-27T08:42:06.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "0f80cceb0111edaf0b88a339c771b0a03d38b6f8061d6a9f2d344c01e44d2cd4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/26500397144"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-27T08:41:42.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "f06ff1b8367d4c298a739c94cb8f0a71fa0098f0842b23a7872bdca85d3d337c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/26500397144"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-27T08:42:31.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "cea0cd8acaa1b016cab17802b3b02274137f2de47437cf0300dbd366662a1e28",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/26500397144"
    }
  ]
}