Skip to content

Commit 739fb16

Browse files
authored
Merge pull request #79 from ThinkR-open/bump-v
update test and prep for CRAN submission
2 parents d320329 + 9182da8 commit 739fb16

File tree

9 files changed

+523
-104
lines changed

9 files changed

+523
-104
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: dockerfiler
22
Title: Easy Dockerfile Creation from R
3-
Version: 0.2.3
3+
Version: 0.2.4
44
Authors@R: c(
55
person("Colin", "Fay", , "[email protected]", role = c("cre", "aut"),
66
comment = c(ORCID = "0000-0001-7343-1846")),

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# dockerfiler 0.2.4
2+
3+
- remove native pipe thanks to @HenningLorenzen-ext-bayer, this enable to use of older R versions
4+
- update `dock_from_renv()` test to catch all output lines
5+
16
# dockerfile 0.2.3
27

38
- remove sysreqs.r-hub.io to use {pak} instead for system requirement detection

R/dock_from_renv.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,4 +245,3 @@ dock_from_renv <- function(
245245
dock
246246
}
247247

248-

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)