{
  "_id": "6a21d3c1cd65a98ecbd3fbd5",
  "Package": "sparsediff",
  "Type": "Package",
  "Title": "R Interface to the 'SparseDiffEngine' Sparse Differentiation\nBackend",
  "Version": "0.4.0",
  "Authors@R": "c(\nperson(\"Balasubramanian\", \"Narasimhan\", role = c(\"aut\", \"cre\"),\nemail = \"naras@stanford.edu\"),\nperson(\"Daniel\", \"Cederberg\", role = c(\"aut\", \"cph\"),\ncomment = \"Author of the bundled SparseDiffEngine C library\"),\nperson(\"William Zijie\", \"Zhang\", role = c(\"aut\", \"cph\"),\ncomment = \"Author of the bundled SparseDiffEngine C library\"))",
  "Description": "Bindings for the 'SparseDiffEngine' C library, the sparse\nJacobian and Hessian differentiation backend used by 'CVXPY'\nfor its Disciplined Nonlinear Programming (DNLP) extension.\nProvides low-level routines for building nonlinear expression\ngraphs and evaluating sparse derivatives, intended as a backend\nfor higher-level modeling layers such as 'CVXR'. This is the R\nanalog of the 'sparsediffpy' Python package and wraps the same\nC library.",
  "License": "Apache License (== 2.0)",
  "Copyright": "file inst/COPYRIGHTS",
  "URL": "https://bnaras.github.io/sparsediff/,\nhttps://github.com/bnaras/sparsediff",
  "BugReports": "https://github.com/bnaras/sparsediff/issues",
  "Encoding": "UTF-8",
  "SystemRequirements": "GNU make",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "make",
  "Repository": "https://bnaras.r-universe.dev",
  "Date/Publication": "2026-06-03 04:40:49 UTC",
  "RemoteUrl": "https://github.com/bnaras/sparsediff",
  "RemoteRef": "HEAD",
  "RemoteSha": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
  "Packaged": {
    "Date": "2026-06-04 19:30:05 UTC",
    "User": "root"
  },
  "Author": "Balasubramanian Narasimhan [aut, cre],\nDaniel Cederberg [aut, cph] (Author of the bundled SparseDiffEngine C\nlibrary),\nWilliam Zijie Zhang [aut, cph] (Author of the bundled SparseDiffEngine\nC library)",
  "Maintainer": "Balasubramanian Narasimhan <naras@stanford.edu>",
  "MD5sum": "f74760940b0b737dc0092090ae061bbc",
  "_user": "bnaras",
  "_type": "src",
  "_file": "sparsediff_0.4.0.tar.gz",
  "_fileid": "0db90f392a78824812a3c3945608a2e944739e8b29c03938cd1a0d4032516111",
  "_filesize": 313366,
  "_sha256": "0db90f392a78824812a3c3945608a2e944739e8b29c03938cd1a0d4032516111",
  "_created": "2026-06-04T19:30:05.000Z",
  "_published": "2026-06-04T19:36:33.678Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79598424795,
      "time": 125,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7421116316"
    },
    {
      "job": 79598424755,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7421114237"
    },
    {
      "job": 79598424718,
      "time": 159,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421128438"
    },
    {
      "job": 79598424715,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421127347"
    },
    {
      "job": 79598424857,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7421114701"
    },
    {
      "job": 79598424767,
      "time": 348,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7421195860"
    },
    {
      "job": 79598425053,
      "time": 109,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421110449"
    },
    {
      "job": 79598424818,
      "time": 184,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421136417"
    },
    {
      "job": 79597952191,
      "time": 161,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421071501"
    },
    {
      "job": 79598424634,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421112044"
    },
    {
      "job": 79598424678,
      "time": 107,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7421109480"
    },
    {
      "job": 79598424710,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7421108547"
    },
    {
      "job": 79598424727,
      "time": 106,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421109265"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bnaras/sparsediff",
  "_commit": {
    "id": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
    "author": "Balasubramanian Narasimhan <b.naras@gmail.com>",
    "committer": "Balasubramanian Narasimhan <b.naras@gmail.com>",
    "message": "Prepare 0.4.0 for CRAN: quote software name, document bundled engine\n\n- Version 0.4.0 (matching the bundled SparseDiffEngine).\n- Quote 'SparseDiffEngine' in Title per the CRAN \"software names in\n  single quotes\" policy (the Description already quoted it).\n- Add inst/COPYRIGHTS documenting the bundled src/sparsediffengine/\n  (Apache-2.0, Copyright 2026 Daniel Cederberg and William Zhang) and\n  reference it via the DESCRIPTION Copyright field.\n- Ignore Rplots.pdf in .Rbuildignore (and removed the stray file) so it\n  cannot ship in the source tarball.\n\nR CMD check --as-cran: Status 1 NOTE (New submission only).\n",
    "time": 1780461649
  },
  "_maintainer": {
    "name": "Balasubramanian Narasimhan",
    "email": "naras@stanford.edu",
    "login": "bnaras",
    "description": "",
    "uuid": 3030361
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "cpp11",
      "role": "LinkingTo"
    },
    {
      "package": "cpp11",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bnaras",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 8
    },
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bnaras",
      "count": 12,
      "uuid": 3030361
    }
  ],
  "_userbio": {
    "uuid": 3030361,
    "type": "user",
    "name": "Balasubramanian Narasimhan"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparsediff"
  },
  "_devurl": "https://github.com/bnaras/sparsediff",
  "_pkgdown": "https://bnaras.github.io/sparsediff/",
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sparsediff.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "engine_version",
    "sd_add",
    "sd_asinh",
    "sd_atanh",
    "sd_broadcast",
    "sd_constraint_forward",
    "sd_convolve",
    "sd_cos",
    "sd_diag_mat",
    "sd_diag_vec",
    "sd_elementwise_mult",
    "sd_entr",
    "sd_exp",
    "sd_gradient",
    "sd_hessian_sparsity",
    "sd_hessian_values",
    "sd_hstack",
    "sd_index",
    "sd_init_derivatives",
    "sd_init_hessian_coo",
    "sd_init_jacobian",
    "sd_init_jacobian_coo",
    "sd_jacobian_sparsity",
    "sd_jacobian_values",
    "sd_left_matmul",
    "sd_left_matmul_dense",
    "sd_log",
    "sd_logistic",
    "sd_matmul",
    "sd_neg",
    "sd_normal_cdf",
    "sd_objective_forward",
    "sd_parameter",
    "sd_power",
    "sd_problem",
    "sd_prod",
    "sd_prod_axis_one",
    "sd_prod_axis_zero",
    "sd_promote",
    "sd_quad_form",
    "sd_quad_over_lin",
    "sd_register_params",
    "sd_rel_entr",
    "sd_rel_entr_first_scalar",
    "sd_rel_entr_second_scalar",
    "sd_reshape",
    "sd_right_matmul",
    "sd_right_matmul_dense",
    "sd_scalar_mult",
    "sd_sin",
    "sd_sinh",
    "sd_sum",
    "sd_tan",
    "sd_tanh",
    "sd_trace",
    "sd_transpose",
    "sd_update_params",
    "sd_upper_tri",
    "sd_variable",
    "sd_vector_mult",
    "sd_vstack",
    "sd_xexp"
  ],
  "_help": [
    {
      "page": "engine_version",
      "title": "Bundled SparseDiffEngine version",
      "topics": [
        "engine_version"
      ]
    },
    {
      "page": "sparsediff-affine",
      "title": "Affine and shape atoms",
      "topics": [
        "sd_add",
        "sd_broadcast",
        "sd_diag_mat",
        "sd_diag_vec",
        "sd_hstack",
        "sd_index",
        "sd_promote",
        "sd_reshape",
        "sd_sum",
        "sd_trace",
        "sd_transpose",
        "sd_upper_tri",
        "sd_vstack",
        "sparsediff-affine"
      ]
    },
    {
      "page": "sparsediff-bivariate",
      "title": "Bivariate atoms",
      "topics": [
        "sd_elementwise_mult",
        "sd_matmul",
        "sd_quad_over_lin",
        "sd_rel_entr",
        "sd_rel_entr_first_scalar",
        "sd_rel_entr_second_scalar",
        "sparsediff-bivariate"
      ]
    },
    {
      "page": "sparsediff-elementwise",
      "title": "Elementwise atoms",
      "topics": [
        "sd_asinh",
        "sd_atanh",
        "sd_cos",
        "sd_entr",
        "sd_exp",
        "sd_log",
        "sd_logistic",
        "sd_neg",
        "sd_normal_cdf",
        "sd_power",
        "sd_sin",
        "sd_sinh",
        "sd_tan",
        "sd_tanh",
        "sd_xexp",
        "sparsediff-elementwise"
      ]
    },
    {
      "page": "sparsediff-leaves",
      "title": "Leaf expressions: variables and parameters",
      "topics": [
        "sd_parameter",
        "sd_variable",
        "sparsediff-leaves"
      ]
    },
    {
      "page": "sparsediff-matrix",
      "title": "Parameter- and constant-matrix atoms",
      "topics": [
        "sd_convolve",
        "sd_left_matmul",
        "sd_left_matmul_dense",
        "sd_quad_form",
        "sd_right_matmul",
        "sd_right_matmul_dense",
        "sd_scalar_mult",
        "sd_vector_mult",
        "sparsediff-matrix"
      ]
    },
    {
      "page": "sparsediff-oracle",
      "title": "Sparse derivative oracle",
      "topics": [
        "sd_constraint_forward",
        "sd_gradient",
        "sd_hessian_sparsity",
        "sd_hessian_values",
        "sd_init_derivatives",
        "sd_init_hessian_coo",
        "sd_init_jacobian",
        "sd_init_jacobian_coo",
        "sd_jacobian_sparsity",
        "sd_jacobian_values",
        "sd_objective_forward",
        "sparsediff-oracle"
      ]
    },
    {
      "page": "sparsediff-problem",
      "title": "Assemble a differentiable problem",
      "topics": [
        "sd_problem",
        "sd_register_params",
        "sd_update_params",
        "sparsediff-problem"
      ]
    },
    {
      "page": "sparsediff-reduction",
      "title": "Product-reduction atoms",
      "topics": [
        "sd_prod",
        "sd_prod_axis_one",
        "sd_prod_axis_zero",
        "sparsediff-reduction"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bnaras/sparsediff/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/bnaras/sparsediff/raw/HEAD/README.md",
  "_rundeps": [
    "cpp11"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "sparsediff.Rmd",
      "filename": "sparsediff.html",
      "title": "Sparse derivatives with sparsediff",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What sparsediff is",
        "Building an expression graph",
        "Assembling a problem and its derivative oracle",
        "Evaluating value and derivatives",
        "Parameters and fast re-evaluation",
        "Where to go next"
      ],
      "created": "2026-05-22 18:05:30",
      "modified": "2026-05-22 18:05:30",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "sparsediff",
  "_universes": [
    "bnaras"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-04T19:32:21.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "77b7ae8ca3f4bf96081543dbeb88585b5495e3d30bca98bf61951ea31b5a00c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-04T19:32:12.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "cffa804ba4591bf8067b85a30b6d0a6c873f3dba610b9af633156e4e7054c7e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-04T19:32:53.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "c2d9330032e21d5e934bc8496e48506ab1a13ba52059ef00a5c9bf85ad0b8f8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-04T19:32:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "6544893530f14188f40843722a82dae3a11f50136027286dd5ab847403ed3d8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-04T19:32:05.000Z",
      "arch": "aarch64",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "8208d84e305f0feb49d18dc400bf18c8dda69a2fe723443815239e4c0880cb08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-04T19:35:24.000Z",
      "arch": "x86_64",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "1398237997a5b2a1c2a3758ef05440f723d11d67e8cc39f14bcefa36ca0e6da2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-04T19:31:53.000Z",
      "arch": "aarch64",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "eaa854884d81d2bc7cf8942e80387b2e7d4590c1971cda44e1dac2ac47f712b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-04T19:32:53.000Z",
      "arch": "x86_64",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "45214e507675fc3f4bdca3824eff49cabbb93842c18f7ada842b222c8c770e32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-06-04T19:32:11.000Z",
      "arch": "emscripten",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "500637f82f1263cb70d6f10801e55bdb6e2a0957717593a30950998d49b44709",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-04T19:31:21.000Z",
      "arch": "x86_64",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "f10bf4a5f32a09a974181b48eff094267f263100b21a9e5c74d03489ad8f39b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-04T19:31:18.000Z",
      "arch": "x86_64",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "e694314eecc8f4c5677267f840eb52c50ae61c288c85f6138196395afdfb9d09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-04T19:31:19.000Z",
      "arch": "x86_64",
      "commit": "a2b5cf95d239abd4f311d868307f1d5ea2b681cc",
      "fileid": "7c806d256ef18abbfb0e8a360139478f6f797160097f11e333bff083a8bc5c8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/26974492359"
    }
  ]
}