Skip to content

Commit

Permalink
Forked a release branch, fixed version number, updated citation, and …
Browse files Browse the repository at this point in the history
…set tests to strict/remote/vignettes.
  • Loading branch information
krivit committed Feb 19, 2024
1 parent d9ec9fa commit 3ea9bb8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 14 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: latentnet
Version: 2.11.0-1647
Version: 2.11.0
Date: 2024-02-19
Title: Latent Position and Cluster Models for Statistical Networks
Authors@R: c(
Expand Down
7 changes: 3 additions & 4 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3ea9bb8

Please sign in to comment.