Skip to contents

This function facilitates the association of a specific S3 folder with a project by adding a unique identifier to the project's DESCRIPTION file. The user is prompted to navigate to the S3 console, select or create the desired folder for the project, and then provide its URL. The function extracts the necessary information from the URL and updates the cloudfs.s3 field in the DESCRIPTION file accordingly.

Usage

cloud_s3_attach(project = ".")

Arguments

project

Character. Path to a project. By default it is current working directory.

Value

This function does not return a meaningful value but modifies the DESCRIPTION file of the specified project to include the S3 folder path.

Examples

if (FALSE) { # interactive()
cloud_s3_attach()
}