Learn R Programming

osfr (version 0.1.1)

move_files: Move (and copy) files on OSF

Description

Move (and copy) files on OSF

Usage

move_files(from = NULL, to = NULL, filename = NULL, action = "move",
  conflict = "replace")

Arguments

from

OSF file id to move (osf.io/XXXXX; just XXXXX)

to

OSF id to move to (osf.io/XXXXX; needs to be component)

filename

Optional, rename the file

action

'move' or 'copy'

conflict

Keep old file or replace in case of conflict

Value

Boolean, moving succeeded? (invisible)