{
  "_id": "6ac6434ef511ae58c09a90e6",
  "Package": "tensorsem",
  "Type": "Package",
  "Title": "Estimate structural equation models using computation graphs",
  "Version": "2.1.0",
  "Author": "Erik-Jan van Kesteren",
  "Maintainer": "Erik-Jan van Kesteren <e.vankesteren1@uu.nl>",
  "Description": "Use lavaan code to create structural equation models, use\ntorch to estimate them. This package provides the interface\nbetween lavaan and torch.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Repository": "https://vankesteren.r-universe.dev",
  "Date/Publication": "2025-09-12 14:11:43 UTC",
  "RemoteUrl": "https://github.com/vankesteren/tensorsem",
  "RemoteRef": "HEAD",
  "RemoteSha": "a07ef48754dd5b3ca84fda68bf5f7d26138d22b5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-07 10:31:33 UTC",
    "User": "root"
  },
  "_user": "vankesteren",
  "_type": "src",
  "_file": "tensorsem_2.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/1bc34b7717be386d2434fc86a6949191bc61d4bac7fc24b2209e9877efb1953a",
  "_filesize": 103074,
  "_sha256": "1bc34b7717be386d2434fc86a6949191bc61d4bac7fc24b2209e9877efb1953a",
  "_expires": "2027-01-15T13:04:12.000Z",
  "_created": "2026-10-07T10:31:33.000Z",
  "_published": "2026-10-07T13:04:14.733Z",
  "_buildurl": "https://github.com/r-universe/vankesteren/actions/runs/37607649430",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112748156417,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11476775197"
    },
    {
      "job": 112748156391,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11474954807"
    },
    {
      "job": 112748156779,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11483328520"
    },
    {
      "job": 112748156380,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11483273811"
    },
    {
      "job": 112747135166,
      "time": 163,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11475533662"
    },
    {
      "job": 112748156474,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11475771760"
    },
    {
      "job": 112748156534,
      "time": 86,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11475354373"
    },
    {
      "job": 112748156535,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11475860838"
    },
    {
      "job": 112748156429,
      "time": 77,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11475538892"
    }
  ],
  "_upstream": "https://github.com/vankesteren/tensorsem",
  "_commit": {
    "id": "a07ef48754dd5b3ca84fda68bf5f7d26138d22b5",
    "author": "Erik-Jan van Kesteren <erikjanvankesteren@pm.me>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add note callout to readme",
    "time": 1757686303
  },
  "_maintainer": {
    "name": "Erik-Jan van Kesteren",
    "email": "e.vankesteren1@uu.nl",
    "login": "vankesteren",
    "mastodon": "@erikjan@fosstodon.org",
    "orcid": "0000-0003-1548-1663",
    "description": "",
    "uuid": 11596858
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "torch",
      "role": "Depends"
    },
    {
      "package": "lavaan",
      "role": "Depends"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "vankesteren",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "computation-graph",
    "lavaan",
    "sem",
    "torch"
  ],
  "_stars": 56,
  "_contributors": [
    {
      "user": "vankesteren",
      "count": 31,
      "uuid": 11596858
    }
  ],
  "_userbio": {
    "uuid": 11596858,
    "type": "user",
    "name": "Erik-Jan van Kesteren",
    "followers": 119
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tensorsem"
  },
  "_devurl": "https://github.com/vankesteren/tensorsem",
  "_searchresults": 9,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tensorsem.html"
  ],
  "_cranurl": false,
  "_exports": [
    "df_to_tensor",
    "lav_mod_to_torch_opts",
    "mvn_negloglik",
    "partable_from_torch",
    "syntax_to_torch_opts",
    "torch_sem",
    "torch_vech"
  ],
  "_help": [
    {
      "page": "df_to_tensor",
      "title": "Prepare data for tensorsem model",
      "topics": [
        "df_to_tensor"
      ]
    },
    {
      "page": "lav_mod_to_torch_opts",
      "title": "Create a torch options list from a lavaan Model class.",
      "topics": [
        "lav_mod_to_torch_opts"
      ]
    },
    {
      "page": "mvn_negloglik",
      "title": "Multivariate normal negative log-likelihood loss function for tensorsem nn module.",
      "topics": [
        "mvn_negloglik"
      ]
    },
    {
      "page": "partable_from_torch",
      "title": "Create a lavaan parameter table from torch free_params output",
      "topics": [
        "partable_from_torch"
      ]
    },
    {
      "page": "sem_fitfun",
      "title": "SEM fitting function",
      "topics": [
        "sem_fitfun"
      ]
    },
    {
      "page": "syntax_to_torch_opts",
      "title": "Create a torch options list from lavaan syntax.",
      "topics": [
        "syntax_to_torch_opts"
      ]
    },
    {
      "page": "torch_jacobian",
      "title": "Compute jacobian of output wrt input tensor",
      "topics": [
        "torch_jacobian"
      ]
    },
    {
      "page": "torch_sem",
      "title": "Structural equation model with a Torch backend",
      "topics": [
        "torch_sem"
      ]
    },
    {
      "page": "torch_vech",
      "title": "Half-vectorization of square matrices",
      "topics": [
        "torch_vech"
      ]
    },
    {
      "page": "vech_dup_idx",
      "title": "Constructs index vector for transforming a vech vector into a vec vector to create an n*n symmetric matrix from the vech vector. tensor$index_select(0, idx)$view(3,3)",
      "topics": [
        "vech_dup_idx"
      ]
    }
  ],
  "_readme": "https://github.com/vankesteren/tensorsem/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "callr",
    "cli",
    "coro",
    "desc",
    "farver",
    "glue",
    "jsonlite",
    "labeling",
    "lavaan",
    "lifecycle",
    "magrittr",
    "MASS",
    "mnormt",
    "numDeriv",
    "otel",
    "pbivnorm",
    "processx",
    "ps",
    "quadprog",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "safetensors",
    "scales",
    "torch",
    "viridisLite",
    "withr"
  ],
  "_score": 3.4471580313422194,
  "_indexed": true,
  "_nocasepkg": "tensorsem",
  "_universes": [
    "vankesteren"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-10-07T10:33:33.000Z",
      "distro": "resolute",
      "commit": "a07ef48754dd5b3ca84fda68bf5f7d26138d22b5",
      "fileid": "https://r2.ropensci.org/5d91fe543ca6812ee9939dc1bc228d91cc228b09755b6dfb368c49a3d5a9c1e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vankesteren/actions/runs/37607649430"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-10-07T10:33:30.000Z",
      "distro": "resolute",
      "commit": "a07ef48754dd5b3ca84fda68bf5f7d26138d22b5",
      "fileid": "https://r2.ropensci.org/3ef1ef01e541fd9683482c7058c1d2adcf96d6729dd337e36a4ee27f83a70e8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vankesteren/actions/runs/37607649430"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-10-07T13:03:15.000Z",
      "commit": "a07ef48754dd5b3ca84fda68bf5f7d26138d22b5",
      "fileid": "https://r2.ropensci.org/541bce2ebd572234c6811dd9673db98a0d43ce6902211cd37f9534d534d36c8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vankesteren/actions/runs/37607649430"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-10-07T12:58:02.000Z",
      "commit": "a07ef48754dd5b3ca84fda68bf5f7d26138d22b5",
      "fileid": "https://r2.ropensci.org/b46c50af6d627e28e6f8aa9757e573926696ad55487748162bb8b627e2b6cce8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vankesteren/actions/runs/37607649430"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0",
      "date": "2026-10-07T10:33:38.000Z",
      "commit": "a07ef48754dd5b3ca84fda68bf5f7d26138d22b5",
      "fileid": "https://r2.ropensci.org/2984bb093d8ae07d7d1fd2b5eba3d5aee17308368c3c19775a39c5347ebb28e5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/vankesteren/actions/runs/37607649430"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-07T10:32:53.000Z",
      "commit": "a07ef48754dd5b3ca84fda68bf5f7d26138d22b5",
      "fileid": "https://r2.ropensci.org/2f2b7cca0c499162f9f0f6988c535d109f4b61bc38b2865b8c1d969bd9a01eec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vankesteren/actions/runs/37607649430"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-07T10:32:45.000Z",
      "commit": "a07ef48754dd5b3ca84fda68bf5f7d26138d22b5",
      "fileid": "https://r2.ropensci.org/bfac787236c714412c6fc90304e40e6b3477d6c6a52da27a8e04f0bd36077fa1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vankesteren/actions/runs/37607649430"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-07T10:32:43.000Z",
      "commit": "a07ef48754dd5b3ca84fda68bf5f7d26138d22b5",
      "fileid": "https://r2.ropensci.org/d90e954c969956e5bcc57b9285fd0ec6aafeae60f384692ae49bf3846693748a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vankesteren/actions/runs/37607649430"
    }
  ]
}