{
  "_id": "6acb55d5fe5cc25786e8e5a9",
  "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-10-11 09:13:04 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/52aeaf17acb02e7830c50feb595f167bcb0a06626f92e41a907edc7559369cae",
  "_filesize": 399734,
  "_sha256": "52aeaf17acb02e7830c50feb595f167bcb0a06626f92e41a907edc7559369cae",
  "_expires": "2027-01-19T09:24:35.000Z",
  "_created": "2026-10-11T09:13:04.000Z",
  "_published": "2026-10-11T09:24:37.709Z",
  "_buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114435097592,
      "time": 96,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11697484390"
    },
    {
      "job": 114435097607,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11696999336"
    },
    {
      "job": 114435097586,
      "time": 81,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11696744775"
    },
    {
      "job": 114435097547,
      "time": 102,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11697843471"
    },
    {
      "job": 114435097575,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11697019865"
    },
    {
      "job": 114435097581,
      "time": 184,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11697789742"
    },
    {
      "job": 114435097541,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11697399892"
    },
    {
      "job": 114435097558,
      "time": 229,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11697344902"
    },
    {
      "job": 114434492059,
      "time": 205,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11697828463"
    },
    {
      "job": 114435097533,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11697738702"
    },
    {
      "job": 114435097563,
      "time": 193,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11697069205"
    },
    {
      "job": 114435097588,
      "time": 141,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11697945387"
    },
    {
      "job": 114435097583,
      "time": 101,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11697928097"
    },
    {
      "job": 114435097571,
      "time": 218,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11697444514"
    },
    {
      "job": 114435097531,
      "time": 106,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11697945338"
    }
  ],
  "_upstream": "https://github.com/ardiad/spantest",
  "_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
  },
  "_maintainer": {
    "name": "David Ardia",
    "email": "david.ardia.ch@gmail.com",
    "login": "ardiad",
    "orcid": "0000-0003-2823-782X",
    "description": "Professor in Quantitative Finance",
    "uuid": 11246455
  },
  "_distro": "resolute",
  "_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": 287,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spantest"
  },
  "_devurl": "https://github.com/ardiad/spantest",
  "_searchresults": 2,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_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"
  ],
  "_previous": "1.4-3",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4-4",
      "date": "2026-10-11T09:14:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/05c66f03c4c63de34619ace3b892e642173a26ac380e631a05079ad66f6400a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4-4",
      "date": "2026-10-11T09:14:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/ab4d997e6eeb8f9f0407c80e947b6e3ad1f3d6b273ab2d973b3359fb3274dbd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4-4",
      "date": "2026-10-11T09:14:35.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/4ae0fa1876c0eeda22664e34ff2f4e08a9e6045543370d6432d2647d2b283981",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4-4",
      "date": "2026-10-11T09:14:42.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/47f9f62da7436f2b853d1fd8929d4977fd2bd43df455abf4db10f71225ec22c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4-4",
      "date": "2026-10-11T09:23:27.000Z",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/c8645302a0844ee00cc34b43ac463b72a11f36c3786b5dafaa99b0f37c466c29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4-4",
      "date": "2026-10-11T09:23:35.000Z",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/6e27a69f6163e65bae1bbc6fe9f8e291bc08f3ca44a0f7717d3ffbce954ed5a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4-4",
      "date": "2026-10-11T09:18:38.000Z",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/5885ae3047a61de8f6153e4fb5eade81f9cae4e7ba282350b07ab2ae7a47fbdb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4-4",
      "date": "2026-10-11T09:18:06.000Z",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/e67760d455be28e23e1418c1c7b99c25c0a9150397d6219d3472a275ec8c809c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4-4",
      "date": "2026-10-11T09:14:50.000Z",
      "arch": "emscripten",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/aaa5cf42c205eb338718551037ec3cca06721655d791a72cb12fb278a091551e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4-4",
      "date": "2026-10-11T09:15:58.000Z",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/7b3672301ee8224ab9b6612d25e0ce86291ee0f241178f7c292aff37a620c7f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4-4",
      "date": "2026-10-11T09:14:14.000Z",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/b0204e09bef1b4381f24857130f63108ef377af5e31d5eb0804b370b8631ba1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4-4",
      "date": "2026-10-11T09:14:11.000Z",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/aa02df439f6f9729f157c23fc8a8261cb729121427d6417147655a71af75df13",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4-4",
      "date": "2026-10-11T09:16:26.000Z",
      "arch": "aarch64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/306ca7c542bb37e88c28b6d2f4f1afaa188c1120e98d1de77b2f1e73d964d82c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4-4",
      "date": "2026-10-11T09:14:17.000Z",
      "arch": "x86_64",
      "commit": "d2b0baeb98d9240154bf16a50463a4f3f3f39a82",
      "fileid": "https://r2.ropensci.org/615acefe230f1276f2dedfa2319946c095242cafc46156d9935d97e8c36993f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/38127375858"
    }
  ]
}