Framework for R

Project Management

structure_import()

Save a Folder's Layout as a Structure on Framework Cloud

Maps a folder's layout the same way as adopt() and saves it as a structure on Framework Cloud, private to you, so new projects can use it. Only the folder paths and the roles you confirm are sent; file names and contents never are. Changes nothing in the folder.

Usage

structure_import(path = ".", name = NULL, yes = FALSE)

Arguments

Name Default Description
path "."

The folder whose layout to import (default: the working directory).

name NULL

The structure's name. Default: the folder's name.

yes FALSE

If TRUE, accept the proposed mapping without asking.

Value

Invisibly, the cloud's response: key, name, and url.

Examples

Not run

if (FALSE) {
structure_import("~/projects/old-study", name = "Lab layout")
}