check.location: check.location

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Ensures that user is running package from SAPA Server. If not, optionally uses an SSH tunnel to access SAPA MySQL database. Used by other functions to reduce errors.

Usage

1

Arguments

ssh.user

Your NetID used to establish an SSH tunnel to the SAPA Project. See sapa.db for more information

Details

https://sapa-project.org/r/

Value

TRUE

Returns TRUE if run from server or an SSH connection is established.

Author(s)

Jason A. French jason@sapa-project.org

References

https://sapa-project.org/r

See Also

get.sapa, make.sapa, merge.sapa, sapa.db,

Examples

1
2
# Establish an SSH tunnel if necessary.
# check.location(ssh.user='NetID')

frenchja/SAPATools documentation built on May 16, 2019, 2:47 p.m.