Skip to content

Commit

Permalink
Updated SOPs for CRAN upload regarding vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
hofnerb committed May 3, 2017
1 parent 658599c commit 2599aed
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ copy_Rout_to_Routsave.R
vignettes/gamboostLSS_Tutorial.tex
vignettes/auto
vignettes/graphics
vignettes/fig-crossvalidation.pdf
checks.R
1 change: 1 addition & 0 deletions .RbuildignoreCRAN
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ vignettes/gamboostLSS_Tutorial.tex
vignettes/auto
vignettes/graphics
vignettes/.*\.Rout\.save$
vignettes/cvrisk
15 changes: 14 additions & 1 deletion SOP_release.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@

Quit R and run
../relative/path/to/R-devel/bin/R CMD check --as-cran --run-dontrun --run-donttest gamboostLSS_XXX.tar.gz

Removing cvrisk results to reduce package size
----------------------------------------------

1) Add eval = FALSE to chunks <<cvrisk>>, <<load_cvrisk>>, <<crossvalidation>>,
<<check_initial_assignement>> and <<subset>>
2) Add \includegraphics{fig-crossvalidation.pdf} after chunk <<crossvalidation>>
3) Replace chunk <<mstop>> with
\begin{Sinput}
R> mstop(cvr)
mu sigma
1269 84
\end{Sinput}


Making a release
Expand Down Expand Up @@ -78,5 +91,5 @@
R CMD buildCRAN --resave-data --compact-vignettes patch && R CMD check --as-cran gamboostLSS_XXX.tar.gz

To use the script copy it to R RHOME (< enter this in the console) /bin and make it executable.

Use web form at http://xmpalantir.wu.ac.at/cransubmit/.
Binary file added vignettes/fig-crossvalidation.pdf
Binary file not shown.

0 comments on commit 2599aed

Please sign in to comment.