{
  "_id": "6a3449e73efcd9bda43c211a",
  "Package": "medfit",
  "Type": "Package",
  "Title": "Infrastructure for Mediation Model Fitting and Extraction",
  "Version": "0.2.1",
  "Date": "2026-06-10",
  "Authors@R": "person(\"Davood\", \"Tofighi\",\nemail = \"dtofighi@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-8523-7776\"))",
  "Description": "Provides S7-based infrastructure for fitting mediation\nmodels, extracting path coefficients, and performing bootstrap\ninference. Designed as a foundation package for the mediation\nanalysis ecosystem, supporting 'probmed', 'RMediation', and\n'medrobust' packages. Implements unified interfaces for model\nfitting across different engines (currently generalized linear\nmodels, with future support for mixed models and Bayesian\nmethods), standardized extraction of mediation paths from\nvarious model types, and robust bootstrap inference methods.\nMediation inference methods are described in MacKinnon,\nLockwood and Williams (2004) <doi:10.1207/s15327906mbr3901_4>\nand Tofighi and MacKinnon (2011)\n<doi:10.3758/s13428-011-0076-x>.",
  "License": "GPL (>= 3)",
  "URL": "https://data-wise.github.io/medfit/,\nhttps://github.com/data-wise/medfit",
  "BugReports": "https://github.com/data-wise/medfit/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "knitr, rmarkdown, quarto",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-18 19:38:37 UTC",
    "User": "root"
  },
  "Author": "Davood Tofighi [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8523-7776>)",
  "Maintainer": "Davood Tofighi <dtofighi@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-18 13:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/medfit",
  "RemoteRef": "HEAD",
  "RemoteSha": "9b98484d0f9240f62a922b8be34b24d0a425b35a",
  "MD5sum": "cb649402a0bb3eada9bf63a88037e89c",
  "_user": "cran",
  "_type": "src",
  "_file": "medfit_0.2.1.tar.gz",
  "_fileid": "f3c841945fc903ccf82d070bf3d6f1de705ddff76f9e6da0ecc9ad58686a2696",
  "_filesize": 719814,
  "_sha256": "f3c841945fc903ccf82d070bf3d6f1de705ddff76f9e6da0ecc9ad58686a2696",
  "_created": "2026-06-18T19:38:37.000Z",
  "_published": "2026-06-18T19:41:27.539Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82218202431,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7733959066"
    },
    {
      "job": 82218202434,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7733963613"
    },
    {
      "job": 82217656248,
      "time": 164,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7733915379"
    },
    {
      "job": 82218202400,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7733953115"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27784504827",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/medfit",
  "_commit": {
    "id": "9b98484d0f9240f62a922b8be34b24d0a425b35a",
    "author": "Davood Tofighi <dtofighi@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.1\n",
    "time": 1781790002
  },
  "_maintainer": {
    "name": "Davood Tofighi",
    "email": "dtofighi@gmail.com",
    "login": "data-wise",
    "description": "Data science, R, Python, Statistics, biostatistics, Psychology, and Engineering!",
    "uuid": 1749560,
    "orcid": "0000-0001-8523-7776"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "S7",
      "version": ">= 0.1.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "lavaan",
      "version": ">= 0.6-0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.1",
      "date": "2026-06-18"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "data-wise",
      "count": 1,
      "uuid": 1749560
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 610,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/medfit"
  },
  "_devurl": "https://github.com/data-wise/medfit",
  "_pkgdown": "https://data-wise.github.io/medfit/",
  "_searchresults": 24,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/medfit.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.1",
      "date": "2026-06-18"
    }
  ],
  "_exports": [
    "bootstrap_mediation",
    "BootstrapResult",
    "extract_mediation",
    "fit_mediation",
    "med",
    "MediationData",
    "nde",
    "nie",
    "paths",
    "pm",
    "quick",
    "SerialMediationData",
    "te"
  ],
  "_help": [
    {
      "page": "bootstrap_mediation",
      "title": "Perform Bootstrap Inference for Mediation Statistics",
      "topics": [
        "bootstrap_mediation"
      ]
    },
    {
      "page": "BootstrapResult",
      "title": "BootstrapResult S7 Class",
      "topics": [
        "BootstrapResult"
      ]
    },
    {
      "page": "extract_mediation",
      "title": "Extract Mediation Structure from Fitted Models",
      "topics": [
        "extract_mediation"
      ]
    },
    {
      "page": "fit_mediation",
      "title": "Fit Mediation Models",
      "topics": [
        "fit_mediation"
      ]
    },
    {
      "page": "med",
      "title": "Simple Mediation Analysis",
      "topics": [
        "med"
      ]
    },
    {
      "page": "MediationData",
      "title": "MediationData S7 Class",
      "topics": [
        "MediationData"
      ]
    },
    {
      "page": "nde",
      "title": "Extract Natural Direct Effect (NDE)",
      "topics": [
        "nde"
      ]
    },
    {
      "page": "nie",
      "title": "Extract Natural Indirect Effect (NIE)",
      "topics": [
        "nie"
      ]
    },
    {
      "page": "paths",
      "title": "Extract All Path Coefficients",
      "topics": [
        "paths"
      ]
    },
    {
      "page": "pm",
      "title": "Extract Proportion Mediated (PM)",
      "topics": [
        "pm"
      ]
    },
    {
      "page": "print.mediation_effect",
      "title": "Print Method for mediation_effect",
      "topics": [
        "print.mediation_effect"
      ]
    },
    {
      "page": "print.summary.BootstrapResult",
      "title": "Print Summary for BootstrapResult",
      "topics": [
        "print.summary.BootstrapResult"
      ]
    },
    {
      "page": "print.summary.MediationData",
      "title": "Print Summary for MediationData",
      "topics": [
        "print.summary.MediationData"
      ]
    },
    {
      "page": "print.summary.SerialMediationData",
      "title": "Print Summary for SerialMediationData",
      "topics": [
        "print.summary.SerialMediationData"
      ]
    },
    {
      "page": "quick",
      "title": "Quick Summary of Mediation Results",
      "topics": [
        "quick"
      ]
    },
    {
      "page": "SerialMediationData",
      "title": "SerialMediationData S7 Class",
      "topics": [
        "SerialMediationData"
      ]
    },
    {
      "page": "te",
      "title": "Extract Total Effect (TE)",
      "topics": [
        "te"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/medfit/raw/HEAD/man/figures/logo.png",
  "_rundeps": [
    "backports",
    "checkmate",
    "generics",
    "MASS",
    "S7"
  ],
  "_score": 2.3344537511509307,
  "_indexed": true,
  "_nocasepkg": "medfit",
  "_universes": [
    "cran",
    "data-wise"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-06-18T19:40:32.000Z",
      "distro": "noble",
      "commit": "9b98484d0f9240f62a922b8be34b24d0a425b35a",
      "fileid": "38e7ede3bd200e861c480b4551e540a5e1d999fc89bd53855d1cddfb6971df8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27784504827"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-06-18T19:40:43.000Z",
      "distro": "noble",
      "commit": "9b98484d0f9240f62a922b8be34b24d0a425b35a",
      "fileid": "c1a1e27ebbed47ff2b643ca7f9a60fd3a2365d4ef7c688ace3a77d9790bde050",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27784504827"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-06-18T19:40:38.000Z",
      "commit": "9b98484d0f9240f62a922b8be34b24d0a425b35a",
      "fileid": "1d26fc9f52dc1403319339eb66e6d47a608042ca41b05bc8bf65361f718d4c99",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27784504827"
    }
  ]
}