{
  "_id": "6aac60fa3d719c1f84071473",
  "Package": "RcppTrust",
  "Type": "Package",
  "Title": "Thread-Safe C++ Trust Region Optimizers",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(given = c(\"Charles\", \"J.\"), family = \"Geyer\", role = c(\"aut\", \"cph\"),\nemail = \"geyer@umn.edu\", comment = c(ORCID = \"0000-0003-1471-1703\")),\nperson(given = \"Matthew\", family = \"Fidler\", role = c(\"aut\", \"cre\"),\nemail = \"matthew.fidler@gmail.com\", comment = c(ORCID = \"0000-0001-8538-6691\")),\nperson(given = c(\"Michael\", \"J.\", \"D.\"), family = \"Powell\", role = \"aut\",\ncomment = \"BOBYQA and NEWUOA algorithms and original Fortran 77 code\"),\nperson(given = \"Douglas\", family = \"Bates\", role = c(\"ctb\", \"cph\"),\ncomment = \"minqa\"),\nperson(given = c(\"Katharine\", \"M.\"), family = \"Mullen\", role = c(\"ctb\", \"cph\"),\ncomment = \"minqa\"),\nperson(given = c(\"John\", \"C.\"), family = \"Nash\", role = c(\"ctb\", \"cph\"),\ncomment = \"minqa\"),\nperson(given = \"Ravi\", family = \"Varadhan\", role = c(\"ctb\", \"cph\"),\ncomment = \"minqa\"),\nperson(given = \"Johan\", family = \"Larsson\", role = c(\"ctb\", \"cph\"),\ncomment = \"basin trust-region / Steihaug implementation\"))",
  "Description": "Thread-safe C++ trust region optimizers, each exposed both\nas an R function and as a C-callable entry point (with function\npointers registered for other packages to call without linking\nagainst this package's shared library) so they can be used from\nparallel C++ code such as in 'nlmixr2est'. Includes a port of\nthe two-derivative trust region algorithm in the 'trust'\npackage by Charles J. Geyer; a port of the Steihaug truncated\nconjugate-gradient trust region method from the 'basin' Rust\ncrate (Steihaug (1983) <doi:10.1137/0720042>); and ports of M.\nJ. D. Powell's derivative-free BOBYQA (Powell (2009), Report\nDAMTP 2009/NA06) and NEWUOA (Powell (2006)\n<doi:10.1007/0-387-30065-1_16>) Fortran 77 code\n<https://github.com/libprima/prima/tree/main/fortran/original>,\nas modified and distributed in the 'minqa' package, whose R\ninterface is reproduced.",
  "License": "GPL-2",
  "Copyright": "See inst/COPYRIGHTS for the sources, copyright holders and\nlicenses of code ported from 'trust', 'basin', 'minqa' and\nPowell's Fortran.",
  "URL": "https://github.com/nlmixr2/RcppTrust/,\nhttps://nlmixr2.github.io/RcppTrust/,\nhttp://www.stat.umn.edu/geyer/trust/",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "SystemRequirements": "C++17",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://nlmixr2.r-universe.dev",
  "Date/Publication": "2026-09-17 21:21:07 UTC",
  "RemoteUrl": "https://github.com/nlmixr2/RcppTrust",
  "RemoteRef": "HEAD",
  "RemoteSha": "38fd778c4f7622c370163edba4d3781343e360dc",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-17 21:39:03 UTC",
    "User": "root"
  },
  "Author": "Charles J. Geyer [aut, cph] (ORCID:\n<https://orcid.org/0000-0003-1471-1703>),\nMatthew Fidler [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8538-6691>),\nMichael J. D. Powell [aut] (BOBYQA and NEWUOA algorithms and original\nFortran 77 code),\nDouglas Bates [ctb, cph] (minqa),\nKatharine M. Mullen [ctb, cph] (minqa),\nJohn C. Nash [ctb, cph] (minqa),\nRavi Varadhan [ctb, cph] (minqa),\nJohan Larsson [ctb, cph] (basin trust-region / Steihaug implementation)",
  "Maintainer": "Matthew Fidler <matthew.fidler@gmail.com>",
  "_user": "nlmixr2",
  "_type": "src",
  "_file": "RcppTrust_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/a24b1dc04b0fdd8bd8d4bf6f5be2d611d18ec55ae817c417f199a62299e03049",
  "_filesize": 387935,
  "_sha256": "a24b1dc04b0fdd8bd8d4bf6f5be2d611d18ec55ae817c417f199a62299e03049",
  "_expires": "2026-12-26T21:51:51.000Z",
  "_created": "2026-09-17T21:39:03.000Z",
  "_published": "2026-09-17T21:51:53.875Z",
  "_jobs": [
    {
      "job": 105392863528,
      "time": 154,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "10521377590"
    },
    {
      "job": 105392863608,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10521143000"
    },
    {
      "job": 105392863566,
      "time": 156,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10520689612"
    },
    {
      "job": 105392863696,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10520914338"
    },
    {
      "job": 105392863546,
      "time": 140,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10521228554"
    },
    {
      "job": 105392863583,
      "time": 422,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10521800391"
    },
    {
      "job": 105392863733,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10521755886"
    },
    {
      "job": 105392863609,
      "time": 304,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10521343086"
    },
    {
      "job": 105391498658,
      "time": 278,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10520804169"
    },
    {
      "job": 105392863573,
      "time": 158,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10521332703"
    },
    {
      "job": 105392863635,
      "time": 246,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10521377843"
    },
    {
      "job": 105392863773,
      "time": 240,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10521627262"
    },
    {
      "job": 105392863649,
      "time": 142,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10520634637"
    },
    {
      "job": 105392863522,
      "time": 244,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10521208050"
    },
    {
      "job": 105392863598,
      "time": 178,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10521547276"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385",
  "_status": "success",
  "_upstream": "https://github.com/nlmixr2/RcppTrust",
  "_commit": {
    "id": "38fd778c4f7622c370163edba4d3781343e360dc",
    "author": "Matthew Fidler <matthew.fidler@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #1 from nlmixr2/steihaug\n\nAdd thread-safe Steihaug, BOBYQA and NEWUOA trust-region optimizers",
    "time": 1789680067
  },
  "_maintainer": {
    "name": "Matthew Fidler",
    "email": "matthew.fidler@gmail.com",
    "login": "mattfidler",
    "description": "Also a Novartis employee;  Can reach me at my Novartis email: matt.fidler@novartis.com",
    "uuid": 514778,
    "orcid": "0000-0001-8538-6691"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "stats",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "trust",
      "role": "Suggests"
    },
    {
      "package": "minqa",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    }
  ],
  "_owner": "nlmixr2",
  "_selfowned": true,
  "_usedby": 8,
  "_updates": [
    {
      "week": "2026-34",
      "n": 10
    },
    {
      "week": "2026-35",
      "n": 6
    },
    {
      "week": "2026-38",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-08-25"
    }
  ],
  "_topics": [
    "optimization",
    "trust",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mattfidler",
      "count": 22,
      "uuid": 514778
    }
  ],
  "_userbio": {
    "uuid": 94710774,
    "type": "organization",
    "name": "nlmixr2",
    "followers": 62
  },
  "_downloads": {
    "count": 278,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RcppTrust"
  },
  "_devurl": "https://github.com/nlmixr2/rcpptrust",
  "_pkgdown": "https://nlmixr2.github.io/RcppTrust/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/RcppTrust.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/nlmixr2/rcpptrust",
  "_realowner": "nlmixr2",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-08"
    }
  ],
  "_exports": [
    ".RcppTrustPtr",
    "bobyqa",
    "newuoa",
    "steihaug",
    "trust"
  ],
  "_help": [
    {
      "page": "dot-RcppTrustPtr",
      "title": "Positionally-indexed function pointer table for downstream packages",
      "topics": [
        ".RcppTrustPtr"
      ]
    },
    {
      "page": "bobyqa",
      "title": "Nonlinear optimization with box constraints (BOBYQA)",
      "topics": [
        "bobyqa"
      ]
    },
    {
      "page": "newuoa",
      "title": "Unconstrained derivative-free optimization (NEWUOA)",
      "topics": [
        "newuoa"
      ]
    },
    {
      "page": "print.minqa",
      "title": "Print method for minqa objects",
      "topics": [
        "print.minqa"
      ]
    },
    {
      "page": "steihaug",
      "title": "Steihaug truncated-CG trust-region Newton minimization",
      "topics": [
        "steihaug"
      ]
    },
    {
      "page": "trust",
      "title": "Non-Linear Optimization by a Trust Region Algorithm",
      "topics": [
        "trust"
      ]
    }
  ],
  "_pkglogo": "https://github.com/nlmixr2/RcppTrust/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/nlmixr2/RcppTrust/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "trust-region-methods.Rmd",
      "filename": "trust-region-methods.html",
      "title": "More Trust-Region Methods: Steihaug, BOBYQA and NEWUOA",
      "author": "Matthew Fidler",
      "engine": "knitr::rmarkdown",
      "headings": [
        "How the methods differ",
        "Steihaug truncated-CG trust region",
        "What matches basin",
        "BOBYQA and NEWUOA",
        "The thread-safe C interfaces",
        "References"
      ],
      "created": "2026-09-17 21:21:07",
      "modified": "2026-09-17 21:21:07",
      "commits": 1
    },
    {
      "source": "RcppTrust.Rmd",
      "filename": "RcppTrust.html",
      "title": "RcppTrust: A Thread-Safe C++ Trust Region Optimizer",
      "author": "Matthew Fidler",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Similarities: what carries over unchanged",
        "Differences",
        "Speed",
        "When to use which interface",
        "Using the C interface",
        "Calling it from your own package: the registration pattern"
      ],
      "created": "2026-08-20 04:48:56",
      "modified": "2026-09-17 21:21:07",
      "commits": 4
    }
  ],
  "_score": 5.857332496431268,
  "_indexed": true,
  "_nocasepkg": "rcpptrust",
  "_universes": [
    "nlmixr2",
    "mattfidler"
  ],
  "_previous": "0.1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-17T21:41:33.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/abd501cbc7debee3990945a8b12352ddb27a54c0f55e4d23b16449ad1f8a46f0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-17T21:41:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/e26c132c84362a6a03267f40b0835385add00d3ce5e037d28d04f368e40a6649",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-17T21:41:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/38812868571cd9192111e6ed396be00c6e437db3754ef691081fb68aa2ae8c5a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-17T21:41:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/67e61200a60fa7be38795a74a5c5b6624a110d25a0507b2309cfac539082cb07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-17T21:46:23.000Z",
      "arch": "aarch64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/ccdbd55c867a8be889f3a3575610058d2ba478c58e1c96ef8a14485d77191015",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-17T21:44:49.000Z",
      "arch": "x86_64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/8bdc305a3449a647c3f0ccf459dac60740cc05106bc0c06a793a1b52bb2fae38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-17T21:50:53.000Z",
      "arch": "aarch64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/81bea280258f362b6bda6d5d6fa1c46a02f12f93b8afcc74601776893090f92f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-17T21:43:23.000Z",
      "arch": "x86_64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/49ce3e58aae374fdf17a8e3066c31bb32b5f96eae3fc03ec48ead01b295b46f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-09-17T21:41:44.000Z",
      "arch": "emscripten",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/c2be896118e34400eb4f0b41af39f6a1d8c74f4c9ab6e5540e1530a90af995aa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-17T21:42:26.000Z",
      "arch": "aarch64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/b37e1924d08ee67230884a81d5c6e8f6e50f64030f0d1f97b22afe070002b7d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-17T21:41:20.000Z",
      "arch": "x86_64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/25fc675452891bb0ac0e0d673374d5d33c4e53062778b345729828486cc45fde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-17T21:40:41.000Z",
      "arch": "x86_64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/7d211792a49177b420d592146ef34b263b5b0ee3bb1a274b4f16a995c757f090",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-17T21:42:24.000Z",
      "arch": "aarch64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/be73574494507b3739f879f6eec2be9f08140d35c78ad598d618a64c934dd8d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-17T21:41:00.000Z",
      "arch": "x86_64",
      "commit": "38fd778c4f7622c370163edba4d3781343e360dc",
      "fileid": "https://r2.ropensci.org/559a0aa4a5558b7aa67c906faff2a54df74ccdacb0ce7bc1f0de1716b5a06cba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/35277464385"
    }
  ]
}