{
  "_id": "6ace3b96a14063b82c3b1a6a",
  "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-10-13 13:37:44 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/af77eb8db48e870ed3619799ea881eb927a747669f9a268ce97d7d4840e9cc8b",
  "_filesize": 2007266,
  "_sha256": "af77eb8db48e870ed3619799ea881eb927a747669f9a268ce97d7d4840e9cc8b",
  "_expires": "2027-01-21T14:09:24.000Z",
  "_created": "2026-10-13T13:37:44.000Z",
  "_published": "2026-10-13T14:09:25.923Z",
  "_buildurl": "https://github.com/r-universe/jfrench/actions/runs/38405900476",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115327626046,
      "time": 214,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11819475247"
    },
    {
      "job": 115327626192,
      "time": 205,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11819406853"
    },
    {
      "job": 115327626140,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11820127048"
    },
    {
      "job": 115327626103,
      "time": 203,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11820877991"
    },
    {
      "job": 115325463851,
      "time": 270,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11818603246"
    },
    {
      "job": 115327625961,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11818298993"
    },
    {
      "job": 115327626250,
      "time": 164,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11818898299"
    },
    {
      "job": 115327626235,
      "time": 235,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11819338266"
    },
    {
      "job": 115327626381,
      "time": 131,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11818358785"
    }
  ],
  "_upstream": "https://github.com/cran/hero",
  "_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
  },
  "_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
  },
  "_distro": "resolute",
  "_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": 81,
    "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": 332,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hero"
  },
  "_searchresults": 7,
  "_rbuild": "4.6.1",
  "_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-10-13T13:40:54.000Z",
      "distro": "resolute",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/0961ae81bd92b4911d6884b0dce4cf70e7ce46d1ee4bb8e759b483312e4f8f74",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/38405900476"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6",
      "date": "2026-10-13T13:40:59.000Z",
      "distro": "resolute",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/75dc1a9b19776225456cf827b54a49a24fdadb7c8aa90b44be004d36d5cd9539",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/38405900476"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6",
      "date": "2026-10-13T13:56:45.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/35ca171293feb6f4c16b7f9345d25ba4743e120593817ac3e139527aa673eef2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/38405900476"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6",
      "date": "2026-10-13T14:07:53.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/11714663ba1a82bf0025c141b469d59a9e50aafaf1072cef3575197c205a6ace",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/38405900476"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6",
      "date": "2026-10-13T13:40:43.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/06ce6fe6dbd31512c59015b42ec5ec9c506826eba808c0cc78cf285464bd7b01",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/38405900476"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6",
      "date": "2026-10-13T13:39:48.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/e3d2074009f3da64ef2b5c7eed40d630a37b6f9899878f089bc24dbb7f341ff5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/38405900476"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6",
      "date": "2026-10-13T13:41:12.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/29a14cfd964c43b94889dfa8e5e5e1276102b6410a94b2abb4b835f72f80326e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/38405900476"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6",
      "date": "2026-10-13T13:39:28.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "https://r2.ropensci.org/fb61f19c8379fc95925a72952db3c4c25fc1974f1b1fd428e2302729f28c9e17",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/38405900476"
    }
  ]
}