osf_open: Open on OSF

View source: R/osf_open.R

osf_openR Documentation

Open on OSF

Description

View a project, component, file, or user profile on OSF with your default web browser.

Usage

osf_open(x)

Arguments

x

one of the following:

  • an OSF URL, or a generic string containing a GUID or Waterbutler ID.

  • an osf_tbl_node with a single project or component.

  • an osf_tbl_file with a single file or directory.

  • an osf_tbl_user with a single OSF user.

Examples

## Not run: 
# Navigate to a project based on its GUID
osf_open("e81xl")

# You can also provide an osf_tbl subclass
crp_file <- osf_retrieve_file("ucpye")
osf_open(crp_file)

## End(Not run)

osfr documentation built on Sept. 26, 2022, 1:06 a.m.