Skip to content

Commit

Permalink
add logo
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed Sep 13, 2024
1 parent 2b4cba5 commit 782bdbd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ knitr::opts_chunk$set(
set.seed(1234)
```

# sparsevctrs
# sparsevctrs <a href="https://r-lib.github.io/sparsevctrs/"><img src="man/figures/logo.png" align="right" height="138" alt="sparsevctrs website" /></a>

<!-- badges: start -->
[![R-CMD-check](https://github.com/r-lib/sparsevctrs/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-lib/sparsevctrs/actions/workflows/R-CMD-check.yaml)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->

# sparsevctrs
# sparsevctrs <a href="https://r-lib.github.io/sparsevctrs/"><img src="man/figures/logo.png" align="right" height="138" alt="sparsevctrs website" /></a>

<!-- badges: start -->

Expand Down Expand Up @@ -44,7 +44,7 @@ x_dense[7] <- 1
x_dense[15] <- 10

obj_size(x_sparse)
#> 1.35 kB
#> 936 B
obj_size(x_dense)
#> 8.05 kB

Expand All @@ -64,11 +64,11 @@ x_sparse_1000 <- sparse_double(numeric(), integer(), length = 1000)
x_sparse_1000000 <- sparse_double(numeric(), integer(), length = 10000000)

obj_size(x_sparse_0)
#> 1.30 kB
#> 888 B
obj_size(x_sparse_1000)
#> 1.30 kB
#> 888 B
obj_size(x_sparse_1000000)
#> 1.30 kB
#> 888 B

x_dense_0 <- numeric(0)
x_dense_1000 <- numeric(1000)
Expand Down
Binary file added man/figures/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions man/sparsevctrs-package.Rd

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

0 comments on commit 782bdbd

Please sign in to comment.