{
  "_id": "6ae63a05818c9e3ef6dbadfe",
  "Package": "RcppTrust",
  "Type": "Package",
  "Title": "Thread-Safe C++ Trust Region Optimizers",
  "Version": "0.2.1",
  "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",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-31 18:51:01 UTC",
    "User": "root"
  },
  "Author": "Charles J. Geyer [aut, cph] (ORCID:\n<https://orcid.org/0000-0003-1471-1703>), Matthew Fidler [aut,\ncre] (ORCID: <https://orcid.org/0000-0001-8538-6691>), Michael\nJ. D. Powell [aut] (BOBYQA and NEWUOA algorithms and original\nFortran 77 code), Douglas Bates [ctb, cph] (minqa), Katharine\nM. Mullen [ctb, cph] (minqa), John C. Nash [ctb, cph] (minqa),\nRavi Varadhan [ctb, cph] (minqa), Johan Larsson [ctb, cph]\n(basin trust-region / Steihaug implementation)",
  "Maintainer": "Matthew Fidler <matthew.fidler@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-31 12:48:40 UTC",
  "RemoteUrl": "https://github.com/cran/RcppTrust",
  "RemoteRef": "HEAD",
  "RemoteSha": "c46f4fa89bd3393261239682f8672d0d95d815d7",
  "_user": "cran",
  "_type": "src",
  "_file": "RcppTrust_0.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/e17961baac0528078b064fc192cd53cd668d39f441b544d4037bdc0b24eb2045",
  "_filesize": 392092,
  "_sha256": "e17961baac0528078b064fc192cd53cd668d39f441b544d4037bdc0b24eb2045",
  "_expires": "2027-02-08T18:57:07.000Z",
  "_created": "2026-10-31T18:51:01.000Z",
  "_published": "2026-10-31T18:57:08.918Z",
  "_upstream": "https://github.com/cran/RcppTrust",
  "_status": "success",
  "_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"
  },
  "_jobs": [
    {
      "job": 124626399151,
      "time": 143,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13053852691"
    },
    {
      "job": 124626399129,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13053289365"
    },
    {
      "job": 124626399285,
      "time": 126,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13053932198"
    },
    {
      "job": 124626399153,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13053827788"
    },
    {
      "job": 124625348754,
      "time": 270,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13053891983"
    },
    {
      "job": 124626399154,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13053164630"
    },
    {
      "job": 124626399170,
      "time": 240,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13053818028"
    },
    {
      "job": 124626399182,
      "time": 209,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13053658762"
    },
    {
      "job": 124626399197,
      "time": 283,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13053773280"
    },
    {
      "job": 124626399221,
      "time": 147,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13053658616"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41231073262",
  "_commit": {
    "id": "c46f4fa89bd3393261239682f8672d0d95d815d7",
    "author": "Matthew Fidler <matthew.fidler@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.1\n",
    "time": 1793450920
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 14,
  "_updates": [
    {
      "week": "2026-37",
      "n": 1
    },
    {
      "week": "2026-44",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-09-07"
    },
    {
      "name": "0.2.0",
      "date": "2026-10-27"
    },
    {
      "name": "0.2.1",
      "date": "2026-10-31"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mattfidler",
      "count": 3,
      "uuid": 514778
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 635,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 1355,
    "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,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_abi": {
    "exports": [
      {
        "key": "RcppTrust/include",
        "hash": "1f387741d30e56d8"
      },
      {
        "key": "RcppTrust::bobyqa_solve_c()",
        "hash": "f796b1ed06730820"
      },
      {
        "key": "RcppTrust::minqa_result_free()",
        "hash": "793f9fdfbce0afac"
      },
      {
        "key": "RcppTrust::newuoa_solve_c()",
        "hash": "cff8da6192a33f1d"
      },
      {
        "key": "RcppTrust::steihaug_result_free()",
        "hash": "61e194b70189791f"
      },
      {
        "key": "RcppTrust::steihaug_solve_c()",
        "hash": "9dcf907f3e8cea38"
      },
      {
        "key": "RcppTrust::trust_result_free()",
        "hash": "80e68562cf14dd62"
      },
      {
        "key": "RcppTrust::trust_solve_c()",
        "hash": "d2222221fb519cbd"
      }
    ],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_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": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-08"
    },
    {
      "version": "0.2.0",
      "date": "2026-10-27"
    },
    {
      "version": "0.2.1",
      "date": "2026-10-31"
    }
  ],
  "_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/cran/RcppTrust/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/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-10-27 09:00:08",
      "modified": "2026-10-27 09:00:08",
      "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-09-07 12:20:02",
      "modified": "2026-10-27 09:00:08",
      "commits": 2
    }
  ],
  "_score": 5.056218581272306,
  "_indexed": false,
  "_nocasepkg": "rcpptrust",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://nlmixr2.r-universe.dev/RcppTrust",
  "_previous": "0.2.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-31T18:53:31.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c46f4fa89bd3393261239682f8672d0d95d815d7",
      "fileid": "https://r2.ropensci.org/a7563cb70ad0fe944a7d5fd120f2646ed39109a357f7887dea4784b267d4e343",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41231073262"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-31T18:53:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c46f4fa89bd3393261239682f8672d0d95d815d7",
      "fileid": "https://r2.ropensci.org/103e401dd4ba598da3ccc5f145572590ee7da279321966469980069cb06da8f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41231073262"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-31T18:53:24.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c46f4fa89bd3393261239682f8672d0d95d815d7",
      "fileid": "https://r2.ropensci.org/b1b737e4f77d424c6fdeeb4af80e1fc20cb114ba67657263a94214fe49029d19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41231073262"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-31T18:53:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c46f4fa89bd3393261239682f8672d0d95d815d7",
      "fileid": "https://r2.ropensci.org/56f22c424978b7842ee12599fda6b6b2df1656e26bc5af6e376ec76a72c3725e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41231073262"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-10-31T18:53:41.000Z",
      "arch": "emscripten",
      "commit": "c46f4fa89bd3393261239682f8672d0d95d815d7",
      "fileid": "https://r2.ropensci.org/2a2ecf259afffedfbb2ac49c3bdf2d73b433a77ea39a9a60e1cf93a4fabbd286",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41231073262"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-31T18:54:41.000Z",
      "arch": "aarch64",
      "commit": "c46f4fa89bd3393261239682f8672d0d95d815d7",
      "fileid": "https://r2.ropensci.org/2293c2a1dd1ddf5e4eb5ac920dd846dda576f745f23b3ab7ea011097755252ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41231073262"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-31T18:53:12.000Z",
      "arch": "x86_64",
      "commit": "c46f4fa89bd3393261239682f8672d0d95d815d7",
      "fileid": "https://r2.ropensci.org/eeeca48c171d06aed4b90a94240029ac00afc90c9aeca74f1f1fe36df86793f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41231073262"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-31T18:55:19.000Z",
      "arch": "aarch64",
      "commit": "c46f4fa89bd3393261239682f8672d0d95d815d7",
      "fileid": "https://r2.ropensci.org/b545b7349e4744f28e3da097c0fd1f2169c23d5d6e8f8423254018d3b52c3faa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41231073262"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-31T18:53:02.000Z",
      "arch": "x86_64",
      "commit": "c46f4fa89bd3393261239682f8672d0d95d815d7",
      "fileid": "https://r2.ropensci.org/8dffeddd229c45f3c47b61fdc296a804bcb945663b4f993b91ef22c5a648e0bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41231073262"
    }
  ]
}