{
  "_id": "6a5498e6ff0138dec5d6589c",
  "Package": "shinyjs",
  "Title": "Easily Improve the User Experience of Your Shiny Apps in Seconds",
  "Version": "2.1.0.9012",
  "Authors@R": "person(\"Dean\", \"Attali\", \nemail = \"daattali@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment= c(ORCID=\"0000-0002-5645-3493\"))",
  "Description": "Perform common useful JavaScript operations in Shiny apps\nthat will greatly improve your apps without having to know any\nJavaScript. Examples include: hiding an element, disabling an\ninput, resetting an input back to its original value, delaying\ncode execution by a few seconds, and many more useful functions\nfor both the end user and the developer. 'shinyjs' can also be\nused to easily call your own custom JavaScript functions from\nR.",
  "URL": "https://deanattali.com/shinyjs/,\nhttps://github.com/daattali/shinyjs",
  "BugReports": "https://github.com/daattali/shinyjs/issues",
  "License": "MIT + file LICENSE",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://daattali.r-universe.dev",
  "Date/Publication": "2025-10-16 22:57:20 UTC",
  "RemoteUrl": "https://github.com/daattali/shinyjs",
  "RemoteRef": "HEAD",
  "RemoteSha": "e2f9fea75816568e3947ececec6698012f40fd6b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-13 07:47:55 UTC",
    "User": "root"
  },
  "Author": "Dean Attali [aut, cre] (ORCID: <https://orcid.org/0000-0002-5645-3493>)",
  "Maintainer": "Dean Attali <daattali@gmail.com>",
  "_user": "daattali",
  "_type": "src",
  "_file": "shinyjs_2.1.0.9012.tar.gz",
  "_fileid": "https://r2.ropensci.org/2fa65adf72ac412f829130198dbe5d0b949af25b3bf4e0a37c447c4eb255ed1c",
  "_filesize": 1176829,
  "_sha256": "2fa65adf72ac412f829130198dbe5d0b949af25b3bf4e0a37c447c4eb255ed1c",
  "_expires": "2026-10-21T07:51:00.000Z",
  "_created": "2026-07-13T07:47:55.000Z",
  "_published": "2026-07-13T07:51:02.788Z",
  "_jobs": [
    {
      "job": 86762000874,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8272403015"
    },
    {
      "job": 86762000896,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8272403041"
    },
    {
      "job": 86762000847,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8272381615"
    },
    {
      "job": 86762000826,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8272393653"
    },
    {
      "job": 86761496655,
      "time": 169,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8272352199"
    },
    {
      "job": 86762000850,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8272393142"
    },
    {
      "job": 86762000893,
      "time": 81,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8272380369"
    },
    {
      "job": 86762000860,
      "time": 87,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8272382180"
    },
    {
      "job": 86762000897,
      "time": 84,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8272381500"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/daattali/actions/runs/29233074875",
  "_status": "success",
  "_upstream": "https://github.com/daattali/shinyjs",
  "_commit": {
    "id": "e2f9fea75816568e3947ececec6698012f40fd6b",
    "author": "Dean Attali <daattali@gmail.com>",
    "committer": "Dean Attali <daattali@gmail.com>",
    "message": "fix CRAN issues in README about URL redirections\n",
    "time": 1760655440
  },
  "_maintainer": {
    "name": "Dean Attali",
    "email": "daattali@gmail.com",
    "login": "daattali",
    "orcid": "0000-0002-5645-3493",
    "twitter": "@daattali",
    "description": "Founder & Lead R-Shiny consultant @ AttaliTech Ltd. Passionate about writing open source tools. Extreme traveller.",
    "uuid": 952340
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "version": ">= 0.3.5",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.7",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "shinyAce",
      "role": "Suggests"
    },
    {
      "package": "shinydisconnect",
      "role": "Suggests"
    },
    {
      "package": "shinytest2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 0.9.1",
      "role": "Suggests"
    }
  ],
  "_owner": "daattali",
  "_selfowned": true,
  "_usedby": 466,
  "_updates": [
    {
      "week": "2025-33",
      "n": 2
    },
    {
      "week": "2025-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "javascript",
    "shiny",
    "shiny-r"
  ],
  "_stars": 752,
  "_contributors": [
    {
      "user": "daattali",
      "count": 575,
      "uuid": 952340
    },
    {
      "user": "davidbarke",
      "count": 2,
      "uuid": 36515290
    },
    {
      "user": "warnes",
      "count": 1,
      "uuid": 6144863
    },
    {
      "user": "assignuser",
      "count": 1,
      "uuid": 16141871
    },
    {
      "user": "jimhester",
      "count": 1,
      "uuid": 205275
    },
    {
      "user": "m7pr",
      "count": 1,
      "uuid": 133694481
    },
    {
      "user": "mjhelf",
      "count": 1,
      "uuid": 28405692
    },
    {
      "user": "oganm",
      "count": 1,
      "uuid": 6352379
    },
    {
      "user": "riccardoporreca",
      "count": 1,
      "uuid": 13663564
    },
    {
      "user": "shabbychef",
      "count": 1,
      "uuid": 1456159
    },
    {
      "user": "deeflorian",
      "count": 1,
      "uuid": 5788853
    }
  ],
  "_userbio": {
    "uuid": 952340,
    "type": "user",
    "name": "Dean Attali",
    "followers": 2233,
    "description": "Founder & Lead R-Shiny consultant @ AttaliTech Ltd. Passionate about writing open source tools. Extreme traveller."
  },
  "_downloads": {
    "count": 498701,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/shinyjs"
  },
  "_mentions": 15,
  "_devurl": "https://github.com/daattali/shinyjs",
  "_searchresults": 11360,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/shinyjs.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/daattali/shinyjs",
  "_realowner": "daattali",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.3.3",
      "date": "2015-04-22"
    },
    {
      "version": "0.0.6.0",
      "date": "2015-05-26"
    },
    {
      "version": "0.0.6.2",
      "date": "2015-05-29"
    },
    {
      "version": "0.0.7.0",
      "date": "2015-06-24"
    },
    {
      "version": "0.0.8.3",
      "date": "2015-07-31"
    },
    {
      "version": "0.1.0",
      "date": "2015-08-13"
    },
    {
      "version": "0.2.0",
      "date": "2015-09-06"
    },
    {
      "version": "0.2.3",
      "date": "2015-11-08"
    },
    {
      "version": "0.3.0",
      "date": "2015-12-30"
    },
    {
      "version": "0.3.1",
      "date": "2016-01-06"
    },
    {
      "version": "0.4.0",
      "date": "2016-01-21"
    },
    {
      "version": "0.5.0",
      "date": "2016-03-19"
    },
    {
      "version": "0.5.2",
      "date": "2016-03-27"
    },
    {
      "version": "0.6",
      "date": "2016-04-25"
    },
    {
      "version": "0.7",
      "date": "2016-08-21"
    },
    {
      "version": "0.8",
      "date": "2016-11-03"
    },
    {
      "version": "0.9",
      "date": "2016-12-26"
    },
    {
      "version": "0.9.1",
      "date": "2017-06-29"
    },
    {
      "version": "1.0",
      "date": "2018-01-08"
    },
    {
      "version": "1.1",
      "date": "2020-01-13"
    },
    {
      "version": "2.0.0",
      "date": "2020-09-09"
    },
    {
      "version": "2.1.0",
      "date": "2021-12-23"
    },
    {
      "version": "2.1.1",
      "date": "2026-01-15"
    }
  ],
  "_exports": [
    "addClass",
    "addCssClass",
    "alert",
    "click",
    "delay",
    "disable",
    "disabled",
    "enable",
    "extendShinyjs",
    "hidden",
    "hide",
    "hideElement",
    "html",
    "info",
    "inlineCSS",
    "js",
    "logjs",
    "onclick",
    "onevent",
    "refresh",
    "removeClass",
    "removeCssClass",
    "removeEvent",
    "reset",
    "runcode",
    "runcodeServer",
    "runcodeUI",
    "runExample",
    "runjs",
    "show",
    "showElement",
    "showLog",
    "toggle",
    "toggleClass",
    "toggleCssClass",
    "toggleElement",
    "toggleState",
    "useShinyjs"
  ],
  "_help": [
    {
      "page": "classFuncs",
      "title": "Add/remove CSS class",
      "topics": [
        "addClass",
        "addCssClass",
        "classFuncs",
        "removeClass",
        "removeCssClass",
        "toggleClass",
        "toggleCssClass"
      ]
    },
    {
      "page": "click",
      "title": "Click on a Shiny button",
      "topics": [
        "click"
      ]
    },
    {
      "page": "delay",
      "title": "Execute R code after a specified number of milliseconds has elapsed",
      "topics": [
        "delay"
      ]
    },
    {
      "page": "disabled",
      "title": "Initialize a Shiny input as disabled",
      "topics": [
        "disabled"
      ]
    },
    {
      "page": "extendShinyjs",
      "title": "Extend shinyjs by calling your own JavaScript functions",
      "topics": [
        "extendShinyjs"
      ]
    },
    {
      "page": "hidden",
      "title": "Initialize a Shiny tag as hidden",
      "topics": [
        "hidden"
      ]
    },
    {
      "page": "html",
      "title": "Change the HTML (or text) inside an element",
      "topics": [
        "html"
      ]
    },
    {
      "page": "inlineCSS",
      "title": "Add inline CSS",
      "topics": [
        "inlineCSS"
      ]
    },
    {
      "page": "messageFuncs",
      "title": "Show a message",
      "topics": [
        "alert",
        "info",
        "logjs",
        "messageFuncs"
      ]
    },
    {
      "page": "onevent",
      "title": "Run R code when an event is triggered on an element",
      "topics": [
        "onclick",
        "onevent"
      ]
    },
    {
      "page": "refresh",
      "title": "Refresh the page",
      "topics": [
        "refresh"
      ]
    },
    {
      "page": "removeEvent",
      "title": "Remove an event that was added to an element",
      "topics": [
        "removeEvent"
      ]
    },
    {
      "page": "reset",
      "title": "Reset input elements to their original values",
      "topics": [
        "reset"
      ]
    },
    {
      "page": "runcode",
      "title": "Construct to let you run arbitrary R code live in a Shiny app",
      "topics": [
        "runcode"
      ]
    },
    {
      "page": "runcodeServer",
      "title": "Deprecated - use 'runcode()' instead",
      "topics": [
        "runcodeServer"
      ]
    },
    {
      "page": "runcodeUI",
      "title": "Deprecated - use 'runcode()' instead",
      "topics": [
        "runcodeUI"
      ]
    },
    {
      "page": "runExample",
      "title": "Run shinyjs examples [DEPRECATED]",
      "topics": [
        "runExample"
      ]
    },
    {
      "page": "runjs",
      "title": "Run JavaScript code",
      "topics": [
        "runjs"
      ]
    },
    {
      "page": "shinyjs-defunct",
      "title": "Defunct functions in shinyjs",
      "topics": [
        "shinyjs-defunct"
      ]
    },
    {
      "page": "showLog",
      "title": "Print any JavaScript console.log messages in the R console",
      "topics": [
        "showLog"
      ]
    },
    {
      "page": "stateFuncs",
      "title": "Enable/disable an input element",
      "topics": [
        "disable",
        "enable",
        "stateFuncs",
        "toggleState"
      ]
    },
    {
      "page": "useShinyjs",
      "title": "Set up a Shiny app to use shinyjs",
      "topics": [
        "useShinyjs"
      ]
    },
    {
      "page": "visibilityFuncs",
      "title": "Display/hide an element",
      "topics": [
        "hide",
        "hideElement",
        "show",
        "showElement",
        "toggle",
        "toggleElement",
        "visibilityFuncs"
      ]
    }
  ],
  "_readme": "https://github.com/daattali/shinyjs/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",
    "withr",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "shinyjs-extend.Rmd",
      "filename": "shinyjs-extend.html",
      "title": "extendShinyjs: Calling your own JavaScript functions from R",
      "author": "Dean Attali",
      "engine": "knitr::rmarkdown",
      "headings": [
        "extendShinyjs: Calling your own JavaScript functions from R"
      ],
      "created": "2016-11-03 16:43:58",
      "modified": "2020-08-20 22:05:22",
      "commits": 6
    },
    {
      "source": "shinyjs-usage.Rmd",
      "filename": "shinyjs-usage.html",
      "title": "Including shinyjs in different types of apps",
      "author": "Dean Attali",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Including shinyjs in different types of apps",
        "Table of contents"
      ],
      "created": "2016-11-03 16:43:58",
      "modified": "2025-04-07 06:55:02",
      "commits": 22
    },
    {
      "source": "shinyjs-example.Rmd",
      "filename": "shinyjs-example.html",
      "title": "shinyjs example app walk-through",
      "author": "Dean Attali",
      "engine": "knitr::rmarkdown",
      "headings": [
        "shinyjs example app walk-through",
        "Add shinyjs features",
        "Final code"
      ],
      "created": "2016-11-03 16:43:58",
      "modified": "2020-08-27 07:21:04",
      "commits": 3
    }
  ],
  "_score": 18.25206483716664,
  "_indexed": true,
  "_nocasepkg": "shinyjs",
  "_universes": [
    "daattali"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0.9012",
      "date": "2026-07-13T07:50:18.000Z",
      "distro": "resolute",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "https://r2.ropensci.org/27f777b5dd0c4b1ea20b8f8418f31652d6e2feb537306ec5764b3a40c3d99dbc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/29233074875"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0.9012",
      "date": "2026-07-13T07:50:17.000Z",
      "distro": "resolute",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "https://r2.ropensci.org/9ab8061ba7c042c3d1ca1a16d2efa7f801f833d152e89cce26f82ecf250a776d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/29233074875"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0.9012",
      "date": "2026-07-13T07:49:23.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "https://r2.ropensci.org/bc85417b0bc27a4b90d45a218f2833e70d0dc0d862e15112b214393e9c2083d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/29233074875"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.0.9012",
      "date": "2026-07-13T07:49:47.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "https://r2.ropensci.org/f4804f53fce7082bc989e6f49ae7f2b0e9cd7ac0adea32169c934b411eea90d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/29233074875"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0.9012",
      "date": "2026-07-13T07:50:08.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "https://r2.ropensci.org/ab50e4ec4f3ec19b154ff05a56d8a034829f5a2047bd97a71842ee771b1ee76b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/29233074875"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0.9012",
      "date": "2026-07-13T07:49:07.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "https://r2.ropensci.org/50c1ffd7141b317ea606638e15bf73540ac6bb5901ed90a44ed1b04b42133095",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/29233074875"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0.9012",
      "date": "2026-07-13T07:49:11.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "https://r2.ropensci.org/32c574e01d3f1da48203380c854be48fbe791699f88b7bdd04c1cd90895f47f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/29233074875"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0.9012",
      "date": "2026-07-13T07:49:08.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "https://r2.ropensci.org/60a5e4b0ce03bbe9199e3c70e20b6d24cdc6965b4ec3d7a059b044ad2c7d95cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/29233074875"
    }
  ]
}