{
  "_id": "6a2130e5cd65a98ecbd252c5",
  "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-06-04 07:56:51 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",
  "MD5sum": "4e1c3584f35b785ddbc1bd26e5ca2527",
  "_user": "jfrench",
  "_type": "src",
  "_file": "hero_0.6.tar.gz",
  "_fileid": "b3c83822b207948711c2652b502d5e9bea9fa36b60bde528f31e360a78e5c98f",
  "_filesize": 2009187,
  "_sha256": "b3c83822b207948711c2652b502d5e9bea9fa36b60bde528f31e360a78e5c98f",
  "_created": "2026-06-04T07:56:51.000Z",
  "_published": "2026-06-04T08:01:41.928Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79474811698,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7406090337"
    },
    {
      "job": 79474811708,
      "time": 224,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7406104804"
    },
    {
      "job": 79474811692,
      "time": 131,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7406076822"
    },
    {
      "job": 79474811716,
      "time": 166,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7406088273"
    },
    {
      "job": 79474164785,
      "time": 245,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406033329"
    },
    {
      "job": 79474811689,
      "time": 167,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406088647"
    },
    {
      "job": 79474811729,
      "time": 135,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7406078109"
    },
    {
      "job": 79474811734,
      "time": 156,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7406085260"
    },
    {
      "job": 79474811718,
      "time": 138,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7406079290"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jfrench/actions/runs/26938562595",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "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": 165,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hero"
  },
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hero.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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",
    "MASS",
    "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-06-04T07:59:29.000Z",
      "distro": "noble",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "d6037795bc0467077ee2780ec7a2758fcbf8e38cfe7fa0efedc6a55047871778",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/26938562595"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6",
      "date": "2026-06-04T08:00:05.000Z",
      "distro": "noble",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "44a450a578f9ff28e50600f00db7e9be08c4177d0b423a31c1dc98141dfabdfb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/26938562595"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6",
      "date": "2026-06-04T07:58:51.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "3771263c5a0c36d0af0570cca0f159845e7f922d1c1a1d021e9e8bf2ee9dc00d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/26938562595"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6",
      "date": "2026-06-04T07:59:09.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "9bfeb4082b7d1f82c637fb50b6b03ae04ba6e2bb0838af702a87e0ac58909e98",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/26938562595"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6",
      "date": "2026-06-04T07:59:59.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "8ef662aff49eb6e77821b7612f49352b99f98f1c1389bfe3c00ff27fd72070f3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/26938562595"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6",
      "date": "2026-06-04T07:58:37.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "2b4c0b1222bc17eb4aaaf14431fa90ff22223142aea2ca7fc47375b3c803ffbb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/26938562595"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6",
      "date": "2026-06-04T07:59:05.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "c3ed2c3f8411e322d83a0b1210b36ab8016991a8296ac17a1311262ee39415cc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/26938562595"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6",
      "date": "2026-06-04T07:58:37.000Z",
      "commit": "6608b2b4953706ed19d447b554d0e288ef6e33f4",
      "fileid": "34a82cc26fc88ef09d64d1c215f72c05a70609e3b4b6a6b4ad6e144a47dcbb52",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jfrench/actions/runs/26938562595"
    }
  ]
}