make.r.Rout
b7e5f2ff
 
c79fdf19
 R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree"
 Copyright (C) 2017 The R Foundation for Statistical Computing
b7e5f2ff
 Platform: x86_64-pc-linux-gnu (64-bit)
 
 R is free software and comes with ABSOLUTELY NO WARRANTY.
 You are welcome to redistribute it under certain conditions.
 Type 'license()' or 'licence()' for distribution details.
 
 R is a collaborative project with many contributors.
 Type 'contributors()' for more information and
 'citation()' on how to cite R or R packages in publications.
 
 Type 'demo()' for some demos, 'help()' for on-line help, or
 'help.start()' for an HTML browser interface to help.
 Type 'q()' to quit R.
 
0ea63212
 > #! /usr/bin/Rscript --vanilla
 > 
b7e5f2ff
 > ## make.r
0ea63212
 > ## 2016-06-03 [email protected]
b7e5f2ff
 > ## my make file for developing R packages
 > 
 > date ()
4f5b2b16
 [1] "Sat Jan 27 22:12:04 2018"
b7e5f2ff
 > rm (list = ls ())
 > R.version.string ##"R version 3.2.1 (2015-06-18)"
c79fdf19
 [1] "R version 3.4.3 (2017-11-30)"
0ea63212
 > library (devtools); packageDescription ("devtools", fields = "Version") #"1.11.1"
c79fdf19
 [1] "1.13.4"
c6e4514a
 > library (knitr); packageDescription ("knitr", fields = "Version") #"1.13"
c79fdf19
 [1] "1.18"
b7e5f2ff
 > #help (package = devtools)
 > 
 > ################################################################################
 > 
c6e4514a
 > 
0ea63212
 > ## Clean up some directories. Usually not needed.
 > unlink ("local", recursive = TRUE)
 > unlink ("check", recursive = TRUE)
 > ##unlink ("pkg/man", recursive = TRUE)  ## BE CAREFUL HERE !!!
b7e5f2ff
 > ##unlink ("pkg/NAMESPACE")              ## BE CAREFUL HERE !!!
 > 
0ea63212
 > ### Create directories
 > dir.create ("local") ## to install the library locally
 > dir.create ("check") ## to keep the output of the check command
b7e5f2ff
 > 
 > ################################################################################
 > 
c6e4514a
 > 
b7e5f2ff
 > ### Build documentation and NAMESPACE
7aea799f
 > document ()
b7e5f2ff
 Updating SNPediaR documentation
 Loading SNPediaR
 > 
 > ################################################################################
 > 
 > 
0ea63212
 > ### FULL CHECK
7aea799f
 > check (check_dir = "check")
b7e5f2ff
 Updating SNPediaR documentation
 Loading SNPediaR
c79fdf19
 Setting env vars --------------------------------------------------------------
467673c8
 CFLAGS  : -Wall -pedantic
 CXXFLAGS: -Wall -pedantic
c79fdf19
 Building SNPediaR -------------------------------------------------------------
0ea63212
 '/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet  \
c79fdf19
   CMD build  \
7aea799f
   '/var/host/media/removable/tgton/programas/mis_librerias/SNPediaR'  \
b7e5f2ff
   --no-resave-data --no-manual 
 
7aea799f
 * checking for file '/var/host/media/removable/tgton/programas/mis_librerias/SNPediaR/DESCRIPTION' ... OK
c79fdf19
 * preparing 'SNPediaR':
b7e5f2ff
 * checking DESCRIPTION meta-information ... OK
 * installing the package to build vignettes
 * creating vignettes ... OK
c79fdf19
 Warning: 'inst/doc' files
     'SNPediaR.Rmd', 'SNPediaR.html', 'SNPediaR.R'
   ignored as vignettes have been rebuilt.
   Run R CMD build with --no-build-vignettes to prevent rebuilding.
 * checking for LF line-endings in source and make files and shell scripts
b7e5f2ff
 * checking for empty or unneeded directories
7aea799f
 Removed empty directory 'SNPediaR/local'
 Removed empty directory 'SNPediaR/pkg'
 * building 'SNPediaR_1.5.1.tar.gz'
b7e5f2ff
 
c79fdf19
 Setting env vars --------------------------------------------------------------
467673c8
 _R_CHECK_CRAN_INCOMING_USE_ASPELL_: TRUE
 _R_CHECK_CRAN_INCOMING_           : FALSE
 _R_CHECK_FORCE_SUGGESTS_          : FALSE
c79fdf19
 Checking SNPediaR -------------------------------------------------------------
0ea63212
 '/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet  \
4f5b2b16
   CMD check '/tmp/RtmpdNHIIU/SNPediaR_1.5.1.tar.gz' --as-cran --timings  \
0ea63212
   --no-manual 
b7e5f2ff
 
c79fdf19
 * using log directory '/var/host/media/removable/tgton/programas/mis_librerias/SNPediaR/check/SNPediaR.Rcheck'
 * using R version 3.4.3 (2017-11-30)
b7e5f2ff
 * using platform: x86_64-pc-linux-gnu (64-bit)
c79fdf19
 * using session charset: ASCII
 * using options '--no-manual --as-cran'
 * checking for file 'SNPediaR/DESCRIPTION' ... OK
7aea799f
 * this is package 'SNPediaR' version '1.5.1'
b7e5f2ff
 * checking package namespace information ... OK
 * checking package dependencies ... OK
 * checking if this is a source package ... OK
 * checking if there is a namespace ... OK
 * checking for executable files ... OK
 * checking for hidden files and directories ... OK
 * checking for portable file names ... OK
 * checking for sufficient/correct file permissions ... OK
c79fdf19
 * checking whether package 'SNPediaR' can be installed ... OK
b7e5f2ff
 * checking installed package size ... OK
 * checking package directory ... OK
c79fdf19
 * checking 'build' directory ... OK
b7e5f2ff
 * checking DESCRIPTION meta-information ... OK
 * checking top-level files ... OK
 * checking for left-over files ... OK
 * checking index information ... OK
 * checking package subdirectories ... OK
 * checking R files for non-ASCII characters ... OK
 * checking R files for syntax errors ... OK
 * checking whether the package can be loaded ... OK
 * checking whether the package can be loaded with stated dependencies ... OK
 * checking whether the package can be unloaded cleanly ... OK
 * checking whether the namespace can be loaded with stated dependencies ... OK
 * checking whether the namespace can be unloaded cleanly ... OK
 * checking loading without being on the library search path ... OK
 * checking dependencies in R code ... OK
 * checking S3 generic/method consistency ... OK
 * checking replacement functions ... OK
 * checking foreign function calls ... OK
 * checking R code for possible problems ... OK
 * checking Rd files ... OK
 * checking Rd metadata ... OK
 * checking Rd line widths ... OK
 * checking Rd cross-references ... OK
 * checking for missing documentation entries ... OK
 * checking for code/documentation mismatches ... OK
 * checking Rd \usage sections ... OK
 * checking Rd contents ... OK
 * checking for unstated dependencies in examples ... OK
c79fdf19
 * checking installed files from 'inst/doc' ... OK
 * checking files in 'vignettes' ... OK
b7e5f2ff
 * checking examples ... OK
c79fdf19
 * checking for unstated dependencies in 'tests' ... OK
0ea63212
 * checking tests ...
c79fdf19
   Running 'testthat.R'
0ea63212
  OK
b7e5f2ff
 * checking for unstated dependencies in vignettes ... OK
c79fdf19
 * checking package vignettes in 'inst/doc' ... OK
b7e5f2ff
 * checking re-building of vignette outputs ... OK
 * DONE
 
0ea63212
 Status: OK
467673c8
 
0ea63212
 R CMD check results
 0 errors | 0 warnings | 0 notes
b7e5f2ff
 
c6e4514a
 > 
 > ## ### First (quick) CHECK of the library
 > ## see how to avoid testing here ???
 > ## check (pkg = "pkg",
 > ##        document = FALSE,      ## document: if ‘TRUE’ (the default), will update and check documentation before running formal check.
 > ##        check_dir = "check",   ## check_dir: the directory in which the package is checked
 > ##        vignettes = FALSE,                           ## do not run vignette code ............ when BUILDING
 > ##        args = c ("--no-examples", "--no-vignettes") ## do not run vignette code and examples when CHECKING -> args: Additional arguments passed to ‘R CMD check’
 > ##        )
 > 
 > ## ## Examples: run separately from check
 > ## run_examples (pkg = "pkg")
 > 
 > ## ### Test
 > ## test (pkg = "pkg")
 > 
0ea63212
 > 
 > ################################################################################
 > 
c6e4514a
 > 
 > ### Vignettes
7aea799f
 > build_vignettes ()
c6e4514a
 Building SNPediaR vignettes
 Moving SNPediaR.html, SNPediaR.R to inst/doc/
 Copying SNPediaR.Rmd to inst/doc/
 > 
 > ## md format for Github
7aea799f
 > knit (input = "vignettes/SNPediaR.Rmd")
c6e4514a
 
 
7aea799f
 processing file: vignettes/SNPediaR.Rmd
c6e4514a
 
  |                                                                       
  |                                                                 |   0%
  |                                                                       
  |...                                                              |   4%
61a5cb4d
   ordinary text without R code
c6e4514a
 
 
  |                                                                       
  |......                                                           |   9%
 label: style (with options) 
 List of 2
  $ echo   : logi FALSE
  $ results: chr "asis"
 
 
  |                                                                       
  |........                                                         |  13%
   ordinary text without R code
 
 
  |                                                                       
  |...........                                                      |  17%
 label: unnamed-chunk-1
 
  |                                                                       
  |..............                                                   |  22%
   ordinary text without R code
 
 
  |                                                                       
  |.................                                                |  26%
 label: unnamed-chunk-2
 
  |                                                                       
  |....................                                             |  30%
   ordinary text without R code
 
 
  |                                                                       
  |.......................                                          |  35%
 label: unnamed-chunk-3
 
  |                                                                       
  |.........................                                        |  39%
   ordinary text without R code
 
 
  |                                                                       
  |............................                                     |  43%
 label: unnamed-chunk-4
 
  |                                                                       
  |...............................                                  |  48%
   ordinary text without R code
 
 
  |                                                                       
  |..................................                               |  52%
 label: unnamed-chunk-5
 
  |                                                                       
  |.....................................                            |  57%
   ordinary text without R code
 
 
  |                                                                       
  |........................................                         |  61%
 label: unnamed-chunk-6
 
  |                                                                       
  |..........................................                       |  65%
   ordinary text without R code
 
 
  |                                                                       
  |.............................................                    |  70%
 label: unnamed-chunk-7
 
  |                                                                       
  |................................................                 |  74%
   ordinary text without R code
 
 
  |                                                                       
  |...................................................              |  78%
 label: unnamed-chunk-8
 
  |                                                                       
  |......................................................           |  83%
   ordinary text without R code
 
 
  |                                                                       
  |.........................................................        |  87%
 label: unnamed-chunk-9
 
  |                                                                       
  |...........................................................      |  91%
   ordinary text without R code
 
 
  |                                                                       
  |..............................................................   |  96%
 label: unnamed-chunk-10
 
  |                                                                       
  |.................................................................| 100%
    inline R code fragments
 
 
 output file: SNPediaR.md
 
 [1] "SNPediaR.md"
 > li <- readLines ("SNPediaR.md")
 > li <- li[-(1:which (li == "</style>"))]
 > writeLines (li, "SNPediaR.md")
 > ##system ("pandoc -f markdown -t html -o SNPediaR.html SNPediaR.md")
 > 
 > ################################################################################
 > 
 > 
0ea63212
 > ### Local Installation
7aea799f
 > install.packages (".", lib = "local", repos = NULL, INSTALL_opts = "--html")
c79fdf19
 * installing *source* package 'SNPediaR' ...
0ea63212
 ** R
 ** inst
 ** preparing package for lazy loading
 ** help
 *** installing help indices
c79fdf19
   converting help for package 'SNPediaR'
0ea63212
     finding HTML links ... done
     extractTags                             html  
     getCategoryElements                     html  
     getPages                                html  
 ** building package indices
 ** installing vignettes
 ** testing if installed package can be loaded
 * DONE (SNPediaR)
 > 
 > ################################################################################
 > 
b7e5f2ff
 > 
 > ### Build the package
7aea799f
 > build (path = "dist", manual = TRUE, vignettes = TRUE)
0ea63212
 '/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet  \
c79fdf19
   CMD build  \
7aea799f
   '/var/host/media/removable/tgton/programas/mis_librerias/SNPediaR'  \
b7e5f2ff
   --no-resave-data 
 
7aea799f
 * checking for file '/var/host/media/removable/tgton/programas/mis_librerias/SNPediaR/DESCRIPTION' ... OK
c79fdf19
 * preparing 'SNPediaR':
b7e5f2ff
 * checking DESCRIPTION meta-information ... OK
 * installing the package to build vignettes
 * creating vignettes ... OK
c79fdf19
 Warning: 'inst/doc' files
     'SNPediaR.Rmd', 'SNPediaR.html', 'SNPediaR.R'
   ignored as vignettes have been rebuilt.
   Run R CMD build with --no-build-vignettes to prevent rebuilding.
 * checking for LF line-endings in source and make files and shell scripts
b7e5f2ff
 * checking for empty or unneeded directories
7aea799f
 Removed empty directory 'SNPediaR/pkg'
 * building 'SNPediaR_1.5.1.tar.gz'
b7e5f2ff
 
7aea799f
 [1] "dist/SNPediaR_1.5.1.tar.gz"
0ea63212
 > 
b7e5f2ff
 > 
 > ###EXIT
 > warnings ()
 NULL
 > sessionInfo ()
c79fdf19
 R version 3.4.3 (2017-11-30)
b7e5f2ff
 Platform: x86_64-pc-linux-gnu (64-bit)
c79fdf19
 Running under: Ubuntu 16.04.3 LTS
 
 Matrix products: default
 BLAS: /usr/lib/libblas/libblas.so.3.6.0
 LAPACK: /usr/lib/lapack/liblapack.so.3.6.0
b7e5f2ff
 
 locale:
c79fdf19
 [1] C
b7e5f2ff
 
 attached base packages:
 [1] stats     graphics  grDevices utils     datasets  methods   base     
 
 other attached packages:
7aea799f
 [1] BiocStyle_2.6.1 SNPediaR_1.5.1  knitr_1.18      devtools_1.13.4
b7e5f2ff
 
 loaded via a namespace (and not attached):
c79fdf19
  [1] Rcpp_0.12.15         xml2_1.1.1           magrittr_1.5        
  [4] roxygen2_6.0.1       R6_2.2.2             rlang_0.1.6         
  [7] stringr_1.2.0        tools_3.4.3          withr_2.1.1         
 [10] htmltools_0.3.6      commonmark_1.4       yaml_2.1.16         
 [13] digest_0.6.14        assertthat_0.2.0     rprojroot_1.3-2     
 [16] bookdown_0.5         crayon_1.3.4         bitops_1.0-6        
 [19] RCurl_1.95-4.10      testthat_2.0.0       evaluate_0.10.1     
 [22] memoise_1.1.0        rmarkdown_1.8        stringi_1.1.6       
 [25] compiler_3.4.3       BiocInstaller_1.28.0 desc_1.1.1          
 [28] backports_1.1.2      jsonlite_1.5        
b7e5f2ff
 > q ("no")
 > proc.time()
    user  system elapsed 
4f5b2b16
  79.930   6.925 135.037