Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elipousson/openxlsx2extras
Extra Functions for the openxlsx2 package
https://github.com/elipousson/openxlsx2extras
Last synced: about 5 hours ago
JSON representation
Extra Functions for the openxlsx2 package
- Host: GitHub
- URL: https://github.com/elipousson/openxlsx2extras
- Owner: elipousson
- License: other
- Created: 2024-10-21T17:28:32.000Z (17 days ago)
- Default Branch: main
- Last Pushed: 2024-10-21T19:19:26.000Z (17 days ago)
- Last Synced: 2024-10-22T12:07:00.043Z (16 days ago)
- Language: R
- Homepage: https://elipousson.github.io/openxlsx2Extras/
- Size: 986 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# openxlsx2Extras
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)The goal of openxlsx2Extras is to extend the functionality of the {openxlsx2} R package.
## Installation
You can install the development version of openxlsx2Extras like so:
``` r
pak::pkg_install("elipousson/openxlsx2Extras")
```## Example
This is a basic example which shows how to use `wb_save_ext()` to set a filename based on the workbook title:
```{r}
library(openxlsx2)
library(openxlsx2Extras)withr::with_tempdir({
wb_workbook(
title = "Title used for output file"
) |>
wb_add_worksheet() |>
wb_save_ext()fs::dir_ls()
})
```