{
  "_id": "6acccdf5a14063b82c3a95e9",
  "Package": "templr",
  "Type": "Package",
  "Title": "MASCOTNUM / RT-UQ Algorithms Template Tools",
  "Version": "0.2-4.1",
  "Date": "2026-08-26",
  "Author": "Yann Richet [aut, cre]\n(<https://orcid.org/0000-0002-5677-8458>)",
  "Maintainer": "Yann Richet <yann.richet@asnr.fr>",
  "Authors@R": "c(person(given = \"Yann\",\nfamily = \"Richet\",\nrole = c(\"aut\", \"cre\"),\nemail = \"yann.richet@asnr.fr\",\ncomment = c(ORCID = \"0000-0002-5677-8458\")))",
  "Description": "Helper functions for MASCOTNUM / RT-UQ\n<https://uq.math.cnrs.fr/> algorithm template, for design of\nnumerical experiments practice: algorithm template parser to\nsupport MASCOTNUM specification\n<https://github.com/MASCOTNUM/algorithms>, 'ask & tell'\ndecoupling injection (inspired by\n<https://search.r-project.org/CRAN/refmans/sensitivity/html/decoupling.html>)\nto use \"crimped\" algorithms (like uniroot(), optim(), ...) from\noutside R, basic template examples: Brent algorithm for 1 dim\nroot finding and L-BFGS-B from base optim().",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "URL": "https://github.com/MASCOTNUM/templr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "git libxml2-dev",
  "Repository": "https://rt-uq.r-universe.dev",
  "Date/Publication": "2026-08-28 21:36:50 UTC",
  "RemoteUrl": "https://github.com/rt-uq/templr",
  "RemoteRef": "HEAD",
  "RemoteSha": "6b405400d8ee5a28407659f260c89421c424e76f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-12 12:05:38 UTC",
    "User": "root"
  },
  "_user": "rt-uq",
  "_type": "src",
  "_file": "templr_0.2-4.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/96df7aae816fd156389241c9d8552f7a6e6e4239f17d7fc12c34936f8f7d87c2",
  "_filesize": 134393,
  "_sha256": "96df7aae816fd156389241c9d8552f7a6e6e4239f17d7fc12c34936f8f7d87c2",
  "_expires": "2027-01-20T12:09:24.000Z",
  "_created": "2026-10-12T12:05:38.000Z",
  "_published": "2026-10-12T12:09:25.806Z",
  "_buildurl": "https://github.com/r-universe/rt-uq/actions/runs/38246399498",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114802873263,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11746692454"
    },
    {
      "job": 114802873427,
      "time": 100,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11746147572"
    },
    {
      "job": 114802873407,
      "time": 172,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11746622476"
    },
    {
      "job": 114802873224,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11745608433"
    },
    {
      "job": 114801317657,
      "time": 255,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11746522095"
    },
    {
      "job": 114802873435,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11745803258"
    },
    {
      "job": 114802873553,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11746522339"
    },
    {
      "job": 114802873478,
      "time": 66,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11746012473"
    },
    {
      "job": 114802873472,
      "time": 62,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11746222369"
    }
  ],
  "_upstream": "https://github.com/rt-uq/templr",
  "_commit": {
    "id": "6b405400d8ee5a28407659f260c89421c424e76f",
    "author": "RICHET-YAN <yann.richet@asnr.fr>",
    "committer": "RICHET-YAN <yann.richet@asnr.fr>",
    "message": "Fix BFGS template orphaning its future worker (root of the CI hang)\n\nThe BFGS.R template's future body ended with\n  ask_Y(id, matrix(NaN, ...))\nto signal completion, then blocked waiting for a tell_Y() reply that\nrun.algorithm() never sends -- it stops iterating the moment it sees the\nNaN design. With asktell's 100 h default timeout the multisession worker\nwas orphaned for the whole session; under R CMD check (workers capped at\n2) the next run.algorithm() then blocked in future() waiting for a worker\nthat never frees -- an uninterruptible hang. Same starvation wedged\ntest-asktell.R afterwards.\n\n- inst/BFGS.R: give that final signalling ask_Y() a 5 s timeout wrapped in\n  try(), so the worker returns to the pool instead of blocking forever.\n- Re-enable test-algorithm-BFGS.R and test-asktell.R on CI.\n- tests/testthat/teardown.R: clear <tempdir>/../asktell.tmp so R CMD check\n  stops flagging it as detritus.\n\nLocal `R CMD check` now finishes the test suite in ~110 s instead of\nhanging. (test-import.R stays skip_on_ci -- real CRAN/GitHub installs.)\n\nCo-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_01SHgp3zj4GLqYhaa626j53L\n",
    "time": 1787953010
  },
  "_maintainer": {
    "name": "Yann Richet",
    "email": "yann.richet@asnr.fr",
    "login": "yannrichet-asnr",
    "description": "",
    "uuid": 148193180,
    "orcid": "0000-0002-5677-8458"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "remotes",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "mco",
      "role": "Suggests"
    },
    {
      "package": "praise",
      "role": "Suggests"
    },
    {
      "package": "curl",
      "role": "Suggests"
    }
  ],
  "_owner": "rt-uq",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-03",
      "n": 5
    },
    {
      "week": "2026-35",
      "n": 11
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yannrichet",
      "count": 66,
      "uuid": 1841518
    },
    {
      "user": "yannrichet-asnr",
      "count": 11,
      "uuid": 148193180
    }
  ],
  "_userbio": {
    "uuid": 16688758,
    "type": "organization",
    "name": "RT-UQ",
    "followers": 1,
    "description": "Research network on Uncertainty Quantification"
  },
  "_downloads": {
    "count": 324,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/templr"
  },
  "_devurl": "https://github.com/mascotnum/templr",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/templr.html"
  ],
  "_homeurl": "https://github.com/rt-uq/templr",
  "_realowner": "rt-uq",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-0",
      "date": "2022-08-31"
    },
    {
      "version": "0.2-0",
      "date": "2022-10-25"
    },
    {
      "version": "0.2-1",
      "date": "2025-08-01"
    },
    {
      "version": "0.2-2",
      "date": "2026-01-12"
    },
    {
      "version": "0.2-3",
      "date": "2026-01-13"
    },
    {
      "version": "0.2-4",
      "date": "2026-08-26"
    }
  ],
  "_exports": [
    "ask_dX",
    "ask_dY",
    "ask_X",
    "ask_Y",
    "from01",
    "import",
    "list.results",
    "max_input",
    "min_input",
    "parse.algorithm",
    "read.algorithm",
    "run.algorithm",
    "tell_dY",
    "tell_Y",
    "to01"
  ],
  "_help": [
    {
      "page": "ask_dX",
      "title": "ask&tell component function to 'ask' where objective function gradient evaluation is required.",
      "topics": [
        "ask_dX"
      ]
    },
    {
      "page": "ask_dY",
      "title": "ask&tell component function to 'ask' objective function gradient evaluation using finite difference.",
      "topics": [
        "ask_dY"
      ]
    },
    {
      "page": "ask_X",
      "title": "ask&tell component function to 'ask' where objective function evaluation is required.",
      "topics": [
        "ask_X"
      ]
    },
    {
      "page": "ask_Y",
      "title": "ask&tell component function to 'ask' objective function evaluation.",
      "topics": [
        "ask_Y"
      ]
    },
    {
      "page": "from01",
      "title": "Helper function to scale from [0,1] to [min,max]",
      "topics": [
        "from01"
      ]
    },
    {
      "page": "import",
      "title": "Dependencies loader, supports many protocols like github:, gitlab:, ... using remotes::instal_... Will create a local '.lib' directory to store packages installed",
      "topics": [
        "import"
      ]
    },
    {
      "page": "list.results",
      "title": "Parse algorithm string result in R list",
      "topics": [
        "list.results"
      ]
    },
    {
      "page": "max_input",
      "title": "Helper function to get $max from 'input' list",
      "topics": [
        "max_input"
      ]
    },
    {
      "page": "min_input",
      "title": "Helper function to get $min from 'input' list",
      "topics": [
        "min_input"
      ]
    },
    {
      "page": "parse.algorithm",
      "title": "Parse algorithm file and returns its (header) indos and methods",
      "topics": [
        "parse.algorithm"
      ]
    },
    {
      "page": "read.algorithm",
      "title": "Read algorithm file and returns one header info",
      "topics": [
        "read.algorithm"
      ]
    },
    {
      "page": "run.algorithm",
      "title": "Apply a template algorithm file to an objective function",
      "topics": [
        "run.algorithm"
      ]
    },
    {
      "page": "tell_dY",
      "title": "ask&tell component function to 'tell' objective function value to waiting 'ask_Y' call in another R session.",
      "topics": [
        "tell_dY"
      ]
    },
    {
      "page": "tell_Y",
      "title": "ask&tell component function to 'tell' objective function value to waiting 'ask_Y' call in another R session.",
      "topics": [
        "tell_Y"
      ]
    },
    {
      "page": "to01",
      "title": "Helper function to scale from [min,max] to [0,1]",
      "topics": [
        "to01"
      ]
    }
  ],
  "_readme": "https://github.com/rt-uq/templr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "jsonlite",
    "remotes",
    "rlang",
    "xml2"
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "templr",
  "_universes": [
    "rt-uq",
    "yannrichet-asnr",
    "mascotnum"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2-4.1",
      "date": "2026-10-12T12:08:07.000Z",
      "distro": "resolute",
      "commit": "6b405400d8ee5a28407659f260c89421c424e76f",
      "fileid": "https://r2.ropensci.org/555ac62a274fad1aacf3570e3b6b49bbea1011575fe95881960b78d0a820e1ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rt-uq/actions/runs/38246399498"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2-4.1",
      "date": "2026-10-12T12:07:21.000Z",
      "distro": "resolute",
      "commit": "6b405400d8ee5a28407659f260c89421c424e76f",
      "fileid": "https://r2.ropensci.org/856ebc925d9ef6000fef47df131aece4e13885a1b388afb10863cb243b34899c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rt-uq/actions/runs/38246399498"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2-4.1",
      "date": "2026-10-12T12:08:18.000Z",
      "commit": "6b405400d8ee5a28407659f260c89421c424e76f",
      "fileid": "https://r2.ropensci.org/3bb4a7d4036276bbc8b1de2c477c7f9f536628ac01a54084057b656278f86363",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rt-uq/actions/runs/38246399498"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2-4.1",
      "date": "2026-10-12T12:08:02.000Z",
      "commit": "6b405400d8ee5a28407659f260c89421c424e76f",
      "fileid": "https://r2.ropensci.org/9a161dd6c761588f6cb395ac32fd57e82d3e6a0a701a1246c8bdcfc9d1865631",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rt-uq/actions/runs/38246399498"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2-4.1",
      "date": "2026-10-12T12:07:29.000Z",
      "commit": "6b405400d8ee5a28407659f260c89421c424e76f",
      "fileid": "https://r2.ropensci.org/458066e23e65315a360d5b9cbf78a63051d72882e6fb8da163cb0d4494ffde57",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rt-uq/actions/runs/38246399498"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2-4.1",
      "date": "2026-10-12T12:06:51.000Z",
      "commit": "6b405400d8ee5a28407659f260c89421c424e76f",
      "fileid": "https://r2.ropensci.org/20db6369de8da19cc6d2cbe93f3a7b995f1326019e879c4e7dfe7047407ea113",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rt-uq/actions/runs/38246399498"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2-4.1",
      "date": "2026-10-12T12:06:42.000Z",
      "commit": "6b405400d8ee5a28407659f260c89421c424e76f",
      "fileid": "https://r2.ropensci.org/56b09e7157af6a86d9fbce9e5d44ef81c28c912675e6386d62f928321648ba0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rt-uq/actions/runs/38246399498"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2-4.1",
      "date": "2026-10-12T12:06:36.000Z",
      "commit": "6b405400d8ee5a28407659f260c89421c424e76f",
      "fileid": "https://r2.ropensci.org/36d0f68ba35733cbbad1ff30f608949d0f099b12603908cea4bf2d5853901280",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rt-uq/actions/runs/38246399498"
    }
  ]
}