VPSPulse Mirrors

High-Performance Open-Source Archive

README

voucher

R-CMD-check Codecov test coverage pkgdown

{voucher} is an R interface to a Trustdown database as used by vouch, a “community trust management system based on explicit vouches to participate.” This package directly interacts with the vouched file format and doesn’t rely on vouch or Nushell.

From the vouch README:

People must be vouched for before interacting with certain parts of a project (the exact parts are configurable to the project to enforce). People can also be explicitly denounced to block them from interacting with the project.

Read more about why you may want to use vouching in the vouch README.

What voucher provides

Subset of vouch’s behavior:

Installation

# install.packages("pak")
pak::pak("VisruthSK/voucher")

Small workflow

library(voucher)

project <- file.path(tempdir(), "voucher-demo")
dir.create(project, recursive = TRUE)
old <- setwd(project)
on.exit(setwd(old), add = TRUE)

# Initialize vouch files in a temporary project
use_vouch()

add("alice", write = TRUE)
denounce("spammer", reason = "spam", write = TRUE)

# Check status
check(c("alice","spammer"))
# Can also try to check git blame
check(c("alice","spammer"), blame = TRUE)

# Add GitHub Action workflows
vouch_gha(c("check-issue", "check-pr"))

Licensing

Need mirroring services?
Contact our team at info@vpspulse.com.

Mirror powered by VPSpulse

Infrastructure sponsored by VPSPulse & Secure Payments by ArionPay.