osfr (version 0.2.4)

osf_open: 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

Run this code
# 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)
# }

Run the code above in your browser using DataLab