...
 
Commits (2)
......@@ -9,7 +9,7 @@ R-base-create:
- "r-base-biosp"
script:
# create Rcpp exporters
- "Rscript -e \"Rcpp::compileAttributes(pkg='.')\""
- "Rscript -e \"Rcpp::compileAttributes()\""
# need compile dll before roxygen
- "Rscript -e \"pkgbuild::compile_dll()\""
# generate Documentation
......@@ -27,7 +27,7 @@ R-devel-create:
tags:
- "r-devel-biosp"
script:
- "Rscript -e \"Rcpp::compileAttributes(pkg='.')\""
- "Rscript -e \"Rcpp::compileAttributes()\""
- "Rscript -e \"pkgbuild::compile_dll()\""
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
- "R CMD build . --resave-data"
......@@ -42,7 +42,7 @@ R-Mac-create:
- "Mac"
- "R"
script:
- "Rscript -e \"Rcpp::compileAttributes(pkg='.')\""
- "Rscript -e \"Rcpp::compileAttributes()\""
- "Rscript -e \"pkgbuild::compile_dll()\""
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
- "R CMD build . --resave-data"
......@@ -57,7 +57,7 @@ R-Windows-create:
- "R"
- "binaries"
script:
- "Rscript -e \"Rcpp::compileAttributes(pkg='.')\""
- "Rscript -e \"Rcpp::compileAttributes()\""
- "Rscript -e \"pkgbuild::compile_dll()\""
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
- "R CMD build . --resave-data"
......
# Generated by roxygen2: do not edit by hand
export(awesomemethod)
export(awesomemethod2)
import(Rcpp)
import(graphics)
import(methods)
import(stats)
useDynLib(PackageRTemplate, .registration = TRUE)
......@@ -17,6 +17,7 @@ This template generate the documentation, build the package, run unit tests, che
- [The .gitlab-ci.yml file](#the-gitlab-ciyml-file)
- [Author](#author)
- [License](#license)
- [Note](#note)
## Prerequisites
......@@ -34,8 +35,8 @@ This template generate the documentation, build the package, run unit tests, che
There are severals version of this project, depending if the package need compilations, vignettes... :
* simple R package : [master](/master)
* R package and c++ code source : [Rcpp](/rcpp)
* simple R package : [master](../master)
* R package and c++ code source : [Rcpp](../rcpp)
## Files
......@@ -107,3 +108,11 @@ Each jobs produce artifacts mainly in _build_ stage, they produce R packages del
## License
See [LICENSE](LICENSE)
## Note
Tests files was generated by :
```
R> use_catch(".")
```