{
  "_id": "6a57f264ff0138dec5d72236",
  "Package": "appac",
  "Title": "Atmospheric Pressure Peak Area Correction for Gas Chromatography\nwith Standard Detectors",
  "Version": "4.0.3",
  "Authors@R": "person(\"Ruediger\", \"Forster\", , \"meticulous.measurements@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0006-4851-7430\"))",
  "Description": "Corrects gas-chromatography peak areas for the influence\nof ambient air pressure on standard detectors open to the\nambient atmosphere, such as the flame ionization detector,\nwhose pressure sensitivity was characterised by Bocek, Novak\nand Janak (1969) <doi:10.1016/S0021-9673(00)99223-9>. Unlike\nthe pressure compensation of Ayers and Clardy (1985)\n<https://patents.google.com/patent/US4512181A>, which is\ncombined with a calibration and valid only for a single\ncalibration period of a few days, per-cylinder peak areas are\ndecomposed by principal components into a pressure-correlated\ncomponent and per-peak drift; a common pressure-sensitivity\ncoefficient (kappa) is estimated with a heavy-tail-robust fit\non a drift-reduced signal, and slow drift plus a daily factor\nare removed. Returns the corrected areas together with a\nchi-square goodness-of-fit diagnostic. Structural-break\ndetection (package 'strucchange', Zeileis and others (2002)\n<doi:10.18637/jss.v007.i02>) is provided for episode-level and\nvariance breakpoint analysis.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-15 20:46:34 UTC",
    "User": "root"
  },
  "Author": "Ruediger Forster [aut, cre] (ORCID:\n<https://orcid.org/0009-0006-4851-7430>)",
  "Maintainer": "Ruediger Forster <meticulous.measurements@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-15 18:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/appac",
  "RemoteRef": "HEAD",
  "RemoteSha": "546b3d4f3b7cb6bde362fd9f1b223baa1d5d0d4f",
  "_user": "cran",
  "_type": "src",
  "_file": "appac_4.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/8b66d1bf4eb83c1d68904c59ff3e61c02a019d6b0b84a59b64687dac9d02d6dc",
  "_filesize": 2284683,
  "_sha256": "8b66d1bf4eb83c1d68904c59ff3e61c02a019d6b0b84a59b64687dac9d02d6dc",
  "_expires": "2026-10-23T20:49:38.000Z",
  "_created": "2026-07-15T20:46:34.000Z",
  "_published": "2026-07-15T20:49:40.519Z",
  "_jobs": [
    {
      "job": 87468498612,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8356952698"
    },
    {
      "job": 87468498642,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8356952494"
    },
    {
      "job": 87467780126,
      "time": 208,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8356892783"
    },
    {
      "job": 87468498636,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8356951532"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29449339535",
  "_status": "success",
  "_upstream": "https://github.com/cran/appac",
  "_commit": {
    "id": "546b3d4f3b7cb6bde362fd9f1b223baa1d5d0d4f",
    "author": "Ruediger Forster <meticulous.measurements@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 4.0.3\n",
    "time": 1784138402
  },
  "_maintainer": {
    "name": "Ruediger Forster",
    "email": "meticulous.measurements@gmail.com",
    "orcid": "0009-0006-4851-7430"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "kza",
      "role": "Imports"
    },
    {
      "package": "robustbase",
      "role": "Imports"
    },
    {
      "package": "strucchange",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-29",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "4.0.3",
      "date": "2026-07-15"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 620,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/appac"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/appac.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "4.0.3",
      "date": "2026-07-15"
    }
  ],
  "_exports": [
    "appac",
    "check_cols",
    "debias_ct",
    "get_changepoints",
    "get_variance_changepoints",
    "goodness_of_fit",
    "plot_area_date",
    "plot_area_pressure",
    "plot_area_pressure_fit",
    "plot_residuals",
    "print",
    "show"
  ],
  "_datasets": [
    {
      "name": "PLOT_FID",
      "title": "Flame-ionization-detector peak areas for APPAC",
      "object": "PLOT_FID",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sample.name",
        "injection.date",
        "peak.name",
        "retention.time",
        "raw.area",
        "air.pressure"
      ],
      "rows": 77365,
      "table": true,
      "tojson": true
    },
    {
      "name": "Synth_data",
      "title": "Synthetic stress-test data for APPAC",
      "object": "Synth_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sample.name",
        "injection.date",
        "peak.name",
        "retention.time",
        "raw.area",
        "air.pressure"
      ],
      "rows": 4500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "appac",
      "title": "Fit the APPAC pressure correction",
      "topics": [
        "appac"
      ]
    },
    {
      "page": "Appac-class",
      "title": "Fitted APPAC model",
      "topics": [
        "Appac-class",
        "print,Appac-method",
        "show,Appac-method"
      ]
    },
    {
      "page": "check_cols",
      "title": "Validate and canonicalise the input columns",
      "topics": [
        "check_cols"
      ]
    },
    {
      "page": "Compensation-class",
      "title": "Drift / daily-factor model",
      "topics": [
        "Compensation-class",
        "show,Compensation-method"
      ]
    },
    {
      "page": "Correction-class",
      "title": "Pressure correction model",
      "topics": [
        "Correction-class",
        "show,Correction-method"
      ]
    },
    {
      "page": "debias_ct",
      "title": "De-bias the per-peak centres",
      "topics": [
        "debias_ct"
      ]
    },
    {
      "page": "get_changepoints",
      "title": "Detect episode level breakpoints across cylinders",
      "topics": [
        "get_changepoints"
      ]
    },
    {
      "page": "get_variance_changepoints",
      "title": "Detect variance breakpoints across cylinders",
      "topics": [
        "get_variance_changepoints"
      ]
    },
    {
      "page": "goodness_of_fit",
      "title": "Goodness of fit of the correction",
      "topics": [
        "goodness_of_fit"
      ]
    },
    {
      "page": "plot_area_date",
      "title": "Plot peak area versus date",
      "topics": [
        "plot_area_date"
      ]
    },
    {
      "page": "plot_area_pressure",
      "title": "Plot peak area versus air pressure",
      "topics": [
        "plot_area_pressure"
      ]
    },
    {
      "page": "plot_area_pressure_fit",
      "title": "Plot the kappa-fit input",
      "topics": [
        "plot_area_pressure_fit"
      ]
    },
    {
      "page": "PLOT_FID",
      "title": "Flame-ionization-detector peak areas for APPAC",
      "topics": [
        "PLOT_FID"
      ]
    },
    {
      "page": "plot_residuals",
      "title": "Residual diagnostic panel",
      "topics": [
        "plot_residuals"
      ]
    },
    {
      "page": "Synth_data",
      "title": "Synthetic stress-test data for APPAC",
      "topics": [
        "Synth_data"
      ]
    }
  ],
  "_readme": "https://github.com/cran/appac/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "data.table",
    "DEoptimR",
    "dplyr",
    "generics",
    "glue",
    "kza",
    "lattice",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "robustbase",
    "sandwich",
    "strucchange",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "appac.Rmd",
      "filename": "appac.html",
      "title": "APPAC: correcting GC peak areas for atmospheric pressure",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Usage",
        "Load the data",
        "Fit the correction",
        "Inspect the fit",
        "Run-to-run scatter and diagnostics",
        "Method: the decomposition",
        "The physical effect and the forward model",
        "Separating the components by PCA",
        "Estimating the common kappa",
        "Drift and the daily factor (NA-tolerant imputation)",
        "Refining the centre: chi-square minimisation",
        "Change points: episode and precision breaks",
        "References"
      ],
      "created": "2026-07-15 18:00:02",
      "modified": "2026-07-15 18:00:02",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "appac",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.0.3",
      "date": "2026-07-15T20:48:52.000Z",
      "distro": "resolute",
      "commit": "546b3d4f3b7cb6bde362fd9f1b223baa1d5d0d4f",
      "fileid": "https://r2.ropensci.org/39b5eb178ee29d7bae1f0d880676b1d5963fadec46ec1c43aff9a49d98c96b37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29449339535"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "4.0.3",
      "date": "2026-07-15T20:48:50.000Z",
      "distro": "resolute",
      "commit": "546b3d4f3b7cb6bde362fd9f1b223baa1d5d0d4f",
      "fileid": "https://r2.ropensci.org/5e35c16e0ec08ed00fa0cc56ceb1e5d875af09488acdcd41c49a5749f3cbf51d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29449339535"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.0.3",
      "date": "2026-07-15T20:49:11.000Z",
      "commit": "546b3d4f3b7cb6bde362fd9f1b223baa1d5d0d4f",
      "fileid": "https://r2.ropensci.org/ef2552c1e07c74adba214847c41ab5e8cdacb5d63fa64db7977af03b236a1b5a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29449339535"
    }
  ]
}