{
  "_id": "6a2743c124555f66ed52e261",
  "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",
  "Packaged": {
    "Date": "2026-06-08 22:32:54 UTC",
    "User": "root"
  },
  "Author": "Balasubramanian Narasimhan [aut, cre], Daniel Cederberg [aut,\ncph] (Author of the bundled SparseDiffEngine C library),\nWilliam Zijie Zhang [aut, cph] (Author of the bundled\nSparseDiffEngine C library)",
  "Maintainer": "Balasubramanian Narasimhan <naras@stanford.edu>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-08 19:30:08 UTC",
  "RemoteUrl": "https://github.com/cran/sparsediff",
  "RemoteRef": "HEAD",
  "RemoteSha": "bfb86ec3ace957a320ca323f675174b6985294f9",
  "MD5sum": "6b645c0ac088ad5e4001575cf2cd6417",
  "_user": "cran",
  "_type": "src",
  "_file": "sparsediff_0.4.0.tar.gz",
  "_fileid": "67cad211d96d778b7f166a84f5618a2c131588a07dc8971d4eee5b2ef6d62549",
  "_filesize": 315261,
  "_sha256": "67cad211d96d778b7f166a84f5618a2c131588a07dc8971d4eee5b2ef6d62549",
  "_created": "2026-06-08T22:32:54.000Z",
  "_published": "2026-06-08T22:35:45.424Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80210535008,
      "time": 118,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7494081062"
    },
    {
      "job": 80210535086,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7494081982"
    },
    {
      "job": 80210534988,
      "time": 127,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7494083830"
    },
    {
      "job": 80210534998,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7494081339"
    },
    {
      "job": 80210075867,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7494046046"
    },
    {
      "job": 80210534981,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7494080547"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27171087263",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/sparsediff",
  "_commit": {
    "id": "bfb86ec3ace957a320ca323f675174b6985294f9",
    "author": "Balasubramanian Narasimhan <naras@stanford.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.0\n",
    "time": 1780947008
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4.0",
      "date": "2026-06-08"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bnaras",
      "count": 1,
      "uuid": 3030361
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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/",
  "_searchresults": 3,
  "_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,
  "_releases": [
    {
      "version": "0.4.0",
      "date": "2026-06-08"
    }
  ],
  "_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/cran/sparsediff/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/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-06-08 19:30:08",
      "modified": "2026-06-08 19:30:08",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "sparsediff",
  "_universes": [
    "cran",
    "bnaras"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-08T22:35:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "bfb86ec3ace957a320ca323f675174b6985294f9",
      "fileid": "96fd49ea90ca7ae3fbfdb3f56ca3426c3dfab0122112f1303c60256297c9d901",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27171087263"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-08T22:35:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "bfb86ec3ace957a320ca323f675174b6985294f9",
      "fileid": "9fdb9c8c7b4594cd24758a8410d95418e1f60e2a10747733fd343975c4f4a49b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27171087263"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-08T22:35:13.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "bfb86ec3ace957a320ca323f675174b6985294f9",
      "fileid": "bcbe9bba7cdf1b89c8db610d3ce9770a9467f9c515fd10bdd059362652b38f65",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27171087263"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-08T22:35:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "bfb86ec3ace957a320ca323f675174b6985294f9",
      "fileid": "5c3c900b82a008b1e2daf89dd41eb78e77e93df77dd40cc2235231e86392554d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27171087263"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-06-08T22:35:08.000Z",
      "arch": "emscripten",
      "commit": "bfb86ec3ace957a320ca323f675174b6985294f9",
      "fileid": "7b2dd4cddbb930c04645753973d5d66f74471f2268b707e1655e784b2987d147",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27171087263"
    }
  ]
}