{
  "_id": "6ad1c51d29625c14e47ae750",
  "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-10-16 06:25:27 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/b24e816f06f15969d1703993b9ea7e0fa31c470950251d9a9370bcd28064c907",
  "_filesize": 936895,
  "_sha256": "b24e816f06f15969d1703993b9ea7e0fa31c470950251d9a9370bcd28064c907",
  "_expires": "2027-01-24T06:32:59.000Z",
  "_created": "2026-10-16T06:25:27.000Z",
  "_published": "2026-10-16T06:33:01.222Z",
  "_buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/38860712200",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116843484671,
      "time": 181,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12029406180"
    },
    {
      "job": 116843484666,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12029610299"
    },
    {
      "job": 116843484691,
      "time": 164,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12029361688"
    },
    {
      "job": 116843484740,
      "time": 149,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12029416726"
    },
    {
      "job": 116842203141,
      "time": 259,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12028179653"
    },
    {
      "job": 116843484699,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12028784929"
    },
    {
      "job": 116843484640,
      "time": 95,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12029018783"
    },
    {
      "job": 116843484702,
      "time": 103,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12028784967"
    },
    {
      "job": 116843484952,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12029380808"
    }
  ],
  "_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": 83,
  "_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": 305,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rco"
  },
  "_devurl": "https://github.com/jcrodriguez1989/rco",
  "_pkgdown": "https://jcrodriguez1989.github.io/rco/",
  "_searchresults": 1,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/rco.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.731991449018929,
  "_indexed": true,
  "_nocasepkg": "rco",
  "_universes": [
    "jcrodriguez1989"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-16T06:28:11.000Z",
      "distro": "resolute",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/8edd736841f4cb9d5d87cb48390cff7513f16c9a51d75e4629b29c9b9410c208",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/38860712200"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-16T06:27:27.000Z",
      "distro": "resolute",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/de9b9284c2d0674b1909bf31709bf32ba5c506da9bce43ff3456f5e98007bf95",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/38860712200"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-16T06:31:02.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/9b6982f3ff9fc67cb5dc594ac33253d197293e86f2ef9d47410a045c30d6cd9c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/38860712200"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-16T06:31:45.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/23e2d98a9012b27bdb13d05ce511136e3a3cb17156be2c6912b45fc1104cf542",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/38860712200"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-10-16T06:27:16.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/a41d0201f5fb0a63869014a16fde6c443eac13a2b44c51eb46df3da90e295bc9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/38860712200"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-16T06:26:56.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/7fb52f6616117ba05751eb2f4db0e4de95525033216bd3444a71df89cb4b64f1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/38860712200"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-16T06:26:49.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/b6b9273eef4d54a087d48ea55ba0120911cc942487d0a703a91de4045382cf13",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/38860712200"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-16T06:26:28.000Z",
      "commit": "1df14992b7351bf68f28ae316abd8715ed7ff633",
      "fileid": "https://r2.ropensci.org/72439246242c1f3d8932915d3bcfdda57fcbaae9f9c7cb6c92e678598987f8fd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jcrodriguez1989/actions/runs/38860712200"
    }
  ]
}