shinyproxyLogs

An R package to parse and analyze logs generated by ShinyProxy containers.

https://github.com/tsenegas/shinyproxylogs

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.6%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

An R package to parse and analyze logs generated by ShinyProxy containers.

Basic Info
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# shinyproxyLogs




shinyproxyLogs is an R package designed to simplify the process of parsing and analyzing log files generated by ShinyProxy containers. The package provides a set of functions that allow users to extract metadata from log filenames and compute summary statistics from log content. This helps system administrators and developers quickly identify issues such as errors, warnings, and fatal events in their ShinyProxy logs.

# Project Goal

The primary goal of shinyproxyLogs is to automate and streamline the log analysis process for ShinyProxy environments. Specifically, the package:

- **Parses Log File Names**: Extracts important metadata such as `specId`, `proxyId`, `startupTime`, and `logType` from the log file names.
- **Analyzes Log Content**: Reads the log files and computes statistics including the total number of lines, and counts of error, warning, and fatal messages.
- **Provides Summary Reports**: Aggregates data by container (based on the metadata) to offer a concise overview of the container logs.

# Prerequisites

**Access Rights:**
To use shinyproxyLogs, you must have the necessary access rights to the `shinyproxy` folder. This folder contains the logs from the ShinyProxy container, and without proper permissions, the package will not be able to read or process the log files. Please ensure that you have the required read and access permissions to the ShinyProxy logs directory before using this package.

## Installation

From CRAN

``` r
install.packages("shinyproxyLogs")
```

You can install the development version of shinyproxyLogs like so:


``` r
install.packages("devtools")
devtools::install_github("tsenegas/shinyproxyLogs")
```

## Example

This is a basic example which shows you how to solve a common problem:

```{r example}
library(shinyproxyLogs)
## basic example code
analyze_logs(path_container_logs = '../../shinyproxy/shinyproxy/container-logs/logs/')
```

Owner

  • Login: tsenegas
  • Kind: user
  • Location: Montréal
  • Company: nüance-R / quantum simulations*

Product manager nüance-R

GitHub Events

Total
  • Watch event: 1
  • Push event: 6
  • Create event: 2
Last Year
  • Watch event: 1
  • Push event: 6
  • Create event: 2

Packages

  • Total packages: 1
  • Total downloads:
    • cran 80 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: shinyproxyLogs

Tools for Analyzing 'ShinyProxy' Containers Logs

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 80 Last month
Rankings
Dependent packages count: 26.9%
Dependent repos count: 33.2%
Average: 49.1%
Downloads: 87.0%
Maintainers (1)
Last synced: 9 months ago

Dependencies

DESCRIPTION cran
  • dplyr * imports
  • purrr * imports
  • stringr * imports
  • tibble * imports
  • testthat >= 3.0.0 suggests