Skip to content

Commit 3cb95b3

Browse files
committed
Adding cran-comments.md; Documenting new submission CRAN check
1 parent 4e84017 commit 3cb95b3

3 files changed

Lines changed: 31 additions & 3 deletions

File tree

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@
3232
^quarto$
3333
^quarto/.*
3434
^render_quarto_docs\.R$
35+
36+
^cran-comments\.md$

cran-comments.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## R CMD check results
2+
3+
0 errors | 0 warnings | 1 note
4+
5+
* checking for future file timestamps: unable to verify current time
6+
This is a local network issue (time server unreachable during check)
7+
and is not related to the package.
8+
9+
## Test environments
10+
11+
* Local: macOS Tahoe 26.3.1, R 4.5.2 (aarch64-apple-darwin20)
12+
* win-builder: R-devel
13+
* win-builder: R-release
14+
15+
## Downstream dependencies
16+
17+
This is a new submission. There are no reverse dependencies.

dev/devtools_package.R

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,20 @@ pak::pak("larry-leon/forestsearch")
165165
# Restart R again, then:
166166
#pak::pak("larry-leon/forestsearch")
167167

168-
# Build the tarball
169-
R CMD build forestsearch/
170168

169+
devtools::build() # creates the tarball
170+
171+
devtools::check_built(
172+
"/Users/larryleon/Documents/GitHub/forestsearch/dev/code-working/CRAN_submission_steps/version_010/forestsearch_0.1.0.tar.gz",
173+
args = "--as-cran"
174+
)
175+
176+
177+
178+
# Build the tarball
179+
#R CMD build forestsearch/
171180
# Run the full CRAN check
172-
R CMD check --as-cran forestsearch_0.1.0.tar.gz
181+
#R CMD check --as-cran forestsearch_0.1.0.tar.gz
173182

174183

175184
# corrupt .rdb cached. Force remove it

0 commit comments

Comments
 (0)