{
  "_id": "6a2d076c3efcd9bda42ed19d",
  "Type": "Package",
  "Package": "gratis",
  "Title": "Generating Time Series with Diverse and Controllable\nCharacteristics",
  "Version": "1.0.8",
  "Authors@R": "c(\nperson(\"Yanfei\", \"Kang\", , \"yanfeikang@buaa.edu.cn\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-8769-6650\")),\nperson(\"Feng\", \"Li\", , \"feng.li@gsm.pku.edu.cn\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4248-9778\")),\nperson(\"Rob\", \"Hyndman\", , \"rob.hyndman@monash.edu\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-2140-5352\")),\nperson(\"Mitchell\", \"O'Hara-Wild\", , \"mail@mitchelloharawild.com\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0001-6729-7695\")),\nperson(\"Bocong\", \"Zhao\", , \"bocongzhao@163.com\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0001-8434-9047\"))\n)",
  "Description": "Generates synthetic time series based on various\nunivariate time series models including MAR and ARIMA\nprocesses. Kang, Y., Hyndman, R.J., Li, F.(2020)\n<doi:10.1002/sam.11461>.",
  "License": "GPL-3",
  "URL": "https://github.com/ykang/gratis",
  "BugReports": "https://github.com/ykang/gratis/issues/",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.3.1",
  "Repository": "https://robjhyndman.r-universe.dev",
  "Date/Publication": "2026-05-14 02:35:15 UTC",
  "RemoteUrl": "https://github.com/ykang/gratis",
  "RemoteRef": "HEAD",
  "RemoteSha": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
  "Packaged": {
    "Date": "2026-06-13 07:28:00 UTC",
    "User": "root"
  },
  "Author": "Yanfei Kang [aut] (ORCID: <https://orcid.org/0000-0001-8769-6650>),\nFeng Li [aut, cre] (ORCID: <https://orcid.org/0000-0002-4248-9778>),\nRob Hyndman [aut] (ORCID: <https://orcid.org/0000-0002-2140-5352>),\nMitchell O'Hara-Wild [ctb] (ORCID:\n<https://orcid.org/0000-0001-6729-7695>),\nBocong Zhao [ctb] (ORCID: <https://orcid.org/0000-0001-8434-9047>)",
  "Maintainer": "Feng Li <feng.li@gsm.pku.edu.cn>",
  "MD5sum": "29692d47dc4e1f1451e2a633a717bcee",
  "_user": "robjhyndman",
  "_type": "src",
  "_file": "gratis_1.0.8.tar.gz",
  "_fileid": "3892a28c369fbd3da6ddf800903bb93d2fd0957743e095c4aa1d05af70f7b3e2",
  "_filesize": 1745845,
  "_sha256": "3892a28c369fbd3da6ddf800903bb93d2fd0957743e095c4aa1d05af70f7b3e2",
  "_created": "2026-06-13T07:28:00.000Z",
  "_published": "2026-06-13T07:31:56.123Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81172846722,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7608650023"
    },
    {
      "job": 81172846717,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608649098"
    },
    {
      "job": 81172846725,
      "time": 137,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7608642214"
    },
    {
      "job": 81172846708,
      "time": 157,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608645121"
    },
    {
      "job": 81172574834,
      "time": 258,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608622905"
    },
    {
      "job": 81172846684,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608643328"
    },
    {
      "job": 81172846690,
      "time": 124,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7608640404"
    },
    {
      "job": 81172846674,
      "time": 150,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7608644081"
    },
    {
      "job": 81172846743,
      "time": 148,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608643819"
    }
  ],
  "_buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27460260498",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ykang/gratis",
  "_commit": {
    "id": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
    "author": "Feng Li <m@feng.li>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Correct text formatting in README.md\n\nFix formatting issues in README.md.",
    "time": 1778726115
  },
  "_maintainer": {
    "name": "Feng Li",
    "email": "feng.li@gsm.pku.edu.cn",
    "orcid": "0000-0002-4248-9778"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "doRNG",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "forecast",
      "version": ">= 8.16",
      "role": "Imports"
    },
    {
      "package": "GA",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "polynom",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tsibble",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "feasts",
      "role": "Suggests"
    },
    {
      "package": "fGarch",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinydashboard",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tsfeatures",
      "role": "Suggests"
    }
  ],
  "_owner": "ykang",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 3
    },
    {
      "week": "2026-18",
      "n": 12
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "data-generation",
    "mixture-autoregressive",
    "statistical-computing",
    "time-series"
  ],
  "_stars": 78,
  "_contributors": [
    {
      "user": "feng-li",
      "count": 69,
      "uuid": 1174311
    },
    {
      "user": "robjhyndman",
      "count": 63,
      "uuid": 127518
    },
    {
      "user": "charcoalf",
      "count": 57,
      "uuid": 68271770
    },
    {
      "user": "ykang",
      "count": 44,
      "uuid": 1201366
    },
    {
      "user": "mitchelloharawild",
      "count": 40,
      "uuid": 16127127
    },
    {
      "user": "ldbk",
      "count": 1,
      "uuid": 6603817
    }
  ],
  "_userbio": {
    "uuid": 127518,
    "type": "user",
    "name": "Rob J Hyndman",
    "description": "Professor of Statistics at Monash University, Australia"
  },
  "_downloads": {
    "count": 367,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gratis"
  },
  "_devurl": "https://github.com/ykang/gratis",
  "_searchresults": 44,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gratis.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ykang/gratis",
  "_realowner": "ykang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2020-08-03"
    },
    {
      "version": "0.2.1",
      "date": "2020-10-08"
    },
    {
      "version": "1.0.0",
      "date": "2022-01-14"
    },
    {
      "version": "1.0.3",
      "date": "2023-03-27"
    },
    {
      "version": "1.0.5",
      "date": "2023-08-28"
    },
    {
      "version": "1.0.7",
      "date": "2024-04-10"
    },
    {
      "version": "1.0.8",
      "date": "2026-02-26"
    }
  ],
  "_exports": [
    "app_gratis",
    "arima_model",
    "ets_model",
    "generate",
    "generate_msts",
    "generate_target",
    "generate_ts",
    "generate_ts_with_target",
    "mar_model",
    "pi_coefficients",
    "rmixnorm",
    "rmixnorm_ts",
    "simulate_target"
  ],
  "_help": [
    {
      "page": "app",
      "title": "Launch the gratis Shiny application",
      "topics": [
        "app_gratis"
      ]
    },
    {
      "page": "arima_model",
      "title": "Specify an ARIMA model",
      "topics": [
        "arima_model"
      ]
    },
    {
      "page": "ets_model",
      "title": "Specify an ETS model",
      "topics": [
        "ets_model"
      ]
    },
    {
      "page": "generate_msts",
      "title": "Generate a random multiple-seasonal MAR time series",
      "topics": [
        "generate_msts"
      ]
    },
    {
      "page": "generate_ts",
      "title": "Generate random MAR time series",
      "topics": [
        "generate_ts"
      ]
    },
    {
      "page": "generate_ts_with_target",
      "title": "Generate time series with target features",
      "topics": [
        "generate_ts_with_target"
      ]
    },
    {
      "page": "generate.mar",
      "title": "Generate a tsibble of synthetic time series",
      "topics": [
        "generate.Arima",
        "generate.ets",
        "generate.mar"
      ]
    },
    {
      "page": "mar_model",
      "title": "Specify a mixture autoregressive model",
      "topics": [
        "mar_model"
      ]
    },
    {
      "page": "pi_coefficients",
      "title": "Compute AR recursion coefficients from SARIMA coefficients",
      "topics": [
        "pi_coefficients"
      ]
    },
    {
      "page": "rmixnorm",
      "title": "Generate random values from a mixture of multivariate normal distributions",
      "topics": [
        "rmixnorm"
      ]
    },
    {
      "page": "rmixnorm_ts",
      "title": "Simulate a mixture-normal autoregressive process",
      "topics": [
        "rmixnorm_ts"
      ]
    },
    {
      "page": "simulate_target",
      "title": "Generate time series with target features",
      "topics": [
        "generate_target",
        "simulate_target"
      ]
    },
    {
      "page": "simulate.mar",
      "title": "Simulate from a mixture autoregressive model",
      "topics": [
        "simulate.mar"
      ]
    }
  ],
  "_readme": "https://github.com/ykang/gratis/raw/HEAD/README.md",
  "_rundeps": [
    "anytime",
    "BH",
    "cli",
    "codetools",
    "colorspace",
    "cpp11",
    "crayon",
    "digest",
    "doRNG",
    "dplyr",
    "farver",
    "foreach",
    "forecast",
    "fracdiff",
    "GA",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "lmtest",
    "lubridate",
    "magrittr",
    "mvtnorm",
    "nlme",
    "nnet",
    "pillar",
    "pkgconfig",
    "polynom",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rngtools",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "timechange",
    "timeDate",
    "tsibble",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "QuickStart.Rmd",
      "filename": "QuickStart.html",
      "title": "Introduction to gratis",
      "author": "Bocong Zhao and Rob J Hyndman",
      "engine": "knitr::rmarkdown",
      "headings": [
        "About gratis",
        "Generate diverse time series",
        "Generate multiple seasonal time series",
        "Generate time series with targetted features",
        "ARIMA and ETS models"
      ],
      "created": "2020-07-20 08:10:42",
      "modified": "2026-02-24 04:08:41",
      "commits": 20
    }
  ],
  "_score": 7.410608542568368,
  "_indexed": false,
  "_nocasepkg": "gratis",
  "_universes": [
    "robjhyndman"
  ],
  "_indexurl": "https://ykang.r-universe.dev/gratis",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-06-13T07:30:46.000Z",
      "distro": "noble",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "738258b5f9b8169931e34334491294bd3405e89800e336e646ef73070093af61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27460260498"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-06-13T07:30:40.000Z",
      "distro": "noble",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "e2bd4d9a16f8969e5bd9edc04d6a295b00181e1aee09b90b8aa0d73226bcf349",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27460260498"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-06-13T07:29:58.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "5d5f1ea366201bc969448b9706c9912bf2897faf493a596f5a00248754e85fc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27460260498"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-06-13T07:30:13.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "b4636df87a68a345157f1cee05aecb448beb7cb81d61eb9fd5342590e7976338",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27460260498"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.8",
      "date": "2026-06-13T07:30:43.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "c027d7364dd02060c0bc673bcd3f69bd7cfe14d0bfa41cf945bac363c27e4324",
      "status": "success",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27460260498"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-06-13T07:29:31.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "4aae842e4f8e00ffcc61f8a168c523f7fe80b2ce2043d8b7d6024f2e6eae236d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27460260498"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-06-13T07:29:51.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "61af64cb1550fc939b4dea7448ae2afe455f6aa40c78295f1a036e195beac82e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27460260498"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-06-13T07:29:53.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "af3d8a4798e742b6d4b738f30cf47aa83a1106dbd1e27d9d36b53465653cad49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27460260498"
    }
  ]
}