sessioninfo/ 0000755 0001762 0000144 00000000000 14153374352 012620 5 ustar ligges users sessioninfo/NAMESPACE 0000644 0001762 0000144 00000001453 14153370556 014044 0 ustar ligges users # Generated by roxygen2: do not edit by hand
S3method(as.character,external_info)
S3method(as.character,packages_info)
S3method(as.character,platform_info)
S3method(as.character,python_info)
S3method(as.character,session_info)
S3method(c,platform_info)
S3method(format,external_info)
S3method(format,packages_info)
S3method(format,platform_info)
S3method(format,python_info)
S3method(format,session_diff)
S3method(format,session_info)
S3method(print,external_info)
S3method(print,packages_info)
S3method(print,platform_info)
S3method(print,python_info)
S3method(print,session_diff)
S3method(print,session_info)
export(external_info)
export(os_name)
export(package_info)
export(platform_info)
export(python_info)
export(session_diff)
export(session_info)
importFrom(cli,symbol)
importFrom(utils,packageVersion)
sessioninfo/tools/ 0000755 0001762 0000144 00000000000 14152377737 013771 5 ustar ligges users sessioninfo/tools/bad-emoji.R 0000644 0001762 0000144 00000004047 14152377737 015750 0 ustar ligges users # emoji 0.2.0
bad <- c(
11,
24,
33,
34,
37,
43:45,
50,
67,
71,
76,
86,
101,
144:147,
155,
157,
170,
209:232,
239:250,
264:269,
325:330,
379:384,
403:422,
454:455,
474:479,
487:488,
496,
545:568,
605:610,
617:622,
629:634,
641:670,
695:718,
725:748,
755:778,
785:808,
815:838,
845:898,
905:928,
935:958,
965:1000,
1025:1030,
1043:1048,
1061:1072,
seq(1074, 1096, by = 2),
1097:1102,
1115:1120,
1133:1138,
1151:1156,
1169:1174,
1187:1192,
1205:1210,
1223:1228,
1241:1246,
1259:1270,
seq(1272, 1294, by = 2),
1295:1300,
1313:1318,
1337,
1360,
1368:1395,
1402:1431,
1438:1467,
1486:1509,
1528:1551,
1558:1581,
1588:1599,
1606:1623,
1642:1647,
1654:1677,
1684:1707,
1714:1737,
1744:1767,
1774:1797,
1804:1827,
1834:1857,
1859:1862,
1864:1868,
1875:1898,
1905:1928,
1935:2072,
2079:2102,
2123:2126,
2133:2156,
2163:2186,
2209:2236,
2243:2521,
2528:2551,
2558:2581,
2588:2611,
2624:2649,
2652:2656,
2658:2662,
2664:2668,
2670:2674,
2678:2682,
2684:2688,
2690:2684,
2696:2700,
2704:2708,
2710:2714,
2716:2720,
2722:2726,
2729:2773,
2775:2825,
2827:2877,
2879:2929,
2931:2975,
2977:3027,
3029:3079,
3081:3131,
3162,
3176,
3179,
3180,
3187,
3197,
3214,
3225,
3229,
3230,
3233:3235,
3253:3255,
3270,
3277,
3283,
3286,
3293,
3294,
3299,
3309,
3322,
3323,
3338,
3341,
3350,
3354,
3355,
3358,
3363,
3367,
3380,
3382,
3387,
3391,
3415,
3433,
3444,
3446:3449,
3456,
3489,
3490,
3516,
3535,
3565,
3574:3576,
3580,
3589,
3596,
3613,
3678,
3778,
3784,
3785,
3788,
3790,
3798:3800,
3819:3821,
3827,
3837:3840,
3849,
3856,
3863,
3892,
3897,
3899,
3908,
3944,
3965,
4041,
4053,
4057,
4059,
4067,
4071,
4074,
4087:4089,
4092,
4093,
4098,
4100,
4103,
4104,
4110,
4112,
4113,
4120,
4124,
4125,
4399,
4436:4441
)
sessioninfo/README.md 0000644 0001762 0000144 00000022344 14153370223 014075 0 ustar ligges users
# sessioninfo
> R Session Information
[](https://lifecycle.r-lib.org/articles/stages.html)
[](https://github.com/r-lib/sessioninfo/actions)
[](https://www.r-pkg.org/pkg/sessioninfo)
[](https://www.r-pkg.org/pkg/sessioninfo)
[](https://codecov.io/github/r-lib/sessioninfo?branch=master)
Query and print information about the current R session. It is similar to
`utils::sessionInfo()`, but includes more information about packages, and
where they were installed from.
## Differences from `utils::sessionInfo()`
* Additional platform details: time zone, pandoc version, RStudio version,
etc.
* Information about package sources, e.g. GitHub repo and hash for packages
installed from GitHub.
* Highlight package installation problems, e.g. if the loaded and on-disk
versions are different, if the MD5 checksum of the package DLL is wrong,
etc.
* Highlight packages from unusual sources.
* Information about external software via `external_info()`.
* Information about the Python configuration is the reticulate package is
loaded and configured.
* Information about package libraries.
* Compare two session info outputs with the `session_diff()` function.
* Option to show loaded (default), attached or installed packages, or
the recursive dependencies of the specified packages.
## Installation
```r
install.packages("sessioninfo")
```
## Usage
Example output:
```r
sessioninfo::session_info()
```
### Copying to the clipboard
You can use the
[`clipr` package](https://cran.r-project.org/package=clipr) to copy
the session info to the clipboard:
```r
clipr::write_clip(session_info())
```
(The current `clipr` version prints a warning, but you can ignore that.)
### Writing to a file
You can use the `to_file` argument of `session_info()`:
```r
session_info(to_file = "session.log")
```
### External software
```r
sessioninfo::session_info(info = "external")
```
```
═ Session info ═══════════════════════════════════════════════════════════════
─ External software ──────────────────────────────────────────────────────────
setting value
cairo 1.14.12
cairoFT 2.10.0/2.13.1
pango
png 1.6.37
jpeg 9.4
tiff LIBTIFF, Version 4.1.0
tcl 8.6.6
curl 7.54.0
zlib 1.2.11
bzlib 1.0.6, 6-Sept-2010
xz 5.2.4
PCRE 10.34 2019-11-21
ICU 62.1
TRE TRE 0.8.0 R_fixes (BSD)
iconv GNU libiconv 1.11
readline 5.2
BLAS /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.0.dylib
lapack /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
lapack_version 3.9.0
──────────────────────────────────────────────────────────────────────────────
```
### Python configuration
```r
sessioninfo::session_info(info = "python")
```
```
═ Session info ═══════════════════════════════════════════════════════════════
─ Python configuration ───────────────────────────────────────────────────────
python: /Users/gaborcsardi/Library/r-miniconda/envs/r-reticulate/bin/python
libpython: /Users/gaborcsardi/Library/r-miniconda/envs/r-reticulate/lib/libpython3.6m.dylib
pythonhome: /Users/gaborcsardi/Library/r-miniconda/envs/r-reticulate:/Users/gaborcsardi/Library/r-miniconda/envs/r-reticulate
version: 3.6.13 | packaged by conda-forge | (default, Sep 23 2021, 07:55:15) [GCC Clang 11.1.0]
numpy: /Users/gaborcsardi/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/numpy
numpy_version: 1.19.5
──────────────────────────────────────────────────────────────────────────────
```
### Comparing session information
`session_diff()` can retrieve the session info from an URL or the clipboard
and compare it to the current session information:
```r
sessioninfo::session_diff(new = "https://github.com/r-lib/sessioninfo/issues/6")
```
```diff
--- local
+++ https://github.com/r-lib/sessioninfo/issues/6
Session info ──────────────────────────────────────────────────────────────────
setting value
version R version 4.1.1 (2021-08-10)
os macOS Mojave 10.14.6
system x86_64, darwin17.0
ui X11
language (EN)
collate en_US.UTF-8
ctype en_US.UTF-8
tz Europe/Madrid
pandoc 2.7.3 @ /usr/local/bin/pandoc
─ Packages ─────────────────────────────────────────────────────────────────────
package * version date (UTC) lib source
- asciicast 1.0.0.9000 2021-10-10 [1] local
- cli 3.0.1.9000 2021-10-13 [1] local
+ cachem 1.0.6 2021-08-19 [1] CRAN (R 4.1.0)
+ callr 3.7.0.9000 2021-10-01 [1] Github (r-lib/callr@ea5c3df)
+ cli 3.0.1.9000 2021-10-07 [1] Github (r-lib/cli@e9758aa)
+ clipr 0.7.1 2020-10-08 [1] CRAN (R 4.1.0)
+ commonmark 1.7 2018-12-01 [1] CRAN (R 4.1.0)
crayon 1.4.1 2021-02-08 [1] CRAN (R 4.1.0)
- curl 4.3.2 2021-06-23 [1] CRAN (R 4.1.0)
desc 1.4.0.9000 2021-10-04 [1] local
+ devtools 2.4.2 2021-06-07 [1] CRAN (R 4.1.0)
+ digest 0.6.28 2021-09-23 [1] CRAN (R 4.1.0)
ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.1.0)
fansi 0.5.0 2021-05-25 [1] CRAN (R 4.1.0)
+ fastmap 1.1.0 2021-01-25 [1] CRAN (R 4.1.0)
+ fs 1.5.0 2020-07-31 [1] CRAN (R 4.1.0)
glue 1.4.2 2021-10-04 [1] local
- jsonlite 1.7.2 2020-12-09 [1] CRAN (R 4.1.0)
+ knitr 1.34 2021-09-09 [1] CRAN (R 4.1.0)
lifecycle 1.0.1 2021-09-24 [1] CRAN (R 4.1.0)
magrittr 2.0.1 2020-11-17 [1] CRAN (R 4.1.0)
+ memoise 2.0.0 2021-01-26 [1] CRAN (R 4.1.0)
pillar 1.6.3 2021-09-26 [1] CRAN (R 4.1.1)
+ pkgbuild 1.2.0 2020-12-15 [1] CRAN (R 4.1.0)
pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.1.0)
pkgload 1.2.2 2021-09-11 [1] CRAN (R 4.1.0)
prettycode 1.1.0 2019-12-16 [1] CRAN (R 4.1.0)
+ prettyunits 1.1.1 2020-01-24 [1] CRAN (R 4.1.0)
processx 3.5.2.9000 2021-09-15 [1] local
prompt 1.0.0 2021-03-02 [1] local
ps 1.6.0 2021-02-28 [1] CRAN (R 4.1.0)
+ purrr 0.3.4 2020-04-17 [1] CRAN (R 4.1.0)
R6 2.5.1 2021-08-19 [1] CRAN (R 4.1.0)
- Rcpp 1.0.7 2021-07-07 [1] CRAN (R 4.1.0)
- rlang 0.4.11 2021-04-30 [1] CRAN (R 4.1.0)
+ remotes 2.4.0 2021-06-02 [1] CRAN (R 4.1.0)
+ rlang 0.99.0.9000 2021-10-07 [1] Github (r-lib/rlang@3ba19df)
+ roxygen2 7.1.2 2021-10-04 [1] local
rprojroot 2.0.2 2020-11-15 [1] CRAN (R 4.1.0)
- sessioninfo * 1.1.1.9000 2021-10-13 [?] load_all()
- testthat * 3.1.0 2021-10-04 [1] CRAN (R 4.1.0)
- tibble 3.1.5 2021-09-30 [1] CRAN (R 4.1.0)
+ rstudioapi 0.13 2020-11-12 [1] CRAN (R 4.1.0)
+ sessioninfo * 1.1.1.9000 2021-10-05 [?] load_all()
+ stringi 1.7.4 2021-08-25 [1] CRAN (R 4.1.0)
+ stringr 1.4.0 2019-02-10 [1] CRAN (R 4.1.0)
+ testthat * 3.0.4 2021-07-01 [1] CRAN (R 4.1.0)
+ tibble 3.1.4 2021-08-25 [1] CRAN (R 4.1.0)
+ usethis 2.0.1 2021-02-10 [1] CRAN (R 4.1.0)
utf8 1.2.2 2021-07-24 [1] CRAN (R 4.1.0)
- uuid 0.1-4 2020-02-26 [1] CRAN (R 4.1.0)
- V8 3.4.2 2021-05-01 [1] CRAN (R 4.1.0)
vctrs 0.3.8 2021-04-29 [1] CRAN (R 4.1.0)
withr 2.4.2 2021-04-18 [1] CRAN (R 4.1.0)
+ xfun 0.26 2021-09-14 [1] CRAN (R 4.1.0)
+ xml2 1.3.2 2020-04-23 [1] CRAN (R 4.1.0)
[1] /Users/gaborcsardi/Library/R/x86_64/4.1/library
[2] /Library/Frameworks/R.framework/Versions/4.1/Resources/library
```
## License
GPL-2
sessioninfo/man/ 0000755 0001762 0000144 00000000000 14152377737 013404 5 ustar ligges users sessioninfo/man/external_info.Rd 0000644 0001762 0000144 00000003365 14152377737 016537 0 ustar ligges users % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/external-info.R
\name{external_info}
\alias{external_info}
\title{Information about related software}
\usage{
external_info()
}
\value{
A list with elements:
\itemize{
\item \code{cairo}: The cairo version string.
\item \code{libpng}: The png version string.
\item \code{jpeg}: The jpeg version string.
\item \code{tiff}: The tiff library and version string used.
\item \code{tcl}: The tcl version string.
\item \code{curl}: The curl version string.
\item \code{zlib}: The zlib version string.
\item \code{bzlib}: The zlib version string.
\item \code{xz}: The zlib version string.
\item \code{PCRE}: The Perl Compatible Regular Expressions (PCRE) version string.
\item \code{ICU}: The International Components for Unicode (ICU) version string.
\item \code{TRE}: The TRE version string.
\item \code{iconv}: The iconv version string.
\item \code{readline}: The readline version string.
\item \code{BLAS}: The path with the implementation of BLAS in use.
\item \code{LAPACK}: The path with the implementation of LAPACK in use.
}
}
\description{
Information about related software
}
\details{
Note that calling this function will attempt to load the tcltk and
grDevices packages.
}
\examples{
\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
external_info()
\dontshow{\}) # examplesIf}
}
\seealso{
Similar functions and objects in the base packages:
\code{\link[utils:sessionInfo]{utils::sessionInfo()}}, \link[base:extSoftVersion]{base::extSoftVersion}, \code{\link[tcltk:TclInterface]{tcltk::tclVersion()}}
\link[base:La_library]{base::La_library}, \code{\link[base:La_version]{base::La_version()}}, \code{\link[base:libcurlVersion]{base::libcurlVersion()}}.
}
sessioninfo/man/package_info.Rd 0000644 0001762 0000144 00000005155 14152377737 016307 0 ustar ligges users % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package-info.R
\name{package_info}
\alias{package_info}
\title{Information about the currently loaded packages, or about a chosen set}
\usage{
package_info(
pkgs = c("loaded", "attached", "installed")[1],
include_base = FALSE,
dependencies = NA
)
}
\arguments{
\item{pkgs}{Which packages to show. It may be:
\itemize{
\item \code{NULL} or \code{"loaded"}: show all loaded packages,
\item \code{"attached"}: show all attached packages,
\item \code{"installed"}: show all installed packages,
\item a character vector of package names. Their (hard) dependencies are
also shown by default, see the \code{dependencies} argument.
}}
\item{include_base}{Include base packages in summary? By default this is
false since base packages should always match the R version.}
\item{dependencies}{Whether to include the (recursive) dependencies
as well. See the \code{dependencies} argument of \code{\link[utils:install.packages]{utils::install.packages()}}.}
}
\value{
A data frame with columns:
\itemize{
\item \code{package}: package name.
\item \code{ondiskversion}: package version (on the disk, which is sometimes
not the same as the loaded version).
\item \code{loadedversion}: package version. This is the version of the loaded
namespace if \code{pkgs} is \code{NULL}, and it is the version of the package
on disk otherwise. The two of them are almost always the same,
though.
\item \code{path}: path to the package on disk.
\item \code{loadedpath}: the path the package was originally loaded from.
\item \code{attached}: logical, whether the package is attached to the search
path.
\item \code{is_base}: logical, whether the package is a base package.
\item \code{date}: the date the package was installed or built, in UTC.
\item \code{source}: where the package was installed from. E.g.
\code{CRAN}, \code{GitHub}, \code{local} (from the local machine), etc.
\item \code{md5ok}: Whether MD5 hashes for package DLL files match, on Windows.
\code{NA} on other platforms.
\item \code{library}: factor, which package library the package was loaded from.
For loaded packages, this is (the factor representation of)
\code{loadedpath}, for others \code{path}.
}
See \code{\link[=session_info]{session_info()}} for the description of the \emph{printed} columns
by \code{package_info} (as opposed to the \emph{returned} columns).
}
\description{
Information about the currently loaded packages, or about a chosen set
}
\examples{
\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
package_info()
package_info("sessioninfo")
\dontshow{\}) # examplesIf}
}
sessioninfo/man/session_diff.Rd 0000644 0001762 0000144 00000002420 14152377737 016344 0 ustar ligges users % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compare.R
\name{session_diff}
\alias{session_diff}
\title{Compare session information from two sources}
\usage{
session_diff(old = "local", new = "clipboard", ...)
}
\arguments{
\item{old, new}{A \code{session_info} object (the return value of
\code{\link[=session_info]{session_info()}}), or a pointer to \code{\link[=session_info]{session_info()}} output. See details
below.}
\item{...}{Passed to any new \code{\link[=session_info]{session_info()}} calls.}
}
\description{
Compare session information from two sources
}
\details{
Various way to specify \code{old} and \code{new}:
\itemize{
\item A \code{session_info} object.
\item \code{"local"} runs \code{\link[=session_info]{session_info()}} in the current
session, and uses its output.
\item \code{"clipboard"} takes the session info from the system clipboard.
If the clipboard contains a URL, it is followed to download the
session info.
\item A URL starting with \verb{http://} or \verb{https://}. \code{session_diff} searches
the HTML (or text) page for the session info header to find the session
info.
}
}
\examples{
\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
session_diff()
\dontshow{\}) # examplesIf}
}
sessioninfo/man/os_name.Rd 0000644 0001762 0000144 00000001060 14152377737 015311 0 ustar ligges users % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/osname.R
\name{os_name}
\alias{os_name}
\title{Human readable name of the current operating system}
\usage{
os_name()
}
\value{
A character scalar.
}
\description{
For example Windows 8.1 instead of Windows version 6.3.9600.
On macOS it includes the code names, on Linux it includes the
distribution names and codenames if appropriate.
}
\details{
It uses \code{\link[utils:sessionInfo]{utils::sessionInfo()}}, but simplifies its output a bit
on Windows, to make it more concise.
}
sessioninfo/man/platform_info.Rd 0000644 0001762 0000144 00000003101 14152377737 016525 0 ustar ligges users % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/platform-info.R
\name{platform_info}
\alias{platform_info}
\title{Information about the current platform}
\usage{
platform_info()
}
\value{
A list with elements:
\itemize{
\item \code{version}: the R version string.
\item \code{os}: the OS name in human readable format, see \code{\link[=os_name]{os_name()}}.
\item \code{system}: CPU, and machine readable OS name, separated by a comma.
\item \code{ui}: the user interface, e.g. \code{Rgui}, \code{RTerm}, etc. see \code{GUI}
in \link[base:Platform]{base::.Platform}.
\item \code{language}: The current language setting. The \code{LANGUAGE} environment
variable, if set, or \code{(EN)} if unset.
\item \code{collate}: Collation rule, from the current locale.
\item \code{ctype}: Native character encoding, from the current locale.
\item \code{tz}: The current time zone.
\item \code{date}: The current date.
\item \code{rstudio}: RStudio format string, only added in RStudio.
\item \code{pandoc}: pandoc version and path
}
}
\description{
Information about the current platform
}
\examples{
\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
platform_info()
\dontshow{\}) # examplesIf}
}
\seealso{
Similar functions and objects in the base packages:
\link[base:Version]{base::R.version.string}, \code{\link[utils:sessionInfo]{utils::sessionInfo()}}, \link[base:Version]{base::version},
\link[base:Platform]{base::.Platform}, \code{\link[base:locales]{base::Sys.getlocale()}}, \code{\link[base:timezones]{base::Sys.timezone()}}.
}
sessioninfo/man/figures/ 0000755 0001762 0000144 00000000000 14153367720 015040 5 ustar ligges users sessioninfo/man/figures/session-info2.svg 0000644 0001762 0000144 00000045711 14153367711 020267 0 ustar ligges users
sessioninfo/man/session_info.Rd 0000644 0001762 0000144 00000006624 14152377737 016401 0 ustar ligges users % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/session-info.R
\name{session_info}
\alias{session_info}
\title{Print session information}
\usage{
session_info(
pkgs = c("loaded", "attached", "installed")[1],
include_base = FALSE,
info = c("auto", "all", "platform", "packages", "python", "external"),
dependencies = NA,
to_file = FALSE
)
}
\arguments{
\item{pkgs}{Which packages to show. It may be:
\itemize{
\item \code{NULL} or \code{"loaded"}: show all loaded packages,
\item \code{"attached"}: show all attached packages,
\item \code{"installed"}: show all installed packages,
\item a character vector of package names. Their (hard) dependencies are
also shown by default, see the \code{dependencies} argument.
}}
\item{include_base}{Include base packages in summary? By default this is
false since base packages should always match the R version.}
\item{info}{What information to show, it can be \code{"auto"} to choose
automatically, \code{"all"} to show everything, or a character vector
with elements from:
\itemize{
\item \code{"platform"}: show platform information via \code{\link[=platform_info]{platform_info()}},
\item \code{"packages"}: show package information via \code{\link[=package_info]{package_info()}},
\item \code{"python"}: show Python configuration via \code{\link[=python_info]{python_info()}},
\item \code{"external"}: show information about external software, via
\code{\link[=external_info]{external_info()}}.
}}
\item{dependencies}{Whether to include the (recursive) dependencies
as well. See the \code{dependencies} argument of \code{\link[utils:install.packages]{utils::install.packages()}}.}
\item{to_file}{Whether to print the session information to a file.
If \code{TRUE} the name of the file will be \code{session-info.txt}, but
\code{to_file} may also be a string to specify the file name.}
}
\value{
A \code{session_info} object.
If \code{to_file} is not \code{FALSE} then it is
returned invisibly. (To print it to both a file and to the screen,
use \code{(session_info(to_file = TRUE))}.)
}
\description{
This is \code{\link[utils:sessionInfo]{utils::sessionInfo()}} re-written from scratch to both exclude
data that's rarely useful (e.g., the full collate string or base packages
loaded) and include stuff you'd like to know (e.g., where a package was
installed from).
}
\details{
Columns in the \emph{printed} package list:
\itemize{
\item \code{package}: package name
\item \code{*}: whether the package is attached to the search path
\item \code{version}: package version. If the version is marked with \verb{(!)} that
means that the loaded and the on-disk version of the package are
different.
\item \code{date}: when the package was built, if this information is available.
This is the \code{Date/Publication} or the \code{Built} field from
\code{DESCRIPTION}. (These are usually added automatically by R.)
Sometimes this data is not available, then it is \code{NA}.
\item \code{source}: where the package was built or installed from, if available.
Examples: \verb{CRAN (R 3.3.2)}, \verb{Github (r-lib/pkgbuild@8aab60b)},
\code{Bioconductor}, \code{local}.
}
See \code{\link[=package_info]{package_info()}} for the list of columns in the data frame that
is \emph{returned} (as opposed to \emph{printed}).
}
\examples{
\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
session_info()
session_info("sessioninfo")
\dontshow{\}) # examplesIf}
}
sessioninfo/man/python_info.Rd 0000644 0001762 0000144 00000001331 14152377737 016225 0 ustar ligges users % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/python-info.R
\name{python_info}
\alias{python_info}
\title{Python configuration}
\usage{
python_info()
}
\value{
Returns a \link[reticulate:py_config]{reticulate::py_config} object, which also has the
\code{python_info} class. It is a named list of values.
If reticulate is not installed or Python is not configured,
then it return a \code{python_info} object that is a character vector, and
it does not have a \code{py_config} class.
}
\description{
Python configuration
}
\examples{
\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
python_info()
session_info(info = "all")
\dontshow{\}) # examplesIf}
}
sessioninfo/DESCRIPTION 0000644 0001762 0000144 00000003247 14153374352 014334 0 ustar ligges users Package: sessioninfo
Title: R Session Information
Version: 1.2.2
Authors@R:
c(person(given = "Gábor",
family = "Csárdi",
role = "cre",
email = "csardi.gabor@gmail.com"),
person(given = "Hadley",
family = "Wickham",
role = "aut"),
person(given = "Winston",
family = "Chang",
role = "aut"),
person(given = "Robert",
family = "Flight",
role = "aut"),
person(given = "Kirill",
family = "Müller",
role = "aut"),
person(given = "Jim",
family = "Hester",
role = "aut"),
person(given = "R Core team",
role = "ctb"))
Maintainer: Gábor Csárdi
Description: Query and print information about the current R
session. It is similar to 'utils::sessionInfo()', but includes more
information about packages, and where they were installed from.
License: GPL-2
URL: https://github.com/r-lib/sessioninfo#readme,
https://r-lib.github.io/sessioninfo/
BugReports: https://github.com/r-lib/sessioninfo/issues
Depends: R (>= 2.10)
Imports: cli (>= 3.1.0), tools, utils
Suggests: callr, covr, mockery, reticulate, rmarkdown, testthat, withr
Encoding: UTF-8
RoxygenNote: 7.1.2.9000
Config/testthat/edition: 3
Config/Needs/website: pkgdown
Config/testthat/parallel: true
NeedsCompilation: no
Packaged: 2021-12-06 11:31:46 UTC; gaborcsardi
Author: Gábor Csárdi [cre],
Hadley Wickham [aut],
Winston Chang [aut],
Robert Flight [aut],
Kirill Müller [aut],
Jim Hester [aut],
R Core team [ctb]
Repository: CRAN
Date/Publication: 2021-12-06 11:50:02 UTC
sessioninfo/tests/ 0000755 0001762 0000144 00000000000 14152377737 013773 5 ustar ligges users sessioninfo/tests/testthat/ 0000755 0001762 0000144 00000000000 14153374352 015622 5 ustar ligges users sessioninfo/tests/testthat/test-os-name.R 0000644 0001762 0000144 00000000221 14152377737 020265 0 ustar ligges users
test_that("unknown os name", {
mockery::stub(os_name, "utils::sessionInfo", list(running = NULL))
expect_equal(os_name(), NA_character_)
})
sessioninfo/tests/testthat/fixtures/ 0000755 0001762 0000144 00000000000 14152770761 017476 5 ustar ligges users sessioninfo/tests/testthat/fixtures/devtools-info-unix.rda 0000644 0001762 0000144 00000002163 14152770761 023741 0 ustar ligges users X[oDΦ-UJZE<ؙoT+[57'8vZl^ޠwC2+)-JQ>[K%Z!i[&ûf4\pp# jEe ݠL#Ȇkpۂa&@f} `eyP\ӻUH{tm[/AXfֆ|4Le