Skip to content

Commit

Permalink
Checks
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Solymos <psolymos@gmail.com>
  • Loading branch information
psolymos committed Aug 18, 2023
1 parent 67d88a9 commit 618092f
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 15 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
^\.github$
^cran-comments\.md$
^CRAN-SUBMISSION$
^RELEASE\.R$
46 changes: 46 additions & 0 deletions RELEASE.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
devtools::spell_check()
spelling::update_wordlist()

urlchecker::url_check()

devtools::document()
devtools::check()

library(rhub)
#validate_email("peter@analythium.io")
platforms()
f <- c("ubuntu-gcc-devel",
"ubuntu-gcc-release",
"windows-x86_64-devel",
"windows-x86_64-release",
"windows-x86_64-oldrel")
check(platform=f)
list_package_checks(".")

pkgnews <- function() {
x <- readLines("NEWS.md")
x <- x[x != ""]
h <- which(startsWith(x, "#"))
i <- (h[1]+1):(h[2]-1)
paste0(x[i], collapse="\n")
}
cat(sprintf('Dear CRAN Maintainers,
I am submitting the %s version of the %s R extension package to CRAN.
## Changelog
We made the following changes since the last release:
%s
%s
Yours,
Peter Solymos
maintainer',
read.dcf("DESCRIPTION", fields="Version")[1],
read.dcf("DESCRIPTION", fields="Package")[1],
pkgnews(),
paste0(readLines("cran-comments.md"), collapse="\n")))
29 changes: 14 additions & 15 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
## Test environments
- macOS 12.2.1, R 4.2.1
- Windows Server 2022, R-devel (on R-hub)
- Ubuntu Linux 20.04.1 LTS, R-release (on R-hub)
- Fedora Linux, R-devel (on R-hub)

The package was tested with `R CMD check --as-cran` on the following platforms:

* Ubuntu Linux GCC (oldrel, release, devel),
* Windows x86_64 (oldrel, release, devel),
* MacOS (release).

## R CMD check results

0 errors | 0 warnings | 2 notes

```
* checking CRAN incoming feasibility ... NOTE
Maintainer: 'Mika Braginsky <mika.br@gmail.com>'
There were no ERRORs or WARNINGs. The following NOTE was displayed:

New submission
```
Maintainer: ‘Peter Solymos <peter@analythium.io>’
Possibly misspelled words in DESCRIPTION:
Mathur (8:39, 9:29, 10:3)
VanderWeele (8:48)
New maintainer:
Peter Solymos <peter@analythium.io>
Old maintainer(s):
Mika Braginsky <mika.br@gmail.com>
```

* This is a new package.
* These are not misspellings.

The package has new maintainer: Peter Solymos.
14 changes: 14 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
CMD
PublicationBias
VanderWeele
doi
dp
ezjsx
io
multibiasmeta
osf
params
phacking
robu
robumeta
vcb

0 comments on commit 618092f

Please sign in to comment.