soiltextureInfo: Display and / or export system and package version...

Description Usage Arguments Value Author(s) See Also Examples

Description

Display and / or export system and package version information.

Can be used to provide an overview of the system and the R

packages that were used to produce some calculations, thus

improving the traceability of that work in the long run.

Usage

1
2
3
4
soiltextureInfo(file = NULL, verbose = TRUE, depends = FALSE, 


    md5 = TRUE, packages = "soiltexture")

Arguments

file

Single character string. Name of the text file (with or without

its path) in which the information will be exported. If

NULL (default), information are not exported.

verbose

Single logical value. If TRUE, information are displayed

on the screen.

depends

Single logical value. If TRUE, information on packages

dependencies are also displayed, in the same way

md5

Single logical value. If TRUE, the package MD5 checksums

are returned too

packages

Single character string. Name of the package whose information

must be returned.

Value

Invisibly returns the information as a vector of character

strings

Author(s)

Julien Moeys [aut, cre], Wei Shangguan [ctb], Rainer Petzold [ctb], Budiman Minasny [ctb], Bogdan Rosca [ctb], Nic Jelinski [ctb], Wiktor Zelazny [ctb], Rodolfo Marcondes Silva Souza [ctb], Jose Lucas Safanelli [ctb], Alexandre ten Caten [ctb]

See Also

The base functions that were used internally to compile

the information: Sys.time,

Sys.info, version,

zpackages,

installed.packages,

package_dependencies. See also the

MD5 file in each package directory (and

md5sum for generating these MD5 checksums).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
library( "soiltexture" )





#   Temporary file where the info will be exported:


f <- tempfile() 





#   Generate package information


soiltextureInfo( file = f, depends = TRUE, verbose = FALSE )





#   Read again the info (as for verbose = TRUE)


cat( readLines( f ), sep = "\n" ) 


unlink( f )





#   Also works with other packages


soiltextureInfo( packages = "sp" )

soiltexture documentation built on May 2, 2019, 9:28 a.m.