{
  "_id": "6a1814cbacfb0bcc41daf174",
  "Package": "primes",
  "Type": "Package",
  "Title": "Fast Functions for Prime Numbers",
  "Version": "1.6.0",
  "Date": "2023-12-30",
  "Authors@R": "c(\nperson(\"Os\", \"Keyes\", email = \"ironholds@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Paul\", \"Egeler\", email = \"paulegeler@gmail.com\", role = c(\"aut\"), comment = c(ORCID = \"0000-0001-6948-9498\"))\n)",
  "Description": "Fast functions for dealing with prime numbers, such as\ntesting whether a number is prime and generating a sequence\nprime numbers. Additional functions include finding prime\nfactors and Ruth-Aaron pairs, finding next and previous prime\nnumbers in the series, finding or estimating the nth prime,\nestimating the number of primes less than or equal to an\narbitrary number, computing primorials, prime k-tuples (e.g.,\ntwin primes), finding the greatest common divisor and smallest\n(least) common multiple, testing whether two numbers are\ncoprime, and computing Euler's totient function. Most functions\nare vectorized for speed and convenience.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/ironholds/primes",
  "BugReports": "https://github.com/ironholds/primes/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Repository": "https://ironholds.r-universe.dev",
  "Date/Publication": "2024-01-16 15:57:48 UTC",
  "RemoteUrl": "https://github.com/ironholds/primes",
  "RemoteRef": "HEAD",
  "RemoteSha": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-28 10:06:26 UTC",
    "User": "root"
  },
  "Author": "Os Keyes [aut, cre],\nPaul Egeler [aut] (ORCID: <https://orcid.org/0000-0001-6948-9498>)",
  "Maintainer": "Os Keyes <ironholds@gmail.com>",
  "MD5sum": "165cc923ea29fe460e1d8dde518e3676",
  "_user": "ironholds",
  "_type": "src",
  "_file": "primes_1.6.0.tar.gz",
  "_fileid": "78ea7ff4ba0eb052d10fc5e1cc4fcf9db96a971999e79cf17e6772cfaaedb665",
  "_filesize": 172852,
  "_sha256": "78ea7ff4ba0eb052d10fc5e1cc4fcf9db96a971999e79cf17e6772cfaaedb665",
  "_created": "2026-05-28T10:06:26.000Z",
  "_published": "2026-05-28T10:11:23.766Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78268561652,
      "time": 138,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7263187999"
    },
    {
      "job": 78268561521,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7263185188"
    },
    {
      "job": 78268561658,
      "time": 133,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263186496"
    },
    {
      "job": 78268561582,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263183854"
    },
    {
      "job": 78268561489,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7263178958"
    },
    {
      "job": 78268561623,
      "time": 165,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7263196490"
    },
    {
      "job": 78268561551,
      "time": 86,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263171973"
    },
    {
      "job": 78268561504,
      "time": 239,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263219879"
    },
    {
      "job": 78268058710,
      "time": 189,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263144913"
    },
    {
      "job": 78268561519,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263182002"
    },
    {
      "job": 78268561707,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7263176647"
    },
    {
      "job": 78268561537,
      "time": 171,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7263198058"
    },
    {
      "job": 78268561476,
      "time": 116,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263181519"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ironholds/primes",
  "_commit": {
    "id": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
    "author": "Os Keyes <Ironholds@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #15 from pegeler/issue-14\n\nAddressing floating point error in Euler's totient function",
    "time": 1705420668
  },
  "_maintainer": {
    "name": "Os Keyes",
    "email": "ironholds@gmail.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "ironholds",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "pegeler",
      "count": 62,
      "uuid": 32426645
    },
    {
      "user": "ironholds",
      "count": 12,
      "uuid": 2487262
    }
  ],
  "_userbio": {
    "uuid": 2487262,
    "type": "user",
    "name": "Os Keyes"
  },
  "_downloads": {
    "count": 1148,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/primes"
  },
  "_devurl": "https://github.com/ironholds/primes",
  "_searchresults": 65,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/primes.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ironholds/primes",
  "_realowner": "ironholds",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2015-06-22"
    },
    {
      "version": "0.2.0",
      "date": "2020-07-27"
    },
    {
      "version": "1.0.0",
      "date": "2020-07-29"
    },
    {
      "version": "1.1.0",
      "date": "2020-09-03"
    },
    {
      "version": "1.4.0",
      "date": "2022-09-12"
    },
    {
      "version": "1.5.0",
      "date": "2023-10-08"
    },
    {
      "version": "1.5.1",
      "date": "2023-11-08"
    },
    {
      "version": "1.5.2",
      "date": "2023-12-19"
    },
    {
      "version": "1.6.0",
      "date": "2024-01-09"
    },
    {
      "version": "1.6.1",
      "date": "2025-02-04"
    }
  ],
  "_exports": [
    "coprime",
    "cousin_primes",
    "gcd",
    "generate_n_primes",
    "generate_primes",
    "is_prime",
    "k_tuple",
    "next_prime",
    "nth_prime",
    "nth_prime_estimate",
    "phi",
    "prev_prime",
    "prime_count",
    "prime_factors",
    "primorial_n",
    "primorial_p",
    "Rgcd",
    "Rscm",
    "ruth_aaron_pairs",
    "scm",
    "sexy_prime_triplets",
    "sexy_primes",
    "third_cousin_primes",
    "twin_primes"
  ],
  "_datasets": [
    {
      "name": "primes",
      "title": "Pre-computed Prime Numbers",
      "object": "primes",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "gcd",
      "title": "Find the Greatest Common Divisor, Smallest Common Multiple, or Coprimality",
      "topics": [
        "coprime",
        "gcd",
        "lcm",
        "Rgcd",
        "Rscm",
        "scm"
      ]
    },
    {
      "page": "generate_primes",
      "title": "Generate a Sequence of Prime Numbers",
      "topics": [
        "generate_n_primes",
        "generate_primes"
      ]
    },
    {
      "page": "is_prime",
      "title": "Test for Prime Numbers",
      "topics": [
        "is_prime"
      ]
    },
    {
      "page": "k_tuple",
      "title": "Prime _k_-tuples",
      "topics": [
        "cousin_primes",
        "k_tuple",
        "sexy_primes",
        "sexy_prime_triplets",
        "third_cousin_primes",
        "twin_primes"
      ]
    },
    {
      "page": "next_prime",
      "title": "Find the Next and Previous Prime Numbers",
      "topics": [
        "next_prime",
        "prev_prime"
      ]
    },
    {
      "page": "nth_prime",
      "title": "Get the n-th Prime from the Sequence of Primes.",
      "topics": [
        "nth_prime"
      ]
    },
    {
      "page": "phi",
      "title": "Euler's Totient Function",
      "topics": [
        "phi"
      ]
    },
    {
      "page": "prime_count",
      "title": "Prime-counting Functions and Estimating the Value of the n-th Prime",
      "topics": [
        "nth_prime_estimate",
        "prime_count"
      ]
    },
    {
      "page": "prime_factors",
      "title": "Perform Prime Factorization on a Vector",
      "topics": [
        "prime_factors"
      ]
    },
    {
      "page": "primes",
      "title": "Pre-computed Prime Numbers",
      "topics": [
        "primes"
      ]
    },
    {
      "page": "primorial",
      "title": "Compute the Primorial",
      "topics": [
        "primorial",
        "primorial_n",
        "primorial_p"
      ]
    },
    {
      "page": "ruth_aaron_pairs",
      "title": "Find Ruth-Aaron Pairs of Integers",
      "topics": [
        "ruth_aaron_pairs"
      ]
    }
  ],
  "_readme": "https://github.com/ironholds/primes/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_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"
    }
  ],
  "_score": 5.651006495088454,
  "_indexed": true,
  "_nocasepkg": "primes",
  "_universes": [
    "ironholds"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-05-28T10:08:43.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "111f1ad42d66948026c1e678ca2877d67ef8a5123bcc534a3e3db2439edc4fb9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-05-28T10:08:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "0e17163fa16d005512ebc91946c1e6835409584236709c85ab04b91dfe70794b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-05-28T10:08:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "2fe8612824c83102148a5e4d71df94ebf2683337330e98b1fcd86ef7b4732f64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-05-28T10:08:37.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "3327cd1a27bf34e81f707db98629436fe10e10c64ca2a923c6113974276335f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.6.0",
      "date": "2026-05-28T10:08:24.000Z",
      "arch": "aarch64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "7f8d46260a4828012060faa6d3a04f762fba16ea5ab74ce67cee869b5ad6690c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.6.0",
      "date": "2026-05-28T10:09:07.000Z",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "ff2636ebe19bbbb24cfff4cf4ff633e40d736ef8e8522a07936f6be97189c399",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.6.0",
      "date": "2026-05-28T10:08:06.000Z",
      "arch": "aarch64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "cfdc1d52fcde40030f98c1bdbd522d90bd05345935d0b98d2970d4f6d24cb6a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.6.0",
      "date": "2026-05-28T10:09:47.000Z",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "734dc6c2d4b032baf80a29789dc643c4a690724e7cf1966be01d09d45c062265",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6.0",
      "date": "2026-05-28T10:08:38.000Z",
      "arch": "emscripten",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "ff8876902c9489dfc676c501f641835e785ef1c5b88e61c61f80a425a54ec065",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-05-28T10:07:49.000Z",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "dc544a107f7b9881cdbdb4b402204bf9b9810cb38d7f3939dba89de946762c42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-05-28T10:08:37.000Z",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "2cc5e042048877169fd6aab5da79c17ef38cb5eab4ea0e11757afc46f282b227",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-05-28T10:07:51.000Z",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "d6ad69f8109484d22e56913cd150c10459102b46964ca37f6008b706c7df8116",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/26568137029"
    }
  ]
}