Package 'chshli'

Title: Check Shared Libraries
Description: R packages can be downloaded from a repository for the 'RStudio Package Manager' or 'RSPM' which provides prebuilt binaries for several Linux distributions easing installing considerably. However, these packages do not have system level support for their run-time dependencies. This packages aims to address this shortcoming with a first application for Ubuntu 18.04 aka 'bionic'.
Authors: Dirk Eddelbuettel
Maintainer: Dirk Eddelbuettel <[email protected]>
License: GPL (>= 2)
Version: 0.0.1
Built: 2024-11-30 07:34:23 UTC
Source: https://github.com/eddelbuettel/chshli

Help Index


Check Shared Libraries

Description

Check shared libraries on current system

Usage

checkSharedLibs(vec, db)

Arguments

vec

A (optional) character vector of shared libraries, typcially with major soname. If missing a default vector is used as fallback.

db

An optional identifier for a library package database, should be one of "18.04" or "19.10".

Details

This function examine the shared libraries in argument vec. It runs ldd on these, filters for “not found” to identify unresolved shared libraries and tries to map these against (stored) information on distribution packages (where Ubuntu 18.04 and 19.10 are currently supported).

The internal helper function .libs() can be used to identify shared libraries from packages in the current .libPaths(). Because search all packages in each .libPaths() entry at once (using shell tools) it does not currently associate finds with the packages they originate from.

Value

Nothing currently but information is printed.

Author(s)

Dirk Eddelbuettel

Examples

checkSharedLibs(c("libxml2.so.2"))