{
  "_id": "6a103e32acfb0bcc41c9c7ae",
  "Package": "cocoon",
  "Title": "Extract, Format, and Print Statistical Output",
  "Version": "0.2.0",
  "Authors@R": "person(\"Jeffrey R.\", \"Stevens\", , \"jeffrey.r.stevens@protonmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-2375-1360\"))",
  "Maintainer": "Jeffrey R. Stevens <jeffrey.r.stevens@protonmail.com>",
  "Description": "Provides functions that format statistical output in a way\nthat can be inserted into R Markdown documents. This is\nanalogous to the apa_print() functions in the 'papaja' package\nbut prints Markdown or LaTeX syntax.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/JeffreyRStevens/cocoon,\nhttps://jeffreyrstevens.github.io/cocoon/",
  "BugReports": "https://github.com/JeffreyRStevens/cocoon/issues",
  "VignetteBuilder": "knitr",
  "Repository": "https://jeffreyrstevens.r-universe.dev",
  "Date/Publication": "2025-01-29 18:53:44 UTC",
  "RemoteUrl": "https://github.com/jeffreyrstevens/cocoon",
  "RemoteRef": "HEAD",
  "RemoteSha": "91668c7b23ad2542aef7d5daa503e67024b72c76",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 09:21:09 UTC",
    "User": "root"
  },
  "Author": "Jeffrey R. Stevens [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-2375-1360>)",
  "MD5sum": "fb72fe125b975553a6f2b8708edfa69e",
  "_user": "jeffreyrstevens",
  "_type": "src",
  "_file": "cocoon_0.2.0.tar.gz",
  "_fileid": "ac22608e9394e30a8a012ebaf2d9b206f5b8cf99242059b47e3f3ed42e568c72",
  "_filesize": 4440996,
  "_sha256": "ac22608e9394e30a8a012ebaf2d9b206f5b8cf99242059b47e3f3ed42e568c72",
  "_created": "2026-05-11T09:21:09.000Z",
  "_published": "2026-05-22T11:29:54.862Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77370750594,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6914793424"
    },
    {
      "job": 77370751056,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6914800882"
    },
    {
      "job": 77370750897,
      "time": 112,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6914787851"
    },
    {
      "job": 77370750498,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6914793742"
    },
    {
      "job": 77370750196,
      "time": 189,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914746150"
    },
    {
      "job": 77370750198,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159426832"
    },
    {
      "job": 77370750494,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6914783453"
    },
    {
      "job": 77370750823,
      "time": 97,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6914782367"
    },
    {
      "job": 77370750533,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6914780860"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jeffreyrstevens/actions/runs/25661401649",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jeffreyrstevens/cocoon",
  "_commit": {
    "id": "91668c7b23ad2542aef7d5daa503e67024b72c76",
    "author": "Jeffrey R. Stevens <jeffrey.r.stevens@protonmail.com>",
    "committer": "Jeffrey R. Stevens <jeffrey.r.stevens@protonmail.com>",
    "message": "Update cran-comments.md\n",
    "time": 1738176824
  },
  "_maintainer": {
    "name": "Jeffrey R. Stevens",
    "email": "jeffrey.r.stevens@protonmail.com",
    "login": "jeffreyrstevens",
    "mastodon": "@JeffreyRStevens@fediscience.org",
    "bluesky": "@jeffreyrstevens.bsky.social",
    "linkedin": "in/JeffreyRStevens",
    "orcid": "0000-0003-2375-1360",
    "uuid": 51374986
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "BayesFactor",
      "role": "Suggests"
    },
    {
      "package": "correlation",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "lmerTest",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "jeffreyrstevens",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [
    {
      "name": "v0.2.1",
      "date": "2025-09-06"
    }
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "jeffreyrstevens",
      "count": 133,
      "uuid": 51374986
    }
  ],
  "_userbio": {
    "uuid": 51374986,
    "type": "user",
    "name": "Jeffrey Stevens",
    "description": "Professor, Department of Psychology, Center for Brain, Biology & Behavior, @UNL. Data Science Mentor at Posit."
  },
  "_downloads": {
    "count": 229,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cocoon"
  },
  "_devurl": "https://github.com/jeffreyrstevens/cocoon",
  "_pkgdown": "https://jeffreyrstevens.github.io/cocoon/",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/cocoon.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jeffreyrstevens/cocoon",
  "_realowner": "jeffreyrstevens",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-11-05"
    },
    {
      "version": "0.2.0",
      "date": "2025-01-29"
    },
    {
      "version": "0.2.1",
      "date": "2025-09-07"
    },
    {
      "version": "0.3.0",
      "date": "2026-02-07"
    }
  ],
  "_exports": [
    "format_bf",
    "format_chr",
    "format_corr",
    "format_mean",
    "format_meanci",
    "format_meansd",
    "format_meanse",
    "format_median",
    "format_medianiqr",
    "format_num",
    "format_p",
    "format_scientific",
    "format_stats",
    "format_sub",
    "format_summary",
    "format_ttest"
  ],
  "_help": [
    {
      "page": "format_bf",
      "title": "Format Bayes factors",
      "concept": [
        "functions for printing statistical objects"
      ],
      "topics": [
        "format_bf"
      ]
    },
    {
      "page": "format_chr",
      "title": "Format character strings with italics and type",
      "topics": [
        "format_chr"
      ]
    },
    {
      "page": "format_corr",
      "title": "Format correlation statistics",
      "concept": [
        "functions for printing statistical objects"
      ],
      "topics": [
        "format_corr"
      ]
    },
    {
      "page": "format_num",
      "title": "Format numbers",
      "topics": [
        "format_num"
      ]
    },
    {
      "page": "format_p",
      "title": "Format p-values",
      "topics": [
        "format_p"
      ]
    },
    {
      "page": "format_scientific",
      "title": "Format numbers in scientific notation",
      "topics": [
        "format_scientific"
      ]
    },
    {
      "page": "format_stats",
      "title": "Format statistical results",
      "concept": [
        "functions for printing statistical objects"
      ],
      "topics": [
        "format_stats"
      ]
    },
    {
      "page": "format_stats.aov",
      "title": "Format ANOVA statistics",
      "concept": [
        "functions for printing statistical objects"
      ],
      "topics": [
        "format_stats.aov"
      ]
    },
    {
      "page": "format_stats.BFBayesFactor",
      "title": "Format Bayes factors",
      "concept": [
        "functions for printing statistical objects"
      ],
      "topics": [
        "format_stats.BFBayesFactor"
      ]
    },
    {
      "page": "format_stats.easycorrelation",
      "title": "Format correlation statistics",
      "concept": [
        "functions for printing statistical objects"
      ],
      "topics": [
        "format_stats.easycorrelation"
      ]
    },
    {
      "page": "format_stats.htest",
      "title": "Format hypothesis test statistics",
      "concept": [
        "functions for printing statistical objects"
      ],
      "topics": [
        "format_stats.htest"
      ]
    },
    {
      "page": "format_stats.lm",
      "title": "Format linear model statistics",
      "concept": [
        "functions for printing statistical objects"
      ],
      "topics": [
        "format_stats.lm"
      ]
    },
    {
      "page": "format_stats.lmerModLmerTest",
      "title": "Format linear mixed model statistics",
      "concept": [
        "functions for printing statistical objects"
      ],
      "topics": [
        "format_stats.lmerModLmerTest"
      ]
    },
    {
      "page": "format_stats.merMod",
      "title": "Format linear mixed model statistics",
      "concept": [
        "functions for printing statistical objects"
      ],
      "topics": [
        "format_stats.merMod"
      ]
    },
    {
      "page": "format_sub",
      "title": "Format subscript text",
      "topics": [
        "format_sub"
      ]
    },
    {
      "page": "format_summary",
      "title": "Calculate and format summary statistics of central tendency and error",
      "topics": [
        "format_mean",
        "format_meanci",
        "format_meansd",
        "format_meanse",
        "format_median",
        "format_medianiqr",
        "format_summary"
      ]
    },
    {
      "page": "format_ttest",
      "title": "Format t-test statistics",
      "concept": [
        "functions for printing statistical objects"
      ],
      "topics": [
        "format_ttest"
      ]
    }
  ],
  "_pkglogo": "https://github.com/jeffreyrstevens/cocoon/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/jeffreyrstevens/cocoon/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "cocoon.Rmd",
      "filename": "cocoon.html",
      "title": "cocoon",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Formatting statistical objects",
        "Correlations",
        "T-tests",
        "ANOVAs",
        "Linear models",
        "Bayes factors",
        "Formatting statistical values",
        "Central tendency and error",
        "Data vectors",
        "Pre-calculated summaries",
        "Formatting output",
        "P-values",
        "Formatting numbers"
      ],
      "created": "2024-03-11 19:35:05",
      "modified": "2025-01-29 17:26:30",
      "commits": 8
    }
  ],
  "_score": 4.854306041801081,
  "_indexed": true,
  "_nocasepkg": "cocoon",
  "_universes": [
    "jeffreyrstevens"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-11T09:23:12.000Z",
      "distro": "noble",
      "commit": "91668c7b23ad2542aef7d5daa503e67024b72c76",
      "fileid": "8fe3a2cfa55037f89e2f3394fdfa3f7be6c38defb988098d7cff583334e8192b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jeffreyrstevens/actions/runs/25661401649"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-11T09:23:33.000Z",
      "distro": "noble",
      "commit": "91668c7b23ad2542aef7d5daa503e67024b72c76",
      "fileid": "a5d8022fa4e6889742f4b84449f47cb14beac10cf8e4d22c769c5a86f818142e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jeffreyrstevens/actions/runs/25661401649"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-11T09:22:59.000Z",
      "commit": "91668c7b23ad2542aef7d5daa503e67024b72c76",
      "fileid": "a7d0e7ada2ca00cecd213203f481ae216534c5ee8a20076e75b2fd6d8e1a6882",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jeffreyrstevens/actions/runs/25661401649"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-11T09:23:14.000Z",
      "commit": "91668c7b23ad2542aef7d5daa503e67024b72c76",
      "fileid": "bbaa3ae5cc4b410ae16d9a2ed6974feb9e2d7073b31e0e286d40402fa6f2a834",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jeffreyrstevens/actions/runs/25661401649"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-11T09:22:36.000Z",
      "commit": "91668c7b23ad2542aef7d5daa503e67024b72c76",
      "fileid": "f837c7473710c094f6c6b09b682f46d59dc90f8db959953e549d250648a806f3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jeffreyrstevens/actions/runs/25661401649"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-11T09:22:34.000Z",
      "commit": "91668c7b23ad2542aef7d5daa503e67024b72c76",
      "fileid": "7e7f0b4271007b07ecf96508dac4e5a7115ec22682de2a66906f6b8147e8961f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jeffreyrstevens/actions/runs/25661401649"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-11T09:22:31.000Z",
      "commit": "91668c7b23ad2542aef7d5daa503e67024b72c76",
      "fileid": "5cc577dbcd6290e102104bfd1d900be0873b2f2f621c64b2f054487dc8f73b57",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jeffreyrstevens/actions/runs/25661401649"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-22T11:29:40.000Z",
      "commit": "91668c7b23ad2542aef7d5daa503e67024b72c76",
      "fileid": "f0c9c96c5f32473739d7c035fb46cf946d1a49aff0e44c5acb001373de1d6ce3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jeffreyrstevens/actions/runs/25661401649"
    }
  ]
}