Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/0.7.0 #337

Merged
merged 8 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ inst/test_data\.R
Makefile
^README\.Rmd$
^README\.md$
^NEWS\.md$
inst/covr
^\.github$
pmtables\.Rcheck
Expand Down
6 changes: 4 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: pmtables
Type: Package
Title: Tables for Pharmacometrics
Version: 0.6.0.9002
Version: 0.7.0
Authors@R:
c(
person(given = "Kyle",
Expand Down Expand Up @@ -29,14 +29,16 @@ Maintainer: Kyle Baron <kyleb@metrumrg.com>
Description: Summarize data sets and create publication-quality tables for
inclusion in 'tex' documents.
License: GPL (>=2)
URL: https://metrumresearchgroup.github.io/pmtables, https://github.com/metrumresearchgroup/pmtables
BugReports: https://github.com/metrumresearchgroup/pmtables/issues
Imports: purrr (>= 1.0.0), dplyr (>= 1.0.0), forcats, tidyr, rlang, glue, tibble,
assertthat, tidyselect, stringr, knitr, rmarkdown, lifecycle
Depends: R (>= 3.5.0)
Suggests: testthat, yaml, fs, texPreview, magick, pdftools
Encoding: UTF-8
Language: en-US
LazyData: true
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Roxygen: list(markdown = TRUE)
VignetteBuilder: knitr
Collate:
Expand Down
21 changes: 20 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
# pmtables (development version)
# pmtables 0.7.0

- New functionality to create table notes from glossary files (#326).
- `read_glossary()` reads from `.tex` or `.yaml` formatted files, returning a
glossary object
- `select_glossary()` selects specific entries from a glossary object
- `as_glossary()` creates a glossary object on the fly or from a list
- `glossary_notes()` creates notes from a glossary object, a list, or the
name of a glossary file
- `st_notes_glo()` creates and and attaches notes to a table in a pipeline
- `stable_save_image()` added to create an image from a table and save to a
specific location; this builds on `st_aspdf()` and `st_aspng()` and
adding convenient syntax and options (#333).
kylebaron marked this conversation as resolved.
Show resolved Hide resolved
- The `maxex` argument to `sig()` can now be set through the `pmtables.maxex`
option (#328).

## Bugs Fixed

- Fixed a bug in `pt_cat_long()` when the `by` argument is used with no all
data summary (#330).

# pmtables 0.6.0

Expand Down
9 changes: 9 additions & 0 deletions R/AAAA.R
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,15 @@ NULL
#' `context = "rmd"` option. See [st2article()] for instructions on
#' how to view a complete working `latex` example.
#'
#' @section Glossaries:
#' - Use [read_glossary()] to read abbreviations and definitions from a
#' file in `.tex` or `.yaml` format.
#' - Use [as_glossary()] to create a glossary object in R.
#' - Use [select_glossary()] to select specific labels from a glossary object.
#' - Use [glossary_notes()] to create table notes from a glossary object.
#' - Use [st_notes_glo()] to create glossary notes from a glossary object
#' and attach to a table in a pipeline.
#'
#' @section Data sets:
#' - [analysis1] - a NMTRAN-style data set; the basis for most other
#' example data sets
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You can install the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("metrumresearchgroup/pmplots")
devtools::install_github("metrumresearchgroup/pmtables")
```

# Documentation
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ You can install the development version from

``` r
# install.packages("devtools")
devtools::install_github("metrumresearchgroup/pmplots")
devtools::install_github("metrumresearchgroup/pmtables")
```

# Documentation
Expand Down
35 changes: 35 additions & 0 deletions man/pmtables.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.