Inserts a link to the lock file

insert_lockfile(
  repo_spec,
  name,
  collection = "posts",
  branch = "master",
  host = "https://github.com",
  text = "R environment"
)

Arguments

repo_spec

Repository specification, formatted as "user/repo_name"

name

The folder in which the article is located

collection

The collection the article belongs to (default = "posts")

branch

Name of the branch to look at

host

Host URL

text

Text to display in the link

Value

A "shiny.tag" object