uploadStandardR: Upload a Standard R file from the Q-Wiki-Scripts repo

View source: R/DataMart.R

uploadStandardRR Documentation

Upload a Standard R file from the Q-Wiki-Scripts repo

Description

Take either a directory or Standard R page basename from the Q-Wiki-Scripts repo and upload it to the users custom rscript via Displayr Drive.

Usage

uploadStandardR(standard.r.input = ".", filename = NULL, upload = TRUE)

Arguments

standard.r.input

A string containing the file path to use. This needs to be either

  • A path to a directory containing two files, a single R and JS source file respectively. E.g. the Calculation features.

  • A path containing the basename of the Standard R page. Suitable for standard R pages where a directory contains multiple R and JS files.

filename

A string containing the desired name of the output script. Defaults to NULL and will deduce the name based off the directory structure.

upload

A logical whether to upload the script or not (useful to check the script is good before upload).


Displayr/flipAPI documentation built on April 17, 2024, 9:42 a.m.