From c46c6dbe1a8a421e060b18bc2cfa6f0965bfa339 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sat, 14 Jan 2023 08:25:17 +0100 Subject: [PATCH 1/5] Pass vignette warnings check --- .github/workflows/check-vignette-warnings.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-vignette-warnings.yaml b/.github/workflows/check-vignette-warnings.yaml index f91d84077..bfb9dc098 100644 --- a/.github/workflows/check-vignette-warnings.yaml +++ b/.github/workflows/check-vignette-warnings.yaml @@ -33,7 +33,7 @@ jobs: - name: Build vignettes run: | - # options(crayon.enabled = TRUE, warn = 2L) + options(crayon.enabled = TRUE, warn = 2L) vignettes <- fs::dir_ls("vignettes/", glob = "*.Rmd", recurse = TRUE) purrr::walk(vignettes, rmarkdown::render) shell: Rscript {0} From b08d022e176c0536e77effe594d606ddd2abf798 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Tue, 17 Jan 2023 18:44:46 +0100 Subject: [PATCH 2/5] try with devel easystats --- DESCRIPTION | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DESCRIPTION b/DESCRIPTION index 0dc637460..9e579ce4f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -49,6 +49,11 @@ Imports: statsExpressions (>= 1.3.6), tidyr, utils +Remotes: + easystats/insight, + easystats/datawizard, + easystats/parameters, + easystats/performance Suggests: afex, BayesFactor (>= 0.9.12-4.4), From fcb01e05e6c28d11aad8b23fbc1d1bd5c4adfed9 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Thu, 23 Nov 2023 21:51:18 +0100 Subject: [PATCH 3/5] Update DESCRIPTION --- DESCRIPTION | 5 ----- 1 file changed, 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index bf99d2625..fd5408e7c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -51,11 +51,6 @@ Imports: statsExpressions (>= 1.5.2.9000), tidyr (>= 1.3.0), utils -Remotes: - easystats/insight, - easystats/datawizard, - easystats/parameters, - easystats/performance Suggests: afex, BayesFactor (>= 0.9.12-4.5), From eeb821f5e45fdd5e90dcc1b3b7b1fc51c37ad5d3 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sat, 11 May 2024 18:58:36 +0200 Subject: [PATCH 4/5] fixes warning? --- .pre-commit-config.yaml | 4 ++-- vignettes/web_only/purrr_examples.Rmd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 332810642..b86919787 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,14 +6,14 @@ default_language_version: repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.1 + rev: v0.4.2 hooks: - id: no-browser-statement - id: no-debug-statement - id: parsable-R - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-added-large-files - id: check-json diff --git a/vignettes/web_only/purrr_examples.Rmd b/vignettes/web_only/purrr_examples.Rmd index 9af9fb676..54ef673a7 100644 --- a/vignettes/web_only/purrr_examples.Rmd +++ b/vignettes/web_only/purrr_examples.Rmd @@ -4,7 +4,7 @@ output: rmarkdown::html_vignette: toc: true vignette: > - %\VignetteIndexEntry{using '{ggstatsplot}' with the '{purrr}' package} + %\VignetteIndexEntry{Using '{ggstatsplot}' with the '{purrr}' package} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- From 0483f3c2366e0a874d666ec41779b7c452570d5a Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sat, 11 May 2024 20:20:27 +0200 Subject: [PATCH 5/5] fix warning again --- .Rbuildignore | 1 + CITATION.cff | 33 ++------------------------- Makefile | 29 +++++++++++++++++++++++ codemeta.json | 4 ++-- vignettes/web_only/purrr_examples.Rmd | 4 ++-- 5 files changed, 36 insertions(+), 35 deletions(-) create mode 100644 Makefile diff --git a/.Rbuildignore b/.Rbuildignore index e1a72099b..3eab51669 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -9,6 +9,7 @@ ^CRAN-RELEASE$ ^CRAN-SUBMISSION$ ^LICENSE\.md$ +^Makefile$ ^Meta$ ^NEWS$ ^README-.*\.png$ diff --git a/CITATION.cff b/CITATION.cff index ad4194ce5..98589b76b 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -278,7 +278,7 @@ references: abstract: 'insight: Easy Access to Model Information for Various Model Objects' notes: Imports url: https://easystats.github.io/insight/ - repository: https://CRAN.R-project.org/package=insight + repository: https://easystats.r-universe.dev authors: - family-names: Lüdecke given-names: Daniel @@ -375,7 +375,7 @@ references: abstract: 'performance: Assessment of Regression Models Performance' notes: Imports url: https://easystats.github.io/performance/ - repository: https://easystats.r-universe.dev + repository: https://CRAN.R-project.org/package=performance authors: - family-names: Lüdecke given-names: Daniel @@ -581,18 +581,6 @@ references: given-names: Brian email: ripley@stats.ox.ac.uk year: '2024' -- type: software - title: metaBMA - abstract: 'metaBMA: Bayesian Model Averaging for Random and Fixed Effects Meta-Analysis' - notes: Suggests - url: https://danheck.github.io/metaBMA/ - repository: https://CRAN.R-project.org/package=metaBMA - authors: - - family-names: Heck - given-names: Daniel W. - email: daniel.heck@uni-marburg.de - orcid: https://orcid.org/0000-0002-6302-9252 - year: '2024' - type: software title: metafor abstract: 'metafor: Meta-Analysis Package for R' @@ -612,20 +600,6 @@ references: value: https://wviechtb.github.io/metafor/ - type: url value: https://www.wvbauer.com -- type: software - title: metaplus - abstract: 'metaplus: Robust Meta-Analysis and Meta-Regression' - notes: Suggests - repository: https://CRAN.R-project.org/package=metaplus - authors: - - family-names: Beath - given-names: Ken - email: ken@kjbeath.com.au - - family-names: Bolker - given-names: Ben - email: bolker@mcmaster.ca - - name: R Development Core Team - year: '2024' - type: software title: psych abstract: 'psych: Procedures for Psychological, Psychometric, and Personality Research' @@ -638,9 +612,6 @@ references: email: revelle@northwestern.edu orcid: https://orcid.org/0000-0003-4880-9610 year: '2024' - identifiers: - - type: url - value: https://personality-project.org/r/psych-manual.pdf - type: software title: rmarkdown abstract: 'rmarkdown: Dynamic Documents for R' diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..52a92fc64 --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +PKGNAME = `sed -n "s/Package: *\([^ ]*\)/\1/p" DESCRIPTION` +PKGVERS = `sed -n "s/Version: *\([^ ]*\)/\1/p" DESCRIPTION` + +all: check + +build: install_deps + R CMD build . + +check: build + R CMD check --no-manual $(PKGNAME)_$(PKGVERS).tar.gz + +install_deps: + Rscript \ + -e 'if (!requireNamespace("remotes")) install.packages("remotes")' \ + -e 'remotes::install_deps(dependencies = TRUE)' + +install: build + R CMD INSTALL $(PKGNAME)_$(PKGVERS).tar.gz + +clean: + @rm -rf $(PKGNAME)_$(PKGVERS).tar.gz $(PKGNAME).Rcheck + +update_deps: + Rscript \ + -e 'options(repos = c(CRAN = "https://cran.r-project.org"))' \ + -e 'usethis::use_latest_dependencies(source = "CRAN")' \ + -e 'roxygen2::roxygenise()' \ + -e 'codemetar::write_codemeta()' \ + -e 'cffr::cff_write()' diff --git a/codemeta.json b/codemeta.json index ae956d528..d00d21cf6 100644 --- a/codemeta.json +++ b/codemeta.json @@ -14,7 +14,7 @@ "name": "R", "url": "https://r-project.org" }, - "runtimePlatform": "R version 4.3.3 (2024-02-29)", + "runtimePlatform": "R version 4.4.0 (2024-04-24)", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", @@ -532,7 +532,7 @@ }, "SystemRequirements": null }, - "fileSize": "9363.89KB", + "fileSize": "9347.226KB", "citation": [ { "@type": "ScholarlyArticle", diff --git a/vignettes/web_only/purrr_examples.Rmd b/vignettes/web_only/purrr_examples.Rmd index 54ef673a7..5d3070d89 100644 --- a/vignettes/web_only/purrr_examples.Rmd +++ b/vignettes/web_only/purrr_examples.Rmd @@ -1,10 +1,10 @@ --- -title: "Using '{ggstatsplot}' with the '{purrr}' package" +title: "Using 'ggstatsplot' with the 'purrr' package" output: rmarkdown::html_vignette: toc: true vignette: > - %\VignetteIndexEntry{Using '{ggstatsplot}' with the '{purrr}' package} + %\VignetteIndexEntry{Using 'ggstatsplot' with the 'purrr' package} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} ---