-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpublish-instructions.txt
23 lines (15 loc) · 1.39 KB
/
publish-instructions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# if you haven't already, increment the version in the DESCRIPTION file.
# run `git pull` to ensure you aren't missing any commits by other contributors (should get "Already up to date" or similar).
# run build-install-test.R to set up roxygen documentation and run examples, tests
# open command prompt (won't work in PowerShell) at the hcslim folder and run the below (after updating the version number)
# add --no-manual if you get PDF creation errors.
R CMD build .
R CMD check hcslim_0.2-1.tar.gz --as-cran --no-manual
# Load to https://win-builder.r-project.org/upload.aspx under R-devel to check similarly against the latest R version.
# run noLD check using the commented line of code at the bottom of build-install-test.R.
# noLD is an option to make things run faster but at lower accuracy, so it makes sense it requires higher tolerance.
# It will run and wait, you can stop it after a few minutes and you’ll get an email in about 12 hours.
# Typically these are resolved by setting a tolerance in your expect_equal calls. I use tolerance = .01 to be safe.
# See this https://www.r-bloggers.com/a-nold-platform-on-r-hub-package-builder/ for more info.
# Update cran-comments.md
# When all checks pass, submit via https://cran.r-project.org/submit.html with updated cran-comments. The maintainer will get an email to confirm the above steps have been completed. They must click the link and confirm.