Skip to content

Commit

Permalink
Add code coverage and R project files
Browse files Browse the repository at this point in the history
Adds back in the code coverage and R project files from the master branch to make it easier to build the package.
  • Loading branch information
bgrich committed May 17, 2018
1 parent 6427574 commit 0bf748a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .lintr
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cache_directory: ".lintr_cache"
linters: with_defaults(
commented_code_linter = NULL,
absolute_paths_linter = NULL,
line_length_linter(100),
NULL
)
exclusions:
list(
)
10 changes: 10 additions & 0 deletions inst/.lintr
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cache_directory: ".lintr_cache"
linters: with_defaults(
commented_code_linter = NULL,
absolute_paths_linter = NULL,
line_length_linter(100),
NULL
)
exclusions:
list(
)
1 change: 1 addition & 0 deletions inst/lintr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This file is here so that R CMD CHECK doesn't complain about an empty "inst" directory, but this directory must be there because we need the .lintr file so that codecov works.
21 changes: 21 additions & 0 deletions osfr.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Version: 1.0

RestoreWorkspace: No
SaveWorkspace: No
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

AutoAppendNewline: Yes
StripTrailingWhitespace: Yes

BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace

0 comments on commit 0bf748a

Please sign in to comment.