updatePackageFromGithub: Update SVN with R package or HtmlPlugin from Github

Description Usage Arguments Update Plugin from Github Examples

Description

Update SVN with R package or HtmlPlugin from Github

Usage

1
2
3
4
5
updatePackageFromGithub(name, install = FALSE,
  svnDir = getOption("alteryx.svndir"), ayxDir = getOption("alteryx.path"))

updatePluginFromGithub(name, svnDir = getOption("alteryx.svndir"),
  install = FALSE, ayxDir = getOption("alteryx.path"))

Arguments

name

name of the package or plugin to update.

install

boolean indicating if it should install to the alteryx dir.

svnDir

path to the root of the svn branch directory.

ayxDir

path to alteryx directory.

Update Plugin from Github

This function tries to automate the following manual sequence of steps.

  1. Download zip file from github.

  2. Unzip it and rename it (remove the -master suffix).

  3. Delete the Extras subfolder contained in it.

  4. Copy the folder over to SVN.

Examples

1
2
3
4
5
6
# Set path to your SVN directory using options(alteryx.svndir = <path>)
## Not run: 
  updatePackageFromGithub('AlteryxPredictive')
  updatePluginFromSvn('Linear_Regression')

## End(Not run)

alteryx/jeeves documentation built on May 12, 2019, 1:40 a.m.