Obtain âjQueryâ as an HTML dependency object
Installationjquerylib can be installed with:
install.packages("jquerylib")
Usage
The jquerylib package currently has one function,jquery_core()
, which returns a htmltools::htmlDependency()
object that bundles a stable version of jQuery Core. Here we use it to obtain jQuery 3.x, but currently 2.x and 1.x are also supported. You likely wonât need to use this package directly, but packages like shiny and rmarkdown will eventually use this package to avoid bundling redundant copies jQuery.
jquerylib::jquery_core(3)
## List of 10
## $ name : chr "jquery"
## $ version : chr "3.6.0"
## $ src :List of 1
## ..$ file: chr "lib/3.6.0"
## $ meta : NULL
## $ script : chr "jquery-3.6.0.min.js"
## $ stylesheet: NULL
## $ head : NULL
## $ attachment: NULL
## $ package : chr "jquerylib"
## $ all_files : logi TRUE
## - attr(*, "class")= chr "html_dependency"
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4