{
  "_id": "6abcbe2f99f7aa8c6aa4b2f7",
  "Package": "comphy",
  "Title": "Functions Used in the Book \"Computational Physics with R\"",
  "Version": "1.0.5",
  "Authors@R": "person(\"James\",\"Foadi\",email=\"james_foadi@yahoo.co.uk\",role=c(\"aut\", \"cre\"))",
  "Description": "Provides a collection of functions described and used in\nthe book Foadi (2026, ISBN:9780750326308) \"Computational\nPhysics with R\". These include routines for numerical\ndifferentiation, integration, differential equations,\neigenvalue problems, Monte Carlo methods, and other algorithms\nrelevant to computational physics.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/jfoadi/comphy",
  "BugReports": "https://github.com/jfoadi/comphy/issues",
  "Repository": "https://jfoadi.r-universe.dev",
  "Date/Publication": "2026-01-28 15:31:11 UTC",
  "RemoteUrl": "https://github.com/jfoadi/comphy",
  "RemoteRef": "HEAD",
  "RemoteSha": "92af1a92738dceb3e4098e5281a82601d18ef239",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-30 07:23:35 UTC",
    "User": "root"
  },
  "Author": "James Foadi [aut, cre]",
  "Maintainer": "James Foadi <james_foadi@yahoo.co.uk>",
  "_user": "jfoadi",
  "_type": "src",
  "_file": "comphy_1.0.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/8192949f846054d0ad6371cdb612093e05bf4504084d0d6623a6593feb1d2e72",
  "_filesize": 324436,
  "_sha256": "8192949f846054d0ad6371cdb612093e05bf4504084d0d6623a6593feb1d2e72",
  "_expires": "2027-01-08T07:45:46.000Z",
  "_created": "2026-09-30T07:23:35.000Z",
  "_published": "2026-09-30T07:45:51.010Z",
  "_jobs": [
    {
      "job": 109783839473,
      "time": 110,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11083325244"
    },
    {
      "job": 109783839447,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11083111642"
    },
    {
      "job": 109783839388,
      "time": 191,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11083855464"
    },
    {
      "job": 109783839423,
      "time": 164,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11083257936"
    },
    {
      "job": 109783020967,
      "time": 163,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11082413829"
    },
    {
      "job": 109783839417,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11083260879"
    },
    {
      "job": 109783839435,
      "time": 70,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11082174704"
    },
    {
      "job": 109783839419,
      "time": 120,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11082468835"
    },
    {
      "job": 109783839439,
      "time": 81,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11082444013"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jfoadi/actions/runs/36683161775",
  "_status": "success",
  "_upstream": "https://github.com/jfoadi/comphy",
  "_commit": {
    "id": "92af1a92738dceb3e4098e5281a82601d18ef239",
    "author": "James Foadi <james_foadi@yahoo.co.uk>",
    "committer": "James Foadi <james_foadi@yahoo.co.uk>",
    "message": "Created a cran-comments file.\n",
    "time": 1769614271
  },
  "_maintainer": {
    "name": "James Foadi",
    "email": "james_foadi@yahoo.co.uk",
    "login": "jfoadi",
    "description": "Lecturer at the Department of Mathematical Sciences, University of Bath, UK",
    "uuid": 3438593
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    }
  ],
  "_owner": "jfoadi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 7
    },
    {
      "week": "2026-05",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.5",
      "date": "2026-01-28"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jfoadi",
      "count": 14,
      "uuid": 3438593
    }
  ],
  "_userbio": {
    "uuid": 3438593,
    "type": "user",
    "name": "James Foadi",
    "followers": 15,
    "description": "Lecturer at the Department of Mathematical Sciences, University of Bath, UK"
  },
  "_downloads": {
    "count": 192,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/comphy"
  },
  "_devurl": "https://github.com/jfoadi/comphy",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/comphy.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/jfoadi/comphy",
  "_realowner": "jfoadi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.5",
      "date": "2026-02-01"
    }
  ],
  "_exports": [
    "backdif",
    "BVPlinshoot2",
    "BVPshoot2",
    "condet",
    "decidepoly_n",
    "deriv_irr",
    "deriv_reg",
    "divdif",
    "EPSturmLiouville2",
    "EulerODE",
    "forwdif",
    "gauss_elim",
    "Gquad",
    "GSeidel",
    "HeunODE",
    "illcond_sample",
    "linpol",
    "LUdeco",
    "nevaitpol",
    "numint_reg",
    "oddity",
    "PJacobi",
    "polydivdif",
    "polysolveLS",
    "RK4ODE",
    "roots_bisec",
    "roots_newton",
    "roots_secant",
    "solve_tridiag",
    "solveLS",
    "transform_upper",
    "which_poly"
  ],
  "_help": [
    {
      "page": "backdif",
      "title": "Backward differences",
      "topics": [
        "backdif"
      ]
    },
    {
      "page": "BVPlinshoot2",
      "title": "Linear shooting method for second-order linear BVPs",
      "topics": [
        "BVPlinshoot2"
      ]
    },
    {
      "page": "BVPshoot2",
      "title": "Solves a second-order BVP using the shooting method",
      "topics": [
        "BVPshoot2"
      ]
    },
    {
      "page": "condet",
      "title": "Determinant of a square matrix",
      "topics": [
        "condet"
      ]
    },
    {
      "page": "decidepoly_n",
      "title": "Degree of best-interpolating polynomial",
      "topics": [
        "decidepoly_n"
      ]
    },
    {
      "page": "deriv_irr",
      "title": "First derivative for an irregular grid",
      "topics": [
        "deriv_irr"
      ]
    },
    {
      "page": "deriv_reg",
      "title": "First derivative on a regular grid",
      "topics": [
        "deriv_reg"
      ]
    },
    {
      "page": "divdif",
      "title": "Divided differences",
      "topics": [
        "divdif"
      ]
    },
    {
      "page": "EPSturmLiouville2",
      "title": "Sturm–Liouville eigenproblem with homogeneous Dirichlet boundary conditions",
      "topics": [
        "EPSturmLiouville2"
      ]
    },
    {
      "page": "EulerODE",
      "title": "Euler method for systems of ODEs",
      "topics": [
        "EulerODE"
      ]
    },
    {
      "page": "forwdif",
      "title": "Forward differences",
      "topics": [
        "forwdif"
      ]
    },
    {
      "page": "gauss_elim",
      "title": "Gaussian Elimination",
      "topics": [
        "gauss_elim"
      ]
    },
    {
      "page": "Gquad",
      "title": "Numerical integration using n-point Gaussian quadrature.",
      "topics": [
        "Gquad"
      ]
    },
    {
      "page": "GSeidel",
      "title": "The Gauss-Seidel algorithm",
      "topics": [
        "GSeidel"
      ]
    },
    {
      "page": "HeunODE",
      "title": "Heun method for systems of ODEs",
      "topics": [
        "HeunODE"
      ]
    },
    {
      "page": "illcond_sample",
      "title": "Ill-conditioned sampling",
      "topics": [
        "illcond_sample"
      ]
    },
    {
      "page": "linpol",
      "title": "1D linear interpolation",
      "topics": [
        "linpol"
      ]
    },
    {
      "page": "LUdeco",
      "title": "LU decomposition",
      "topics": [
        "LUdeco"
      ]
    },
    {
      "page": "nevaitpol",
      "title": "Neville-Aitken algorithm for polynomial interpolation",
      "topics": [
        "nevaitpol"
      ]
    },
    {
      "page": "numint_reg",
      "title": "Numerical integration using the trapezoid or simpson's rule",
      "topics": [
        "numint_reg"
      ]
    },
    {
      "page": "oddity",
      "title": "Parity of a permutation",
      "topics": [
        "oddity"
      ]
    },
    {
      "page": "PJacobi",
      "title": "The Jacobi method",
      "topics": [
        "PJacobi"
      ]
    },
    {
      "page": "polydivdif",
      "title": "Approximating polynomial for divided differences",
      "topics": [
        "polydivdif"
      ]
    },
    {
      "page": "polysolveLS",
      "title": "Polynomial Least Squares",
      "topics": [
        "polysolveLS"
      ]
    },
    {
      "page": "RK4ODE",
      "title": "Runge-Kutta 4th order method for systems of ODEs",
      "topics": [
        "RK4ODE"
      ]
    },
    {
      "page": "roots_bisec",
      "title": "Bisection method for roots",
      "topics": [
        "roots_bisec"
      ]
    },
    {
      "page": "roots_newton",
      "title": "Newton method for roots",
      "topics": [
        "roots_newton"
      ]
    },
    {
      "page": "roots_secant",
      "title": "Secant method for roots",
      "topics": [
        "roots_secant"
      ]
    },
    {
      "page": "solve_tridiag",
      "title": "Tridiagonal linear system",
      "topics": [
        "solve_tridiag"
      ]
    },
    {
      "page": "solveLS",
      "title": "Multilinear Least Squares",
      "topics": [
        "solveLS"
      ]
    },
    {
      "page": "transform_upper",
      "title": "Transform to upper triangular",
      "topics": [
        "transform_upper"
      ]
    },
    {
      "page": "which_poly",
      "title": "Find optimal polynomial model",
      "topics": [
        "which_poly"
      ]
    }
  ],
  "_readme": "https://github.com/jfoadi/comphy/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "comphy",
  "_universes": [
    "jfoadi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-09-30T07:25:28.000Z",
      "distro": "resolute",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "https://r2.ropensci.org/10ea609e80549ea9e6cf9e54e269851e75948815e7907444bd5c88bd4820cc37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/36683161775"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-09-30T07:25:53.000Z",
      "distro": "resolute",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "https://r2.ropensci.org/18f64aa20e79734eed46b2919527e7c12c3b8a68887ed32aacc2586e6b42dfdd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/36683161775"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-09-30T07:44:28.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "https://r2.ropensci.org/576e30108251f308a373555a43bed0cf8aa254fb7e37171145eaa63e04b0092a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/36683161775"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-09-30T07:44:26.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "https://r2.ropensci.org/97c279e39dedea47b25b407f723d2d8ddd280d597851066f8429a39f902f8673",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/36683161775"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5",
      "date": "2026-09-30T07:25:22.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "https://r2.ropensci.org/8efccc4ca36679bdfea40bb015737745ea81c150b21873c37135992ca112810a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/36683161775"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-09-30T07:24:36.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "https://r2.ropensci.org/64ce7eb84158f7f4ac6f2c447eff944f1a434dff398d9c1a9f20961499c1c5ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/36683161775"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-09-30T07:25:33.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "https://r2.ropensci.org/43ae5a037800fd25a62ad8c1f6e5777bc3a08af80d8fa3124e181c7a2df070bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/36683161775"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-09-30T07:24:52.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "https://r2.ropensci.org/e694d13680364f991da7f0de6edbe94fb5f1a2eaa70e743ba02acebdd0ef7ae2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/36683161775"
    }
  ]
}