Skip to content

Commit

Permalink
Merge branch 'release-0.2.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHeun committed Nov 6, 2018
2 parents 0affd00 + 697e014 commit 62f1064
Show file tree
Hide file tree
Showing 29 changed files with 1,169 additions and 546 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
^_pkgdown\.yml$
^.*\.Rproj$
^\.Rproj\.user$
^README\.Rmd$
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: matsindf
Type: Package
Title: Work with matrices in data frames
Version: 0.2.8
Date: 2018-11-01
Version: 0.2.9
Date: 2018-11-06
Authors@R: c(person("Matthew", "Heun", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-7438-214X"),
email = "[email protected]"))
Expand Down
23 changes: 13 additions & 10 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,54 @@
# News for `matsindf`
# matsindf 0.2.9 (2018-11-06)

* Extended the `matsindf_apply` primer to include sections on using `matsindf_apply` with a data frame and programming.

## matsindf 0.2.8 (2018-11-01)

# matsindf 0.2.8 (2018-11-01)

* Added new vignette to documentation website,
which required moving from .Rnw to .Rmd file.


## matsindf 0.2.7 (2018-10-30)
# matsindf 0.2.7 (2018-10-30)

* Added documentation website.


## matsindf 0.2.6 (2018-07-03)
# matsindf 0.2.6 (2018-07-03)

* New function `index_column` that ratios both numbers and matrices relative to an initial time.
* Many documentation improvements.


## matsindf 0.2.5 (2018-05-23)
# matsindf 0.2.5 (2018-05-23)

* `expand_to_tidy` now accepts a named list of matrices as input.


## matsindf 0.2.4 (2018-05-22)
# matsindf 0.2.4 (2018-05-22)

* `matsindf_apply` now obtains named arguments from `.DF`
when a name in `.DF` matches a name of an argument to `FUN`.
This behavior is overridden by supplying a string argument in `...`
of `matsindf_apply`.


## matsindf 0.2.3 (2018-05-22)
# matsindf 0.2.3 (2018-05-22)

* `matsindf_apply` now accepts a list as input when arguments are all strings.


## matsindf 0.2.2 (2018-05-20)
# matsindf 0.2.2 (2018-05-20)

* New `matsindf_apply` function.
* All functions now use `matsindf_apply`.

## matsindf 0.2.1 (2018-02-23)

# matsindf 0.2.1 (2018-02-23)

* Now uses renamed `matsbyname` package.


## matsindf 0.2 (2018-02-21)
# matsindf 0.2 (2018-02-21)

* Initial version.
2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

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

4 changes: 2 additions & 2 deletions docs/articles/index.html

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

621 changes: 310 additions & 311 deletions docs/articles/matsindf.html

Large diffs are not rendered by default.

400 changes: 307 additions & 93 deletions docs/articles/matsindf_apply_primer.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/authors.html

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

14 changes: 7 additions & 7 deletions docs/index.html

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

87 changes: 86 additions & 1 deletion docs/news/index.html

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

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pandoc: 2.1.2
pandoc: 1.19.2.1
pkgdown: 1.1.0
pkgdown_sha: ~
articles:
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/UKEnergy2000.html

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

2 changes: 1 addition & 1 deletion docs/reference/add_UKEnergy2000_matnames.html

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

2 changes: 1 addition & 1 deletion docs/reference/add_UKEnergy2000_row_col_meta.html

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

2 changes: 1 addition & 1 deletion docs/reference/collapse_to_matrices.html

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

2 changes: 1 addition & 1 deletion docs/reference/expand_to_tidy.html

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

2 changes: 1 addition & 1 deletion docs/reference/index.html

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

2 changes: 1 addition & 1 deletion docs/reference/index_column.html

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

2 changes: 1 addition & 1 deletion docs/reference/mat_to_rowcolval.html

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

2 changes: 1 addition & 1 deletion docs/reference/matsindf_apply.html

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

2 changes: 1 addition & 1 deletion docs/reference/matsindf_apply_types.html

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

2 changes: 1 addition & 1 deletion docs/reference/rowcolval_to_mat.html

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

2 changes: 1 addition & 1 deletion docs/reference/verify_cols_missing.html

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

4 changes: 2 additions & 2 deletions tests/testthat/test_expand.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ test_that("expand_to_tidy works as expected", {
vals = c( 11 , 12, 13 , 14 , 15 , 16 , 17 , 49 , 50 , 51 , 52, 0.2, 0.3)
) %>% group_by(Country, Year, matrix)
mats <- collapse_to_matrices(tidy, matnames = "matrix", rownames = "row", colnames = "col",
rowtypes = "rowtype", coltypes = "coltype",
rowtypes = "rowtype", coltypes = "coltype",
matvals = "vals") %>%
ungroup
ungroup()
# For the first tests, do not drop 0 values.
A <- expand_to_tidy(mats, matnames = "matrix", matvals = "vals",
rownames = "rows", colnames = "cols",
Expand Down
6 changes: 0 additions & 6 deletions vignettes/.gitignore

This file was deleted.

Loading

0 comments on commit 62f1064

Please sign in to comment.