{
  "_id": "6a22b41f0ef520ea2f58d87c",
  "Package": "luckieR",
  "Title": "Calculations of Luck in Structured Population Models",
  "Version": "0.1.0.9000",
  "Authors@R": "c(\nperson(\"Robin\", \"Snyder\", , \"res29@case.edu\", role = c(\"aut\", \"cph\")),\nperson(\"Christina\", \"Hernandez\", , \"christinahernan@gmail.com\", role=c(\"aut\", \"cre\")),\nperson(\"Steve\", \"Ellner\", , \"spe2@cornell.edu\", role=c(\"aut\")),\nperson(\"Erin\", \"Souder Benedict\", , \"erin.souderbenedict@uq.net.au\", role=c(\"ctb\"))\n)",
  "Maintainer": "Christina Hernandez <christinahernan@gmail.com>",
  "Description": "User-friendly and generalized tools for the calculation of\nluck -- moments of variation in metrics like lifespan and\nlifetime reproductive output. We provide tools for calculating\nthose moments and also performing decompositions into\ncontributions from, for example, individual traits,\nenvironmental impacts, and luck (also called individual\nstochasticity). The functions included here are based on Snyder\nand Ellner (2024) <doi:10.1086/730557>, Cochran and Ellner\n(1992) <https://www.jstor.org/stable/2937115>, and Hernandez et\nal. (2024) <doi:10.1111/ele.14390>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/chrissy3815/luckieR",
  "BugReports": "https://github.com/chrissy3815/luckieR/issues",
  "VignetteBuilder": "knitr",
  "Repository": "https://chrissy3815.r-universe.dev",
  "Date/Publication": "2026-06-05 08:47:20 UTC",
  "RemoteUrl": "https://github.com/chrissy3815/luckier",
  "RemoteRef": "HEAD",
  "RemoteSha": "7a7891795c300a245c377bbe55106fb793f11813",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 11:28:32 UTC",
    "User": "root"
  },
  "Author": "Robin Snyder [aut, cph],\nChristina Hernandez [aut, cre],\nSteve Ellner [aut],\nErin Souder Benedict [ctb]",
  "MD5sum": "07d9ab3d27ac78e791e9d836ea878fd4",
  "_user": "chrissy3815",
  "_type": "src",
  "_file": "luckieR_0.1.0.9000.tar.gz",
  "_fileid": "bef7a3044ba78dc3d5864ed80a371a55bdda49f08c8d66c8c7ff431cf37a2d41",
  "_filesize": 556090,
  "_sha256": "bef7a3044ba78dc3d5864ed80a371a55bdda49f08c8d66c8c7ff431cf37a2d41",
  "_created": "2026-06-05T11:28:32.000Z",
  "_published": "2026-06-05T11:33:51.090Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79718410921,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7435476978"
    },
    {
      "job": 79718411087,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7435481859"
    },
    {
      "job": 79718410924,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7435519949"
    },
    {
      "job": 79718410905,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7435514292"
    },
    {
      "job": 79717984765,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7435441546"
    },
    {
      "job": 79718410894,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7435470357"
    },
    {
      "job": 79718410960,
      "time": 90,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7435468107"
    },
    {
      "job": 79718410969,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7435467434"
    },
    {
      "job": 79718410933,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7435470974"
    }
  ],
  "_buildurl": "https://github.com/r-universe/chrissy3815/actions/runs/27012102202",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/chrissy3815/luckier",
  "_commit": {
    "id": "7a7891795c300a245c377bbe55106fb793f11813",
    "author": "Chrissy Hernandez <christinahernan@gmail.com>",
    "committer": "Chrissy Hernandez <christinahernan@gmail.com>",
    "message": "update ReadMe with information about versions and issue reporting\n",
    "time": 1780649240
  },
  "_maintainer": {
    "name": "Christina Hernandez",
    "email": "christinahernan@gmail.com",
    "login": "chrissy3815",
    "description": "Population ecology, early life history, and life history evolution: part fish, part math",
    "uuid": 9890281
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "chrissy3815",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-44",
      "n": 8
    },
    {
      "week": "2025-45",
      "n": 5
    },
    {
      "week": "2025-46",
      "n": 13
    },
    {
      "week": "2025-47",
      "n": 3
    },
    {
      "week": "2025-50",
      "n": 13
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 3
    },
    {
      "week": "2026-04",
      "n": 7
    },
    {
      "week": "2026-07",
      "n": 8
    },
    {
      "week": "2026-11",
      "n": 6
    },
    {
      "week": "2026-12",
      "n": 3
    },
    {
      "week": "2026-13",
      "n": 9
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 5
    },
    {
      "week": "2026-23",
      "n": 8
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-03-31"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "res29",
      "count": 76,
      "uuid": 22920020
    },
    {
      "user": "chrissy3815",
      "count": 36,
      "uuid": 9890281
    },
    {
      "user": "ellner",
      "count": 25,
      "uuid": 15160902
    }
  ],
  "_userbio": {
    "uuid": 9890281,
    "type": "user",
    "name": "Chrissy Hernandez",
    "description": "Population ecology, early life history, and life history evolution: part fish, part math"
  },
  "_downloads": {
    "count": 415,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/luckieR"
  },
  "_devurl": "https://github.com/chrissy3815/luckier",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/luckieR.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/chrissy3815/luckier",
  "_realowner": "chrissy3815",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-04-13"
    }
  ],
  "_exports": [
    "calcDistLRO",
    "calcDistLRONoEnv",
    "calcDistLROPostBreeding",
    "calcDistLROPostBreedingNoEnv",
    "calcDistOffspringCohort",
    "calcMoments",
    "distLifespanCondR2",
    "distLifespanCondR2NoEnv",
    "distLifespanCondR2PostBreeding",
    "distLifespanCondR2PostBreedingNoEnv",
    "firstBreed",
    "flatten",
    "fundamentalMatrix",
    "makeAxT",
    "makeB",
    "makeBPostBreeding",
    "makeCondFailureKernel",
    "makeCondKernel",
    "makeM",
    "makeMCondLROThreshold",
    "makeMCondLROThresholdPostBreeding",
    "makePCondBreedDef3",
    "makePDef3",
    "meanConditionalLifespan",
    "meanConditionalTimes",
    "meanLifespan",
    "meanLRO",
    "partitionVarMu3EnvVar",
    "partitionVarMu3EnvVarAndTraits",
    "partitionVarMu3NoEnvVar",
    "partitionVarSkewnessEnvVar",
    "partitionVarSkewnessEnvVarAndTraits",
    "partitionVarSkewnessEnvVarPostBreeding",
    "partitionVarSkewnessNoEnvVar",
    "partitionVarSkewnessNoEnvVarPostBreeding",
    "popMeanVar",
    "popMu3",
    "popSkew",
    "probRepro",
    "probTraitCondLRO",
    "probTraitCondLRONoEnv",
    "probTraitCondLROPostBreeding",
    "probTraitCondLROPostBreedingNoEnv",
    "skewLifespan",
    "skewLRO",
    "stableDist",
    "traitAve",
    "traitMu3",
    "traitVar",
    "unfold",
    "unvec",
    "varConditionalLifespan",
    "varConditionalTimes",
    "varLifespan",
    "varLRO",
    "vec"
  ],
  "_help": [
    {
      "page": "calcDistLRO",
      "title": "Distribution of lifetime reproductive output",
      "topics": [
        "calcDistLRO"
      ]
    },
    {
      "page": "calcDistLRONoEnv",
      "title": "Distribution of lifetime reproductive output",
      "topics": [
        "calcDistLRONoEnv"
      ]
    },
    {
      "page": "calcDistLROPostBreeding",
      "title": "Distribution of lifetime reproductive output",
      "topics": [
        "calcDistLROPostBreeding"
      ]
    },
    {
      "page": "calcDistLROPostBreedingNoEnv",
      "title": "Distribution of lifetime reproductive output",
      "topics": [
        "calcDistLROPostBreedingNoEnv"
      ]
    },
    {
      "page": "calcDistOffspringCohort",
      "title": "The distribution of offspring types in a cohort produced at the stable population distribution",
      "topics": [
        "calcDistOffspringCohort"
      ]
    },
    {
      "page": "calcMoments",
      "title": "Calculates the mean, the 2nd and 3rd moments, and the skewness of a lifetime reward",
      "topics": [
        "calcMoments"
      ]
    },
    {
      "page": "distLifespanCondR2",
      "title": "Distribution of lifespan conditional on LRO",
      "topics": [
        "distLifespanCondR2"
      ]
    },
    {
      "page": "distLifespanCondR2NoEnv",
      "title": "Distribution of lifespan conditional on LRO",
      "topics": [
        "distLifespanCondR2NoEnv"
      ]
    },
    {
      "page": "distLifespanCondR2PostBreeding",
      "title": "Distribution of lifespan conditional on LRO",
      "topics": [
        "distLifespanCondR2PostBreeding"
      ]
    },
    {
      "page": "distLifespanCondR2PostBreedingNoEnv",
      "title": "Distribution of lifespan conditional on LRO",
      "topics": [
        "distLifespanCondR2PostBreedingNoEnv"
      ]
    },
    {
      "page": "firstBreed",
      "title": "Probability of breeding and age at first breeding",
      "topics": [
        "firstBreed"
      ]
    },
    {
      "page": "flatten",
      "title": "Convert 4-d array to matrix",
      "topics": [
        "flatten"
      ]
    },
    {
      "page": "fundamentalMatrix",
      "title": "Calculate the fundamental matrix",
      "topics": [
        "fundamentalMatrix"
      ]
    },
    {
      "page": "makeAxT",
      "title": "Make the size x #kids transition matrix",
      "topics": [
        "makeAxT"
      ]
    },
    {
      "page": "makeB",
      "title": "Make B matrix",
      "topics": [
        "makeB"
      ]
    },
    {
      "page": "makeBPostBreeding",
      "title": "Make B matrix for a post-breeding census",
      "topics": [
        "makeBPostBreeding"
      ]
    },
    {
      "page": "makeCondFailureKernel",
      "title": "Calculates the probability of not becoming successful before death and the transition kernel conditional on not becoming successful before death.",
      "topics": [
        "makeCondFailureKernel"
      ]
    },
    {
      "page": "makeCondKernel",
      "title": "calculates the probability of becoming successful before death and the transition kernel conditional on becoming successful before death.",
      "topics": [
        "makeCondKernel"
      ]
    },
    {
      "page": "makeM",
      "title": "Make megamtrix",
      "topics": [
        "makeM"
      ]
    },
    {
      "page": "makeMCondLROThreshold",
      "title": "Utility function for calculating a kernel conditional on having LRO meeting or exceeding a threshold",
      "topics": [
        "makeMCondLROThreshold"
      ]
    },
    {
      "page": "makeMCondLROThresholdPostBreeding",
      "title": "Utility function for calculating a kernel conditional on having LRO meeting or exceeding a threshold",
      "topics": [
        "makeMCondLROThresholdPostBreeding"
      ]
    },
    {
      "page": "makePCondBreedDef3",
      "title": "Utility function for calculating a kernel conditional on breeding.",
      "topics": [
        "makePCondBreedDef3"
      ]
    },
    {
      "page": "makePDef3",
      "title": "Utility function for calculating a kernel conditional on breeding.",
      "topics": [
        "makePDef3"
      ]
    },
    {
      "page": "meanConditionalLifespan",
      "title": "Mean Conditional Lifespan",
      "topics": [
        "meanConditionalLifespan"
      ]
    },
    {
      "page": "meanConditionalTimes",
      "title": "Compute conditional time to arriving in a state",
      "topics": [
        "meanConditionalTimes"
      ]
    },
    {
      "page": "meanLifespan",
      "title": "Calculate mean lifespan",
      "topics": [
        "meanLifespan"
      ]
    },
    {
      "page": "meanLRO",
      "title": "Calculate mean lifetime reproductive output (LRO)",
      "topics": [
        "meanLRO"
      ]
    },
    {
      "page": "p_xT",
      "title": "Helper function used for calculating size x #kids transition matrices",
      "topics": [
        "p_xT"
      ]
    },
    {
      "page": "partitionVarMu3EnvVar",
      "title": "Partitions variance and mu3 of LRO",
      "topics": [
        "partitionVarMu3EnvVar"
      ]
    },
    {
      "page": "partitionVarMu3EnvVarAndTraits",
      "title": "Partitions variance and mu3 of LRO",
      "topics": [
        "partitionVarMu3EnvVarAndTraits"
      ]
    },
    {
      "page": "partitionVarMu3NoEnvVar",
      "title": "Partitions variance and 3rd central moment of LRO",
      "topics": [
        "partitionVarMu3NoEnvVar"
      ]
    },
    {
      "page": "partitionVarSkewnessEnvVar",
      "title": "Partitions variance and skewness of LRO",
      "topics": [
        "partitionVarSkewnessEnvVar"
      ]
    },
    {
      "page": "partitionVarSkewnessEnvVarAndTraits",
      "title": "Partitions variance and skewness of LRO",
      "topics": [
        "partitionVarSkewnessEnvVarAndTraits"
      ]
    },
    {
      "page": "partitionVarSkewnessEnvVarPostBreeding",
      "title": "Partitions variance and skewness of LRO",
      "topics": [
        "partitionVarSkewnessEnvVarPostBreeding"
      ]
    },
    {
      "page": "partitionVarSkewnessNoEnvVar",
      "title": "Partitions variance and skewness of LRO",
      "topics": [
        "partitionVarSkewnessNoEnvVar"
      ]
    },
    {
      "page": "partitionVarSkewnessNoEnvVarPostBreeding",
      "title": "Partitions variance and skewness of LRO for a post-breeding census",
      "topics": [
        "partitionVarSkewnessNoEnvVarPostBreeding"
      ]
    },
    {
      "page": "popMeanVar",
      "title": "Population mean and variance of any attribute",
      "topics": [
        "popMeanVar"
      ]
    },
    {
      "page": "popMu3",
      "title": "Population 3rd central moment of any attribute",
      "topics": [
        "popMu3"
      ]
    },
    {
      "page": "popSkew",
      "title": "Population skewness of any attribute X",
      "topics": [
        "popSkew"
      ]
    },
    {
      "page": "probRepro",
      "title": "Probability of reproducing at least once, based on starting state",
      "topics": [
        "probRepro"
      ]
    },
    {
      "page": "probTraitCondLRO",
      "title": "Distribution of a trait conditional on LRO",
      "topics": [
        "probTraitCondLRO"
      ]
    },
    {
      "page": "probTraitCondLRONoEnv",
      "title": "Distribution of a trait conditional on LRO",
      "topics": [
        "probTraitCondLRONoEnv"
      ]
    },
    {
      "page": "probTraitCondLROPostBreeding",
      "title": "Distribution of a trait conditional on LRO",
      "topics": [
        "probTraitCondLROPostBreeding"
      ]
    },
    {
      "page": "probTraitCondLROPostBreedingNoEnv",
      "title": "Distribution of a trait conditional on LRO",
      "topics": [
        "probTraitCondLROPostBreedingNoEnv"
      ]
    },
    {
      "page": "skewLifespan",
      "title": "Calculate skewness of lifespan",
      "topics": [
        "skewLifespan"
      ]
    },
    {
      "page": "skewLRO",
      "title": "Calculate skew in lifetime reproductive output",
      "topics": [
        "skewLRO"
      ]
    },
    {
      "page": "stableDist",
      "title": "Calculate the stable state distribution",
      "topics": [
        "stableDist"
      ]
    },
    {
      "page": "traitAve",
      "title": "Calculates an average over a user-provided distribution",
      "topics": [
        "traitAve"
      ]
    },
    {
      "page": "traitMu3",
      "title": "Calculates the third central moment over a user-provided distribution",
      "topics": [
        "traitMu3"
      ]
    },
    {
      "page": "traitVar",
      "title": "Calculates a variance over a user-provided distribution",
      "topics": [
        "traitVar"
      ]
    },
    {
      "page": "unfold",
      "title": "Convert a megamatrix to an array",
      "topics": [
        "unfold"
      ]
    },
    {
      "page": "unvec",
      "title": "Convert a vector to a matrix",
      "topics": [
        "unvec"
      ]
    },
    {
      "page": "varConditionalLifespan",
      "title": "Variance of Conditional Lifespan",
      "topics": [
        "varConditionalLifespan"
      ]
    },
    {
      "page": "varConditionalTimes",
      "title": "Variance in conditional time to reach state i from state j",
      "topics": [
        "varConditionalTimes"
      ]
    },
    {
      "page": "varLifespan",
      "title": "Calculate variance of lifespan",
      "topics": [
        "varLifespan"
      ]
    },
    {
      "page": "varLRO",
      "title": "Calculate variance in lifetime reproductive output",
      "topics": [
        "varLRO"
      ]
    },
    {
      "page": "vec",
      "title": "Convert a matrix to a vector",
      "topics": [
        "vec"
      ]
    }
  ],
  "_readme": "https://github.com/chrissy3815/luckier/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Matrix"
  ],
  "_vignettes": [
    {
      "source": "grassEndophyteVignette.Rmd",
      "filename": "grassEndophyteVignette.html",
      "title": "GrassEndophyteVignette",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2026-05-29 16:35:37",
      "modified": "2026-06-03 20:36:30",
      "commits": 3
    }
  ],
  "_score": 5.204119982655925,
  "_indexed": true,
  "_nocasepkg": "luckier",
  "_universes": [
    "chrissy3815"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:30:26.000Z",
      "distro": "noble",
      "commit": "7a7891795c300a245c377bbe55106fb793f11813",
      "fileid": "cbdb1c7678475d37bd264c768c1cf5c75e9801d0ccc5e307adb4060956596676",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissy3815/actions/runs/27012102202"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:30:41.000Z",
      "distro": "noble",
      "commit": "7a7891795c300a245c377bbe55106fb793f11813",
      "fileid": "61c30ba0c3738e6ee26233a3a235b570e152dca678fadcd48e5cbfb8c856a3cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissy3815/actions/runs/27012102202"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:33:03.000Z",
      "commit": "7a7891795c300a245c377bbe55106fb793f11813",
      "fileid": "97a375baec6fcb6198a0bff0785abff938033313340bdeee34fc7acb92e5575d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissy3815/actions/runs/27012102202"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:32:42.000Z",
      "commit": "7a7891795c300a245c377bbe55106fb793f11813",
      "fileid": "1050ad64943554336e421ac5e07b9edcf1e70a7b8733f804ef05a31391d6d09e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissy3815/actions/runs/27012102202"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:30:36.000Z",
      "commit": "7a7891795c300a245c377bbe55106fb793f11813",
      "fileid": "6cde7f1513e08ea37a53b00a2e346161088d9fc7304e5b5c5fad85592b4a4db3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/chrissy3815/actions/runs/27012102202"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:29:46.000Z",
      "commit": "7a7891795c300a245c377bbe55106fb793f11813",
      "fileid": "6ca12994222ca618baac194de25216e3af0418356d92e8a037976ffde45f35cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissy3815/actions/runs/27012102202"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:29:42.000Z",
      "commit": "7a7891795c300a245c377bbe55106fb793f11813",
      "fileid": "c73f55539e69281adb4865b40e6e47b3620b20bf791e9692171abcde9e50e8c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissy3815/actions/runs/27012102202"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:29:55.000Z",
      "commit": "7a7891795c300a245c377bbe55106fb793f11813",
      "fileid": "80082bcd707ffcb1b73b829d10d3578895d9205e89a6bc61aa7e613e8c81cb0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissy3815/actions/runs/27012102202"
    }
  ]
}