update_user: Update your user properties in GitHub

Description Usage Arguments Details Value Examples

View source: R/users.R

Description

This function updates your user properties in GitHub. You cannot update someone else's profile.

Usage

1
update_user(name, email, blog, company, location, hireable, bio, ...)

Arguments

name

(string, optional) The new name of the user.

email

(string, optional) The publicly visible email address of the user.

blog

(string, optional) The new blog URL of the user.

company

(string, optional) The new company of the user.

location

(string, optional) The new location of the user.

hireable

(boolean, optional) The new hiring availability of the user.

bio

(string, optional) The new short biography of the user.

...

Parameters passed to gh_request().

Details

For more details see the GitHub API documentation:

Value

update_user() returns a list of the new user properties.

User Properties:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 

  # Update your name
  update_user(name = "Bob Smith")

  # Update your company
  update_user(company = "Acme")

  # Update your hireable status
  update_user(hireable = TRUE)


## End(Not run)

ChadGoymer/githapi documentation built on Oct. 22, 2021, 10:56 a.m.