qr_js_src_update: Update the JS source for 'jsQR' from the upstream repo.

View source: R/js_helpers.R

qr_js_src_updateR Documentation

Update the JS source for jsQR from the upstream repo.

Description

Changes the options setting to a new version of the JS source code, as determined from the canonical repository on GitHub. If you wish to modify the JS source yourself or download from another URL, you can instead call options(list("quadrangle.js_src" = your_local_file_path))

Usage

qr_js_src_update(local_path = getwd(), reset = FALSE)

Arguments

local_path

The working folder to save the new version of the jsQR library.

reset

Reverts to the included version if problems arise.

Value

The path to a new version of the jsQR library.


brianwdavis/quadrangle documentation built on Feb. 27, 2023, 6:36 p.m.