easy_delete: Delete a file

Description Usage Arguments Examples

Description

Delete a file

Usage

1
easy_delete(repo, path, message, branch = "master", ...)

Arguments

repo

(character) Repository name. Required.

path

(character) Path to file from root of repo. Required.

message

(character) Commmit message. Required.

branch

(character) Branch to use, Default: master

...

Curl options passed on to DELETE

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
options(github_name = "Scott Chamberlain")
options(github_email = "myrmecocystus@gmail.com")
easy_create(x=iris, repo = "ropensci/datasets", path ="iris.csv",
   message = "hello world")
easy_delete(repo = "ropensci/datasets", path ="iris.csv",
   message = "delete it!")

## End(Not run)

sckott/resteasy documentation built on May 29, 2019, 4:04 p.m.