{
  "_id": "6b137f9b5a51d72bd77d8f6a",
  "Package": "sltree",
  "Type": "Package",
  "Title": "Structure Learning for Semiparametric/Latent Tree Models",
  "Version": "0.1.1",
  "Authors@R": "c(\nperson(\"Can\", \"Zhou\", email = \"zhouc@nau.edu.cn\", role = c(\"aut\", \"cre\")),\nperson(\"Shuai\", \"Wang\", email = \"wangshuai2@usth.edu.cn\", role = \"aut\"),\nperson(\"Xiaofei\", \"Wang\", email = \"wangxf341@nenu.edu.cn\", role = \"aut\"),\nperson(\"Jianhua\", \"Guo\", email = \"jhguo@btbu.edu.cn\", role = \"aut\"),\nperson(given = \"Key Program of the National Natural Science Foundation of China\",\nrole = \"fnd\", comment = c(\"Grant No. 12431009\")),\nperson(given = \"National Natural Science Foundation of China\",\nrole = \"fnd\", comment = c(\"Grant No. 12171076, 12226003, 12601508\")),\nperson(given = \"National Key Research and Development Program of China\",\nrole = \"fnd\", comment = \"Grant No. 2020YFA0714100\"),\nperson(given = \"Basic Research Program of Jiangsu\", role = \"fnd\",\ncomment = \"Grant No. BK20230439\"),\nperson(\"Alan\", \"Genz\", role = c(\"ctb\", \"cph\"), comment = \"TVPACK BVND\"),\nperson(\"R Core Team\", role = \"cph\", comment = \"Brent_fmin\"),\nperson(\"Mingze\", \"Huang\", role = c(\"ctb\", \"cph\"), comment = \"latentcor\"),\nperson(\"Grace\", \"Yoon\", role = c(\"ctb\", \"cph\"), comment = \"latentcor\"),\nperson(\"Christian\", \"Müller\", role = c(\"ctb\", \"cph\"), comment = \"latentcor\"),\nperson(\"Irina\", \"Gaynanova\", role = c(\"ctb\", \"cph\"), comment = \"latentcor\"))",
  "Description": "Learns the structure of Gaussian latent tree models\n(LTMs), discrete LTMs, parametric mixed LTMs, and\nsemiparametric tree models using information distances and a\nbottom-up tree reconstruction algorithm. Gaussian models and\nparametric mixed models with binary and conditionally Gaussian\nvariables use Pearson-correlation-based distances. Discrete\nmodels use determinant-based distances and require the same\nnumber of observed states across variables. Semiparametric\nmodels accommodate continuous, binary, and ordinal variables,\nwith latent correlations estimated under a Gaussian copula\nmodel using Kendall's tau and bridge functions. Utilities are\nprovided for data simulation, tree visualization and export,\nand topology comparison using the Robinson-Foulds distance. The\nsemiparametric framework allowing observed internal nodes is\ndescribed in Zhou et al. (2026)\n<doi:10.1016/j.artint.2026.104499>. Earlier structure-learning\nmethods assuming that all observed variables are leaf nodes are\ndescribed for discrete models in Wang et al. (2017)\n<doi:10.4310/SII.2017.v10.n4.a11> and for parametric mixed\nmodels in Zhou et al. (2020)\n<https://jmlr.org/papers/v21/20-365.html>.",
  "License": "GPL-3",
  "Copyright": "See the file inst/COPYRIGHTS.",
  "Encoding": "UTF-8",
  "Collate": "'RcppExports.R' 'data_generation.R' 'information_distance.R'\n'learn.R' 'ltree_accessors.R' 'ltree_export.R' 'ltree_plot.R'\n'ltree_state.R' 'preset_models.R' 'sls_internal.R' 'sls.R'\n'sltree-package.R' 'tree_structure.R'",
  "NeedsCompilation": "yes",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.1.1",
  "Packaged": {
    "Date": "2026-12-05 02:58:47 UTC",
    "User": "root"
  },
  "Author": "Can Zhou [aut, cre], Shuai Wang [aut], Xiaofei Wang [aut],\nJianhua Guo [aut], Key Program of the National Natural Science\nFoundation of China [fnd] (Grant No. 12431009), National\nNatural Science Foundation of China [fnd] (Grant No. 12171076,\n12226003, 12601508), National Key Research and Development\nProgram of China [fnd] (Grant No. 2020YFA0714100), Basic\nResearch Program of Jiangsu [fnd] (Grant No. BK20230439), Alan\nGenz [ctb, cph] (TVPACK BVND), R Core Team [cph] (Brent_fmin),\nMingze Huang [ctb, cph] (latentcor), Grace Yoon [ctb, cph]\n(latentcor), Christian Müller [ctb, cph] (latentcor), Irina\nGaynanova [ctb, cph] (latentcor)",
  "Maintainer": "Can Zhou <zhouc@nau.edu.cn>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-12-04 18:10:57 UTC",
  "RemoteUrl": "https://github.com/cran/sltree",
  "RemoteRef": "HEAD",
  "RemoteSha": "ced89e2d7436722fdb4397020164de3a7f9c87f5",
  "_user": "cran",
  "_type": "src",
  "_file": "sltree_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/6b5e20c671ace7fa76e4b1336314806bd385715eebfae9f3a6955b1a7d1e4aa7",
  "_filesize": 428266,
  "_sha256": "6b5e20c671ace7fa76e4b1336314806bd385715eebfae9f3a6955b1a7d1e4aa7",
  "_expires": "2027-03-15T03:06:01.000Z",
  "_created": "2026-12-05T02:58:47.000Z",
  "_published": "2026-12-05T03:06:03.531Z",
  "_upstream": "https://github.com/cran/sltree",
  "_status": "success",
  "_maintainer": {
    "name": "Can Zhou",
    "email": "zhouc@nau.edu.cn",
    "login": "zhouc-nau",
    "description": "",
    "uuid": 347875100
  },
  "_jobs": [
    {
      "job": 145518202357,
      "time": 127,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15910944070"
    },
    {
      "job": 145518202342,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15910759443"
    },
    {
      "job": 145518202396,
      "time": 133,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15911377021"
    },
    {
      "job": 145518202435,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15911702529"
    },
    {
      "job": 145517130069,
      "time": 216,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15910903731"
    },
    {
      "job": 145518202367,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15911481713"
    },
    {
      "job": 145518202453,
      "time": 379,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15910964524"
    },
    {
      "job": 145518202446,
      "time": 188,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15912016675"
    },
    {
      "job": 145518202428,
      "time": 388,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15911658420"
    },
    {
      "job": 145518202409,
      "time": 107,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15912000659"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/47470301766",
  "_commit": {
    "id": "ced89e2d7436722fdb4397020164de3a7f9c87f5",
    "author": "Can Zhou <zhouc@nau.edu.cn>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.1\n",
    "time": 1796407857
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "version": ">= 1.2.5",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "pcaPP",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "pcalg",
      "role": "Suggests"
    },
    {
      "package": "graph",
      "role": "Suggests"
    },
    {
      "package": "visNetwork",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-49",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.1",
      "date": "2026-12-04"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "zhouc-nau",
      "count": 1,
      "uuid": 347875100
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sltree"
  },
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "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.2",
  "_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/sltree.html"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-12-04"
    }
  ],
  "_authors": [
    {
      "name": "Can Zhou",
      "email": "zhouc@nau.edu.cn",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "Shuai Wang",
      "email": "wangshuai2@usth.edu.cn",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Xiaofei Wang",
      "email": "wangxf341@nenu.edu.cn",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Jianhua Guo",
      "email": "jhguo@btbu.edu.cn",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Key Program of the National Natural Science Foundation of China",
      "role": [
        "fnd"
      ]
    },
    {
      "name": "National Natural Science Foundation of China",
      "role": [
        "fnd"
      ]
    },
    {
      "name": "National Key Research and Development Program of China",
      "role": [
        "fnd"
      ]
    },
    {
      "name": "Basic Research Program of Jiangsu",
      "role": [
        "fnd"
      ]
    },
    {
      "name": "Alan Genz",
      "role": [
        "ctb",
        "cph"
      ]
    },
    {
      "name": "R Core Team",
      "role": [
        "cph"
      ]
    },
    {
      "name": "Mingze Huang",
      "role": [
        "ctb",
        "cph"
      ]
    },
    {
      "name": "Grace Yoon",
      "role": [
        "ctb",
        "cph"
      ]
    },
    {
      "name": "Christian Müller",
      "role": [
        "ctb",
        "cph"
      ]
    },
    {
      "name": "Irina Gaynanova",
      "role": [
        "ctb",
        "cph"
      ]
    }
  ],
  "_exports": [
    "edges_from_ltree",
    "generate_latent_tree",
    "infer_variable_types",
    "information_distance",
    "is_ltree",
    "latent_correlation",
    "latent_tree_models",
    "learn_sltree",
    "ltree_from_edge",
    "robinson_foulds_distance",
    "save_ltree",
    "simulate_ltree_data",
    "sls",
    "vertices_from_ltree",
    "view_ltree"
  ],
  "_help": [
    {
      "page": "edges_from_ltree",
      "title": "Extract Edges and Vertices from a Latent Tree",
      "topics": [
        "edges_from_ltree",
        "vertices_from_ltree"
      ]
    },
    {
      "page": "generate_latent_tree",
      "title": "Randomly generate a mixed latent tree structure",
      "topics": [
        "generate_latent_tree"
      ]
    },
    {
      "page": "infer_variable_types",
      "title": "Infer Variable Types in a Dataset",
      "topics": [
        "infer_variable_types"
      ]
    },
    {
      "page": "information_distance",
      "title": "Computing information distance.",
      "topics": [
        "information_distance"
      ]
    },
    {
      "page": "is_ltree",
      "title": "Is this object an ltree latent tree?",
      "topics": [
        "is_ltree"
      ]
    },
    {
      "page": "latent_correlation",
      "title": "Latent correlation matrix for mixed data",
      "topics": [
        "latent_correlation"
      ]
    },
    {
      "page": "latent_tree_models",
      "title": "Preset latent tree models",
      "topics": [
        "latent_tree_models"
      ]
    },
    {
      "page": "learn_sltree",
      "title": "Learn a latent tree under one of four statistical models",
      "topics": [
        "learn_sltree"
      ]
    },
    {
      "page": "ltree_from_edge",
      "title": "Create a Latent Tree Object from Edge Set",
      "topics": [
        "ltree_from_edge"
      ]
    },
    {
      "page": "plot.ltree",
      "title": "Plot a latent tree",
      "topics": [
        "plot.ltree"
      ]
    },
    {
      "page": "print.ltree",
      "title": "Print a latent tree",
      "topics": [
        "print.ltree"
      ]
    },
    {
      "page": "robinson_foulds_distance",
      "title": "Compute Robinson-Foulds (rf) Distance Between Two Latent Trees",
      "topics": [
        "robinson_foulds_distance"
      ]
    },
    {
      "page": "save_ltree",
      "title": "Save a latent tree to HTML, EPS and/or PNG",
      "topics": [
        "save_ltree"
      ]
    },
    {
      "page": "simulate_ltree_data",
      "title": "Generate mixed observed data from a given latent tree",
      "topics": [
        "simulate_ltree_data"
      ]
    },
    {
      "page": "sls",
      "title": "Structure learning for semi-parametric latent trees",
      "topics": [
        "sls"
      ]
    },
    {
      "page": "view_ltree",
      "title": "View a latent tree",
      "topics": [
        "view_ltree"
      ]
    }
  ],
  "_readme": "https://github.com/cran/sltree/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mvtnorm",
    "pcaPP",
    "pkgconfig",
    "Rcpp",
    "rlang",
    "vctrs"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "sltree-intro.Rmd",
      "filename": "sltree-intro.html",
      "title": "Introduction to sltree",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. A true tree",
        "2. Simulating data",
        "3. Learning the tree",
        "4. Comparing with the true tree",
        "5. Observed internal nodes"
      ],
      "created": "2026-12-04 18:10:57",
      "modified": "2026-12-04 18:10:57",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "sltree",
  "_universes": [
    "cran",
    "zhouc-nau"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-12-05T03:00:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ced89e2d7436722fdb4397020164de3a7f9c87f5",
      "fileid": "https://r2.ropensci.org/e48ea1f65f8312dde95921a28ff2d6d23c0217ee5fe0158f2158adfd723867d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47470301766"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-12-05T03:01:18.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ced89e2d7436722fdb4397020164de3a7f9c87f5",
      "fileid": "https://r2.ropensci.org/55fff942e3c5678d9b453924bb82b4df2bac0338a83e15f5a8669ddd6cebf25b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47470301766"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-12-05T03:00:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ced89e2d7436722fdb4397020164de3a7f9c87f5",
      "fileid": "https://r2.ropensci.org/b89e5b11bbbc7c6192161163f2a3a74b454f0d1e7f7ec1fb1fa0e27738a30eb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47470301766"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-12-05T03:01:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ced89e2d7436722fdb4397020164de3a7f9c87f5",
      "fileid": "https://r2.ropensci.org/fa9bb98610687b1664f65e66f8217e9ecbf0357528a7d7b694ce79714fd3634a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47470301766"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-12-05T03:01:15.000Z",
      "arch": "emscripten",
      "commit": "ced89e2d7436722fdb4397020164de3a7f9c87f5",
      "fileid": "https://r2.ropensci.org/0e36947e12460780c4cc3d8e9bdc84a6cd8f10895feb1687e1492eaea9f83b23",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47470301766"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-12-05T03:04:49.000Z",
      "arch": "aarch64",
      "commit": "ced89e2d7436722fdb4397020164de3a7f9c87f5",
      "fileid": "https://r2.ropensci.org/9d55ed00b329bbb34af5814c98c2768b6c5267e8b05a0e84d795c845502eb3d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47470301766"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-12-05T03:00:42.000Z",
      "arch": "x86_64",
      "commit": "ced89e2d7436722fdb4397020164de3a7f9c87f5",
      "fileid": "https://r2.ropensci.org/3ca1d3afa5ac973d8824d7b3fb12b7036fbaaf3cb984f0756f74b7b0e4b54ba6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47470301766"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-12-05T03:04:58.000Z",
      "arch": "aarch64",
      "commit": "ced89e2d7436722fdb4397020164de3a7f9c87f5",
      "fileid": "https://r2.ropensci.org/f4e0549acd946b696159a4e22197fb11b33738ac2f05f5ee817188d1536d2137",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47470301766"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-12-05T03:00:16.000Z",
      "arch": "x86_64",
      "commit": "ced89e2d7436722fdb4397020164de3a7f9c87f5",
      "fileid": "https://r2.ropensci.org/04318620c5314d72627e60bba1d34ae32a1cf095172f70556d890e55975ec5e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47470301766"
    }
  ]
}