createAndKnitToFolderEntity: createAndKnitToFolderEntity

Description Usage Arguments Value

Description

Create a Synapse Folder entity and knit a local RMarkdown file to it's WikiPage.

Usage

1
2
createAndKnitToFolderEntity(file, parentId, folderName, wikiName = NULL,
  overwrite = FALSE, knitmd = TRUE, ...)

Arguments

file

path to a local .Rmd file which to knit

parentId

A synapseClient::Project or synapseClient::Folder entity (or Synapse ID of an entity) where the Folder will be created

folderName

Name of the synapseClient::Folder to create

wikiName

A title for the resulting WikiPage - will default to the file name without the .Rmd extension

overwrite

Only if owner specified and parentWikiId is NULL - flag for whether or not to overwrite the previous root WikiPage (if it exists). This will remove the history of changes for this Wiki page.

knitmd

Flag for whether or not to knit; if FALSE and file already exists, don't knit it again

Value

a synapseClient::WikiPage entity object


Sage-Bionetworks/knit2synapse documentation built on May 9, 2019, 12:12 p.m.