From e7faf8ef4798ddd4c17bbc357f86ebab8767715e Mon Sep 17 00:00:00 2001
From: "Pavel N. Krivitsky"
Date: Mon, 19 Feb 2024 16:46:43 +1100
Subject: [PATCH] Forked a release branch, fixed version number, updated
citation, and set tests to strict/remote/vignettes.
---
.github/workflows/R-CMD-check.yaml | 29 ++++++++++++++++++++---------
DESCRIPTION | 2 +-
inst/CITATION | 7 +++----
3 files changed, 24 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml
index 9f474eb..ef15706 100644
--- a/.github/workflows/R-CMD-check.yaml
+++ b/.github/workflows/R-CMD-check.yaml
@@ -28,6 +28,9 @@
# debug: compile package with -DDEBUG and -UNDEBUG
#
# covr: run in covr mode may be used with 'full' but probably not with others.
+#
+#
+# Typical public, private, and release configurations are provided in the variables below.
on: [push, pull_request]
@@ -37,6 +40,21 @@ name: R-CMD-check
env:
PUBLIC: ''
PRIVATE: ''
+ PUBLIC_CONFIG: '{"config":[
+ {"os":"windows-latest", "r":"release", "timeout":360, "flags":"binaries"},
+ {"os":"macOS-latest", "r":"release", "timeout":360, "flags":"binaries, ubsan"},
+ {"os":"ubuntu-latest", "r":"release", "timeout":360, "flags":"full, ubsan, debug"},
+ {"os":"ubuntu-latest", "r":"devel", "timeout":360, "flags":"vignettes, remote"},
+ {"os":"ubuntu-latest", "r":"release", "timeout":360, "flags":"full, covr"}]}'
+ RELEASE_CONFIG: '{"config":[
+ {"os":"windows-latest", "r":"release", "timeout":360, "flags":"binaries, vignettes, remote, strict"},
+ {"os":"macOS-latest", "r":"release", "timeout":360, "flags":"binaries, ubsan, vignettes, remote, strict"},
+ {"os":"ubuntu-latest", "r":"release", "timeout":360, "flags":"full, ubsan, debug, strict"},
+ {"os":"ubuntu-latest", "r":"devel", "timeout":360, "flags":"vignettes, remote, strict"},
+ {"os":"ubuntu-latest", "r":"release", "timeout":360, "flags":"full, covr, strict"}]}'
+ PRIVATE_CONFIG: '{"config":[
+ {"os":"ubuntu-latest", "r":"release", "timeout":10, "flags":"none"}
+ ]}'
jobs:
Set-Matrix-Private:
@@ -76,17 +94,10 @@ jobs:
run: |
if [[ "${{ env.IAM }}" == 'public' ]] # Public: full set.
then
- config='{"config":[
- {"os":"windows-latest", "r":"release", "timeout":360, "flags":"binaries"},
- {"os":"macOS-latest", "r":"release", "timeout":360, "flags":"binaries, ubsan"},
- {"os":"ubuntu-latest", "r":"release", "timeout":360, "flags":"full, ubsan, debug"},
- {"os":"ubuntu-latest", "r":"devel", "timeout":360, "flags":"vignettes, remote"},
- {"os":"ubuntu-latest", "r":"release", "timeout":360, "flags":"full, covr"}]}'
+ config='${{ env.RELEASE_CONFIG }}'
elif [[ "${{ env.FOUND_PUBLIC }}" != '0' ]] # Private with no public analogue: reduced set.
then
- config='{"config":[
- {"os":"ubuntu-latest", "r":"release", "timeout":10, "flags":"none"}
- ]}'
+ config='${{ env.PRIVATE_CONFIG }}'
else # Private with public analogue: no checking.
config=''
fi
diff --git a/DESCRIPTION b/DESCRIPTION
index 1c26f5f..d22b700 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,5 +1,5 @@
Package: latentnet
-Version: 2.11.0-1642
+Version: 2.11.0
Date: 2024-02-19
Title: Latent Position and Cluster Models for Statistical Networks
Authors@R: c(
diff --git a/inst/CITATION b/inst/CITATION
index fa6eb31..7a1d715 100644
--- a/inst/CITATION
+++ b/inst/CITATION
@@ -15,10 +15,9 @@ bibentry("Manual", author = structure(list(list(given = "Pavel N.",
comment = NULL)), class = "person"), title = paste("latentnet",
": ", gsub("\n", " ", "Latent Position and Cluster Models for Statistical Networks",
fixed = TRUE), sep = ""), organization = paste0("The Statnet Project (\\url{",
- "https://statnet.org", "})"), year = substr("2022-05-10",
- 1, 4), note = paste("R package version ", "2.10.0-1623",
- sep = ""), url = paste0("https://CRAN.R-project.org/package=",
- "latentnet"))
+ "https://statnet.org", "})"), year = substr("2024-02-19",
+ 1, 4), note = paste("R package version ", "2.11.0", sep = ""),
+ url = paste0("https://CRAN.R-project.org/package=", "latentnet"))
# ---- END AUTOGENERATED STATNET CITATION ----
bibentry("Article",
title = "Fitting position latent cluster models for social networks with latentnet",