{
  "_id": "6a5abed009eb0996dd69157b",
  "Package": "adlaplaceGrf",
  "Type": "Package",
  "Title": "FEM Matern Gaussian Random Fields for Adlaplace",
  "Version": "0.5.2",
  "Authors@R": "person(given = \"Patrick\", family = \"Brown\",\nemail = \"patrick.borgnine@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"))",
  "Author": "Patrick Brown [aut, cre, cph]",
  "Maintainer": "Patrick Brown <patrick.borgnine@gmail.com>",
  "Description": "Tensor-product B-spline finite-element ingredients for\nMatern Gaussian random fields (mass, stiffness, and\nhigher-order Grams) for use with the adlaplace Laplace\napproximation framework. Provides design and Gram matrix\nconstruction on regular grids, with optional terra SpatRaster /\nSpatVector input, and AD tape builders for random_fem_ssq_* /\nrandom_fem_det_*.",
  "SystemRequirements": "OpenMP",
  "License": "MPL-2.0",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Collate": "'000.R' 'RcppExports.R' 'fem_chol.R' 'fem_precision.R'\n'grams_1d.R' 'knots.R' 'grf_bspline-terra.R' 'grf_bspline.R'\n'matern-geometry.R' 'matern.R' 'matern_est.R' 'zzz.R'",
  "NeedsCompilation": "yes",
  "Repository": "https://eborgnine.r-universe.dev",
  "Date/Publication": "2026-07-17 22:33:33 UTC",
  "RemoteUrl": "https://github.com/eborgnine/adlaplace",
  "RemoteRef": "main",
  "RemoteSha": "96d35f802cd1c076c717dc2284fafebab64dad52",
  "RemoteSubdir": "adlaplaceGrf",
  "Packaged": {
    "Date": "2026-07-17 23:38:40 UTC",
    "User": "root"
  },
  "_user": "eborgnine",
  "_type": "src",
  "_file": "adlaplaceGrf_0.5.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/0506135d09f20b999354c7a8e74c1337c1c020d88ca6755c432f94f05b9825be",
  "_filesize": 579491,
  "_sha256": "0506135d09f20b999354c7a8e74c1337c1c020d88ca6755c432f94f05b9825be",
  "_expires": "2026-10-25T23:46:22.000Z",
  "_created": "2026-07-17T23:38:40.000Z",
  "_published": "2026-07-17T23:46:24.034Z",
  "_jobs": [
    {
      "job": 88016586522,
      "time": 228,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8422314983"
    },
    {
      "job": 88016586492,
      "time": 235,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8422315741"
    },
    {
      "job": 88016586485,
      "time": 211,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8422311282"
    },
    {
      "job": 88016586496,
      "time": 234,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8422315844"
    },
    {
      "job": 88016586499,
      "time": 156,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8422297967"
    },
    {
      "job": 88016586519,
      "time": 390,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8422350451"
    },
    {
      "job": 88016586491,
      "time": 127,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8422291590"
    },
    {
      "job": 88016586535,
      "time": 255,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8422320574"
    },
    {
      "job": 88015855019,
      "time": 364,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8422262542"
    },
    {
      "job": 88016586471,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8422291353"
    },
    {
      "job": 88016586488,
      "time": 246,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8422318418"
    },
    {
      "job": 88016586503,
      "time": 209,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8422310467"
    },
    {
      "job": 88016586521,
      "time": 215,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8422314918"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206",
  "_status": "success",
  "_upstream": "https://github.com/eborgnine/adlaplace",
  "_commit": {
    "id": "96d35f802cd1c076c717dc2284fafebab64dad52",
    "author": "eborgnine <patrick.borgnine@gmail.com>",
    "committer": "eborgnine <patrick.borgnine@gmail.com>",
    "message": "mac\n",
    "time": 1784327613
  },
  "_maintainer": {
    "name": "Patrick Brown",
    "email": "patrick.borgnine@gmail.com",
    "login": "eborgnine",
    "description": "Patrick Brown",
    "uuid": 5818919
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "adlaplace",
      "version": ">= 0.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "adlaplace",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "trustOptim",
      "role": "LinkingTo"
    },
    {
      "package": "Matrix",
      "role": "LinkingTo"
    },
    {
      "package": "RCppAD",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RCppAD",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "geostatsp",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "mapmisc",
      "role": "Suggests"
    }
  ],
  "_owner": "eborgnine",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-29",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 11
    },
    {
      "week": "2025-39",
      "n": 2
    },
    {
      "week": "2025-40",
      "n": 7
    },
    {
      "week": "2025-41",
      "n": 9
    },
    {
      "week": "2025-42",
      "n": 13
    },
    {
      "week": "2025-43",
      "n": 4
    },
    {
      "week": "2025-44",
      "n": 18
    },
    {
      "week": "2025-45",
      "n": 59
    },
    {
      "week": "2025-46",
      "n": 11
    },
    {
      "week": "2025-47",
      "n": 22
    },
    {
      "week": "2025-48",
      "n": 8
    },
    {
      "week": "2025-49",
      "n": 11
    },
    {
      "week": "2025-50",
      "n": 12
    },
    {
      "week": "2026-04",
      "n": 15
    },
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-06",
      "n": 6
    },
    {
      "week": "2026-07",
      "n": 16
    },
    {
      "week": "2026-08",
      "n": 11
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 4
    },
    {
      "week": "2026-11",
      "n": 31
    },
    {
      "week": "2026-12",
      "n": 5
    },
    {
      "week": "2026-13",
      "n": 17
    },
    {
      "week": "2026-14",
      "n": 19
    },
    {
      "week": "2026-15",
      "n": 7
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 12
    },
    {
      "week": "2026-18",
      "n": 99
    },
    {
      "week": "2026-19",
      "n": 4
    },
    {
      "week": "2026-21",
      "n": 11
    },
    {
      "week": "2026-22",
      "n": 4
    },
    {
      "week": "2026-23",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 24
    },
    {
      "week": "2026-25",
      "n": 2
    },
    {
      "week": "2026-26",
      "n": 3
    },
    {
      "week": "2026-27",
      "n": 2
    },
    {
      "week": "2026-28",
      "n": 6
    },
    {
      "week": "2026-29",
      "n": 63
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "eborgnine",
      "count": 784,
      "uuid": 5818919
    },
    {
      "user": "samperochkin",
      "count": 33,
      "uuid": 25728471
    }
  ],
  "_userbio": {
    "uuid": 5818919,
    "type": "user",
    "name": "eborgnine",
    "followers": 7,
    "description": "Patrick Brown"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/adlaplaceGrf"
  },
  "_devurl": "https://github.com/eborgnine/adlaplace",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/adlaplaceGrf.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "beta_info",
    "design",
    "extra_ad_fun",
    "fem_chol_pattern",
    "fem_precision",
    "fem_precision_payload",
    "fem_Q_structure",
    "grf_bspline",
    "matern",
    "matern_est",
    "precision",
    "random_info",
    "theta_info"
  ],
  "_help": [
    {
      "page": "fem_chol_pattern",
      "title": "Symbolic LDL pattern for a sparse FEM precision structure",
      "topics": [
        "fem_chol_pattern"
      ]
    },
    {
      "page": "fem_precision",
      "title": "Assemble FEM Matern precision Q2 or Q3 from Grams",
      "topics": [
        "fem_precision"
      ]
    },
    {
      "page": "fem_precision_payload",
      "title": "Build random_fem_ssq_* / random_fem_det_* precision payload for adlaplace",
      "topics": [
        "fem_precision_payload"
      ]
    },
    {
      "page": "fem_Q_structure",
      "title": "Structural nonzero pattern for Q2 or Q3 from Grams",
      "topics": [
        "fem_Q_structure"
      ]
    },
    {
      "page": "grf_bspline",
      "title": "Tensor-product B-spline FEM ingredients for a 2D Matern GRF",
      "topics": [
        "grf_bspline",
        "grf_bspline,data.frame-method",
        "grf_bspline,list-method"
      ]
    },
    {
      "page": "matern_est",
      "title": "Posterior mean, SD, and simulations of a matern field on a raster",
      "topics": [
        "matern_est"
      ]
    },
    {
      "page": "matern-class",
      "title": "Matern FEM spatial random field term",
      "topics": [
        "beta_info,matern-method",
        "design,matern-method",
        "extra_ad_fun,matern-method",
        "matern",
        "matern-class",
        "precision,matern-method",
        "random_info,matern-method",
        "theta_info,matern-method"
      ]
    }
  ],
  "_readme": "https://github.com/eborgnine/adlaplace/raw/main/README.md",
  "_rundeps": [
    "adlaplace",
    "data.table",
    "lattice",
    "Matrix",
    "Rcpp",
    "RCppAD",
    "RcppEigen",
    "trustOptim"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "fem_joint_density.Rmd",
      "filename": "fem_joint_density.html",
      "title": "FEM Matérn joint density with adlaplace",
      "author": "Patrick Brown",
      "engine": "knitr::rmarkdown",
      "headings": [
        "FEM ingredients",
        "Hierarchical toy model",
        "Joint density, gradient, and Hessian",
        "Finite-difference checks"
      ],
      "created": "2026-07-17 14:29:04",
      "modified": "2026-07-17 14:29:04",
      "commits": 1
    },
    {
      "source": "fem_matern_methods.Rmd",
      "filename": "fem_matern_methods.html",
      "title": "FEM Matérn methods: SPDE, B-splines, and covariance comparison",
      "author": "Patrick Brown",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Continuous model: Matérn via Whittle SPDE",
        "$$\\operatorname{Cov}\\bigl(u(\\mathbf{s}),u(\\mathbf{s}')\\bigr)",
        "Parameterization: range and sd",
        "Finite-element weights and Grams",
        "Tensor-product B-splines",
        "Numerical comparison: Matérn vs FEM",
        "References"
      ],
      "created": "2026-07-17 14:29:04",
      "modified": "2026-07-17 14:29:04",
      "commits": 1
    },
    {
      "source": "loaloa.Rmd",
      "filename": "loaloa.html",
      "title": "Loaloa prevalence with FEM Matérn",
      "author": "Patrick Brown",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data",
        "Knot lines",
        "Fit",
        "Summary",
        "Estimated field"
      ],
      "created": "2026-07-17 14:29:04",
      "modified": "2026-07-17 19:32:45",
      "commits": 3
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "adlaplacegrf",
  "_universes": [
    "eborgnine"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-07-17T23:41:38.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/c1a5443e32384e7ed5ceb473459f3b82337bb79e0c3d0fdbdf88c2319d1fbf57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-07-17T23:41:24.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/e823e2e2e82d60acbe086129605d4ba18c83986abd74f6bbd66e70477b374623",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-07-17T23:41:33.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/7c37baa18e2f9614c13cdce261e2c333f73925578b2410082b73f1e06e4bea7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-07-17T23:41:27.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/1a54f67a96e4796efdb47454a7cc002432808517f09344ac9a9f79d7e00b1557",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-07-17T23:40:56.000Z",
      "arch": "aarch64",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/0d2e1dab38cad3f6956e16243d0cd1603c5dff11fba621347f4584868af8d591",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-07-17T23:42:44.000Z",
      "arch": "x86_64",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/ddf5b55a756fbddfb0bdfa3c82b9dded123a6063c80ffee5853f03afd534832b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-07-17T23:40:32.000Z",
      "arch": "aarch64",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/75e7918356036f54a1fa20f1830098ca82bc1c5ed6bb528adb0de667e26dc1f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-07-17T23:41:26.000Z",
      "arch": "x86_64",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/b7c5e7d5546ca61ca22947efa51f3e1e7e72e50285505c53d7e387f31c03c479",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.2",
      "date": "2026-07-17T23:41:20.000Z",
      "arch": "emscripten",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/1e144a506061107000de8d3a327f7e592275ddecb7e84084b959fdfa606348e6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-07-17T23:41:19.000Z",
      "arch": "x86_64",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/dcf9db97528e0f206a7fdb301f31a52cf8440ea09c730170102dbeaf9af3c9d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-07-17T23:41:03.000Z",
      "arch": "x86_64",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/c78f4d54c1f88dcba6021c2a6f9706a7cbee4941ed00f4daf87274bc5b76a46e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-07-17T23:41:13.000Z",
      "arch": "x86_64",
      "commit": "96d35f802cd1c076c717dc2284fafebab64dad52",
      "fileid": "https://r2.ropensci.org/deb1ab4559a1518009d020f884f14e587de68998c68a2f07d6b56365b7508215",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/29620975206"
    }
  ]
}