Skip to content

Commit 9d8b9d9

Browse files
fix NOTE
1 parent e87991c commit 9d8b9d9

File tree

8 files changed

+50
-80
lines changed

8 files changed

+50
-80
lines changed

CITATION.cff

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# CITATION file created with {cffr} R package
33
# See also: https://docs.ropensci.org/cffr/
44
# --------------------------------------------
5-
5+
66
cff-version: 1.2.0
77
message: 'To cite package "statsExpressions" in publications use:'
88
type: software
@@ -75,6 +75,16 @@ references:
7575
address: Vienna, Austria
7676
year: '2024'
7777
version: '>= 4.1.0'
78+
- type: software
79+
title: stats
80+
abstract: 'R: A Language and Environment for Statistical Computing'
81+
notes: Depends
82+
authors:
83+
- name: R Core Team
84+
institution:
85+
name: R Foundation for Statistical Computing
86+
address: Vienna, Austria
87+
year: '2024'
7888
- type: software
7989
title: afex
8090
abstract: 'afex: Analysis of Factorial Experiments'
@@ -494,33 +504,6 @@ references:
494504
year: '2024'
495505
doi: 10.32614/CRAN.package.rstantools
496506
version: '>= 2.4.0'
497-
- type: software
498-
title: stats
499-
abstract: 'R: A Language and Environment for Statistical Computing'
500-
notes: Imports
501-
authors:
502-
- name: R Core Team
503-
institution:
504-
name: R Foundation for Statistical Computing
505-
address: Vienna, Austria
506-
year: '2024'
507-
- type: software
508-
title: tibble
509-
abstract: 'tibble: Simple Data Frames'
510-
notes: Imports
511-
url: https://tibble.tidyverse.org/
512-
repository: https://CRAN.R-project.org/package=tibble
513-
authors:
514-
- family-names: Müller
515-
given-names: Kirill
516-
email: kirill@cynkra.com
517-
orcid: https://orcid.org/0000-0002-1416-3412
518-
- family-names: Wickham
519-
given-names: Hadley
520-
email: hadley@rstudio.com
521-
year: '2024'
522-
doi: 10.32614/CRAN.package.tibble
523-
version: '>= 3.2.1'
524507
- type: software
525508
title: tidyr
526509
abstract: 'tidyr: Tidy Messy Data'
@@ -787,4 +770,3 @@ references:
787770
name: R Foundation for Statistical Computing
788771
address: Vienna, Austria
789772
year: '2024'
790-

DESCRIPTION

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ URL: https://indrajeetpatil.github.io/statsExpressions/,
2020
https://github.com/IndrajeetPatil/statsExpressions
2121
BugReports: https://github.com/IndrajeetPatil/statsExpressions/issues
2222
Depends:
23-
R (>= 4.1.0)
23+
R (>= 4.1.0),
24+
stats
2425
Imports:
2526
afex (>= 1.4-1),
2627
BayesFactor (>= 0.9.12-4.7),
@@ -38,8 +39,6 @@ Imports:
3839
purrr (>= 1.0.2),
3940
rlang (>= 1.1.4),
4041
rstantools (>= 2.4.0),
41-
stats,
42-
tibble (>= 3.2.1),
4342
tidyr (>= 1.3.1),
4443
withr (>= 3.0.2),
4544
WRS2 (>= 1.1-6),

NAMESPACE

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ import(effectsize)
2626
import(glue)
2727
import(rlang)
2828
importFrom(bayestestR,describe_posterior)
29+
importFrom(dplyr,as_tibble)
30+
importFrom(dplyr,tibble)
2931
importFrom(insight,check_if_installed)
3032
importFrom(insight,format_value)
3133
importFrom(insight,standardize_names)
@@ -35,6 +37,5 @@ importFrom(parameters,model_parameters)
3537
importFrom(purrr,map2)
3638
importFrom(purrr,map_dbl)
3739
importFrom(purrr,map_dfr)
38-
importFrom(tibble,as_tibble)
39-
importFrom(tibble,tibble)
40+
importFrom(rstantools,bayes_R2)
4041
importFrom(zeallot,"%<-%")

R/reexports.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ magrittr::`%<>%`
1313
zeallot::`%<-%`
1414

1515
#' @export
16-
#' @importFrom tibble tibble
17-
tibble::tibble
16+
#' @importFrom dplyr tibble
17+
dplyr::tibble
1818

1919
#' @export
20-
#' @importFrom tibble as_tibble
21-
tibble::as_tibble
20+
#' @importFrom dplyr as_tibble
21+
dplyr::as_tibble

R/statsExpressions-package.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#' @importFrom parameters model_parameters
2727
#' @importFrom bayestestR describe_posterior
2828
#' @importFrom purrr map2 map_dbl map_dfr
29+
#' @importFrom rstantools bayes_R2
2930
#'
3031
## statsExpressions namespace: end
3132
NULL

codemeta.json

Lines changed: 24 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@
173173
"version": ">= 4.1.0"
174174
},
175175
"2": {
176+
"@type": "SoftwareApplication",
177+
"identifier": "stats",
178+
"name": "stats"
179+
},
180+
"3": {
176181
"@type": "SoftwareApplication",
177182
"identifier": "afex",
178183
"name": "afex",
@@ -185,7 +190,7 @@
185190
},
186191
"sameAs": "https://CRAN.R-project.org/package=afex"
187192
},
188-
"3": {
193+
"4": {
189194
"@type": "SoftwareApplication",
190195
"identifier": "BayesFactor",
191196
"name": "BayesFactor",
@@ -198,7 +203,7 @@
198203
},
199204
"sameAs": "https://CRAN.R-project.org/package=BayesFactor"
200205
},
201-
"4": {
206+
"5": {
202207
"@type": "SoftwareApplication",
203208
"identifier": "bayestestR",
204209
"name": "bayestestR",
@@ -211,7 +216,7 @@
211216
},
212217
"sameAs": "https://CRAN.R-project.org/package=bayestestR"
213218
},
214-
"5": {
219+
"6": {
215220
"@type": "SoftwareApplication",
216221
"identifier": "correlation",
217222
"name": "correlation",
@@ -224,7 +229,7 @@
224229
},
225230
"sameAs": "https://CRAN.R-project.org/package=correlation"
226231
},
227-
"6": {
232+
"7": {
228233
"@type": "SoftwareApplication",
229234
"identifier": "datawizard",
230235
"name": "datawizard",
@@ -237,7 +242,7 @@
237242
},
238243
"sameAs": "https://CRAN.R-project.org/package=datawizard"
239244
},
240-
"7": {
245+
"8": {
241246
"@type": "SoftwareApplication",
242247
"identifier": "dplyr",
243248
"name": "dplyr",
@@ -250,7 +255,7 @@
250255
},
251256
"sameAs": "https://CRAN.R-project.org/package=dplyr"
252257
},
253-
"8": {
258+
"9": {
254259
"@type": "SoftwareApplication",
255260
"identifier": "effectsize",
256261
"name": "effectsize",
@@ -263,7 +268,7 @@
263268
},
264269
"sameAs": "https://CRAN.R-project.org/package=effectsize"
265270
},
266-
"9": {
271+
"10": {
267272
"@type": "SoftwareApplication",
268273
"identifier": "glue",
269274
"name": "glue",
@@ -276,7 +281,7 @@
276281
},
277282
"sameAs": "https://CRAN.R-project.org/package=glue"
278283
},
279-
"10": {
284+
"11": {
280285
"@type": "SoftwareApplication",
281286
"identifier": "insight",
282287
"name": "insight",
@@ -289,7 +294,7 @@
289294
},
290295
"sameAs": "https://CRAN.R-project.org/package=insight"
291296
},
292-
"11": {
297+
"12": {
293298
"@type": "SoftwareApplication",
294299
"identifier": "magrittr",
295300
"name": "magrittr",
@@ -302,7 +307,7 @@
302307
},
303308
"sameAs": "https://CRAN.R-project.org/package=magrittr"
304309
},
305-
"12": {
310+
"13": {
306311
"@type": "SoftwareApplication",
307312
"identifier": "parameters",
308313
"name": "parameters",
@@ -315,7 +320,7 @@
315320
},
316321
"sameAs": "https://CRAN.R-project.org/package=parameters"
317322
},
318-
"13": {
323+
"14": {
319324
"@type": "SoftwareApplication",
320325
"identifier": "performance",
321326
"name": "performance",
@@ -328,7 +333,7 @@
328333
},
329334
"sameAs": "https://CRAN.R-project.org/package=performance"
330335
},
331-
"14": {
336+
"15": {
332337
"@type": "SoftwareApplication",
333338
"identifier": "PMCMRplus",
334339
"name": "PMCMRplus",
@@ -341,7 +346,7 @@
341346
},
342347
"sameAs": "https://CRAN.R-project.org/package=PMCMRplus"
343348
},
344-
"15": {
349+
"16": {
345350
"@type": "SoftwareApplication",
346351
"identifier": "purrr",
347352
"name": "purrr",
@@ -354,7 +359,7 @@
354359
},
355360
"sameAs": "https://CRAN.R-project.org/package=purrr"
356361
},
357-
"16": {
362+
"17": {
358363
"@type": "SoftwareApplication",
359364
"identifier": "rlang",
360365
"name": "rlang",
@@ -367,7 +372,7 @@
367372
},
368373
"sameAs": "https://CRAN.R-project.org/package=rlang"
369374
},
370-
"17": {
375+
"18": {
371376
"@type": "SoftwareApplication",
372377
"identifier": "rstantools",
373378
"name": "rstantools",
@@ -380,25 +385,7 @@
380385
},
381386
"sameAs": "https://CRAN.R-project.org/package=rstantools"
382387
},
383-
"18": {
384-
"@type": "SoftwareApplication",
385-
"identifier": "stats",
386-
"name": "stats"
387-
},
388388
"19": {
389-
"@type": "SoftwareApplication",
390-
"identifier": "tibble",
391-
"name": "tibble",
392-
"version": ">= 3.2.1",
393-
"provider": {
394-
"@id": "https://cran.r-project.org",
395-
"@type": "Organization",
396-
"name": "Comprehensive R Archive Network (CRAN)",
397-
"url": "https://cran.r-project.org"
398-
},
399-
"sameAs": "https://CRAN.R-project.org/package=tibble"
400-
},
401-
"20": {
402389
"@type": "SoftwareApplication",
403390
"identifier": "tidyr",
404391
"name": "tidyr",
@@ -411,7 +398,7 @@
411398
},
412399
"sameAs": "https://CRAN.R-project.org/package=tidyr"
413400
},
414-
"21": {
401+
"20": {
415402
"@type": "SoftwareApplication",
416403
"identifier": "withr",
417404
"name": "withr",
@@ -424,7 +411,7 @@
424411
},
425412
"sameAs": "https://CRAN.R-project.org/package=withr"
426413
},
427-
"22": {
414+
"21": {
428415
"@type": "SoftwareApplication",
429416
"identifier": "WRS2",
430417
"name": "WRS2",
@@ -437,7 +424,7 @@
437424
},
438425
"sameAs": "https://CRAN.R-project.org/package=WRS2"
439426
},
440-
"23": {
427+
"22": {
441428
"@type": "SoftwareApplication",
442429
"identifier": "zeallot",
443430
"name": "zeallot",
@@ -452,7 +439,7 @@
452439
},
453440
"SystemRequirements": null
454441
},
455-
"fileSize": "4231.134KB",
442+
"fileSize": "4229.33KB",
456443
"citation": [
457444
{
458445
"@type": "ScholarlyArticle",

man/reexports.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/helper.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ options(lifecycle_verbosity = "warning")
99
# Same as a smaller subset of `ggplot2::msleep` dataset
1010
# datapasta::dpasta(dplyr::select(ggplot2::msleep, brainwt, vore, conservation, sleep_total, sleep_rem))
1111

12-
msleep <- tibble::tribble(
12+
msleep <- dplyr::tribble(
1313
~brainwt, ~vore, ~conservation, ~sleep_total, ~sleep_rem,
1414
NA, "carni", "lc", 12.1, NA,
1515
0.0155, "omni", NA, 17, 1.8,
@@ -96,7 +96,7 @@ msleep <- tibble::tribble(
9696
0.0504, "carni", NA, 9.8, 2.4
9797
)
9898

99-
data_with_subid <- tibble::tribble(
99+
data_with_subid <- dplyr::tribble(
100100
~score, ~condition, ~id,
101101
70, "5", "1",
102102
82.5, "1", "1",
@@ -145,7 +145,7 @@ data_with_subid <- tibble::tribble(
145145
82.5, "1", "9"
146146
)
147147

148-
data_meta <- tibble::tribble(
148+
data_meta <- dplyr::tribble(
149149
~study, ~estimate, ~std.error,
150150
"Morton", -0.83035, 1.24702,
151151
"Rasmussen", -1.05605, 0.41407,

0 commit comments

Comments
 (0)