{
  "_id": "6a4a5fa61e9cffeb4b833744",
  "Package": "ast2ast",
  "Type": "Package",
  "Title": "Translates an R Function to a C++ Function",
  "Version": "0.5",
  "Date": "2026-05-28",
  "Authors@R": "c(person(given = \"Krämer\",\nfamily = \"Konrad\",\nrole = c(\"aut\", \"cre\"),\nemail = \"konrad_kraemer@yahoo.de\"))",
  "Maintainer": "Krämer Konrad <konrad_kraemer@yahoo.de>",
  "BugReports": "https://github.com/Konrad1991/ast2ast/issues",
  "URL": "https://github.com/Konrad1991/ast2ast",
  "Description": "Enable translation of a tiny subset of R to C++. The user\nhas to define a R function which gets translated. For a full\nlist of possible functions check the documentation. After\ntranslation an R function is returned which is a shallow\nwrapper around the C++ code. Alternatively an external pointer\nto the C++ function is returned to the user. The intention of\nthe package is to generate fast functions which can be used as\node-system or during optimization.",
  "License": "GPL-3",
  "SystemRequirements": "GNU make, C++20, Rtools (>= 4.5) on Windows",
  "NeedsCompilation": "yes",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "make",
  "Repository": "https://fastverse.r-universe.dev",
  "Date/Publication": "2026-06-12 11:15:27 UTC",
  "RemoteUrl": "https://github.com/Konrad1991/ast2ast",
  "RemoteRef": "HEAD",
  "RemoteSha": "7a802f924061a74bbb4ae53257916a8b25189ded",
  "Packaged": {
    "Date": "2026-07-05 13:32:55 UTC",
    "User": "root"
  },
  "Author": "Krämer Konrad [aut, cre]",
  "_user": "fastverse",
  "_type": "src",
  "_file": "ast2ast_0.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/e05ad14a472b3390e4268d254b8cf12e355b51a75b73bea3c9bc1931bd7118c2",
  "_filesize": 500747,
  "_sha256": "e05ad14a472b3390e4268d254b8cf12e355b51a75b73bea3c9bc1931bd7118c2",
  "_expires": "2026-10-13T13:44:04.000Z",
  "_created": "2026-07-05T13:32:55.000Z",
  "_published": "2026-07-05T13:44:05.984Z",
  "_jobs": [
    {
      "job": 85227803549,
      "time": 309,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8092326611"
    },
    {
      "job": 85227803551,
      "time": 316,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8092327238"
    },
    {
      "job": 85227803548,
      "time": 280,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8092322851"
    },
    {
      "job": 85227803543,
      "time": 286,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8092323276"
    },
    {
      "job": 85227803572,
      "time": 168,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8092307372"
    },
    {
      "job": 85227803558,
      "time": 512,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8092352765"
    },
    {
      "job": 85227803567,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8092307112"
    },
    {
      "job": 85227803546,
      "time": 443,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8092343431"
    },
    {
      "job": 85227283505,
      "time": 416,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8092284396"
    },
    {
      "job": 85227803536,
      "time": 201,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8092311850"
    },
    {
      "job": 85227803544,
      "time": 350,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8092331512"
    },
    {
      "job": 85227803538,
      "time": 376,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8092335246"
    },
    {
      "job": 85227803542,
      "time": 315,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8092326915"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859",
  "_status": "success",
  "_upstream": "https://github.com/Konrad1991/ast2ast",
  "_commit": {
    "id": "7a802f924061a74bbb4ae53257916a8b25189ded",
    "author": "Konrad1991 <konrad_kraemer@yahoo.de>",
    "committer": "Konrad1991 <konrad_kraemer@yahoo.de>",
    "message": "added forward and backward solve\n",
    "time": 1781262927
  },
  "_maintainer": {
    "name": "Krämer Konrad",
    "email": "konrad_kraemer@yahoo.de",
    "login": "konrad1991",
    "description": "PostDoc at KIT. Enthusiastic about R, C++, Data, DataScience, Shiny, ML, Automation and numerical Optimization",
    "uuid": 35558461
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.4",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "RcppXPtrUtils",
      "role": "Suggests"
    },
    {
      "package": "pkgbuild",
      "role": "Suggests"
    }
  ],
  "_owner": "konrad1991",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 6
    },
    {
      "week": "2025-35",
      "n": 7
    },
    {
      "week": "2025-36",
      "n": 15
    },
    {
      "week": "2025-37",
      "n": 10
    },
    {
      "week": "2025-38",
      "n": 5
    },
    {
      "week": "2025-40",
      "n": 3
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 6
    },
    {
      "week": "2026-03",
      "n": 12
    },
    {
      "week": "2026-04",
      "n": 3
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 14
    },
    {
      "week": "2026-08",
      "n": 12
    },
    {
      "week": "2026-09",
      "n": 6
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 6
    },
    {
      "week": "2026-24",
      "n": 11
    }
  ],
  "_tags": [
    {
      "name": "V0.5.0",
      "date": "2026-01-13"
    }
  ],
  "_topics": [
    "abstract-syntax-tree",
    "c",
    "c-plus-plus",
    "expression-template",
    "matrix",
    "rcpp",
    "transpiler",
    "vector",
    "openblas",
    "cpp"
  ],
  "_stars": 34,
  "_contributors": [
    {
      "user": "konrad1991",
      "count": 680,
      "uuid": 35558461
    },
    {
      "user": "fangzhou-xie",
      "count": 2,
      "uuid": 45321577
    }
  ],
  "_userbio": {
    "uuid": 105517888,
    "type": "organization",
    "name": "fastverse",
    "followers": 28,
    "description": "An Extensible Suite of High-Performance and Low-Dependency Packages for Statistical Computing and Data Manipulation in R"
  },
  "_downloads": {
    "count": 74,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ast2ast"
  },
  "_devurl": "https://github.com/konrad1991/ast2ast",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/ast2ast.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1",
      "date": "2022-03-14"
    },
    {
      "version": "0.2",
      "date": "2022-09-15"
    },
    {
      "version": "0.2.1",
      "date": "2022-10-19"
    },
    {
      "version": "0.3.0",
      "date": "2023-02-28"
    },
    {
      "version": "0.3.1",
      "date": "2023-04-11"
    },
    {
      "version": "0.3.2",
      "date": "2023-12-09"
    }
  ],
  "_exports": [
    "translate"
  ],
  "_help": [
    {
      "page": "translate",
      "title": "Translate an R function into C++",
      "topics": [
        "translate"
      ]
    }
  ],
  "_rundeps": [
    "R6",
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "DetailedDocumentation.Rmd",
      "filename": "DetailedDocumentation.html",
      "title": "Detailed Documentation",
      "author": "Konrad Kraemer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Type system in ast2ast",
        "Setting types for function arguments",
        "Default behavior",
        "Using args_f",
        "Borrowing, constness, and references",
        "Setting types for variables inside the function",
        "Immutability of types",
        "Derivatives",
        "Forward mode",
        "Reverse mode",
        "Design philosophy",
        "Interpolation"
      ],
      "created": "2022-01-14 21:37:34",
      "modified": "2026-01-10 09:09:00",
      "commits": 25
    },
    {
      "source": "InformationForPackageAuthors.Rmd",
      "filename": "InformationForPackageAuthors.html",
      "title": "Information for package authors",
      "author": "Konrad Krämer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Guidance for Package Authors",
        "Naming rationalization ast2ast",
        "Comparison of R and ETR code",
        "The XPtr interface",
        "First, one creates the external pointer of the R function.",
        "Afterwards the external pointer is used in an R package",
        "call the function from the R package"
      ],
      "created": "2022-01-31 09:22:49",
      "modified": "2026-02-24 14:05:12",
      "commits": 29
    }
  ],
  "_score": 5.351022852584125,
  "_indexed": false,
  "_nocasepkg": "ast2ast",
  "_universes": [
    "fastverse"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5",
      "date": "2026-07-05T13:37:41.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/8fab08a1e6b484f95564257137820bcc70e7eef50db277ad31d74172c3a51a0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5",
      "date": "2026-07-05T13:37:36.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/f946ddaff5eb62ca5e28140956a566e00b755f468e0f385908f5879a394e80dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5",
      "date": "2026-07-05T13:37:06.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/a3cf8204c65306c32f70f27925c58ab6b06cb173da38554991df4dd1642d1f86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5",
      "date": "2026-07-05T13:37:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/b76a61ee27c6aa9b6c495201bd36544f1b8aa5ed8865ea06d2df06b783c61797",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5",
      "date": "2026-07-05T13:36:04.000Z",
      "arch": "aarch64",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/e2603ac0cb6bdd02d421e242ec81d891079d8989792ee927635fb3282bb086c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5",
      "date": "2026-07-05T13:37:28.000Z",
      "arch": "x86_64",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/e32ca879924295ce61daabef81b91f6aeccfef7406b151404e6b93c50c3d5034",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5",
      "date": "2026-07-05T13:36:06.000Z",
      "arch": "aarch64",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/13754589091f4f441d58cdaed1ff09b589a824d5f92aad072314228b557a51ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5",
      "date": "2026-07-05T13:37:39.000Z",
      "arch": "x86_64",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/908bdba1dd7c380d7566c46d0ae38f32dd76f6708c20ba9c4fa0d131fdb57236",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5",
      "date": "2026-07-05T13:37:02.000Z",
      "arch": "emscripten",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/7b403c7e858f105a37e2b6afd9c4d8bff9512db80ac2eb217de035789fb5fcb6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5",
      "date": "2026-07-05T13:36:09.000Z",
      "arch": "x86_64",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/ca6742c1760a1808eb6c8fe2d9956e4d886f677e0e96f46c5982ad0a397bdb31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5",
      "date": "2026-07-05T13:35:59.000Z",
      "arch": "x86_64",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/ccd5dfafa928c355eedf08a2736d35c328060d7fc60f752dc007efe94540e86a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5",
      "date": "2026-07-05T13:35:51.000Z",
      "arch": "x86_64",
      "commit": "7a802f924061a74bbb4ae53257916a8b25189ded",
      "fileid": "https://r2.ropensci.org/9899f55894427ef50bb0139af32d4cc973537bd4d0af1a1d5396c17e48632c5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/28742361859"
    }
  ]
}