{
  "_id": "6a1f26acb401979e73422199",
  "Package": "trendtestR",
  "Type": "Package",
  "Title": "Exploratory Trend Analysis and Visualization for Time-Series and\nGrouped Data",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(\n\"Gelan Huang\",\nemail = \"huanggelan97@icloud.com\",\nrole = c(\"aut\", \"cre\")\n)\n)",
  "Description": "Provides a set of exploratory data analysis (EDA) tools\nfor visualizing trends, diagnosing data types for\nbeginner-friendly workflows, and automatically routing to\nsuitable statistical tests or trend exploration models.\nIncludes unified plotting functions for trend lines, grouped\nboxplots, and comparative scatterplots; automated statistical\ntesting (e.g., t-test, Wilcoxon, ANOVA, Kruskal-Wallis, Tukey,\nDunn) with optional effect size calculation; and model-based\ntrend analysis using generalized additive models (GAM) for\ncount data, generalized linear models (GLM) for continuous\ndata, and zero-inflated models (ZIP/ZINB) for count data with\npotential zero-inflation. Also supports time-window continuity\nchecks, cross-year handling in compare_monthly_cases(), and\nARIMA-ready preparation with stationarity diagnostics, ensuring\nconsistent parameter styles for reproducible research and\nuser-friendly workflows.Methods are based on R Core Team (2024)\n<https://www.R-project.org/>, Wood, S.N.(2017,\nISBN:978-1498728331), Hyndman RJ, Khandakar Y (2008)\n<doi:10.18637/jss.v027.i03>, Simon Jackman (2024)\n<https://github.com/atahk/pscl/>, Achim Zeileis, Christian\nKleiber, Simon Jackman (2008) <doi:10.18637/jss.v027.i08>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/GrahnH/trendtestR",
  "BugReports": "https://github.com/GrahnH/trendtestR/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libssl-dev",
  "Repository": "https://grahnh.r-universe.dev",
  "Date/Publication": "2025-09-18 16:17:29 UTC",
  "RemoteUrl": "https://github.com/grahnh/trendtestr",
  "RemoteRef": "HEAD",
  "RemoteSha": "123bae3bf28084abfcb5e8fdfdb6bde7e569d538",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 07:32:42 UTC",
    "User": "root"
  },
  "Author": "Gelan Huang [aut, cre]",
  "Maintainer": "Gelan Huang <huanggelan97@icloud.com>",
  "MD5sum": "f86333bbfaa4602a8c7d65c9cbbed46d",
  "_user": "grahnh",
  "_type": "src",
  "_file": "trendtestR_1.0.1.tar.gz",
  "_fileid": "0ae9992db774258ae4fa3905570ae3014da1049dbbecb4025a70a7c38cbc70ac",
  "_filesize": 301048,
  "_sha256": "0ae9992db774258ae4fa3905570ae3014da1049dbbecb4025a70a7c38cbc70ac",
  "_created": "2026-05-16T07:32:42.000Z",
  "_published": "2026-06-02T18:53:32.301Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79143900664,
      "time": 237,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031633499"
    },
    {
      "job": 79143901114,
      "time": 208,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031630520"
    },
    {
      "job": 79143900445,
      "time": 168,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031624218"
    },
    {
      "job": 79143908302,
      "time": 179,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031624626"
    },
    {
      "job": 79143899502,
      "time": 233,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031608497"
    },
    {
      "job": 79143899738,
      "time": 1435,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79143900622,
      "time": 171,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031626747"
    },
    {
      "job": 79143900718,
      "time": 163,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031625754"
    },
    {
      "job": 79143900548,
      "time": 179,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031627452"
    }
  ],
  "_buildurl": "https://github.com/r-universe/grahnh/actions/runs/25956168809",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/grahnh/trendtestr",
  "_commit": {
    "id": "123bae3bf28084abfcb5e8fdfdb6bde7e569d538",
    "author": "GrahnH <huanggelan97@icloud.com>",
    "committer": "GrahnH <huanggelan97@icloud.com>",
    "message": "vignette html push\n",
    "time": 1758212249
  },
  "_maintainer": {
    "name": "Gelan Huang",
    "email": "huanggelan97@icloud.com",
    "login": "grahnh",
    "uuid": 201444217
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.0",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "emmeans",
      "role": "Imports"
    },
    {
      "package": "e1071",
      "role": "Imports"
    },
    {
      "package": "forecast",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "multcomp",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tseries",
      "role": "Imports"
    },
    {
      "package": "car",
      "role": "Imports"
    },
    {
      "package": "FSA",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "pscl",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "mockr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "grahnh",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-33",
      "n": 6
    },
    {
      "week": "2025-34",
      "n": 7
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "grahnh",
      "count": 17,
      "uuid": 201444217
    }
  ],
  "_userbio": {
    "uuid": 201444217,
    "type": "user",
    "name": "GrahnH"
  },
  "_downloads": {
    "count": 171,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/trendtestR"
  },
  "_devurl": "https://github.com/grahnh/trendtestr",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/trendtestR.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/grahnh/trendtestr",
  "_realowner": "grahnh",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2025-09-02"
    }
  ],
  "_exports": [
    "check_continuity_by_window",
    "check_input_validity",
    "check_rate_diff_arima_ready",
    "compare_distribution_by_granularity",
    "compare_monthly_cases",
    "diagnose_model_trend",
    "explore_continuous_trend",
    "explore_poisson_trend",
    "explore_poisson_trend_Legacy",
    "explore_trend_auto",
    "explore_zinb_trend",
    "filter_by_groupcol",
    "infer_value_type",
    "plot_weekly_cases",
    "prepare_group_data",
    "run_count_multi_group_tests",
    "run_count_two_group_tests",
    "run_group_tests",
    "run_multi_group_tests",
    "run_paired_tests",
    "standardize_case_columns"
  ],
  "_help": [
    {
      "page": "check_continuity_by_window",
      "title": "Check Time Series Continuity within Defined Window / Pruefung der Zeitreihen-Kontinuitaet",
      "topics": [
        "check_continuity_by_window"
      ]
    },
    {
      "page": "check_input_validity",
      "title": "Validate Time and Group Inputs for Case Comparison / Eingabepruefung fuer Zeit- und Gruppierungsvariablen",
      "topics": [
        "check_input_validity"
      ]
    },
    {
      "page": "check_rate_diff_arima_ready",
      "title": "Assess Time Series Readiness for ARIMA Modeling / Pruefung der Eignung fuer ARIMA-Zeitreihenmodellierung",
      "topics": [
        "check_rate_diff_arima_ready"
      ]
    },
    {
      "page": "compare_distribution_by_granularity",
      "title": "Compare Normality across Granularity Levels / Vergleich der Normalverteilung je Granularitaet",
      "topics": [
        "compare_distribution_by_granularity"
      ]
    },
    {
      "page": "compare_monthly_cases",
      "title": "Compare Monthly Case Trends across Years / Vergleich monatlicher Falltrends zwischen Jahren",
      "topics": [
        "compare_monthly_cases"
      ]
    },
    {
      "page": "diagnose_model_trend",
      "title": "Diagnose a fitted model using residual plots and statistical tests (ggplot2 only) / Modell-Diagnose mittels Residuenplots und statistischen Tests (nur ggplot2)",
      "topics": [
        "diagnose_model_trend"
      ]
    },
    {
      "page": "explore_continuous_trend",
      "title": "Explore linear and GLM trends for continuous data with automatic model selection / Analyse linearer und GLM-Trends fuer kontinuierliche Daten mit automatischer Modellauswahl",
      "topics": [
        "explore_continuous_trend"
      ]
    },
    {
      "page": "explore_poisson_trend",
      "title": "Explore time-based GAM for count data trend with automatic model selection / Zeitbasierte GAM-Trendanalyse fuer Zaehldaten mit automatischer Modellauswahl",
      "topics": [
        "explore_poisson_trend"
      ]
    },
    {
      "page": "explore_trend_auto",
      "title": "Main dispatcher for trend analysis based on data type / Hauptverzweiger fuer Trendanalyse basierend auf Datentyp",
      "topics": [
        "explore_trend_auto"
      ]
    },
    {
      "page": "explore_zinb_trend",
      "title": "Explore zero-inflated models (ZIP/ZINB) for count data trends / Analyse von Zero-Inflated-Modellen (ZIP/ZINB) fuer Zeitreihen mit Zaehldaten",
      "topics": [
        "explore_zinb_trend"
      ]
    },
    {
      "page": "filter_by_groupcol",
      "title": "Filter and optionally reshape a data frame by group column / Nach Gruppenspalte filtern und optional umstrukturieren",
      "topics": [
        "filter_by_groupcol"
      ]
    },
    {
      "page": "infer_value_type",
      "title": "Infer variable type from numeric vector / Typ-Erkennung numerischer Vektoren",
      "topics": [
        "infer_value_type"
      ]
    },
    {
      "page": "plot_weekly_cases",
      "title": "Visualize Weekly Aggregated Values / Woechentliche aggregierte Werte visualisieren",
      "topics": [
        "plot_weekly_cases"
      ]
    },
    {
      "page": "prepare_group_data",
      "title": "Prepare Grouped Data for Statistical Testing",
      "topics": [
        "prepare_group_data"
      ]
    },
    {
      "page": "run_count_multi_group_tests",
      "title": "Statistical Test for Count Data (Multi-Groups) / Statistischer Test fuer Zaehldaten (Mehrere Gruppen)",
      "topics": [
        "run_count_multi_group_tests"
      ]
    },
    {
      "page": "run_count_two_group_tests",
      "title": "Statistical Test for Count Data (Two Groups) / Statistischer Test fuer Zaehldaten (Zwei Gruppen)",
      "topics": [
        "run_count_two_group_tests"
      ]
    },
    {
      "page": "run_group_tests",
      "title": "Automated Selection of Statistical Group Tests / Automatisierte Auswahl statistischer Gruppentests",
      "topics": [
        "run_group_tests"
      ]
    },
    {
      "page": "run_multi_group_tests",
      "title": "Multi-Group Test with Assumption Checks / Mehr-Gruppen-Test mit Annahmepruefung",
      "topics": [
        "run_multi_group_tests"
      ]
    },
    {
      "page": "run_paired_tests",
      "title": "Paired / Unpaired Two-Group Tests with Assumption Checks / Zwei-Gruppen-Test mit Vorannahmepruefung",
      "topics": [
        "run_paired_tests"
      ]
    },
    {
      "page": "standardize_case_columns",
      "title": "Standardize date and value columns / Standardisierung von Datum und Werten",
      "topics": [
        "standardize_case_columns"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "class",
    "cli",
    "codetools",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "curl",
    "Deriv",
    "doBy",
    "dplyr",
    "dunn.test",
    "e1071",
    "emmeans",
    "estimability",
    "farver",
    "FlexParamCurve",
    "forecast",
    "Formula",
    "fracdiff",
    "FSA",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "plotrix",
    "polynom",
    "proxy",
    "pscl",
    "purrr",
    "quadprog",
    "quantmod",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rstatix",
    "S7",
    "sandwich",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tseries",
    "TTR",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xts",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "trendtestr-intro-eustockmarkets.Rmd",
      "filename": "trendtestr-intro-eustockmarkets.html",
      "title": "trendtestr-intro-eustockmarkets",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "What you’ll do (automated path)",
        "Selected functions used",
        "Dataset",
        "Workflow",
        "1. Installation and Setup",
        "1.1 Load required packages",
        "1.2 Data Preparation",
        "2.  Data Filtering",
        "3. Data Continuity Check",
        "4. Cross-Year Data Comparison",
        "4.1 Weekly Granularity Comparison",
        "4.2 Daily Granularity Comparison",
        "4.3 Distribution Comparison Across Granularities",
        "5. Automated Statistical Testing",
        "6. Trend Modeling",
        "6.1 Automated Trend Exploration",
        "6.2 Spline Degrees of Freedom Optimization",
        "6.3 Modeling with Optimal Parameters",
        "7. Model Diagnostics",
        "8. ARIMA Modeling Preparation",
        "Other Functions (at a glance)",
        "Epidemiology-style weekly visualization",
        "Additional statistical testing",
        "Additional trend modeling",
        "Time-series readiness",
        "Summary"
      ],
      "created": "2025-08-13 01:07:10",
      "modified": "2025-08-13 01:07:10",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "trendtestr",
  "_universes": [
    "grahnh"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-16T07:35:29.000Z",
      "distro": "noble",
      "commit": "123bae3bf28084abfcb5e8fdfdb6bde7e569d538",
      "fileid": "3ac70a02764d6bf6afad132ec185affed7e7dde15a9dd1a918137ff33de2612b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahnh/actions/runs/25956168809"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-16T07:35:07.000Z",
      "distro": "noble",
      "commit": "123bae3bf28084abfcb5e8fdfdb6bde7e569d538",
      "fileid": "6149250e628a99423142acff4cfed4edba898976030e456a792d0678b85b64ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahnh/actions/runs/25956168809"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-16T07:34:46.000Z",
      "commit": "123bae3bf28084abfcb5e8fdfdb6bde7e569d538",
      "fileid": "d433a46f55bab54dfc9f69ea6c018a0ed1e8b09d83a18e0b47ea286fcd3369e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahnh/actions/runs/25956168809"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-16T07:34:41.000Z",
      "commit": "123bae3bf28084abfcb5e8fdfdb6bde7e569d538",
      "fileid": "6a7fd205e7e512078e9d31def6c6ebabae5fd5441b5f8be4767fc9e7d95f9577",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahnh/actions/runs/25956168809"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-16T07:34:12.000Z",
      "commit": "123bae3bf28084abfcb5e8fdfdb6bde7e569d538",
      "fileid": "d5a54113d73a67879a1a7e302f12548c4bd6e349c1335c609258e7a58cdbd2d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahnh/actions/runs/25956168809"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-16T07:34:03.000Z",
      "commit": "123bae3bf28084abfcb5e8fdfdb6bde7e569d538",
      "fileid": "9f129ca0ad87a94017634b63cebe6b61dc0efbc66c0ddec73e63e4465b14cca1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahnh/actions/runs/25956168809"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-16T07:34:07.000Z",
      "commit": "123bae3bf28084abfcb5e8fdfdb6bde7e569d538",
      "fileid": "369161734cdac008e9a94b57aea513b267dd0d8209b0db4e1f64677d6d60c288",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahnh/actions/runs/25956168809"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-05-22T05:48:05.000Z",
      "commit": "123bae3bf28084abfcb5e8fdfdb6bde7e569d538",
      "fileid": "1a11a99e3d2244524c880a52fdf706fc44fa56c3e690e7a860956147fcc14d53",
      "status": "success",
      "buildurl": "https://github.com/r-universe/grahnh/actions/runs/25956168809"
    }
  ]
}