{
  "_id": "6a54d2adff0138dec5d6700a",
  "Package": "detectPVC",
  "Version": "0.3.4",
  "Date": "2026-07-13",
  "Title": "Detect Premature Venticular Complexes",
  "Description": "Detect premature ventricular complexes (PVCs) in data from\na Polar H10 chest-strap heart rate sensor.",
  "Author": "Karl W Broman [aut, cre]\n(<https://orcid.org/0000-0002-4914-6671>)",
  "Maintainer": "Karl W Broman <broman@wisc.edu>",
  "Authors@R": "c(person(\"Karl W\", \"Broman\", role=c(\"aut\", \"cre\"),\nemail=\"broman@wisc.edu\", comment=c(ORCID = \"0000-0002-4914-6671\")))",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/kbroman/detectPVC",
  "BugReports": "https://github.com/kbroman/detectPVC/issues",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "ByteCompile": "true",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown=TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://kbroman.r-universe.dev",
  "Date/Publication": "2026-07-13 11:06:47 UTC",
  "RemoteUrl": "https://github.com/kbroman/detectPVC",
  "RemoteRef": "HEAD",
  "RemoteSha": "9b0e258e7809cd8790baf75fed23d8c334147e05",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-13 11:50:38 UTC",
    "User": "root"
  },
  "_user": "kbroman",
  "_type": "src",
  "_file": "detectPVC_0.3.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/879e59569484bc269d1149dc259f0d100f3cb19e8d98fb983247e930727f1530",
  "_filesize": 762621,
  "_sha256": "879e59569484bc269d1149dc259f0d100f3cb19e8d98fb983247e930727f1530",
  "_expires": "2026-10-21T11:57:32.000Z",
  "_created": "2026-07-13T11:50:38.000Z",
  "_published": "2026-07-13T11:57:33.680Z",
  "_jobs": [
    {
      "job": 86808406129,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8278097923"
    },
    {
      "job": 86808406107,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8278103611"
    },
    {
      "job": 86808406147,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8278190812"
    },
    {
      "job": 86808406122,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8278117989"
    },
    {
      "job": 86807737269,
      "time": 209,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8278038555"
    },
    {
      "job": 86808406051,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8278094794"
    },
    {
      "job": 86808406108,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8278077881"
    },
    {
      "job": 86808406202,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8278077960"
    },
    {
      "job": 86808406117,
      "time": 114,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8278086016"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/kbroman/actions/runs/29247451974",
  "_status": "success",
  "_upstream": "https://github.com/kbroman/detectPVC",
  "_commit": {
    "id": "9b0e258e7809cd8790baf75fed23d8c334147e05",
    "author": "Karl Broman <kbroman@gmail.com>",
    "committer": "Karl Broman <kbroman@gmail.com>",
    "message": "cores=0 now results in all but one core\n",
    "time": 1783940807
  },
  "_maintainer": {
    "name": "Karl W Broman",
    "email": "broman@wisc.edu",
    "login": "kbroman",
    "mastodon": "@kbroman@rstats.me",
    "orcid": "0000-0002-4914-6671",
    "description": "Professor in Dept of Biostatistics & Medical Informatics at UW–Madison. Applied statistician working on statistical genomics.\n",
    "uuid": 53972
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "broman",
      "version": ">= 0.84",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "signal",
      "role": "Imports"
    },
    {
      "package": "R.utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "kbroman",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-19",
      "n": 11
    },
    {
      "week": "2026-20",
      "n": 3
    },
    {
      "week": "2026-23",
      "n": 8
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 2
    },
    {
      "week": "2026-29",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.2",
      "date": "2026-05-09"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "kbroman",
      "count": 174,
      "uuid": 53972
    }
  ],
  "_userbio": {
    "uuid": 53972,
    "type": "user",
    "name": "Karl Broman",
    "followers": 1479,
    "description": "Professor in Dept of Biostatistics & Medical Informatics at UW–Madison. Applied statistician working on statistical genomics.\r\n"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/detectPVC"
  },
  "_devurl": "https://github.com/kbroman/detectpvc",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/detectPVC.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "adjust_peaks",
    "calc_peak_stats",
    "convert_timestamp",
    "detect_peaks",
    "find_bad_segments",
    "find_closest_time",
    "find_pvc_pattern",
    "get_time_interval",
    "most_common_date",
    "plot_ecg",
    "plot_ecg_mult",
    "plot_states",
    "read_multcsv",
    "running_datacount",
    "running_pvc_stats",
    "summary_states",
    "totlength",
    "zero_segments"
  ],
  "_datasets": [
    {
      "name": "polar_h10",
      "title": "Example Polar H10 data",
      "object": "polar_h10",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "ecg",
        "hr",
        "rr"
      ],
      "rows": 78096,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adjust_peaks",
      "title": "Adjust R peaks to hit local max",
      "topics": [
        "adjust_peaks"
      ]
    },
    {
      "page": "calc_peak_stats",
      "title": "Calculate summary statistics for each R peak",
      "topics": [
        "calc_peak_stats"
      ]
    },
    {
      "page": "convert_timestamp",
      "title": "Convert date/time stamp for Polar H10",
      "topics": [
        "convert_timestamp"
      ]
    },
    {
      "page": "detect_peaks",
      "title": "Detect R peaks in a raw ECG signal, using a sliding window",
      "topics": [
        "detect_peaks"
      ]
    },
    {
      "page": "find_bad_segments",
      "title": "Find bad segments in ECG signal",
      "topics": [
        "find_bad_segments"
      ]
    },
    {
      "page": "find_closest_time",
      "title": "Find closest time",
      "topics": [
        "find_closest_time"
      ]
    },
    {
      "page": "find_pvc_pattern",
      "title": "Find PVC patterns",
      "topics": [
        "find_pvc_pattern"
      ]
    },
    {
      "page": "get_time_interval",
      "title": "Get indexes for a interval in time",
      "topics": [
        "get_time_interval"
      ]
    },
    {
      "page": "most_common_date",
      "title": "Most common date in a vector of date/times",
      "topics": [
        "most_common_date"
      ]
    },
    {
      "page": "plot_ecg",
      "title": "Plot ECG signal",
      "topics": [
        "plot_ecg"
      ]
    },
    {
      "page": "plot_ecg_mult",
      "title": "Plot ECG signal across multiple panels",
      "topics": [
        "plot_ecg_mult"
      ]
    },
    {
      "page": "plot_states",
      "title": "Plot PVC states",
      "topics": [
        "plot.states",
        "plot_states"
      ]
    },
    {
      "page": "plot.pvc_stats",
      "title": "Plot running PVC statistics",
      "topics": [
        "plot.pvc_stats"
      ]
    },
    {
      "page": "polar_h10",
      "title": "Example Polar H10 data",
      "topics": [
        "polar_h10"
      ]
    },
    {
      "page": "print.summary.states",
      "title": "Print summary of states object",
      "topics": [
        "print.summary.states"
      ]
    },
    {
      "page": "read_multcsv",
      "title": "Read multiple related CSV files",
      "topics": [
        "read_multcsv"
      ]
    },
    {
      "page": "running_datacount",
      "title": "Get running count of amount of data",
      "topics": [
        "running_datacount"
      ]
    },
    {
      "page": "running_pvc_stats",
      "title": "Calculate running PVC burden and HR",
      "topics": [
        "running_pvc_stats"
      ]
    },
    {
      "page": "summary_states",
      "title": "Summarize output of plot_states",
      "topics": [
        "summary.states",
        "summary_states"
      ]
    },
    {
      "page": "totlength",
      "title": "Total length of a set of time intervals",
      "topics": [
        "totlength"
      ]
    },
    {
      "page": "zero_segments",
      "title": "Zero out segments of a ECG signal",
      "topics": [
        "zero_segments"
      ]
    }
  ],
  "_pkglogo": "https://github.com/kbroman/detectPVC/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/kbroman/detectPVC/raw/HEAD/README.md",
  "_rundeps": [
    "broman",
    "cli",
    "cpp11",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "signal",
    "stringi",
    "stringr",
    "timechange",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "detectPVC.Rmd",
      "filename": "detectPVC.html",
      "title": "detectPVC User Guide",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction ",
        "Installation",
        "Usage"
      ],
      "created": "2024-05-01 18:33:09",
      "modified": "2026-07-06 11:36:38",
      "commits": 16
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "detectpvc",
  "_universes": [
    "kbroman"
  ],
  "_previous": "0.3.3",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-07-13T11:52:52.000Z",
      "distro": "resolute",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/4dc8249f2d7f1f8780ac45b347bd6d8e86a4908f6e86a912ed46683b4a011dfb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/29247451974"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-07-13T11:53:05.000Z",
      "distro": "resolute",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/38e880309c0717ed74357c0542b1429bbe46cf897d892a3f0637b934ee490a36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/29247451974"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-07-13T11:56:49.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/9b877f38cae84d6d4d3805e1d2d3639c71d04d58808bf065339ab94271134fef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/29247451974"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-07-13T11:53:36.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/6f8d6d13b86aab516bb73979b3618cc47618204e71e4348887772d059321d840",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/29247451974"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.4",
      "date": "2026-07-13T11:53:11.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/824a7584a3db3926b2b6cc94d3d8410ac9bd47a41e1e0f97ef87204db31a6145",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/29247451974"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-07-13T11:51:58.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/2832bafe2c8ee2da77ba137bbbcda8b4aa05928d8fd05d3fe486abc684771a5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/29247451974"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-07-13T11:51:52.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/71c5850b63f952cb36b7946670e017ff1619ef9c6ceadead64081f78c54a6c4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/29247451974"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-07-13T11:52:17.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/f17b80fb07831ff7d37ba9d4ddbe2819b74f4454b7625a5e621da6213b20e02d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/29247451974"
    }
  ]
}