Skip to content

Commit 9182da8

Browse files
committed
chore: add CRAN roadmap
1 parent 8224135 commit 9182da8

File tree

2 files changed

+460
-0
lines changed

2 files changed

+460
-0
lines changed

dev/0-dev_history.Rmd

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,39 @@ pkgdown::build_site()
7777
devtools::build()
7878
```
7979

80+
# Checks for CRAN release ----
81+
82+
## Copy the latest version of PREPARE_FOR_CRAN ----
83+
84+
```{r}
85+
url <- "https://raw.githubusercontent.com/ThinkR-open/prepare-for-cran/master/README.md"
86+
destination <- "dev/dev_history_PREPARE_FOR_CRAN.md"
87+
download.file(url, destfile = destination, mode = "wb")
88+
89+
line <- grep(pattern = "# Prepare for CRAN ----", readLines(destination))
90+
rstudioapi::navigateToFile(destination, line = line)
91+
```
92+
93+
### Run the automated tests
94+
95+
## {dockerfiler} specificity : ----
96+
97+
### If `Check reverse dependencies` doesn't work`with `revdep_check()`:
98+
### retrieve the GitHub files of the {dockerfiler}-dependent packages (golem),
99+
### install attachment locally and check().
100+
101+
## BEFORE RELEASE: ----
102+
103+
### Add comments for CRAN
104+
### Need to .gitignore this file
105+
106+
```{r}
107+
usethis::use_cran_comments(open = rlang::is_interactive())
108+
```
109+
110+
### Why we have `\dontrun{}`
111+
112+
```{r}
113+
usethis::use_git_ignore("cran-comments.md")
114+
usethis::use_git_ignore("CRAN-SUBMISSION")
115+
```

0 commit comments

Comments
 (0)