{
  "_id": "6a55fba6ff0138dec5d6b5bf",
  "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-07-14 08:57:40 UTC",
    "User": "root"
  },
  "_user": "puigjos",
  "_type": "src",
  "_file": "ConsReg_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/9ed12b19c642cac61d46429afc51c017582893c6c05b5e7aef0c6a0f7c4fdff0",
  "_filesize": 212434,
  "_sha256": "9ed12b19c642cac61d46429afc51c017582893c6c05b5e7aef0c6a0f7c4fdff0",
  "_expires": "2026-10-22T09:04:36.000Z",
  "_created": "2026-07-14T08:57:40.000Z",
  "_published": "2026-07-14T09:04:38.681Z",
  "_jobs": [
    {
      "job": 87042607664,
      "time": 152,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8305529809"
    },
    {
      "job": 87042607965,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8305529930"
    },
    {
      "job": 87042607690,
      "time": 158,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8305532431"
    },
    {
      "job": 87042607693,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8305521375"
    },
    {
      "job": 87042607723,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8305613522"
    },
    {
      "job": 87042607621,
      "time": 266,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8305578945"
    },
    {
      "job": 87042607630,
      "time": 127,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8305549174"
    },
    {
      "job": 87042607739,
      "time": 243,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8305560368"
    },
    {
      "job": 87041950927,
      "time": 196,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8305464839"
    },
    {
      "job": 87042607687,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8305512952"
    },
    {
      "job": 87042607636,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8305511691"
    },
    {
      "job": 87042607675,
      "time": 164,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8305533262"
    },
    {
      "job": 87042607634,
      "time": 139,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8305523121"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926",
  "_status": "success",
  "_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": 38,
    "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": 313,
    "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/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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-07-14T09:00:14.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/746109fa1f92047637a7efd6e9f7e1ae326884c0ba77e15a1b37863eb9c794db",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-14T09:00:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/23b2d42d6189e9ffd642531dea49d1b6cdbee2a4b207a0100fba3f283b9d0b75",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-14T09:00:19.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/8b42684956ce225f1abc381baf670d862ae622f2de61a891693cb1536e34dc31",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-14T08:59:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/a0aec357869dfef73967839a6b12a6f2c7a3bbc8a2092608c4c5d74876f9e6f8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-14T09:03:34.000Z",
      "arch": "aarch64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/489c21619082ce772c57d1f6e0ae0e1bab17934e2007562c244ca32ffb48c89f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-14T09:01:58.000Z",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/73dafc6e6b84bda76adc15e8ae6f60c92e9348fe92ad4bf18759588099bd7eaa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-14T09:01:01.000Z",
      "arch": "aarch64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/c31156d4baee297627d5693e1bb95fded690cca3c8f523e9c6f5ca6ff071b71f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-14T09:01:03.000Z",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/2cc54452682ea459530442fdfb42567eb290ebbf9684d6081e0b78d6a169cba6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-14T08:59:48.000Z",
      "arch": "emscripten",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/8c8cc121e5bd78aab0ccb735d0ecc000acee6ebc46104ba6fe01395ce50c303e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-14T08:59:06.000Z",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/93a9120bf07c7b9d47fcac6cdef80dd92e10c8b3a9f9c9649628fd9a3016491c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-14T08:59:59.000Z",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/e7d0c21013f911003b9a83b7c9ea8d8b47064d8cdc540162e868ceda1e39250e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-14T08:59:28.000Z",
      "arch": "x86_64",
      "commit": "50b7df1faaccc888036bed3622c4651e669be672",
      "fileid": "https://r2.ropensci.org/5f08431704da932906612fb8c7c39f748d538ed6ef2e2c3e52928ae81f321e30",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/puigjos/actions/runs/29319716926"
    }
  ]
}