Skip to content

Commit

Permalink
Merge pull request #9 from Yashwants19/Lets-try-auto-generated
Browse files Browse the repository at this point in the history
Lets try auto generated .R and .cpp files
  • Loading branch information
Yashwants19 committed Jul 22, 2020
2 parents 627f498 + 1942744 commit 2d256c0
Show file tree
Hide file tree
Showing 1,389 changed files with 34,970 additions and 124,538 deletions.
3 changes: 2 additions & 1 deletion .Rbuildignore
Expand Up @@ -7,4 +7,5 @@ appveyor.yml
^.editorconfig$
.*\.tar\.gz$
^\.travis\.yml$
^\appveyor\.yml$
^\appveyor\.yml$
^\.github$
5 changes: 4 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Expand Up @@ -19,6 +19,8 @@ jobs:
matrix:
config:
- { os: windows-latest, r: '3.6'}
- { os: windows-latest, r: 'devel'}
- { os: windows-latest, r: 'release'}
- { os: macOS-latest, r: '3.6'}
- { os: macOS-latest, r: 'devel'}
- { os: macOS-latest, r: 'release'}
Expand All @@ -34,6 +36,7 @@ jobs:
R_BUILD_ARGS: "--no-build-vignettes"
R_CHECK_ARGS: "--no-build-vignettes"
_R_CHECK_FORCE_SUGGESTS: 0
_R_CHECK_DONTTEST_EXAMPLES_: false

steps:
- uses: actions/checkout@v1
Expand Down Expand Up @@ -67,7 +70,7 @@ jobs:
run: Rscript -e "library(remotes)" -e "update(readRDS('depends.Rds'))" -e "remotes::install_cran('rcmdcheck')"

- name: Check
run: Rscript -e "rcmdcheck::rcmdcheck(args = c('--no-manual', '--no-build-vignettes', '--no-vignettes'), build_args = '--no-build-vignettes', error_on = 'error', check_dir = 'check')"
run: Rscript -e "rcmdcheck::rcmdcheck(args = c('--no-manual', '--no-build-vignettes', '--no-vignettes', '--as-cran'), build_args = '--no-build-vignettes', error_on = 'error', check_dir = 'check')"

- name: Upload check results
if: failure()
Expand Down
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions DESCRIPTION
Expand Up @@ -15,12 +15,11 @@ SystemRequirements: A C++11 compiler. Versions 4.8.*, 4.9.* or later of GCC will
License: GPL (>= 2)
Depends: R (>= 3.2.0)
Imports: Rcpp (>= 0.12.4), xml2
LinkingTo: Rcpp, RcppArmadillo, BH
LinkingTo: Rcpp, RcppArmadillo, BH, RcppEnsmallen
VignetteBuilder: knitr
Suggests:
knitr,
testthat (>= 2.1.0)
URL: http://www.mlpack.org/
BugReports: https://github.com/Yashwants19/RcppMLPACK/issues
RoxygenNote: 7.1.0
Encoding: UTF-8
66 changes: 55 additions & 11 deletions NAMESPACE
@@ -1,12 +1,56 @@
useDynLib("RcppMLPACK", .registration=TRUE)
export("RcppMLPACK.package.skeleton",
"test_r_binding",
"lars",
"pca",
"serialize_gaussian_kernel_to_xml",
"serialize_lars_to_xml",
"Serialize",
"Unserialize")
# Generated by roxygen2: do not edit by hand

export(RcppMLPACK.package.skeleton)
export(Serialize)
export(Unserialize)
export(adaboost)
export(approx_kfn)
export(cf)
export(dbscan)
export(decision_stump)
export(decision_tree)
export(det)
export(emst)
export(fastmks)
export(gmm_generate)
export(gmm_probability)
export(gmm_train)
export(hmm_generate)
export(hmm_loglik)
export(hmm_train)
export(hmm_viterbi)
export(hoeffding_tree)
export(image_converter)
export(kde)
export(kernel_pca)
export(kfn)
export(kmeans)
export(knn)
export(krann)
export(lars)
export(linear_regression)
export(linear_svm)
export(lmnn)
export(local_coordinate_coding)
export(logistic_regression)
export(lsh)
export(mean_shift)
export(nbc)
export(nca)
export(nmf)
export(pca)
export(perceptron)
export(preprocess_binarize)
export(preprocess_describe)
export(preprocess_scale)
export(preprocess_split)
export(radical)
export(random_forest)
export(softmax_regression)
export(sparse_coding)
export(test_r_binding)
import(xml2)
importFrom("Rcpp", "evalCpp")
importFrom("utils", "packageDescription", "package.skeleton")
importFrom(Rcpp,evalCpp)
importFrom(utils,package.skeleton)
importFrom(utils,packageDescription)
useDynLib(RcppMLPACK)

0 comments on commit 2d256c0

Please sign in to comment.