{
  "_id": "6af2fb9af58eaab799207591",
  "Package": "spantest",
  "Title": "Mean-Variance Spanning Tests",
  "Version": "1.4-4",
  "Date": "2026-10-10",
  "Authors@R": "c(person(\"David\", \"Ardia\", role = c(\"aut\", \"cre\", \"cph\", \"fnd\"),\nemail = \"david.ardia.ch@gmail.com\",\ncomment = c(ORCID = \"0000-0003-2823-782X\")),\nperson(\"Benjamin\", \"Seguin\", role = \"aut\"),\nperson(\"Rosnel\", \"Sessinou\", role = \"ctb\"),\nperson(\"Richard\", \"Luger\", role = \"ctb\"))",
  "Description": "Provides a comprehensive suite of portfolio spanning tests\nfor asset pricing, such as Huberman and Kandel (1987)\n<doi:10.1111/j.1540-6261.1987.tb03917.x>, Gibbons et al. (1989)\n<doi:10.2307/1913625>, Kempf and Memmel (2006)\n<doi:10.1007/BF03396737>, Pesaran and Yamagata (2024)\n<doi:10.1093/jjfinec/nbad002>, Gungor and Luger (2016)\n<doi:10.1080/07350015.2015.1019510>, and the randomized alpha\ntest of Massacci et al. (2026) <doi:10.48550/arXiv.2507.17599>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "URL": "https://github.com/ArdiaD/spantest",
  "BugReports": "https://github.com/ArdiaD/spantest/issues",
  "Config/testthat/edition": "3",
  "RdMacros": "Rdpack",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://ardiad.r-universe.dev",
  "Date/Publication": "2026-10-11 02:32:14 UTC",
  "RemoteUrl": "https://github.com/ardiad/spantest",
  "RemoteRef": "HEAD",
  "RemoteSha": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-10 10:12:44 UTC",
    "User": "root"
  },
  "Author": "David Ardia [aut, cre, cph, fnd] (ORCID:\n<https://orcid.org/0000-0003-2823-782X>),\nBenjamin Seguin [aut],\nRosnel Sessinou [ctb],\nRichard Luger [ctb]",
  "Maintainer": "David Ardia <david.ardia.ch@gmail.com>",
  "_user": "ardiad",
  "_type": "src",
  "_file": "spantest_1.4-4.tar.gz",
  "_fileid": "https://r2.ropensci.org/a6106de9b8a32a45fabf85b60a147dac053293f193af78c243fa137f37d26e04",
  "_filesize": 399743,
  "_sha256": "a6106de9b8a32a45fabf85b60a147dac053293f193af78c243fa137f37d26e04",
  "_expires": "2027-02-18T11:10:17.000Z",
  "_created": "2026-11-10T10:12:44.000Z",
  "_published": "2026-11-10T11:10:18.819Z",
  "_upstream": "https://github.com/ardiad/spantest",
  "_status": "success",
  "_maintainer": {
    "name": "David Ardia",
    "email": "david.ardia.ch@gmail.com",
    "login": "ardiad",
    "orcid": "0000-0003-2823-782X",
    "description": "Professor in Quantitative Finance",
    "uuid": 11246455
  },
  "_jobs": [
    {
      "job": 129765555919,
      "time": 136,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13754222320"
    },
    {
      "job": 129765555821,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13754247143"
    },
    {
      "job": 129765556130,
      "time": 88,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13754921570"
    },
    {
      "job": 129765555957,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13754682136"
    },
    {
      "job": 129765555787,
      "time": 97,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13758321026"
    },
    {
      "job": 129765555824,
      "time": 241,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13753864444"
    },
    {
      "job": 129765555827,
      "time": 144,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13758181696"
    },
    {
      "job": 129765555748,
      "time": 327,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13755013761"
    },
    {
      "job": 129763883269,
      "time": 205,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13754766624"
    },
    {
      "job": 129765555657,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13753992275"
    },
    {
      "job": 129765555749,
      "time": 202,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13754456928"
    },
    {
      "job": 129765555759,
      "time": 138,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13754367309"
    },
    {
      "job": 129765555925,
      "time": 152,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13754887104"
    },
    {
      "job": 129765555845,
      "time": 220,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13754456971"
    },
    {
      "job": 129765555811,
      "time": 175,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13754887172"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988",
  "_commit": {
    "id": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
    "author": "David Ardia <ArdiaD@users.noreply.github.com>",
    "committer": "David Ardia <ArdiaD@users.noreply.github.com>",
    "message": "Release 1.4-4: the paper's rule for p = 1, a warning for missing p-values, GL docs\n\nFound by the two audits of 2026-10-10 (review/2026-10-10_reconciliation-audits.md).\n\n- f_cauchypv() replaces a p-value equal to one by 1 - 1e-12, as Section 3.1 of the\n  paper says it does. Without it an exact one contributes tan(-pi/2) = -1.63e16 and\n  outweighs any small p-value: c(1e-14, 1) combined to 1, now to 2e-14. Values below\n  one are untouched, so every result without an exact one is unchanged bit for bit;\n  an exact one needs a subseries t-statistic of exactly zero. The dominance of values\n  NEAR one is a property of the statistic and is not changed (David's decision: keep\n  the statistic and report how often one asset decides a test).\n- span_as() warns when test assets have no p-value (a constant column, for example)\n  and says how many are left out; they were dropped silently.\n- GL: pval_LMC is the local and pval_BMC the bounds Monte Carlo p-value of Gungor and\n  Luger (2016), not \"Least-Favorable\" and \"Balanced\"; stat is the largest asset-level\n  (SSR_r - SSR_u)/SSR_u, without the constant of the F form (no effect on p-values).\n- span_simulate(): the preset numbers are not the paper's DGP numbers (the AR and\n  AR-GARCH blocks are swapped); names reproduce the paper.\n\nTests: 356 pass (two new). R CMD check --as-cran: Status OK.\n",
    "time": 1791685934
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ardiad",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 14
    },
    {
      "week": "2026-29",
      "n": 3
    },
    {
      "week": "2026-31",
      "n": 3
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-33",
      "n": 6
    },
    {
      "week": "2026-38",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ardiad",
      "count": 65,
      "uuid": 11246455
    },
    {
      "user": "benjaminseguin",
      "count": 24,
      "uuid": 156557319
    }
  ],
  "_userbio": {
    "uuid": 11246455,
    "type": "user",
    "name": "David Ardia",
    "followers": 157,
    "description": "Professor in Quantitative Finance"
  },
  "_downloads": {
    "count": 270,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spantest"
  },
  "_devurl": "https://github.com/ardiad/spantest",
  "_searchresults": 2,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spantest.html"
  ],
  "_homeurl": "https://github.com/ardiad/spantest",
  "_realowner": "ardiad",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1-3",
      "date": "2025-09-09"
    }
  ],
  "_exports": [
    "DGP_NAMES",
    "span_as",
    "span_bj",
    "span_dgp_table",
    "span_f1",
    "span_f2",
    "span_gl_a",
    "span_gl_ad",
    "span_grs",
    "span_hk",
    "span_km",
    "span_mstv",
    "span_py",
    "span_simulate"
  ],
  "_help": [
    {
      "page": "DGP_NAMES",
      "title": "Names of the built-in simulation processes",
      "topics": [
        "DGP_NAMES"
      ]
    },
    {
      "page": "span_as",
      "title": "Ardia and Sessinou (2025) Subseries-Based Cauchy Combination Test (SCT) for Spanning",
      "concept": [
        "Alpha Spanning Tests",
        "Joint Mean-Variance Spanning Tests",
        "Variance Spanning Tests"
      ],
      "topics": [
        "span_as"
      ]
    },
    {
      "page": "span_bj",
      "title": "Britten–Jones Tangency-Portfolio Spanning Test (1999)",
      "concept": [
        "Alpha Spanning Tests"
      ],
      "topics": [
        "span_bj"
      ]
    },
    {
      "page": "span_dgp_table",
      "title": "The simulation processes, by name and preset number",
      "topics": [
        "span_dgp_table"
      ]
    },
    {
      "page": "span_f1",
      "title": "F1 Alpha-Spanning Test (Intercepts Only)",
      "concept": [
        "Alpha Spanning Tests"
      ],
      "topics": [
        "span_f1"
      ]
    },
    {
      "page": "span_f2",
      "title": "F2 Variance-Spanning Test (Slopes Only)",
      "concept": [
        "Variance Spanning Tests"
      ],
      "topics": [
        "span_f2"
      ]
    },
    {
      "page": "span_gl_a",
      "title": "Gungor–Luger Alpha-Only Spanning Test (2016)",
      "concept": [
        "Alpha Spanning Tests"
      ],
      "topics": [
        "span_gl_a"
      ]
    },
    {
      "page": "span_gl_ad",
      "title": "Gungor–Luger Joint Mean–Variance Spanning Test (2016)",
      "concept": [
        "Joint Mean-Variance Spanning Tests"
      ],
      "topics": [
        "span_gl_ad"
      ]
    },
    {
      "page": "span_grs",
      "title": "Gibbons–Ross–Shanken (GRS) Alpha Spanning Test (1989)",
      "concept": [
        "Alpha Spanning Tests"
      ],
      "topics": [
        "span_grs"
      ]
    },
    {
      "page": "span_hk",
      "title": "Huberman–Kandel Joint Mean–Variance Spanning Test (1987)",
      "concept": [
        "Joint Mean-Variance Spanning Tests"
      ],
      "topics": [
        "span_hk"
      ]
    },
    {
      "page": "span_km",
      "title": "Kempf–Memmel GMVP Spanning Test",
      "concept": [
        "Variance Spanning Tests"
      ],
      "topics": [
        "span_km"
      ]
    },
    {
      "page": "span_mstv",
      "title": "Randomized Alpha Test of Massacci, Sarno, Trapani and Vallarino",
      "concept": [
        "Alpha Spanning Tests"
      ],
      "topics": [
        "span_mstv"
      ]
    },
    {
      "page": "span_py",
      "title": "Pesaran–Yamagata Alpha Spanning Test (2024)",
      "concept": [
        "Alpha Spanning Tests"
      ],
      "topics": [
        "span_py"
      ]
    },
    {
      "page": "span_simulate",
      "title": "Simulate Benchmark and Test-Asset Returns for Spanning Studies",
      "topics": [
        "span_simulate"
      ]
    }
  ],
  "_readme": "https://github.com/ardiad/spantest/raw/HEAD/README.md",
  "_rundeps": [
    "rbibutils",
    "Rcpp",
    "RcppArmadillo",
    "Rdpack"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": 3.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "spantest",
  "_universes": [
    "ardiad"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4-4",
      "date": "2026-11-10T10:15:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/d6e9d3c4fccdd0cce781ec00a6df5f0958a37387a094dd4fa0f7d06028d94ebf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4-4",
      "date": "2026-11-10T10:14:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/75eb15be2c8fc4bb9ffc0381e408ad20534456e2307ac18fb15632c7da6bce76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.4-4",
      "date": "2026-11-10T10:14:25.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/1ac45541b60019cfda97d873c6a874e8fa90974e13220880fba79e6f430193a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.4-4",
      "date": "2026-11-10T10:14:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/f2940aa0dcc280e1e4e06a23975122da88e34a11abebe2bcad851721b0788f5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4-4",
      "date": "2026-11-10T11:05:51.000Z",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/61bbc2cdba651f14413cf6b18cfb16b7b5177c8da9afe4a8c3cb20222056ebed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4-4",
      "date": "2026-11-10T10:25:21.000Z",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/5a8faa0731e6519c60a8405cc9a59a6b24bb830f76245b3931278f07c58f1952",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.4-4",
      "date": "2026-11-10T11:09:15.000Z",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/7417f3bd539795c501c9dcbd4e6e79942a84cf8b2d020491b04fb8d2986641c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.4-4",
      "date": "2026-11-10T10:25:12.000Z",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/82121c474392cc7130816431d29d0399a40b68da9603de8844042f98004a4409",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4-4",
      "date": "2026-11-10T10:14:34.000Z",
      "arch": "emscripten",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/2c3e6896e5d737772f6f78e151bffe1c401da2ee9938521817f4c043e105298b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4-4",
      "date": "2026-11-10T10:15:55.000Z",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/960d67ec5f9b8f53d48fcba703effffd22a741d367e134da0640b58278cf6c2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4-4",
      "date": "2026-11-10T10:14:00.000Z",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/398c60240a7a60b9e7945855c3735cfacf7e717b14872fbca6646800af435f52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4-4",
      "date": "2026-11-10T10:14:30.000Z",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/e4d1c2212978a4b0e7fdab6a0c8c32dee82e1fa26d99af1fd345ef5e964df48f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.4-4",
      "date": "2026-11-10T10:16:13.000Z",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/5f78f8413632f128ff7365784d358f7685a3faf57c9612a918fe324c11ad5945",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.4-4",
      "date": "2026-11-10T10:14:29.000Z",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/4ac952551c25ed0830ac6257ee217f34e91c7c18b8c71072e40f476ff52e366b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/42796742988"
    }
  ]
}