Skip to content

Commit e9cc6fe

Browse files
committed
Fixing other files related to tagging release 0.2.0
1 parent 1b40fd0 commit e9cc6fe

4 files changed

Lines changed: 43 additions & 14 deletions

File tree

AGENTS.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,22 @@ Standing authorization for this repository:
4242
* Agents may use `curl` (or equivalent read-only HTTP tools) for repository
4343
and upstream references on:
4444
`github.com`, `api.github.com`, `raw.githubusercontent.com`,
45-
`github.com/tskit-dev/tskit`, and `tskit.dev`
45+
`github.com/tskit-dev/tskit`, `tskit.dev`,
46+
`cran.r-project.org`, `cranchecks.info`, `badges.cranchecks.info`,
47+
`r-pkg.org`, `cranlogs.r-pkg.org`, `img.shields.io`,
48+
`codecov.io`, `app.codecov.io`, and `highlanderlab.r-universe.dev`
4649
(including issues, pull requests, comments, events, metadata, and docs).
50+
* For the above domains, agents should execute `curl` directly without asking
51+
for extra confirmation in chat; if sandboxing requires escalation, submit the
52+
escalated tool request immediately and continue.
53+
* To minimise repeated platform permission prompts, prefer these canonical
54+
command forms (same flags and flag order):
55+
56+
```sh
57+
curl -sS --max-time 15 <url>
58+
curl -I -sS --max-time 15 <url>
59+
```
60+
4761
* This standing authorization does not override explicit user instructions or
4862
allow destructive commands that were not requested by the user.
4963

README.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,19 @@ to develop new `R` packages that can leverage `RcppTskit`.
3333

3434
<!-- Row 1 -->
3535
General: [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) <!-- Col-1-End -->
36-
[![Development](https://img.shields.io/badge/development-active-blue.svg)](https://img.shields.io/badge/development-active-blue.svg) <!-- Col-2-End -->
36+
[![Development](https://img.shields.io/badge/development-active-blue.svg)](https://github.com/HighlanderLab/RcppTskit?tab=readme-ov-file#development) <!-- Col-2-End -->
3737
[![Licence](https://img.shields.io/badge/licence-MIT-blue.svg)](https://opensource.org/licenses/MIT) <!-- Col-3-End -->
3838

3939
<!-- Row 2 -->
4040
Release: [![CRAN version](https://www.r-pkg.org/badges/version/RcppTskit)](https://CRAN.R-project.org/package=RcppTskit) <!-- Col-1-End -->
4141
[![Downloads - total](https://cranlogs.r-pkg.org/badges/grand-total/RcppTskit)](https://cranlogs.r-pkg.org/badges/grand-total/RcppTskit) <!-- Col-2-End -->
42-
![GitHub version (main)](https://img.shields.io/github/r-package/v/HighlanderLab/RcppTskit/main?filename=RcppTskit%2FDESCRIPTION&label=Github) <!-- Col-3-End -->
42+
[![GitHub version (main)](https://img.shields.io/github/r-package/v/HighlanderLab/RcppTskit/main?filename=RcppTskit%2FDESCRIPTION&label=Github)](https://github.com/HighlanderLab/RcppTskit) <!-- Col-3-End -->
4343

4444
<!-- Row 3 -->
45-
R CMD checks: [![CRAN](https://cranchecks.info/badges/summary/RcppTskit?label=CRAN)](https://cran.r-project.org/web/checks/check_results_RcppTskit.html) <!-- Col-1-End -->
46-
[![R universe](https://highlanderlab.r-universe.dev/RcppTskit/badges/checks?label=R-universe)](https://highlanderlab.r-universe.dev/RcppTskit) <!-- Col-2-End -->
47-
[![GitHub](https://img.shields.io/github/actions/workflow/status/HighlanderLab/RcppTskit/R-CMD-check.yaml?label=GitHub)](https://github.com/HighlanderLab/RcppTskit/actions/workflows/R-CMD-check.yaml) <!-- Col-3-End -->
45+
R CMD checks: [![CRAN summary](https://badges.cranchecks.info/summary/RcppTskit.svg)](https://cran.r-project.org/web/checks/check_results_RcppTskit.html) <!-- Col-1-End -->
46+
[![CRAN worst](https://badges.cranchecks.info/worst/RcppTskit.svg)](https://cran.r-project.org/web/checks/check_results_RcppTskit.html) <!-- Col-2-End -->
47+
[![R universe](https://highlanderlab.r-universe.dev/RcppTskit/badges/checks?label=R-universe)](https://highlanderlab.r-universe.dev/RcppTskit) <!-- Col-3-End -->
48+
[![GitHub](https://img.shields.io/github/actions/workflow/status/HighlanderLab/RcppTskit/R-CMD-check.yaml?label=GitHub)](https://github.com/HighlanderLab/RcppTskit/actions/workflows/R-CMD-check.yaml) <!-- Col-4-End -->
4849

4950
<!-- Row 4 -->
5051
Code quality: [![Codecov test coverage](https://codecov.io/gh/HighlanderLab/RcppTskit/graph/badge.svg)](https://app.codecov.io/gh/HighlanderLab/RcppTskit) <!-- Col-1-End -->
@@ -73,19 +74,25 @@ To install the published release from
7374
[CRAN](https://cran.r-project.org/package=RcppTskit) use:
7475

7576
```
77+
# Install
7678
install.packages("RcppTskit")
79+
80+
# Read the introduction to RcppTskit
7781
vignette("RcppTskit_intro")
7882
```
7983

8084
To install the latest development version (possibly unstable!) from
8185
[R universe](https://r-universe.dev) use:
8286

8387
```
88+
# Install
8489
r_universe_and_cran <- c(
8590
"https://highlanderlab.r-universe.dev",
8691
"https://cloud.r-project.org"
8792
)
8893
install.packages("RcppTskit", repos = r_universe_and_cran)
94+
95+
# Read the introduction to RcppTskit
8996
vignette("RcppTskit_intro")
9097
```
9198

@@ -102,19 +109,18 @@ https://mac.r-project.org/tools for macOS tools.
102109
```
103110
# install.packages("remotes") # If you don't have it already
104111
105-
# Release
106-
# TODO: Tag a release #15
107-
# https://github.com/HighlanderLab/RcppTskit/issues/15
108-
# remotes::install_github("HighlanderLab/RcppTskit/RcppTskit")
109-
110-
# Main branch
112+
# Install the main branch
111113
remotes::install_github("HighlanderLab/RcppTskit/RcppTskit@main",
112114
build_vignettes=TRUE)
113115
114-
# Development branch
116+
# Install the development branch
115117
remotes::install_github("HighlanderLab/RcppTskit/RcppTskit@devel",
116118
build_vignettes=TRUE)
117119
120+
# Install a specific release (say, v0.2.0)
121+
remotes::install_github("HighlanderLab/RcppTskit/RcppTskit@v0.2.0")
122+
123+
# Read the introduction to RcppTskit
118124
vignette("RcppTskit_intro")
119125
```
120126

RcppTskit/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: RcppTskit
33
Title: 'R' Access to the 'tskit C' API
4-
Version: 0.2.0
4+
Version: 0.2.0.9000
55
Date: 2026-01-27
66
Authors@R: c(
77
person("Gregor", "Gorjanc", , "gregor.gorjanc@gmail.com", role = c("aut", "cre", "cph"),

RcppTskit/notes_pkg_dev.Rmd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,15 @@ use_release_issue(version = NULL) # https://usethis.r-lib.org/reference/use_rele
252252
# just follow tasks in there;)
253253
```
254254

255+
Tag a release:
256+
257+
```
258+
git checkout main
259+
git pull --ff-only origin main
260+
git tag -a v0.2.0 eb6e19c -m "RcppTskit 0.2.0"
261+
git push origin v0.2.0
262+
```
263+
255264
## Dev tools setup / use
256265

257266
```

0 commit comments

Comments
 (0)