{
  "_id": "6ac77aa1de46216d5edd091d",
  "Package": "gbasics",
  "Title": "Genotype classes and support routines for CKMR",
  "Author": "Mark Bravington, Shane Baylis",
  "Description": "S3 classes for manipulating genetic data, primarily NGS\nSNPs (sequence counts and/or genotypes) but maybe more, plus\nsupport for other kin-finding/genotyping packages; ultimately\nmeant for Close-Kin Mark-Recapture.",
  "Maintainer": "Mark Bravington <markb1@summerinsouth.net>",
  "License": "GPL",
  "biocViews": "",
  "KeepPlaintextDoco": "YES",
  "Encoding": "UTF-8",
  "Version": "1.2.1",
  "Repository": "https://markbravington.r-universe.dev",
  "Date/Publication": "2025-05-25 11:33:52 UTC",
  "RemoteUrl": "https://github.com/markbravington/gbasics",
  "RemoteRef": "HEAD",
  "RemoteSha": "d381002207da746ba86c7aaef4276136b8137660",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-08 10:18:29 UTC",
    "User": "root"
  },
  "_user": "markbravington",
  "_type": "src",
  "_file": "gbasics_1.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/59698f22c8bdce2403f5511d6a6e4e2f1bdb5d7cbc0fe6dd507005a4c1e1b951",
  "_filesize": 276779,
  "_sha256": "59698f22c8bdce2403f5511d6a6e4e2f1bdb5d7cbc0fe6dd507005a4c1e1b951",
  "_expires": "2027-01-16T11:12:31.000Z",
  "_created": "2026-10-08T10:18:29.000Z",
  "_published": "2026-10-08T11:12:33.477Z",
  "_buildurl": "https://github.com/r-universe/markbravington/actions/runs/37762248344",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113262553033,
      "time": 87,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11542368983"
    },
    {
      "job": 113262553052,
      "time": 100,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11542848153"
    },
    {
      "job": 113262553188,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11546157472"
    },
    {
      "job": 113262553156,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11545842735"
    },
    {
      "job": 113261404616,
      "time": 183,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11543310839"
    },
    {
      "job": 113262552980,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11543066576"
    },
    {
      "job": 113262553171,
      "time": 68,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11543017435"
    },
    {
      "job": 113262553138,
      "time": 67,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11543301258"
    },
    {
      "job": 113262553116,
      "time": 114,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11542588951"
    }
  ],
  "_upstream": "https://github.com/markbravington/gbasics",
  "_commit": {
    "id": "d381002207da746ba86c7aaef4276136b8137660",
    "author": "Mark Bravington <markbravongithub@summerinsouth.net>",
    "committer": "Mark Bravington <markbravongithub@summerinsouth.net>",
    "message": "autopush\n",
    "time": 1748172832
  },
  "_maintainer": {
    "name": "Mark Bravington",
    "email": "markb1@summerinsouth.net"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "mvbutils",
      "version": ">= 2.12",
      "role": "Imports"
    },
    {
      "package": "atease",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "SNPRelate",
      "role": "Suggests"
    }
  ],
  "_owner": "markbravington",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "markbravington",
      "count": 7,
      "uuid": 2042932
    }
  ],
  "_userbio": {
    "uuid": 2042932,
    "type": "user",
    "name": "Mark Bravington",
    "followers": 14,
    "description": "Stats, population dynamics, close-kin mark-recapture"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gbasics"
  },
  "_devurl": "https://github.com/markbravington/gbasics",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gbasics.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "define_genotypes",
    "diploido",
    "diplos",
    "diplos<-",
    "get_genotype_encoding",
    "inv_CDF_SPA2",
    "loc.ar",
    "make_genopairer",
    "NGS_count_ar",
    "NGS_count_ar.matrix",
    "print.NGS_count_ar",
    "read_snpgds2snpgeno",
    "read_vcf2NGS_count_ar",
    "read_vcf2snpgeno",
    "renorm_SPA",
    "renorm_SPA_cumul",
    "ridder",
    "rowid_field",
    "snpgeno",
    "snpgeno.default",
    "str.loc.ar",
    "str.NGS_count_ar",
    "str.snpgeno",
    "unloc.ar",
    "with_rowid_field"
  ],
  "_datasets": [
    {
      "name": "snpgarbage",
      "title": "Specimen 'snpgeno' object filled with garbage data",
      "object": "snpgarbage",
      "file": "snpgarbage.rda",
      "class": [
        "snpgeno"
      ],
      "fields": [],
      "rows": 3,
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "00gbasics-package",
      "title": "Genotype storage ultimately for Close-Kin Mark-Recapture",
      "topics": [
        "gbasics-package",
        "gbasics"
      ]
    },
    {
      "page": "diploido",
      "title": "Class for one diploid locus",
      "topics": [
        "diploido"
      ]
    },
    {
      "page": "get_genotype_encoding",
      "title": "Diploid genotype encodings",
      "topics": [
        "define_genotypes",
        "get_genotype_encoding"
      ]
    },
    {
      "page": "loc.ar",
      "title": "Create & manipulate locus-arrays",
      "topics": [
        "loc.ar",
        "unloc.ar"
      ]
    },
    {
      "page": "make_genopairer",
      "title": "Mapping between pairs of possible genotypes and compressed form",
      "topics": [
        "make_genopairer"
      ]
    },
    {
      "page": "NGS_count_ar",
      "title": "Next-Gen sequencer count data",
      "topics": [
        "NGS_count_ar",
        "NGS_count_ar.matrix",
        "print",
        "print.NGS_count_ar"
      ]
    },
    {
      "page": "read_snpgds2snpgeno",
      "title": "Create a 'snpgeno' from 'snpgds' file or object",
      "topics": [
        "read_snpgds2snpgeno"
      ]
    },
    {
      "page": "read_vcf2snpgeno",
      "title": "Read VCF genotype data",
      "topics": [
        "read_vcf2NGS_count_ar",
        "read_vcf2snpgeno"
      ]
    },
    {
      "page": "renorm_SPA",
      "title": "Saddlepoint approximation support",
      "topics": [
        "inv_CDF_SPA2",
        "renorm_SPA",
        "renorm_SPA_cumul"
      ]
    },
    {
      "page": "ridder",
      "title": "Parallel root-finder",
      "topics": [
        "ridder"
      ]
    },
    {
      "page": "snpgarbage",
      "title": "Specimen 'snpgeno' object filled with garbage data",
      "topics": [
        "data",
        "snpgarbage"
      ]
    },
    {
      "page": "snpgeno",
      "title": "Class for SNP genotypes",
      "topics": [
        "diplos",
        "diplos<-",
        "set_rowid_field",
        "snpgeno",
        "snpgeno.default"
      ]
    },
    {
      "page": "str.snpgeno",
      "title": "Summaries for various genotype classes",
      "topics": [
        "str",
        "str.loc.ar",
        "str.NGS_count_ar",
        "str.snpgeno"
      ]
    },
    {
      "page": "with_rowid_field",
      "title": "Facilitate sample-based subscripting of sngpenos",
      "topics": [
        "rowid_field",
        "with_rowid_field"
      ]
    }
  ],
  "_readme": "https://github.com/markbravington/gbasics/raw/HEAD/README.md",
  "_rundeps": [
    "atease",
    "mvbutils"
  ],
  "_score": 2.6532125137753435,
  "_indexed": true,
  "_nocasepkg": "gbasics",
  "_universes": [
    "markbravington"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-10-08T10:19:57.000Z",
      "distro": "resolute",
      "commit": "d381002207da746ba86c7aaef4276136b8137660",
      "fileid": "https://r2.ropensci.org/34a98e01d13881d27500e980fd964803f398f966b70c8f9bbc6bb3ee6e889f32",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markbravington/actions/runs/37762248344"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-10-08T10:20:14.000Z",
      "distro": "resolute",
      "commit": "d381002207da746ba86c7aaef4276136b8137660",
      "fileid": "https://r2.ropensci.org/56811146fc3e914a2d5b8115f8cc27717f3c9f34817bf8c2be899cede72bef9e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markbravington/actions/runs/37762248344"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-10-08T11:11:50.000Z",
      "commit": "d381002207da746ba86c7aaef4276136b8137660",
      "fileid": "https://r2.ropensci.org/51fce3870a770c503109ec27d1056b3487de51b818e85f98d3854bd4e4025920",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markbravington/actions/runs/37762248344"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-10-08T11:11:46.000Z",
      "commit": "d381002207da746ba86c7aaef4276136b8137660",
      "fileid": "https://r2.ropensci.org/8642f3ee5ddcfca35ebb05c6200c27c88c5f073a84704f158f4332fc02fa0bba",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markbravington/actions/runs/37762248344"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-10-08T10:20:08.000Z",
      "commit": "d381002207da746ba86c7aaef4276136b8137660",
      "fileid": "https://r2.ropensci.org/6337abc142ac95e1dac5a4641d0ed693d4b4ab5e0142874a9646473a574d2b79",
      "status": "success",
      "buildurl": "https://github.com/r-universe/markbravington/actions/runs/37762248344"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-08T10:19:30.000Z",
      "commit": "d381002207da746ba86c7aaef4276136b8137660",
      "fileid": "https://r2.ropensci.org/c3a72fd0e1b979631aa2e2dc6df11f2ab838d234fd0f1694f8284003c3cba2b6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markbravington/actions/runs/37762248344"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-08T10:19:37.000Z",
      "commit": "d381002207da746ba86c7aaef4276136b8137660",
      "fileid": "https://r2.ropensci.org/681dd1534a9375acf96a9bc28ec41bcb185fcde019333082677f751c3b6c8743",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markbravington/actions/runs/37762248344"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-08T10:19:30.000Z",
      "commit": "d381002207da746ba86c7aaef4276136b8137660",
      "fileid": "https://r2.ropensci.org/e3981cc03beaf44a6c92301d0472a76fd1da650120870e40d6091db2f7180d68",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markbravington/actions/runs/37762248344"
    }
  ]
}