Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Nov 4, 2024
1 parent fdb7789 commit 8c89f6c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 41 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ test: install ## test
Rscript -e "library(tinytable);tinytest::run_test_dir()"

website: install ## render vignettes and website
rm -rf _quarto
rm -rf docs
Rscript -e "altdoc::render_docs(verbose = TRUE, freeze = TRUE, autolink = TRUE)"
17 changes: 3 additions & 14 deletions R/style_grid.R
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
#' tinytable S4 method
#'
#' @keywords internal
style_eval_grid <- function(x,
i = NULL,
j = NULL,
bold = FALSE,
italic = FALSE,
monospace = FALSE,
underline = FALSE,
strikeout = FALSE,
rowspan = NULL,
colspan = NULL,
...) {
style_eval_grid <- function(x) {


out <- x@table_dataframe
sty <- x@style

if (nrow(sty) == 0) return(x)

all_i <- seq_len(nrow(x))
idx_g <- x@group_i_idx + cumsum(rep(1, length(x@group_i_idx))) - 1
idx_d <- setdiff(all_i, idx_g)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ want to benefit from the latest features—showcased on the package
website—you should install from R-Universe:

``` r
install.packages("tinytable", repos = "https://vincentarelbundock.r-universe.dev")
install.packages("tinytable")
```

Alternatively, you can install it from CRAN:
Expand Down Expand Up @@ -131,7 +131,7 @@ tt(x,

## Tutorial

The `tinytable` 0.5.0 tutorial will take you much further. It is
The `tinytable` 0.5.0.1 tutorial will take you much further. It is
available in two formats:

- [Tutorial
Expand Down
2 changes: 1 addition & 1 deletion README.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ To achieve these goals, the design philosophy of `tinytable` rests on three pill
`tinytable` is a relatively new package with rapid development. If you want to benefit from the latest features---showcased on the package website---you should install from R-Universe:

``` r
install.packages("tinytable", repos = "https://vincentarelbundock.r-universe.dev")
install.packages("tinytable")
```

Alternatively, you can install it from CRAN:
Expand Down
24 changes: 0 additions & 24 deletions man/style_grid_internal.Rd

This file was deleted.

0 comments on commit 8c89f6c

Please sign in to comment.