Skip to content

Commit eb2b8e3

Browse files
committed
better
1 parent bbcd3d8 commit eb2b8e3

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

‎NEWS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CodeCarbonR (development version)
1+
# CodeCarbonR 0.0.0.9000
22

33
## New features
44

‎RELEASING.md‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,18 @@ only pursue this if you specifically want CRAN's discoverability/CI
8181
guarantees on top. Frictions specific to this package:
8282

8383
- **`R CMD check --as-cran` must stay clean.** Locally this package
84-
currently passes with 0 errors/warnings/notes (validated 2026-08-04);
85-
re-run with `--as-cran` specifically before submitting, since it enables
86-
a few extra checks beyond a plain `R CMD check`.
84+
currently passes with 0 errors, 0 warnings, and 1 NOTE (validated
85+
2026-08-04); re-run with `--as-cran` specifically before submitting,
86+
since it enables a few extra checks beyond a plain `R CMD check`. The
87+
one NOTE is `CITATION.cff` living at the repo root ("Found the following
88+
CITATION file in a non-standard place... Most likely 'inst/CITATION'
89+
should be used instead") -- unavoidable while keeping both: `CITATION.cff`
90+
has to live at the repo root for GitHub's "Cite this repository" button
91+
and Zenodo to find it, and `inst/CITATION` (already added) is what makes
92+
`citation("CodeCarbonR")` work from R. If a CRAN maintainer objects to
93+
the NOTE, the fix is to drop `CITATION.cff` from CRAN's submission
94+
tarball via `.Rbuildignore` -- but keep it in the GitHub repo itself so
95+
Zenodo archiving still works.
8796
- **`setup_carbon_tracker()` installs software and touches the network.**
8897
CRAN's policy forbids examples/tests/vignettes that install software,
8998
write outside `tempdir()`, or require network access during

0 commit comments

Comments
 (0)