{
  "_id": "6af5c6c3be2268deb4a3d925",
  "Package": "hero",
  "Type": "Package",
  "Title": "Spatio-Temporal (Hero) Sandwich Smoother",
  "Version": "0.6",
  "Author": "Joshua French",
  "Maintainer": "Joshua French <joshua.french@ucdenver.edu>",
  "Description": "An implementation of the sandwich smoother proposed in\nFast Bivariate Penalized Splines by Xiao et al. (2012)\n<doi:10.1111/rssb.12007>.  A hero is a specific type of\nsandwich.  Dictionary.com (2018) <https://www.dictionary.com>\ndescribes a hero as: a large sandwich, usually consisting of a\nsmall loaf of bread or long roll cut in half lengthwise and\ncontaining a variety of ingredients, as meat, cheese, lettuce,\nand tomatoes. Also implements the spatio-temporal sandwich\nsmoother of French and Kokoszka (2021)\n<doi:10.1016/j.spasta.2020.100413>.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-12 13:46:05 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://jfrench.r-universe.dev",
  "Date/Publication": "2023-07-15 22:32:24 UTC",
  "RemoteUrl": "https://github.com/cran/hero",
  "RemoteRef": "HEAD",
  "RemoteSha": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
  "_user": "jfrench",
  "_type": "src",
  "_file": "hero_0.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/9655e2ea193b8d74780035294b3395540f26018d82301299ec5a625d7beda301",
  "_filesize": 2007280,
  "_sha256": "9655e2ea193b8d74780035294b3395540f26018d82301299ec5a625d7beda301",
  "_expires": "2027-02-20T14:01:38.000Z",
  "_created": "2026-11-12T13:46:05.000Z",
  "_published": "2026-11-12T14:01:39.836Z",
  "_upstream": "https://github.com/cran/hero",
  "_status": "success",
  "_maintainer": {
    "name": "Joshua French",
    "email": "joshua.french@ucdenver.edu",
    "login": "jfrench",
    "description": "I'm an academic focusing on spatial statistics, extreme value theory, and functional data analysis. I try to produce useful code to help myself and others.",
    "uuid": 1266558
  },
  "_jobs": [
    {
      "job": 131224376938,
      "time": 189,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13949911896"
    },
    {
      "job": 131224376878,
      "time": 197,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13948844606"
    },
    {
      "job": 131224377068,
      "time": 218,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13949818822"
    },
    {
      "job": 131224377099,
      "time": 239,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13951495974"
    },
    {
      "job": 131221392175,
      "time": 312,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13950300901"
    },
    {
      "job": 131224376892,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13949373604"
    },
    {
      "job": 131224377010,
      "time": 248,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13948919663"
    },
    {
      "job": 131224377023,
      "time": 235,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13949353991"
    },
    {
      "job": 131224377201,
      "time": 275,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13950747147"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jfrench/actions/runs/43229638657",
  "_commit": {
    "id": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
    "author": "Joshua French <joshua.french@ucdenver.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.6\n",
    "time": 1689460344
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "optimx",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "fields",
      "role": "Imports"
    },
    {
      "package": "autoimage",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "fda",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "future.apply",
      "role": "Suggests"
    },
    {
      "package": "Rmpi",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jfrench",
      "count": 3,
      "uuid": 1266558
    }
  ],
  "_userbio": {
    "uuid": 1266558,
    "type": "user",
    "name": "Joshua French",
    "followers": 82,
    "description": "I'm an academic focusing on spatial statistics, extreme value theory, and functional data analysis. I try to produce useful code to help myself and others."
  },
  "_downloads": {
    "count": 339,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hero"
  },
  "_searchresults": 9,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hero.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_realowner": "jfrench",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.3",
      "date": "2018-10-30"
    },
    {
      "version": "0.4.7",
      "date": "2020-01-24"
    },
    {
      "version": "0.6",
      "date": "2023-07-15"
    }
  ],
  "_exports": [
    "adjacent",
    "as_starray",
    "as_sts",
    "as.starray",
    "as.sts",
    "assemble",
    "border_grid",
    "border.grid",
    "borderGrid",
    "BorderGrid",
    "bspline",
    "circulate",
    "connect",
    "create.prepared_list",
    "default.evalargs",
    "default.splines",
    "diffpen",
    "enhance",
    "enhance.grid",
    "enlarge",
    "generate_data2d",
    "generate_data3d",
    "generate.data2d",
    "generate.data3d",
    "generateData2d",
    "GenerateData2d",
    "generateData3d",
    "GenerateData3d",
    "hero",
    "knot_design",
    "knot.design",
    "knotDesign",
    "KnotDesign",
    "kronecker_seq",
    "kronecker.seq",
    "kroneckerSeq",
    "KroneckerSeq",
    "loglambda2gcv",
    "poly2SpatialPolygons",
    "precompute",
    "prepare",
    "prepare_sequential",
    "radspline",
    "rh",
    "rh_seq",
    "rh.seq",
    "rhSeq",
    "RhSeq",
    "spdiffpen",
    "starray",
    "sts"
  ],
  "_datasets": [
    {
      "name": "lat",
      "title": "Computer-generated temperature data",
      "object": "tasmax",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 147,
      "table": true,
      "tojson": true
    },
    {
      "name": "lon",
      "title": "Computer-generated temperature data",
      "object": "tasmax",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 147,
      "table": true,
      "tojson": true
    },
    {
      "name": "lunoisyf1",
      "title": "Data for f1 function from Lu et al. (2012)",
      "object": "ludata",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 60,
      "table": true,
      "tojson": true
    },
    {
      "name": "lutruef1",
      "title": "Data for f1 function from Lu et al. (2012)",
      "object": "ludata",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 60,
      "table": true,
      "tojson": true
    },
    {
      "name": "tasmax",
      "title": "Computer-generated temperature data",
      "object": "tasmax",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "wrfg_cgcm3_tasmax",
      "title": "Computer-generated temperature data",
      "object": "wrfg_cgcm3_tasmax",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "wrfg_lat",
      "title": "Computer-generated temperature data",
      "object": "wrfg_cgcm3_tasmax",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 134,
      "table": true,
      "tojson": true
    },
    {
      "name": "wrfg_lon",
      "title": "Computer-generated temperature data",
      "object": "wrfg_cgcm3_tasmax",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 134,
      "table": true,
      "tojson": true
    },
    {
      "name": "x",
      "title": "Data for f1 function from Lu et al. (2012)",
      "object": "ludata",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "z",
      "title": "Data for f1 function from Lu et al. (2012)",
      "object": "ludata",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adjacent",
      "title": "Determine adjacent points",
      "topics": [
        "adjacent"
      ]
    },
    {
      "page": "as.starray",
      "title": "Convert array to 'starray'",
      "topics": [
        "as.starray",
        "as_starray",
        "starray"
      ]
    },
    {
      "page": "as.sts",
      "title": "Convert object to 'sts' class",
      "topics": [
        "as.sts",
        "as_sts",
        "sts"
      ]
    },
    {
      "page": "assemble",
      "title": "Assemble spline ingredients for sandwich smooth",
      "topics": [
        "assemble",
        "assemble.hero_bspline",
        "assemble.hero_radspline",
        "assemble.list"
      ]
    },
    {
      "page": "border.grid",
      "title": "Construct border for grid",
      "topics": [
        "border.grid",
        "BorderGrid",
        "borderGrid",
        "border_grid"
      ]
    },
    {
      "page": "bspline",
      "title": "B-spline specification",
      "topics": [
        "bspline"
      ]
    },
    {
      "page": "circulate",
      "title": "Circulate values of a vector",
      "topics": [
        "circulate"
      ]
    },
    {
      "page": "connect",
      "title": "Connect 'hero_radsplines'",
      "topics": [
        "connect"
      ]
    },
    {
      "page": "create.prepared_list",
      "title": "Manually create a 'prepared_list'",
      "topics": [
        "create.prepared_list"
      ]
    },
    {
      "page": "default.evalargs",
      "title": "Construct default 'evalargs'",
      "topics": [
        "default.evalargs"
      ]
    },
    {
      "page": "default.splines",
      "title": "Construct default splines",
      "topics": [
        "default.splines"
      ]
    },
    {
      "page": "diffpen",
      "title": "P-spline difference penalty",
      "topics": [
        "diffpen"
      ]
    },
    {
      "page": "enhance",
      "title": "Enhance penalty value",
      "topics": [
        "enhance"
      ]
    },
    {
      "page": "enhance.grid",
      "title": "Enhance penalty value using grid search",
      "topics": [
        "enhance.grid"
      ]
    },
    {
      "page": "enlarge",
      "title": "Enlarge spatial domain",
      "topics": [
        "enlarge"
      ]
    },
    {
      "page": "generate.data2d",
      "title": "Generate 2d data",
      "topics": [
        "generate.data2d",
        "GenerateData2d",
        "generateData2d",
        "generate_data2d"
      ]
    },
    {
      "page": "generate.data3d",
      "title": "Generate 3d data",
      "topics": [
        "generate.data3d",
        "GenerateData3d",
        "generateData3d",
        "generate_data3d"
      ]
    },
    {
      "page": "hero",
      "title": "Construct a hero sandwich smoother",
      "topics": [
        "hero",
        "hero.prepared_array",
        "hero.prepared_list",
        "hero.prepared_matrix",
        "hero.prepared_numeric",
        "hero.prepared_sequential",
        "hero.prepared_starray",
        "hero.prepared_sts"
      ]
    },
    {
      "page": "knot.design",
      "title": "Design knot/breakpoint spacing",
      "topics": [
        "knot.design",
        "KnotDesign",
        "knotDesign",
        "knot_design"
      ]
    },
    {
      "page": "kronecker.seq",
      "title": "A sequence of kronecker products",
      "topics": [
        "kronecker.seq",
        "KroneckerSeq",
        "kroneckerSeq",
        "kronecker_seq"
      ]
    },
    {
      "page": "loglambda2gcv",
      "title": "Determine GCV statistic",
      "topics": [
        "loglambda2gcv"
      ]
    },
    {
      "page": "ludata",
      "title": "Data for f1 function from Lu et al. (2012)",
      "topics": [
        "ludata",
        "lunoisyf1",
        "lutruef1",
        "x",
        "z"
      ]
    },
    {
      "page": "plot.hero_adjacent",
      "title": "Plot a 'hero_adjacent' object",
      "topics": [
        "plot.hero_adjacent"
      ]
    },
    {
      "page": "plot.hero_bspline",
      "title": "Plot a 'hero_bspline' object",
      "topics": [
        "plot.hero_bspline"
      ]
    },
    {
      "page": "plot.hero_enlarge",
      "title": "Plot a 'hero_enlarge' object",
      "topics": [
        "plot.hero_enlarge"
      ]
    },
    {
      "page": "plot.hero",
      "title": "Plot a 'hero' object",
      "topics": [
        "plot.hero_matrix",
        "plot.hero_numeric"
      ]
    },
    {
      "page": "plot.hero_radspline",
      "title": "Plot a 'hero_radspline'",
      "topics": [
        "plot.hero_radspline"
      ]
    },
    {
      "page": "poly2SpatialPolygons",
      "title": "Convert simple polygon to a 'SpatialPolygons' object",
      "topics": [
        "poly2SpatialPolygons"
      ]
    },
    {
      "page": "precompute",
      "title": "Precompute objects",
      "topics": [
        "precompute"
      ]
    },
    {
      "page": "predict.hero",
      "title": "Predict method for 'hero' object",
      "topics": [
        "predict.hero"
      ]
    },
    {
      "page": "predict.hero_bspline",
      "title": "Predict method for 'hero_bspline' object",
      "topics": [
        "predict.hero_bspline"
      ]
    },
    {
      "page": "predict.hero_radspline",
      "title": "Predict method for a 'hero_radspline'",
      "topics": [
        "predict.hero_radspline"
      ]
    },
    {
      "page": "prepare",
      "title": "Prepare data for sandwich smooth",
      "topics": [
        "prepare"
      ]
    },
    {
      "page": "prepare_sequential",
      "title": "Sequentially prepare data for sandwich smooth",
      "topics": [
        "prepare_sequential"
      ]
    },
    {
      "page": "prepare.array",
      "title": "Prepare data array for sandwich smooth",
      "topics": [
        "prepare.array"
      ]
    },
    {
      "page": "prepare.list",
      "title": "Prepare data array for sandwich smooth",
      "topics": [
        "prepare.list"
      ]
    },
    {
      "page": "prepare.matrix",
      "title": "Prepare data matrix for sandwich smooth",
      "topics": [
        "prepare.matrix"
      ]
    },
    {
      "page": "prepare.numeric",
      "title": "Prepare data vector for sandwich smooth",
      "topics": [
        "prepare.numeric"
      ]
    },
    {
      "page": "prepare.starray",
      "title": "Prepare 'starray' for sandwich smooth",
      "topics": [
        "prepare.starray"
      ]
    },
    {
      "page": "prepare.sts",
      "title": "Prepare 'starray' for sandwich smooth",
      "topics": [
        "prepare.sts"
      ]
    },
    {
      "page": "radspline",
      "title": "Radial basis spline specification",
      "topics": [
        "radspline"
      ]
    },
    {
      "page": "rh",
      "title": "Rotated H-transform",
      "topics": [
        "rh"
      ]
    },
    {
      "page": "rh.seq",
      "title": "Apply 'rh' sequentially",
      "topics": [
        "rh.seq",
        "RhSeq",
        "rhSeq",
        "rh_seq"
      ]
    },
    {
      "page": "spdiffpen",
      "title": "Spatial difference penalty",
      "topics": [
        "spdiffpen"
      ]
    },
    {
      "page": "tasmax",
      "title": "Computer-generated temperature data",
      "topics": [
        "lat",
        "lon",
        "tasmax"
      ]
    },
    {
      "page": "wrfg_cgcm3_tasmax",
      "title": "Computer-generated temperature data",
      "topics": [
        "wrfg_cgcm3_tasmax",
        "wrfg_lat",
        "wrfg_lon"
      ]
    }
  ],
  "_readme": "https://github.com/cran/hero/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "DBI",
    "dotCall64",
    "e1071",
    "fields",
    "KernSmooth",
    "lattice",
    "maps",
    "Matrix",
    "nloptr",
    "numDeriv",
    "optimx",
    "pbapply",
    "pracma",
    "proxy",
    "RColorBrewer",
    "Rcpp",
    "s2",
    "sf",
    "sp",
    "spam",
    "units",
    "viridisLite",
    "wk"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "hero",
  "_universes": [
    "jfrench"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6",
      "date": "2026-11-12T13:49:06.000Z",
      "distro": "resolute",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/0d6fb1974f5c78527d450e0e3e9274a85efa8eb5286c0004a7f4d32329d9e286",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/43229638657"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.6",
      "date": "2026-11-12T13:49:11.000Z",
      "distro": "resolute",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/4d557e3b0bab65b88723261dc13e83ffa14fd942044d99e5968df85b70ea7b57",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/43229638657"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6",
      "date": "2026-11-12T14:00:02.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/8330c678e95ba48c946f5997fc8cf2a52e1c952f80371c32c244cbbc4717314e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/43229638657"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.6",
      "date": "2026-11-12T13:59:54.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/a97aad68dfab939bde69f198203941a3526515b7ac35cc3402879a2d7edc270f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/43229638657"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6",
      "date": "2026-11-12T13:48:48.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/e8216262ffd759d31e5804272a0a55a46603bb231fe488eab8a97adaf819da35",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/43229638657"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6",
      "date": "2026-11-12T13:49:04.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/a8b952492aa48901b8725b8059e9b208af5b47891e341e46a86eff8c767922bd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/43229638657"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6",
      "date": "2026-11-12T13:48:56.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/35c0c1994b77caae7223c19da3ac7fe7c9ead76a796973c1d0d70a9982bdcc26",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/43229638657"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.6",
      "date": "2026-11-12T13:49:35.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/75627787f1198167e39b1549a659bf182c96213658e679dd1d9cbb546e9c6a3b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/43229638657"
    }
  ]
}