From fde90b545609e61680e2134b9adb78b52b7312ce Mon Sep 17 00:00:00 2001 From: SpatLyu Date: Fri, 19 Jun 2026 00:00:01 +0800 Subject: [PATCH 1/3] first cran submission --- .Rbuildignore | 1 + CRAN-SUBMISSION | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 CRAN-SUBMISSION diff --git a/.Rbuildignore b/.Rbuildignore index f5253e2..b3e9ac2 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -6,3 +6,4 @@ ^pkgdown$ ^cran-comments\.md$ ^build-vignettes\.md$ +^CRAN-SUBMISSION$ diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION new file mode 100644 index 0000000..75bbd94 --- /dev/null +++ b/CRAN-SUBMISSION @@ -0,0 +1,3 @@ +Version: 0.1 +Date: 2026-05-11 12:16:10 UTC +SHA: 6c1e75f6e2bab1733bfb345cbd8feb6e942b0516 From b4977d020cdb42209338d55b6fcb8d3306573a94 Mon Sep 17 00:00:00 2001 From: SpatLyu Date: Fri, 19 Jun 2026 00:00:01 +0800 Subject: [PATCH 2/3] update installation intro --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 953b9b0..5dbc99b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ - Install from [CRAN](https://CRAN.R-project.org/package=coupling) with: ``` r -install.packages("coupling", dep = TRUE) +install.packages("coupling", dependencies = TRUE) ``` - Install binary version from [R-universe](https://stscl.r-universe.dev/coupling) with: @@ -36,7 +36,7 @@ install.packages("coupling", dep = TRUE) install.packages("coupling", repos = c("https://stscl.r-universe.dev", "https://cloud.r-project.org"), - dep = TRUE) + dependencies = TRUE) ``` - Install from source code on [GitHub](https://github.com/stscl/coupling) with: From 5df48c6e613ba88483add44aa702ed757f605241 Mon Sep 17 00:00:00 2001 From: SpatLyu Date: Fri, 19 Jun 2026 00:00:01 +0800 Subject: [PATCH 3/3] use pak instead of devtools --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5dbc99b..63fa531 100644 --- a/README.md +++ b/README.md @@ -42,12 +42,10 @@ install.packages("coupling", - Install from source code on [GitHub](https://github.com/stscl/coupling) with: ``` r -if (!requireNamespace("devtools")) { - install.packages("devtools") +if (!requireNamespace("pak", quietly = TRUE)) { + install.packages("pak") } -devtools::install_github("stscl/coupling", - build_vignettes = TRUE, - dep = TRUE) +pak::pak("stscl/coupling", dependencies = TRUE) ``` ## References