Skip to content

Commit

Permalink
updating from master
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamSpannbauer committed Jan 12, 2017
1 parent e36cc15 commit 8678826
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 52 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ RoxygenNote: 5.0.1
Imports: dplyr, tidyr, magrittr, stringr, SnowballC, igraph, tm,
Rcpp
LinkingTo: Rcpp
Suggests: covr
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export(sentenceParse)
export(sentenceSimil)
export(sentenceTokenParse)
export(tokenize)
importFrom(Rcpp,sourceCpp)
importFrom(magrittr,"%>%")
importFrom(utils,combn)
useDynLib(lexRankr)
2 changes: 1 addition & 1 deletion R/RcppExports.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated by Rcpp::compileAttributes
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

idfCosineSimil <- function(mat) {
Expand Down
45 changes: 0 additions & 45 deletions R/tokenizeSentenceParse.R

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# lexRankr: Extractive Text Summariztion in R

[![Build Status](https://travis-ci.org/AdamSpannbauer/lexRankr.svg?branch=master)](https://travis-ci.org/AdamSpannbauer/lexRankr) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/AdamSpannbauer/lexRankr?branch=master&svg=true)](https://ci.appveyor.com/project/AdamSpannbauer/lexRankr) [![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/lexRankr)](https://CRAN.R-project.org/package=lexRankr)

##Installation

#install from CRAN
##install from CRAN
install.packages("lexRankr")

#install from this github repo
Expand Down
42 changes: 42 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# DO NOT CHANGE the "init" and "install" sections below

# Download script file from GitHub
init:
ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Import-Module '..\appveyor-tool.ps1'
install:
ps: Bootstrap

# Adapt as necessary starting from here

build_script:
- travis-tool.sh install_deps

test_script:
- travis-tool.sh run_tests

on_failure:
- 7z a failure.zip *.Rcheck\*
- appveyor PushArtifact failure.zip

artifacts:
- path: '*.Rcheck\**\*.log'
name: Logs

- path: '*.Rcheck\**\*.out'
name: Logs

- path: '*.Rcheck\**\*.fail'
name: Logs

- path: '*.Rcheck\**\*.Rout'
name: Logs

- path: '\*_*.tar.gz'
name: Bits

- path: '\*_*.zip'
name: Bits
1 change: 1 addition & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
comment: false
10 changes: 10 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Test environments

* local Windows 7 x64, R 3.3.0
* win-builder (devel and release)
* travis-ci (build passing)
* appveyor (build passing)

## R CMD check results

0 errors | 0 warnings | 0 notes
10 changes: 5 additions & 5 deletions src/RcppExports.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by Rcpp::compileAttributes
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#include <Rcpp.h>
Expand All @@ -9,10 +9,10 @@ using namespace Rcpp;
NumericVector idfCosineSimil(NumericMatrix mat);
RcppExport SEXP lexRankr_idfCosineSimil(SEXP matSEXP) {
BEGIN_RCPP
Rcpp::RObject __result;
Rcpp::RNGScope __rngScope;
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< NumericMatrix >::type mat(matSEXP);
__result = Rcpp::wrap(idfCosineSimil(mat));
return __result;
rcpp_result_gen = Rcpp::wrap(idfCosineSimil(mat));
return rcpp_result_gen;
END_RCPP
}

0 comments on commit 8678826

Please sign in to comment.