{
  "_id": "6b0adc0235d1c7861e976e6d",
  "Package": "shinysnap",
  "Title": "Save and Restore the State of 'shiny' Applications",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Nan\", \"Xiao\", email = \"me@nanx.me\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-0250-5673\"))\n)",
  "Description": "Save the state of applications built with 'shiny', the web\napplication framework by Chang et al. (2026)\n<doi:10.32614/CRAN.package.shiny>. Users can share their work\nand continue it in another session. Input values and selected\nvalues held by the server are saved in JSON (JavaScript Object\nNotation) files that can be read and edited by hand. Saved\nstate can be restored without reloading the page or setting up\nbookmarking. Restoration waits for inputs that appear as the\npage changes and reports which values were restored, missing,\nor could not be applied.",
  "License": "MIT + file LICENSE",
  "URL": "https://nanx.me/shinysnap/, https://github.com/nanxstats/shinysnap",
  "BugReports": "https://github.com/nanxstats/shinysnap/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://nanxstats.r-universe.dev",
  "Date/Publication": "2026-09-29 01:36:16 UTC",
  "RemoteUrl": "https://github.com/nanxstats/shinysnap",
  "RemoteRef": "HEAD",
  "RemoteSha": "9b3037d6253eae1d52247f3e496a2799e6a71333",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-28 13:45:01 UTC",
    "User": "root"
  },
  "Author": "Nan Xiao [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-0250-5673>)",
  "Maintainer": "Nan Xiao <me@nanx.me>",
  "_user": "nanxstats",
  "_type": "src",
  "_file": "shinysnap_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c86aae37435342a15973c08c9ec147998159621c30c2f81c63b2a23e54286b6a",
  "_filesize": 386898,
  "_sha256": "c86aae37435342a15973c08c9ec147998159621c30c2f81c63b2a23e54286b6a",
  "_expires": "2027-03-08T13:49:52.000Z",
  "_created": "2026-11-28T13:45:01.000Z",
  "_published": "2026-11-28T13:49:54.569Z",
  "_upstream": "https://github.com/nanxstats/shinysnap",
  "_status": "success",
  "_maintainer": {
    "name": "Nan Xiao",
    "email": "me@nanx.me",
    "login": "nanxstats",
    "bluesky": "@nanxstats.bsky.social",
    "linkedin": "in/nanxstats",
    "twitter": "@nanxstats",
    "description": "Statistician",
    "uuid": 199363,
    "orcid": "0000-0002-0250-5673"
  },
  "_jobs": [
    {
      "job": 140997959206,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15266146517"
    },
    {
      "job": 140997959202,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15265867809"
    },
    {
      "job": 140997959181,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15265168376"
    },
    {
      "job": 140997959256,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15265588656"
    },
    {
      "job": 140997213604,
      "time": 178,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15265138146"
    },
    {
      "job": 140997959203,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15266091809"
    },
    {
      "job": 140997959209,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15265912546"
    },
    {
      "job": 140997959356,
      "time": 86,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15265578520"
    },
    {
      "job": 140997959185,
      "time": 89,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15265337694"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nanxstats/actions/runs/46150910949",
  "_commit": {
    "id": "9b3037d6253eae1d52247f3e496a2799e6a71333",
    "author": "Nan Xiao <me@nanx.me>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add CRAN badge + CRAN install command (#9)",
    "time": 1790645776
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "htmltools",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "promises",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "version": ">= 1.8.0",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "zmij",
      "role": "Imports"
    },
    {
      "package": "bslib",
      "role": "Suggests"
    },
    {
      "package": "chromote",
      "role": "Suggests"
    },
    {
      "package": "httpuv",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "later",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "shinyMatrix",
      "role": "Suggests"
    },
    {
      "package": "shinytest2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "zip",
      "role": "Suggests"
    }
  ],
  "_owner": "nanxstats",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-38",
      "n": 22
    },
    {
      "week": "2026-40",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-09-18"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "nanxstats",
      "count": 29,
      "uuid": 199363
    }
  ],
  "_userbio": {
    "uuid": 199363,
    "type": "user",
    "name": "Nan Xiao",
    "followers": 824,
    "description": "Statistician"
  },
  "_downloads": {
    "count": 387,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/shinysnap"
  },
  "_devurl": "https://github.com/nanxstats/shinysnap",
  "_pkgdown": "https://nanx.me/shinysnap/",
  "_searchresults": 12,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/shinysnap.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/nanxstats/shinysnap",
  "_realowner": "nanxstats",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-28"
    }
  ],
  "_authors": [
    {
      "name": "Nan Xiao",
      "email": "me@nanx.me",
      "orcid": "0000-0002-0250-5673",
      "role": [
        "aut",
        "cre",
        "cph"
      ]
    }
  ],
  "_exports": [
    "snap_as_bookmark_url",
    "snap_as_test_inputs",
    "snap_attachment",
    "snap_dependency",
    "snap_diff",
    "snap_download_button",
    "snap_download_handler",
    "snap_enable",
    "snap_exclude",
    "snap_file_input",
    "snap_file_restore",
    "snap_include",
    "snap_inputs",
    "snap_is_restoring",
    "snap_meta",
    "snap_on_restore",
    "snap_on_restored",
    "snap_on_save",
    "snap_read",
    "snap_restore",
    "snap_restorer",
    "snap_restorers",
    "snap_serialize",
    "snap_take",
    "snap_track",
    "snap_unserialize",
    "snap_values",
    "snap_write"
  ],
  "_help": [
    {
      "page": "print.shinysnap",
      "title": "Print, format, and coerce snapshots and restore results",
      "topics": [
        "as.list.shinysnap",
        "format.shinysnap",
        "print.shinysnap",
        "print.shinysnap_diff",
        "print.shinysnap_report",
        "print.shinysnap_restore"
      ]
    },
    {
      "page": "snap_as_bookmark_url",
      "title": "Interoperate with bookmarks, tests, and bundles",
      "topics": [
        "snap_as_bookmark_url",
        "snap_as_test_inputs",
        "snap_attachment"
      ]
    },
    {
      "page": "snap_dependency",
      "title": "The client-side script as an HTML dependency",
      "topics": [
        "snap_dependency"
      ]
    },
    {
      "page": "snap_diff",
      "title": "Compare two snapshots",
      "topics": [
        "snap_diff"
      ]
    },
    {
      "page": "snap_download_button",
      "title": "Save-state button and its download handler",
      "topics": [
        "snap_download_button",
        "snap_download_handler"
      ]
    },
    {
      "page": "snap_enable",
      "title": "Configure shinysnap for a session",
      "topics": [
        "snap_enable"
      ]
    },
    {
      "page": "snap_exclude",
      "title": "Exclude or include inputs by pattern",
      "topics": [
        "snap_exclude",
        "snap_include"
      ]
    },
    {
      "page": "snap_file_input",
      "title": "Restore-state upload and its handler",
      "topics": [
        "snap_file_input",
        "snap_file_restore"
      ]
    },
    {
      "page": "snap_inputs",
      "title": "Access the parts of a snapshot",
      "topics": [
        "snap_inputs",
        "snap_meta",
        "snap_values"
      ]
    },
    {
      "page": "snap_is_restoring",
      "title": "Is a restore in flight?",
      "topics": [
        "snap_is_restoring"
      ]
    },
    {
      "page": "snap_on_restore",
      "title": "Register hooks that run around a restore",
      "topics": [
        "snap_on_restore",
        "snap_on_restored"
      ]
    },
    {
      "page": "snap_on_save",
      "title": "Register a hook that runs when a snapshot is taken",
      "topics": [
        "snap_on_save"
      ]
    },
    {
      "page": "snap_restore",
      "title": "Restore a snapshot into the running app",
      "topics": [
        "snap_restore"
      ]
    },
    {
      "page": "snap_restorer",
      "title": "Register how an input is restored",
      "topics": [
        "snap_restorer",
        "snap_restorers"
      ]
    },
    {
      "page": "snap_serialize",
      "title": "Convert a snapshot to and from JSON text",
      "topics": [
        "snap_serialize",
        "snap_unserialize"
      ]
    },
    {
      "page": "snap_take",
      "title": "Take a snapshot of the running app",
      "topics": [
        "snap_take"
      ]
    },
    {
      "page": "snap_track",
      "title": "Track server-side values",
      "topics": [
        "snap_track"
      ]
    },
    {
      "page": "snap_write",
      "title": "Write a snapshot to a file and read it back",
      "topics": [
        "snap_read",
        "snap_write"
      ]
    }
  ],
  "_pkglogo": "https://github.com/nanxstats/shinysnap/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/nanxstats/shinysnap/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "digest",
    "fastmap",
    "fontawesome",
    "fs",
    "glue",
    "htmltools",
    "httpuv",
    "jquerylib",
    "jsonlite",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "promises",
    "R6",
    "rappdirs",
    "Rcpp",
    "rlang",
    "sass",
    "shiny",
    "sourcetools",
    "watcher",
    "withr",
    "xtable",
    "zmij"
  ],
  "_vignettes": [
    {
      "source": "shinysnap.Rmd",
      "filename": "shinysnap.html",
      "title": "Get started with shinysnap",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A minimal app",
        "The file",
        "What gets saved",
        "Replacing your own restore code",
        "Learn more"
      ],
      "created": "2026-09-16 23:46:11",
      "modified": "2026-09-18 07:02:08",
      "commits": 4
    },
    {
      "source": "custom-inputs.Rmd",
      "filename": "custom-inputs.html",
      "title": "Restoring custom inputs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Supported inputs",
        "Writing a restorer",
        "Example: shinyMatrix",
        "Converting messages in JavaScript",
        "Inputs that need more work"
      ],
      "created": "2026-09-17 05:48:22",
      "modified": "2026-09-18 07:02:08",
      "commits": 3
    },
    {
      "source": "dynamic-ui.Rmd",
      "filename": "dynamic-ui.html",
      "title": "Restoring dynamic UI",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why dynamic inputs need special handling",
        "How shinysnap restores inputs",
        "The report",
        "Working with the promise",
        "Reacting during a restore",
        "Notes on timing"
      ],
      "created": "2026-09-17 05:48:22",
      "modified": "2026-09-18 07:02:08",
      "commits": 4
    },
    {
      "source": "migrating-from-bookmarks.Rmd",
      "filename": "migrating-from-bookmarks.html",
      "title": "Snapshots and bookmarks",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What each one does",
        "Using both",
        "Turning a snapshot into a bookmark",
        "Migrating an app"
      ],
      "created": "2026-09-17 05:48:22",
      "modified": "2026-09-18 07:02:08",
      "commits": 3
    },
    {
      "source": "format-spec.Rmd",
      "filename": "format-spec.html",
      "title": "The snapshot file format",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The snapshot object",
        "The JSON file",
        "Encoding rules",
        "Examples",
        "Reading",
        "The bundle (.zip)",
        "The .rds format"
      ],
      "created": "2026-09-17 05:48:22",
      "modified": "2026-09-18 07:02:08",
      "commits": 3
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "shinysnap",
  "_universes": [
    "nanxstats"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-28T13:47:44.000Z",
      "distro": "resolute",
      "commit": "9b3037d6253eae1d52247f3e496a2799e6a71333",
      "fileid": "https://r2.ropensci.org/39d56a243303d95bec77a5296e2de55762f28ec5bb554253bdeb4e73010b756c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/46150910949"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-28T13:47:21.000Z",
      "distro": "resolute",
      "commit": "9b3037d6253eae1d52247f3e496a2799e6a71333",
      "fileid": "https://r2.ropensci.org/21ee0e0688ed05c0658d708b809c7a100eed0ee71c922f179b5383a18f84e01d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/46150910949"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-11-28T13:49:03.000Z",
      "commit": "9b3037d6253eae1d52247f3e496a2799e6a71333",
      "fileid": "https://r2.ropensci.org/f5e9053d83339a96489a1bba1bf4bed85ad99097d1a4e05f3a2626e613481c5e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/46150910949"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-11-28T13:47:45.000Z",
      "commit": "9b3037d6253eae1d52247f3e496a2799e6a71333",
      "fileid": "https://r2.ropensci.org/ab426c5487726d97a90e7cf5de5e7ab00c76c7ae53b6d0fe07cca70cc730feeb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/46150910949"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-11-28T13:47:19.000Z",
      "commit": "9b3037d6253eae1d52247f3e496a2799e6a71333",
      "fileid": "https://r2.ropensci.org/77c6f81ee3bd3c460231a9c4b9c1674d44d98418534ec3a8f1aaec21115b108c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/46150910949"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-28T13:46:14.000Z",
      "commit": "9b3037d6253eae1d52247f3e496a2799e6a71333",
      "fileid": "https://r2.ropensci.org/918185d19caf6c47d648844b9a930425d27a7609700e71d28496f72f8e6e9dde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/46150910949"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-28T13:46:09.000Z",
      "commit": "9b3037d6253eae1d52247f3e496a2799e6a71333",
      "fileid": "https://r2.ropensci.org/7fef6f5219cb597afb108e11b8b54994636dd3baaa381a3e6a24810cf636c853",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/46150910949"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-28T13:46:12.000Z",
      "commit": "9b3037d6253eae1d52247f3e496a2799e6a71333",
      "fileid": "https://r2.ropensci.org/fb8292eddaa6e27884ebaf9f0488394dcf196360fe37eb12f3a1851b89149ecd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/46150910949"
    }
  ]
}