Skip to content

Commit 480eb9e

Browse files
committed
fix: Vignette no longer fails.
Closes #4.
1 parent 1822952 commit 480eb9e

5 files changed

Lines changed: 19 additions & 15 deletions

File tree

CITATION.cff

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ message: 'To cite package "rsmatrix" in publications use:'
88
type: software
99
license: MIT
1010
title: 'rsmatrix: Matrices for Repeat-Sales Price Indexes'
11-
version: 0.2.9
11+
version: 0.2.9.9001
1212
doi: 10.5281/zenodo.10110159
1313
identifiers:
1414
- type: doi
@@ -31,7 +31,7 @@ preferred-citation:
3131
year: '2024'
3232
doi: 10.5281/zenodo.10110159
3333
url: https://cran.r-project.org/package=rsmatrix
34-
notes: R package version 0.2.9
34+
notes: R package version 0.2.9.9001
3535
repository: https://CRAN.R-project.org/package=rsmatrix
3636
repository-code: https://github.com/marberts/rsmatrix
3737
url: https://marberts.github.io/rsmatrix/
@@ -58,7 +58,7 @@ references:
5858
institution:
5959
name: R Foundation for Statistical Computing
6060
address: Vienna, Austria
61-
year: '2025'
61+
year: '2026'
6262
version: '>= 4.0'
6363
- type: software
6464
title: Matrix
@@ -77,7 +77,7 @@ references:
7777
- family-names: Jagan
7878
given-names: Mikael
7979
orcid: https://orcid.org/0000-0002-3542-2938
80-
year: '2025'
80+
year: '2026'
8181
doi: 10.32614/CRAN.package.Matrix
8282
version: '>= 1.5-0'
8383
- type: software
@@ -91,7 +91,7 @@ references:
9191
given-names: Yihui
9292
email: xie@yihui.name
9393
orcid: https://orcid.org/0000-0003-0645-5666
94-
year: '2025'
94+
year: '2026'
9595
doi: 10.32614/CRAN.package.knitr
9696
- type: software
9797
title: rmarkdown
@@ -135,7 +135,7 @@ references:
135135
given-names: Richard
136136
email: rich@posit.co
137137
orcid: https://orcid.org/0000-0003-3925-190X
138-
year: '2025'
138+
year: '2026'
139139
doi: 10.32614/CRAN.package.rmarkdown
140140
- type: software
141141
title: testthat
@@ -147,7 +147,7 @@ references:
147147
- family-names: Wickham
148148
given-names: Hadley
149149
email: hadley@posit.co
150-
year: '2025'
150+
year: '2026'
151151
doi: 10.32614/CRAN.package.testthat
152152
version: '>= 3.0.0'
153153
- type: software
@@ -161,7 +161,7 @@ references:
161161
given-names: Steve
162162
email: marberts@protonmail.com
163163
orcid: https://orcid.org/0000-0003-2544-9480
164-
year: '2025'
164+
year: '2026'
165165
doi: 10.32614/CRAN.package.gpindex
166166
- type: software
167167
title: piar
@@ -174,7 +174,7 @@ references:
174174
given-names: Steve
175175
email: marberts@protonmail.com
176176
orcid: https://orcid.org/0000-0003-2544-9480
177-
year: '2025'
177+
year: '2026'
178178
doi: 10.32614/CRAN.package.piar
179179
version: '>= 0.6.0'
180180

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: rsmatrix
22
Title: Matrices for Repeat-Sales Price Indexes
3-
Version: 0.2.9.9001
3+
Version: 0.2.10
44
Authors@R: c(
55
person(given = "Steve", family = "Martin", role = c("aut", "cre", "cph"),
66
email = "marberts@protonmail.com",
@@ -16,12 +16,12 @@ Suggests:
1616
rmarkdown,
1717
testthat (>= 3.0.0),
1818
gpindex,
19-
piar (>= 0.6.0)
19+
piar (>= 0.8.0)
2020
License: MIT + file LICENSE
2121
Encoding: UTF-8
2222
URL: https://marberts.github.io/rsmatrix/, https://github.com/marberts/rsmatrix
2323
BugReports: https://github.com/marberts/rsmatrix/issues
2424
Config/testthat/edition: 3
2525
VignetteBuilder: knitr
26-
RoxygenNote: 7.3.2
26+
RoxygenNote: 7.3.3
2727
Roxygen: list(markdown = TRUE)

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## rsmatrix 0.2.10
2+
3+
- Fixed failing check on CRAN.
4+
15
## rsmatrix 0.2.9
26

37
- Updated maintainer email.

inst/CITATION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ bibentry(
33
title = "{rsmatrix}: Matrices for Repeat-Sales Price Indexes",
44
author = person("Steve", "Martin", role = c("aut", "cre", "cph"),
55
comment = c(ORCID = "0000-0003-2544-9480")),
6-
year = "2024",
6+
year = "2026",
77
doi = "10.5281/zenodo.10110159",
88
url = "https://cran.r-project.org/package=rsmatrix",
99
note = sprintf("R package version %s", meta$Version)

vignettes/rsmatrix.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,14 @@ Once the index is calculated, it's often easier to turn into a matrix-like objec
170170
library(piar)
171171
172172
dimensions <- do.call(rbind, strsplit(rownames(grs), ".", fixed = TRUE))
173-
grs_piar <- elemental_index(
173+
grs_piar <- elementary_index(
174174
grs,
175175
period = dimensions[, 2],
176176
ea = dimensions[, 1],
177177
chainable = FALSE
178178
)
179179
180-
head(grs_piar, c(5, 5))
180+
grs_piar[1:5, 1:5]
181181
```
182182

183183
## Sales pair contributions

0 commit comments

Comments
 (0)