{
  "_id": "6aca3a11fe5cc25786e857a7",
  "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-10-10 13:08:40 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>",
  "_user": "ironholds",
  "_type": "src",
  "_file": "primes_1.6.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7f0a7538bf49040b365028ec9026a1264caeeb69f6a32c9844f66b8a6eea5bcd",
  "_filesize": 173219,
  "_sha256": "7f0a7538bf49040b365028ec9026a1264caeeb69f6a32c9844f66b8a6eea5bcd",
  "_expires": "2027-01-18T13:13:52.000Z",
  "_created": "2026-10-10T13:08:40.000Z",
  "_published": "2026-10-10T13:13:53.730Z",
  "_buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114220438039,
      "time": 94,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11670474053"
    },
    {
      "job": 114220438140,
      "time": 108,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11670579110"
    },
    {
      "job": 114220438116,
      "time": 97,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11670254502"
    },
    {
      "job": 114220438086,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11670873604"
    },
    {
      "job": 114220438107,
      "time": 119,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11669959211"
    },
    {
      "job": 114220438109,
      "time": 171,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11670649009"
    },
    {
      "job": 114220438081,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11670429252"
    },
    {
      "job": 114220438104,
      "time": 225,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11669834532"
    },
    {
      "job": 114219833363,
      "time": 195,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11670768653"
    },
    {
      "job": 114220438032,
      "time": 229,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11669784648"
    },
    {
      "job": 114220438145,
      "time": 269,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11670903835"
    },
    {
      "job": 114220438118,
      "time": 143,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11670898516"
    },
    {
      "job": 114220438128,
      "time": 112,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11670908462"
    },
    {
      "job": 114220438119,
      "time": 209,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11669909320"
    },
    {
      "job": 114220438195,
      "time": 78,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11670219608"
    }
  ],
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 366
  },
  "_downloads": {
    "count": 1559,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/primes"
  },
  "_devurl": "https://github.com/ironholds/primes",
  "_searchresults": 87,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/primes.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 5.910516618191104,
  "_indexed": true,
  "_nocasepkg": "primes",
  "_universes": [
    "ironholds"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-10-10T13:10:18.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/1044c7e3f82a05694734859f8a59cab85b60504502f3196487eadf60e1a19588",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-10-10T13:10:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/d4e5bf746e6d888f9e673914dbc7ce720a9d4c31de3a88cdfb8a7f6781f24218",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-10-10T13:10:24.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/96705b43086f56d4ad317e9691e46985ee5e4d826f472179216cb279a1d84d8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-10-10T13:10:33.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/79c5cdea312e948176a04f38c94ad9b6de40110dc07bc9e1522096f58ac4205a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.6.0",
      "date": "2026-10-10T13:10:43.000Z",
      "arch": "aarch64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/1a3ed97f02fc8764f7b0c634a551a12de86c0ce5d6d8d4174083c8e812098350",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.6.0",
      "date": "2026-10-10T13:11:15.000Z",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/58c35302997f2ea3a6edb0a458c5eff81b54e4fd11dcf33322a3fdf38ac45848",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.6.0",
      "date": "2026-10-10T13:10:28.000Z",
      "arch": "aarch64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/d95a247a712427f31d74e5af417bb1666cfc50232050c9c82f57871cc402f70f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.6.0",
      "date": "2026-10-10T13:11:43.000Z",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/fdc1391620f00afc6230353dc975c92a664b3ab91ee1ccef9b43122b6729870d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6.0",
      "date": "2026-10-10T13:12:44.000Z",
      "arch": "emscripten",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/597f1a2747d1d20f8c873af1f27bf27a653f59b63e7cbcf390cc1c6d946be4c4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-10-10T13:12:45.000Z",
      "arch": "aarch64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/09371df631d9c7ffc46a264e4f9af21cd6d99cc0443e2370ba4f2558d8c973c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-10-10T13:10:03.000Z",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/a1412e8b5bd58ebe567dd5eaf1a0801af5e9ea19d9544c2ba5e251dd8072c09a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-10-10T13:10:01.000Z",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/15d20dbd00b2a8ded335f901f0d39923fea84892027c0be911dfb6384631153a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-10-10T13:11:49.000Z",
      "arch": "aarch64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/33d5e40bb977182deaca1ab7bcd06403276e5dec1a152808eead80e288c1ed42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-10-10T13:09:43.000Z",
      "arch": "x86_64",
      "commit": "915c26c5c4df95a3f308f4e3fc5cd2e726e393ed",
      "fileid": "https://r2.ropensci.org/1b5341fd4944ad4214e125083afeeaa189484694cac308f984c2eb98536bb9ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ironholds/actions/runs/38054400385"
    }
  ]
}