{
  "_id": "6a226980cd65a98ecbd45d3a",
  "Package": "OnlineSurr",
  "Type": "Package",
  "Title": "Surrogate Evaluation for Jointly Longitudinal Outcome and\nSurrogate",
  "Version": "0.0.5",
  "Authors@R": "c(\nperson(given=\"Silvaneo\", family =\"dos Santos Jr.\", email = \"silvaneojunior@utexas.edu\", role = c(\"aut\", \"cre\")),\nperson(given=\"Layla\", family =\"Parast\", email = \"parast@austin.utexas.edu\", role = c(\"aut\")))",
  "Description": "Tools for surrogate evaluation in longitudinal studies\nusing state-space models as proposed in Santos Jr. and Parast\n(2026)<doi:10.48550/arXiv.2604.12882>. The package estimates\ntreatment effects over time with and without adjustment for\nsurrogate information, summarizes the proportion of treatment\neffect explained by a longitudinal surrogate, quantifies\nuncertainty via bootstrap resampling, and provides plotting and\nsummary utilities for fitted models.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RdMacros": "Rdpack",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://silvaneojunior.github.io/OnlineSurr/",
  "BugReports": "https://github.com/silvaneojunior/OnlineSurr/issues",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://silvaneojunior.r-universe.dev",
  "Date/Publication": "2026-05-06 16:39:59 UTC",
  "RemoteUrl": "https://github.com/silvaneojunior/onlinesurr",
  "RemoteRef": "HEAD",
  "RemoteSha": "aa7416138634ac5f5c4937689f64a809218f98f9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 06:10:17 UTC",
    "User": "root"
  },
  "Author": "Silvaneo dos Santos Jr. [aut, cre],\nLayla Parast [aut]",
  "Maintainer": "Silvaneo dos Santos Jr. <silvaneojunior@utexas.edu>",
  "MD5sum": "29ace77076228317919175f9fb19d08d",
  "_user": "silvaneojunior",
  "_type": "src",
  "_file": "OnlineSurr_0.0.5.tar.gz",
  "_fileid": "da8b0e09ba4c01458a075eae73f4226ad5701b6c58015e62c178b8eaf318c105",
  "_filesize": 554999,
  "_sha256": "da8b0e09ba4c01458a075eae73f4226ad5701b6c58015e62c178b8eaf318c105",
  "_created": "2026-06-05T06:10:17.000Z",
  "_published": "2026-06-05T06:15:28.003Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79674143211,
      "time": 165,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430046606"
    },
    {
      "job": 79674143687,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430042676"
    },
    {
      "job": 79674143204,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430044038"
    },
    {
      "job": 79674143213,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430038531"
    },
    {
      "job": 79673612277,
      "time": 289,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430009761"
    },
    {
      "job": 79674143241,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430034910"
    },
    {
      "job": 79674143226,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430034635"
    },
    {
      "job": 79674143283,
      "time": 111,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430034313"
    },
    {
      "job": 79674143244,
      "time": 116,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430035613"
    }
  ],
  "_buildurl": "https://github.com/r-universe/silvaneojunior/actions/runs/26998595944",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/silvaneojunior/onlinesurr",
  "_commit": {
    "id": "aa7416138634ac5f5c4937689f64a809218f98f9",
    "author": "Silvaneo VIeira dos Santos Junior <silvaneojunior@gmail.com>",
    "committer": "Silvaneo VIeira dos Santos Junior <silvaneojunior@gmail.com>",
    "message": "Version 0.0.5\n\nChanges:\n - Updates the seeds on the simulations for the reproductible codes, such that each scenario in study 2 has its own seed and is run separately.\n - Increases the treatment effect on cases 2 and 3 of study 2, so that the impact of the sample size on the power of the time-homogeneity test is more visible.\n\nBug fixes:\n - Fixes a bug where the model would not fitting for certain types of missingness.\n - Fixes a bug where user-specified time indexes were incorrectly rejected.\n",
    "time": 1778085599
  },
  "_maintainer": {
    "name": "Silvaneo dos Santos Jr.",
    "email": "silvaneojunior@utexas.edu",
    "login": "silvaneojunior",
    "linkedin": "in/silvaneojunior",
    "description": "",
    "uuid": 53521754
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "kDGLM",
      "version": ">= 1.2.14",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "Rfast",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "latex2exp",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "silvaneojunior",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "silvaneojunior",
      "count": 6,
      "uuid": 53521754
    }
  ],
  "_userbio": {
    "uuid": 53521754,
    "type": "user",
    "name": "Silvaneo VIeira dos Santos Junior"
  },
  "_downloads": {
    "count": 422,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/OnlineSurr"
  },
  "_devurl": "https://github.com/silvaneojunior/onlinesurr",
  "_pkgdown": "https://silvaneojunior.github.io/OnlineSurr/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/OnlineSurr.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/silvaneojunior/onlinesurr",
  "_realowner": "silvaneojunior",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.3",
      "date": "2026-04-21"
    },
    {
      "version": "0.0.4",
      "date": "2026-04-22"
    }
  ],
  "_exports": [
    "fit.surr",
    "lagged",
    "s",
    "time_homo_test"
  ],
  "_datasets": [
    {
      "name": "sim_onlinesurr",
      "title": "Simulated longitudinal surrogate dataset for 'OnlineSurr'",
      "object": "sim_onlinesurr",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "trt",
        "time",
        "s",
        "y"
      ],
      "rows": 600,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "fit.surr",
      "title": "Fit marginal and conditional state-space models for longitudinal surrogate evaluation",
      "topics": [
        "fit.surr"
      ]
    },
    {
      "page": "lagged",
      "title": "Compute lagged values of a vector",
      "topics": [
        "lagged"
      ]
    },
    {
      "page": "plot.fitted_onlinesurr",
      "title": "Plot time-varying PTE measures and treatment effects from a '\"fitted_onlinesurr\"' object",
      "topics": [
        "plot.fitted_onlinesurr"
      ]
    },
    {
      "page": "s",
      "title": "Construct a B-spline basis matrix",
      "topics": [
        "s"
      ]
    },
    {
      "page": "sim_onlinesurr",
      "title": "Simulated longitudinal surrogate dataset for `OnlineSurr`",
      "topics": [
        "sim_onlinesurr"
      ]
    },
    {
      "page": "summary.fitted_onlinesurr",
      "title": "Summarize a '\"fitted_onlinesurr\"' object",
      "topics": [
        "summary.fitted_onlinesurr"
      ]
    },
    {
      "page": "time_homo_test",
      "title": "Test time-homogeneity of the PTE",
      "topics": [
        "time_homo_test"
      ]
    }
  ],
  "_readme": "https://github.com/silvaneojunior/onlinesurr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "extraDistr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "kDGLM",
    "labeling",
    "latex2exp",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "Rdpack",
    "Rfast",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zigg"
  ],
  "_vignettes": [
    {
      "source": "vignette.Rmd",
      "filename": "vignette.html",
      "title": "OnlineSurr: Fitting marginal/conditional models and computing LPTE/CPTE",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data requirements and conventions",
        "Package functions used in this vignette",
        "Fitting the models with fit.surr()",
        "What fit.surr() stores",
        "Summaries and inference",
        "Printing a summary",
        "Plotting LPTE, CPTE, and treatment effects",
        "Testing time-homogeneity",
        "Practical tips and common pitfalls",
        "Session info"
      ],
      "created": "2026-04-12 01:51:49",
      "modified": "2026-04-22 19:43:16",
      "commits": 3
    }
  ],
  "_score": 4.3979400086720375,
  "_indexed": true,
  "_nocasepkg": "onlinesurr",
  "_universes": [
    "silvaneojunior"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.5",
      "date": "2026-06-05T06:14:12.000Z",
      "distro": "noble",
      "commit": "aa7416138634ac5f5c4937689f64a809218f98f9",
      "fileid": "d0fd1983041f61e95fd6dce125f68cad860577569c65be9b63418a56cbe020f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvaneojunior/actions/runs/26998595944"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.5",
      "date": "2026-06-05T06:14:01.000Z",
      "distro": "noble",
      "commit": "aa7416138634ac5f5c4937689f64a809218f98f9",
      "fileid": "55287758cbc9796e7550bf63c39144aabe300de659ecec5cf9954a97f3d0331e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvaneojunior/actions/runs/26998595944"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.5",
      "date": "2026-06-05T06:14:13.000Z",
      "commit": "aa7416138634ac5f5c4937689f64a809218f98f9",
      "fileid": "d0567b265f6ea41d7f3e2593efdfee238aff54ead13eba78e503326b84c864fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvaneojunior/actions/runs/26998595944"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.5",
      "date": "2026-06-05T06:13:51.000Z",
      "commit": "aa7416138634ac5f5c4937689f64a809218f98f9",
      "fileid": "ee28a7da30be5624667c4dc995137b23370997faf0ca7a158e082588c0f619cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvaneojunior/actions/runs/26998595944"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.5",
      "date": "2026-06-05T06:14:01.000Z",
      "commit": "aa7416138634ac5f5c4937689f64a809218f98f9",
      "fileid": "7f83e4df428116df27799d5db6c726fe7cda6491300fc03ca584e25cd9b00428",
      "status": "success",
      "buildurl": "https://github.com/r-universe/silvaneojunior/actions/runs/26998595944"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-06-05T06:13:05.000Z",
      "commit": "aa7416138634ac5f5c4937689f64a809218f98f9",
      "fileid": "d2ad9ed9f734518bb4be505b48c5654c1f3678386ca78eb74c7faa5c3faa982b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvaneojunior/actions/runs/26998595944"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-06-05T06:13:06.000Z",
      "commit": "aa7416138634ac5f5c4937689f64a809218f98f9",
      "fileid": "b795a761a18d647fa235b99b921a05ba18a8f3ab194ece9c3e38c08e1813cb1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvaneojunior/actions/runs/26998595944"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-06-05T06:13:11.000Z",
      "commit": "aa7416138634ac5f5c4937689f64a809218f98f9",
      "fileid": "a0ec3b97fc7092848a7bc36f9b05601d0b5e5a5681776a3ef52c9afaac1b94d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvaneojunior/actions/runs/26998595944"
    }
  ]
}