Skip to content

cookies

Use Browser Cookies with 'shiny'

v0.2.3 · Oct 2, 2023 · MIT + file LICENSE

Description

Browser cookies are name-value pairs that are saved in a user's browser by a website. Cookies allow websites to persist information about the user and their use of the website. Here we provide tools for working with cookies in 'shiny' apps, in part by wrapping the 'js-cookie' JavaScript library <https://github.com/js-cookie/js-cookie>.

Downloads

CRAN

549

Last 30 days

6886th

1.5K

Last 90 days

6.4K

Last year

Trend: +27.1% (30d vs prior 30d)

r2u CRAN

33

Last 30 days

77

Last 90 days

238

Last year

Trend: +200% (30d vs prior 30d)

autoCRAN

9

Last 7 days

23

Last 30 days

4

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,694

Files

56

Compiled share

0%

Has compiled src

No

Language breakdown

R 920 (34.1%)Tests 823 (30.5%)Docs 951 (35.3%)

API

Exported functions

9

Internal functions

21

Recent export changes

v0.2.0+1 get_cookie

Testing & CI

Has tests

Yes

Test-to-code ratio

0.89

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

9.1%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2022-11-01

Latest release

2023-10-02

Avg cadence

41 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.0: 2,130 LOCv0.1.1: 2,130 LOCv0.2.0: 2,228 LOCv0.2.1: 2,378 LOCv0.2.2: 2,596 LOCv0.2.3: 2,694 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (3)

Dependency Network

Dependencies Reverse dependencies cli clock glue htmltools httpuv jsonlite purrr rlang shiny vctrs login metainsight scenes cookies

Version History

7 tracked
new 0.2.3 Mar 10, 2026
updated 0.2.3 ← 0.2.2 diff Oct 1, 2023
updated 0.2.2 ← 0.2.1 diff Mar 14, 2023
updated 0.2.1 ← 0.2.0 diff Jan 9, 2023
updated 0.2.0 ← 0.1.1 diff Nov 29, 2022
updated 0.1.1 ← 0.1.0 diff Oct 31, 2022
new 0.1.0 Oct 31, 2022