previewPacket: Assemble usage information for transmission to <URL:...

Description Usage Details Value References See Also

View source: R/scimapRegister.R

Description

Packages up anonymous usage tracking information about R packages to a server which allows authors of packages to track how widely used and installed they are. This is helpful for demonstrating the usefulness of these packages to their employers and funding agencies.

Usage

1

Details

You can call this function after running some of your own code in order to see what kind of information scimapClient will send to scisoft-net-map.isri.cmu.edu (as a packet over a TCP/IP connection, to port 7778). If you don't like what you see, you can disable the send by typing disableScimap() to turn off this monitoring library.

This tracking is voluntary and anonymous. To enable tracking type enableScimap() from the interactive prompt; to disable it type disableScimap(). If tracking is disabled, this function will do nothing.

Creates a JSON record.

The record contains the following information:

account:

A string of 25 random digits unique to this installation of R

job:

The account number plus a start time

startEpoch:

The current time

platform:

The operating system, version, and hardware type

packages:

The output of system(), and packageVersion() for each package listed.

dependencies:

Static and dynamic dependencies between functions and packages

Value

Returns an object representing the information that would be sent

References

See your usage and others' at http://scisoft-net-map.isri.cmu.edu

See Also

enableScimap


scimapClient documentation built on May 2, 2019, 4:27 p.m.