Learn R Programming

qiitr (version 0.1.1)

qiita_util: Generate Payload And Tag For Qiita API

Description

Generate Payload And Tag For Qiita API

Usage

qiita_util_tag(name, versions = NULL)

qiita_util_payload( body = NULL, title = NULL, tags = NULL, private = NULL, coediting = NULL, gist = NULL, tweet = NULL )

Arguments

name

Tag name

versions

Versions (e.g. 3.1, >3.2).

body

Content body.

title

Title.

tags

Tags. Use qiita_util_tag to generate tag objects.

private

If TRUE, the post will be private.

coediting

If TRUE, the post will be editable by team members.

gist

If TRUE, post the code to Gist.

tweet

If TRUE, notify on Twitter.

Examples

Run this code
# NOT RUN {
qiita_util_tag(name = "R", versions = ">3.1")

qiita_util_payload(body = "foo",
                   title = "test",
                   tags = list(
                     qiita_util_tag(name = "R", versions = ">3.1"),
                     qiita_util_tag(name = "dplyr")
                   ),
                   private = TRUE)

# }

Run the code above in your browser using DataLab