{
  "_id": "6a228f9ccd65a98ecbd55758",
  "Package": "m2r",
  "Type": "Package",
  "Title": "Interface to 'Macaulay2'",
  "Version": "1.0.3",
  "Authors@R": "c(person(\"David\", \"Kahle\", email = \"david@kahle.io\", role = c(\"aut\", \"cph\", \"cre\"), comment = c(ORCID = \"0000-0002-9999-1558\")),\nperson(\"Christopher\", \"O'Neill\", email = \"musicman3320@gmail.com\", role = c(\"aut\", \"cph\")),\nperson(\"Jeff\", \"Sommars\", email = \"sommars1@uic.edu\", role = c(\"aut\", \"cph\")))",
  "Maintainer": "David Kahle <david@kahle.io>",
  "Description": "Persistent interface to 'Macaulay2'\n<https://www.macaulay2.com> and front-end tools facilitating\nits use in the 'R' ecosystem. For details see Kahle et. al.\n(2020) <doi:10.18637/jss.v093.i09>.",
  "License": "GPL-2",
  "SystemRequirements": "Macaulay2 <https://www.macaulay2.com>",
  "URL": "https://github.com/coneill-math/m2r",
  "BugReports": "https://github.com/coneill-math/m2r/issues",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "R.rsp",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "cmake git libgmp3-dev make libgit2-dev libicu-dev\nlibuv1-dev libssl-dev libx11-dev",
  "Repository": "https://coneill-math.r-universe.dev",
  "Date/Publication": "2025-06-10 05:23:04 UTC",
  "RemoteUrl": "https://github.com/coneill-math/m2r",
  "RemoteRef": "HEAD",
  "RemoteSha": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-05 08:50:26 UTC",
    "User": "root"
  },
  "Author": "David Kahle [aut, cph, cre] (ORCID:\n<https://orcid.org/0000-0002-9999-1558>),\nChristopher O'Neill [aut, cph],\nJeff Sommars [aut, cph]",
  "MD5sum": "a88ff50709e9b853f9ff5f288eca7253",
  "_user": "coneill-math",
  "_type": "src",
  "_file": "m2r_1.0.3.tar.gz",
  "_fileid": "790d1ffaa012420adb8822e920659d18895019e4beeff22718f1a00f64609d58",
  "_filesize": 563289,
  "_sha256": "790d1ffaa012420adb8822e920659d18895019e4beeff22718f1a00f64609d58",
  "_created": "2026-06-05T08:50:26.000Z",
  "_published": "2026-06-05T08:58:04.154Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79695310228,
      "time": 162,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7432651240"
    },
    {
      "job": 79695310307,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7432651612"
    },
    {
      "job": 79695310308,
      "time": 159,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7432650417"
    },
    {
      "job": 79695310188,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7432649183"
    },
    {
      "job": 79695310348,
      "time": 157,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7432643379"
    },
    {
      "job": 79695310114,
      "time": 419,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7432716768"
    },
    {
      "job": 79695310113,
      "time": 198,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7432651384"
    },
    {
      "job": 79695310143,
      "time": 361,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7432698419"
    },
    {
      "job": 79694828588,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7432601179"
    },
    {
      "job": 79695310085,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7432640722"
    },
    {
      "job": 79695310089,
      "time": 110,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7432634913"
    },
    {
      "job": 79695310125,
      "time": 139,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7432644012"
    },
    {
      "job": 79695310106,
      "time": 144,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7432645294"
    }
  ],
  "_buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/coneill-math/m2r",
  "_commit": {
    "id": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
    "author": "David Kahle <david@kahle.io>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #244 from dkahle/master\n\nminor cran fixes",
    "time": 1749532984
  },
  "_maintainer": {
    "name": "David Kahle",
    "email": "david@kahle.io",
    "login": "dkahle",
    "description": "",
    "uuid": 424139,
    "orcid": "0000-0002-9999-1558"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "mpoly",
      "version": ">= 1.0.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "gmp",
      "role": "Imports"
    },
    {
      "package": "usethis",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    }
  ],
  "_owner": "coneill-math",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "dkahle",
      "count": 420,
      "uuid": 424139
    },
    {
      "user": "coneill-math",
      "count": 98,
      "uuid": 666014
    },
    {
      "user": "d-torrance",
      "count": 2,
      "uuid": 1992248
    },
    {
      "user": "chrisgoddard",
      "count": 1,
      "uuid": 4922472
    }
  ],
  "_userbio": {
    "uuid": 666014,
    "type": "user",
    "name": "Christopher O'Neill"
  },
  "_downloads": {
    "count": 552,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/m2r"
  },
  "_devurl": "https://github.com/coneill-math/m2r",
  "_searchresults": 32,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/m2r.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/coneill-math/m2r",
  "_realowner": "coneill-math",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2017-06-23"
    },
    {
      "version": "1.0.1",
      "date": "2020-05-06"
    },
    {
      "version": "1.0.2",
      "date": "2020-05-28"
    },
    {
      "version": "1.0.3",
      "date": "2025-06-10"
    }
  ],
  "_exports": [
    "dimension",
    "edit_r_environ",
    "enter_m2",
    "factor_n",
    "factor_n.",
    "factor_poly",
    "factor_poly.",
    "gb",
    "gb_",
    "gb_.",
    "gb.",
    "get_m2_con",
    "get_m2_connection",
    "get_m2_gmp",
    "get_m2_path",
    "get_m2_port",
    "get_m2_procid",
    "has_m2_connection",
    "ideal",
    "ideal_",
    "ideal_.",
    "ideal.",
    "is.m2",
    "is.m2_array",
    "is.m2_grobner_basis",
    "is.m2_ideal",
    "is.m2_ideal_list",
    "is.m2_ideal_list_pointer",
    "is.m2_ideal_pointer",
    "is.m2_list",
    "is.m2_matrix",
    "is.m2_matrix_pointer",
    "is.m2_module",
    "is.m2_option",
    "is.m2_pointer",
    "is.m2_polynomialring",
    "is.m2_polynomialring_pointer",
    "is.m2_sequence",
    "is.ring",
    "LLL",
    "LLL.",
    "m2",
    "m2_coefrings",
    "m2_exists",
    "m2_getwd",
    "m2_kernel",
    "m2_kernel.",
    "m2_length",
    "m2_ls",
    "m2_matrix",
    "m2_matrix.",
    "m2_meta",
    "m2_meta<-",
    "m2_name",
    "m2_name<-",
    "m2_numcols",
    "m2_numrows",
    "m2_parse",
    "m2_rm",
    "m2_structure",
    "m2_termorders",
    "m2_toggle_gmp",
    "m2.",
    "m2r_cloud_url",
    "m2r_version_number",
    "mixed_volume",
    "primary_decomposition",
    "primary_decomposition.",
    "quotient",
    "quotient.",
    "radical",
    "radical.",
    "reset_m2",
    "ring",
    "ring_",
    "ring_.",
    "ring.",
    "saturate",
    "saturate.",
    "set_m2_path",
    "snf",
    "snf.",
    "solve_system",
    "solve_system.",
    "start_m2",
    "stop_m2",
    "str_m2",
    "use_ring"
  ],
  "_help": [
    {
      "page": "enter_m2",
      "title": "Enter a Macaulay2 session",
      "topics": [
        "enter_m2"
      ]
    },
    {
      "page": "factor_n",
      "title": "Factor an integer into primes",
      "topics": [
        "factor_n",
        "factor_n."
      ]
    },
    {
      "page": "factor_poly",
      "title": "Factor a polynomial",
      "topics": [
        "factor_poly",
        "factor_poly."
      ]
    },
    {
      "page": "gb",
      "title": "Compute a Grobner basis with Macaulay2",
      "topics": [
        "gb",
        "gb.",
        "gb_",
        "gb_."
      ]
    },
    {
      "page": "ideal",
      "title": "Create a new ideal in Macaulay2",
      "topics": [
        "*.m2_ideal",
        "+.m2_ideal",
        "==.m2_ideal",
        "dimension",
        "ideal",
        "ideal.",
        "ideal_",
        "ideal_.",
        "m2_parse_function.m2_ideal",
        "m2_parse_function.m2_monomialideal",
        "primary_decomposition",
        "primary_decomposition.",
        "print.m2_ideal",
        "print.m2_ideal_list",
        "quotient",
        "quotient.",
        "radical",
        "radical.",
        "saturate",
        "saturate.",
        "^.m2_ideal"
      ]
    },
    {
      "page": "is",
      "title": "Macaulay2 object tests",
      "topics": [
        "is",
        "is.m2",
        "is.m2_array",
        "is.m2_grobner_basis",
        "is.m2_ideal",
        "is.m2_ideal_list",
        "is.m2_ideal_list_pointer",
        "is.m2_ideal_pointer",
        "is.m2_list",
        "is.m2_matrix",
        "is.m2_matrix_pointer",
        "is.m2_module",
        "is.m2_option",
        "is.m2_pointer",
        "is.m2_polynomialring",
        "is.m2_polynomialring_pointer",
        "is.m2_sequence",
        "is.ring"
      ]
    },
    {
      "page": "LLL",
      "title": "LLL algorithm",
      "topics": [
        "LLL",
        "LLL."
      ]
    },
    {
      "page": "m2_call",
      "title": "Call and reset a Macaulay2 process",
      "topics": [
        "has_m2_connection",
        "m2",
        "m2.",
        "m2r_cloud_url",
        "m2r_version_number",
        "m2_call",
        "print.m2_pointer",
        "reset_m2",
        "start_m2",
        "stop_m2"
      ]
    },
    {
      "page": "m2_matrix",
      "title": "Create a new matrix in Macaulay2",
      "topics": [
        "m2_kernel",
        "m2_kernel.",
        "m2_length",
        "m2_matrix",
        "m2_matrix.",
        "m2_numcols",
        "m2_numrows",
        "m2_parse_function.m2_image",
        "m2_parse_function.m2_map",
        "print.m2_image",
        "print.m2_matrix"
      ]
    },
    {
      "page": "m2_parser",
      "title": "Convert a M2 object into an R object",
      "topics": [
        "get_m2_gmp",
        "m2_parse",
        "m2_parser",
        "m2_parse_class.default",
        "m2_parse_class.m2_hashtable",
        "m2_parse_class.m2_optiontable",
        "m2_parse_class.m2_verticallist",
        "m2_parse_function.default",
        "m2_parse_function.m2_hashtable",
        "m2_parse_function.m2_monoid",
        "m2_parse_function.m2_optiontable",
        "m2_parse_function.m2_symbol",
        "m2_parse_function.m2_tocc",
        "m2_parse_function.m2_verticallist",
        "m2_parse_object_as_function.default",
        "m2_parse_object_as_function.m2_symbol",
        "m2_toggle_gmp",
        "print.m2_array",
        "print.m2_boolean",
        "print.m2_complex",
        "print.m2_float",
        "print.m2_hashtable",
        "print.m2_integer",
        "print.m2_list",
        "print.m2_module",
        "print.m2_option",
        "print.m2_sequence",
        "print.m2_string",
        "print.m2_symbol"
      ]
    },
    {
      "page": "m2_path",
      "title": "Set path to Macaulay2 (M2)",
      "topics": [
        "get_m2_con",
        "get_m2_connection",
        "get_m2_path",
        "get_m2_port",
        "get_m2_procid",
        "m2_path",
        "set_m2_path"
      ]
    },
    {
      "page": "m2_utility",
      "title": "Utility tools for M2",
      "topics": [
        "m2_exists",
        "m2_getwd",
        "m2_ls",
        "m2_meta",
        "m2_meta<-",
        "m2_name",
        "m2_name<-",
        "m2_rm",
        "m2_structure",
        "m2_utility"
      ]
    },
    {
      "page": "m2r",
      "title": "Macaulay2 in R",
      "topics": [
        "m2r",
        "package-m2r"
      ]
    },
    {
      "page": "phc",
      "title": "PHCpack",
      "topics": [
        "mixed_volume",
        "phc",
        "solve_system",
        "solve_system."
      ]
    },
    {
      "page": "ring",
      "title": "Create a new ring in Macaulay2",
      "topics": [
        "m2_coefrings",
        "m2_parse_object_as_function.m2_polynomialring",
        "m2_termorders",
        "print.m2_polynomialring",
        "ring",
        "ring.",
        "ring_",
        "ring_."
      ]
    },
    {
      "page": "snf",
      "title": "Smith normal form",
      "topics": [
        "snf",
        "snf."
      ]
    },
    {
      "page": "str_m2",
      "title": "Give the structure of a Macaulay2 ring",
      "topics": [
        "str_m2"
      ]
    },
    {
      "page": "use_ring",
      "title": "Set Macaulay2 ring",
      "topics": [
        "use_ring"
      ]
    }
  ],
  "_readme": "https://github.com/coneill-math/m2r/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cachem",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "credentials",
    "curl",
    "desc",
    "dplyr",
    "farver",
    "fastmap",
    "fs",
    "generics",
    "gert",
    "ggplot2",
    "gitcreds",
    "glue",
    "gmp",
    "gtable",
    "httr2",
    "ini",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "magrittr",
    "memoise",
    "mpoly",
    "openssl",
    "orthopolynom",
    "partitions",
    "pillar",
    "pkgconfig",
    "plyr",
    "polynom",
    "purrr",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "Rdpack",
    "rlang",
    "rprojroot",
    "rstudioapi",
    "S7",
    "scales",
    "sets",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "usethis",
    "utf8",
    "vctrs",
    "viridisLite",
    "whisker",
    "withr",
    "yaml",
    "zip"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "m2r.pdf.asis",
      "filename": "m2r.pdf",
      "title": "A computer algebra system for R: Macaulay2 and the m2r package",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2018-08-22 18:47:16",
      "modified": "2019-02-19 03:25:32",
      "commits": 2
    }
  ],
  "_score": 5.380211241711606,
  "_indexed": true,
  "_nocasepkg": "m2r",
  "_universes": [
    "coneill-math",
    "dkahle"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-05T08:53:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "24eb90869309c376e2a96e9d20df6f139b91d9018d9d46c78418d6c04b769af7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-05T08:53:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "811f8542c0db4830e934ae797bb967fa4254994fcae282e577e8409ca3cfafb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-05T08:52:57.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "8eea18c07d01d7363aa84b7efc0b725d1ec0d21a58532ea15094cc224f4e82cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-05T08:52:50.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "b82a5cf45278705bd042b5148189531b3a75156d73765c0582fa9f0d1c7b0aea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-05T08:52:40.000Z",
      "arch": "aarch64",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "72452c0c0d8e9c825cc71d47b615c0c55cce9d02c91cde675c47a850642ebc72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-05T08:55:53.000Z",
      "arch": "x86_64",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "fe76511ff99a91192a7ac88eae988c64ae9e9ff894f964464b0afd6e2b9df536",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-05T08:52:51.000Z",
      "arch": "aarch64",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "7e4fa2ac0f344a39652659de6d0077289b99074495f78545a3b50e927b3bd1ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-05T08:54:52.000Z",
      "arch": "x86_64",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "7465a755b36058dae8262355582fcdf04a5bd2fa66ca7366d5015551a8d93ad5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-05T08:52:52.000Z",
      "arch": "emscripten",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "99801641e2b62be801268fdaff77bb5c3a2dbdb4784d8d0659cd8787919029a8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-05T08:51:47.000Z",
      "arch": "x86_64",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "69cc8d40ce3f9976700843a3b1302327337becb839066a4264c7b3524704b9a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-05T08:51:48.000Z",
      "arch": "x86_64",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "86d6f44c8a001355b02effd856f7b9eca255764c6289b3497ea1ced2bd904d27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-05T08:51:50.000Z",
      "arch": "x86_64",
      "commit": "d485d12fe7b5aa63135e2364a61dcb960c2346d3",
      "fileid": "04da2854f46658401811bd31c6eafc601c05cea57460fa581e21cd13034c29da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coneill-math/actions/runs/27005145645"
    }
  ]
}