{
  "_id": "6accb063a14063b82c3a7f2a",
  "Package": "ConsReg",
  "Type": "Package",
  "Title": "Fitting Regression Models & Regression with Arma Errors, Subject\nto Constraints and Restrictions to the Coefficients",
  "Version": "0.1.0",
  "Author": "Josep Puig Sallés",
  "Maintainer": "Josep Puig <puigjos@gmail.com>",
  "Description": "Fits or generalized linear models either a regression with\narma errors (Time series) where the parameters could be subject\nto constraints or restrictions. The model is specified by an\nobjective function (Gaussian, Binomial or Poisson) or an Arma\norder (p,q), a vector of bound constraints for the coefficients\nand the possibility to incorporate restrictions among\ncoefficients (i.e b1 > b2).",
  "License": "GPL-2 | GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "6.1.1",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://puigjos.r-universe.dev",
  "Date/Publication": "2020-04-03 13:29:22 UTC",
  "RemoteUrl": "https://github.com/puigjos/consreg",
  "RemoteRef": "HEAD",
  "RemoteSha": "50b7df1faaccc888036bed3622c4651e669be672",
  "Packaged": {
    "Date": "2026-10-12 09:55:21 UTC",
    "User": "root"
  },
  "_user": "puigjos",
  "_type": "src",
  "_file": "ConsReg_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/1c3be41731ea21a8cd35b88f0acb2fb3aac289d16da262245818cc8f5060084e",
  "_filesize": 211191,
  "_sha256": "1c3be41731ea21a8cd35b88f0acb2fb3aac289d16da262245818cc8f5060084e",
  "_expires": "2027-01-20T10:03:13.000Z",
  "_created": "2026-10-12T09:55:21.000Z",
  "_published": "2026-10-12T10:03:14.951Z",
  "_buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114756878352,
      "time": 133,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11738804997"
    },
    {
      "job": 114756878500,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11739572109"
    },
    {
      "job": 114756878360,
      "time": 143,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11739402281"
    },
    {
      "job": 114756878304,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11739164142"
    },
    {
      "job": 114756878395,
      "time": 182,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11739935237"
    },
    {
      "job": 114756878291,
      "time": 431,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11739198206"
    },
    {
      "job": 114756878262,
      "time": 211,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11739492263"
    },
    {
      "job": 114756878276,
      "time": 342,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11739492595"
    },
    {
      "job": 114755677600,
      "time": 201,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11738729634"
    },
    {
      "job": 114756878556,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11739795262"
    },
    {
      "job": 114756878370,
      "time": 343,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11740310261"
    },
    {
      "job": 114756878472,
      "time": 131,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11738864936"
    },
    {
      "job": 114756878381,
      "time": 101,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11738629968"
    },
    {
      "job": 114756878382,
      "time": 351,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11739642461"
    },
    {
      "job": 114756878488,
      "time": 91,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11739437134"
    }
  ],
  "_upstream": "https://github.com/puigjos/consreg",
  "_commit": {
    "id": "50b7df1faaccc888036bed3622c4651e669be672",
    "author": "puigjos <puigjos@gmail.com>",
    "committer": "puigjos <puigjos@gmail.com>",
    "message": "0304202002\n",
    "time": 1585920562
  },
  "_maintainer": {
    "name": "Josep Puig",
    "email": "puigjos@gmail.com",
    "login": "puigjos",
    "description": "Economía en la UPF. Estudiante de máster en Data Science a CUNEF.\nEconomics in UPF. Styudying a máster in Data Science in CUNEF ",
    "uuid": 23505224
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "version": ">= 1.10",
      "role": "Imports"
    },
    {
      "package": "forecast",
      "version": ">= 8.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4",
      "role": "Imports"
    },
    {
      "package": "nloptr",
      "version": ">= 1.2",
      "role": "Imports"
    },
    {
      "package": "FME",
      "version": ">= 1.3",
      "role": "Imports"
    },
    {
      "package": "MCMCpack",
      "version": ">= 1.4",
      "role": "Imports"
    },
    {
      "package": "Rsolnp",
      "version": ">= 1.15",
      "role": "Imports"
    },
    {
      "package": "DEoptim",
      "version": ">= 2.2",
      "role": "Imports"
    },
    {
      "package": "dfoptim",
      "role": "Imports"
    },
    {
      "package": "GA",
      "version": ">= 3.0",
      "role": "Imports"
    },
    {
      "package": "GenSA",
      "version": ">= 1.1",
      "role": "Imports"
    },
    {
      "package": "Metrics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "adaptMCMC",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "puigjos",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "puigjos",
      "count": 5,
      "uuid": 23505224
    }
  ],
  "_userbio": {
    "uuid": 23505224,
    "type": "user",
    "name": "Josep Puig",
    "followers": 36,
    "description": "Economía en la UPF. Estudiante de máster en Data Science a CUNEF.\r\nEconomics in UPF. Styudying a máster in Data Science in CUNEF "
  },
  "_downloads": {
    "count": 368,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ConsReg"
  },
  "_devurl": "https://github.com/puigjos/consreg",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/ConsReg.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/puigjos/consreg",
  "_realowner": "puigjos",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-04-05"
    }
  ],
  "_exports": [
    "ConsReg",
    "ConsRegArima",
    "rolling"
  ],
  "_datasets": [
    {
      "name": "fake_data",
      "title": "Fake data for regression",
      "object": "fake_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x1",
        "x2",
        "x3",
        "x4"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "sales",
      "title": "Sales data set",
      "object": "sales",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Total Sales",
        "Sales",
        "Competitors' sales",
        "Price",
        "Competitor's price",
        "Business Days",
        "Tourisms",
        "Unemployment Rate"
      ],
      "rows": 80,
      "table": true,
      "tojson": true
    },
    {
      "name": "series",
      "title": "Fake data for time series",
      "object": "series",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x1",
        "x2",
        "x3",
        "x4"
      ],
      "rows": 63,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ConsReg",
      "title": "Fit a regression model with gaussian or binomial objective function",
      "topics": [
        "ConsReg",
        "ConsReg.default",
        "ConsReg.formula"
      ]
    },
    {
      "page": "ConsRegArima",
      "title": "Fit regression model with Arma errors to univariate time series",
      "topics": [
        "ConsRegArima",
        "ConsRegArima.default",
        "ConsRegArima.formula"
      ]
    },
    {
      "page": "fake_data",
      "title": "Fake data for regression",
      "topics": [
        "fake_data"
      ]
    },
    {
      "page": "plot.roll.ConsRegArima",
      "title": "Plot an roll object plot an roll.ConsRegArima object",
      "topics": [
        "plot.roll.ConsRegArima"
      ]
    },
    {
      "page": "predict.ConsReg",
      "title": "Predict or fitted values of object 'ConsReg'",
      "topics": [
        "predict.ConsReg"
      ]
    },
    {
      "page": "predict.ConsRegArima",
      "title": "Predict function for ConsRegArima object",
      "topics": [
        "plot.predict.ConsRegArima",
        "predict.ConsRegArima",
        "print.predict.ConsRegArima"
      ]
    },
    {
      "page": "rolling",
      "title": "rolling: Back-test your model",
      "topics": [
        "rolling"
      ]
    },
    {
      "page": "sales",
      "title": "Sales data set",
      "topics": [
        "sales"
      ]
    },
    {
      "page": "series",
      "title": "Fake data for time series",
      "topics": [
        "series"
      ]
    }
  ],
  "_readme": "https://github.com/puigjos/consreg/raw/HEAD/README.md",
  "_rundeps": [
    "adaptMCMC",
    "cli",
    "coda",
    "codetools",
    "colorspace",
    "cpp11",
    "crayon",
    "data.table",
    "DEoptim",
    "deSolve",
    "dfoptim",
    "digest",
    "farver",
    "FME",
    "foreach",
    "forecast",
    "fracdiff",
    "future",
    "future.apply",
    "GA",
    "generics",
    "GenSA",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mcmc",
    "MCMCpack",
    "Metrics",
    "minpack.lm",
    "minqa",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "parallelly",
    "quantreg",
    "R6",
    "ramcmc",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rootSolve",
    "Rsolnp",
    "S7",
    "scales",
    "SparseM",
    "survival",
    "timeDate",
    "truncnorm",
    "urca",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "GetStarted.Rmd",
      "filename": "GetStarted.html",
      "title": "Using ConsReg Package",
      "author": "Josep Puig",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Start",
        "ConsReg",
        "ConsRegArima"
      ],
      "created": "2020-04-02 09:58:46",
      "modified": "2020-04-02 09:58:46",
      "commits": 1
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "consreg",
  "_universes": [
    "puigjos"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-12T09:57:33.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/7a555983eb997749787c26b98b07d47ebf22bc0ed21b688fe31f04bd952b8f91",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-12T09:58:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/f3ec7a5c82cd9c39bb7b602dd3ad690260fc059f40e76103976117fdb3bb9b8c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-12T09:57:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/2871231fbe30a9f321b01a202342e78eaa1ef547f9a8d7d451cf5488312e8759",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-12T09:57:31.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/37483fe40cc646b905998a4985dbb3d72ba283909001b368550ded8904fd1ddd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-12T09:57:54.000Z",
      "arch": "aarch64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/f69eb817ba75d610cda3a5bf0be9898e40311a4a21cd0f84ad39b0a095a4c127",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-12T10:01:04.000Z",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/ff83f54ac975ff366195044014d99bfcbc65ce35fdd25f457c4e991229cad76b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-12T09:58:01.000Z",
      "arch": "aarch64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/fd3d3071ddc889892f47b32d810d348ef6286af67eedab3fe225ad90b9f792c3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-12T09:59:36.000Z",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/47d550847a82e27a4a02850313213271f32bb42ae973f3b00b3c1e0b0dc7f4af",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-12T09:57:28.000Z",
      "arch": "emscripten",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/a5428cfbfd5bec58adae0ed1ef0c2912f00889dd1f3c790ac6f14af99289bc6d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-12T10:00:12.000Z",
      "arch": "aarch64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/fae219a34601d27eb5964300d1e4b8e5f95ad0540e94afe3d74b050a474a9357",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-12T09:56:34.000Z",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/8ffaee9f5bc6a65b889c0a872aad9341048c916e8b37e0078bc15d9757cf14dc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-12T09:56:38.000Z",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/3f28e2d25036d9b2a25e32fa02187ef0ee543b358228761124cf6ed42c5c74c8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-12T10:00:37.000Z",
      "arch": "aarch64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/0955b9e62c8287ca4f1a281d3030e612750ac8b34dd630f0f88f033c70f60049",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-12T09:56:33.000Z",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/141bd125d1d3dc20f0d591e2163f2286c0c1deb525f50e348180dc979d1cfb8b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/38232633851"
    }
  ]
}