-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from Jean-Baptiste-Camps/packaging
Packaging
- Loading branch information
Showing
39 changed files
with
543 additions
and
440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
^README\.Rmd$ | ||
^README-.*\.png$ | ||
^\.travis\.yml$ | ||
^codecov\.yml$ | ||
\.Rhistory | ||
\.gitignore | ||
\.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.Rhistory | ||
inst/doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r | ||
|
||
language: R | ||
sudo: false | ||
cache: packages | ||
|
||
warnings_are_errors: false #Modify once warnings are solved. Added temporarily 20171025 | ||
|
||
after_success: | ||
- Rscript -e 'covr::codecov()' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,15 @@ Date: 2014-07-16 | |
Author: Jean-Baptiste Camps ; Florian Cafiero | ||
Maintainer: Jean-Baptiste Camps <[email protected]> | ||
Description: This package helps building and analysing the genealogy of textual or musical traditions. | ||
Imports: network, sna, cluster | ||
Suggests: | ||
BugReports: https://github.com/Jean-Baptiste-Camps/stemmatology/issues | ||
Imports: graphics, stats, utils, network, sna, cluster | ||
Suggests: | ||
testthat, | ||
knitr, | ||
rmarkdown, | ||
covr | ||
License: CC BY-NC-SA 2.0 | ||
NeedsCompilation: no | ||
URL: https://github.com/Jean-Baptiste-Camps/stemmatology | ||
VignetteBuilder: knitr | ||
RoxygenNote: 6.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
exportPattern("^[[:alpha:]]+") | ||
importFrom("graphics", "axis", "barplot", "legend", "par", "plot") | ||
importFrom("stats", "fisher.test", "na.omit") | ||
importFrom("utils", "read.csv") | ||
importFrom("sna", "gplot", "gplot.layout.fruchtermanreingold") | ||
importFrom("network", "as.network", "network.vertex.names", "as.matrix.network", "set.vertex.attribute", "get.vertex.attribute") | ||
importFrom("cluster", "pam") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
comment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
\encoding{utf8} | ||
\name{PCC.Exploratory} | ||
\alias{PCC.Exploratory} | ||
\title{PCC Exploratory methods} | ||
|
@@ -56,8 +57,8 @@ Jean-Baptiste Camps (\email{[email protected]}) & Florian Cafiero | |
%% ~~objects to See Also as \code{\link{help}}, ~~~ | ||
} | ||
\examples{ | ||
load(fournival) | ||
PCC.Exploratory(fournival) | ||
data(fournival) | ||
%PCC.Exploratory(fournival) | ||
} | ||
% Add one or more standard keywords, see file 'KEYWORDS' in the | ||
% R documentation directory. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
\encoding{utf8} | ||
\name{PCC} | ||
\alias{PCC} | ||
%- Also NEED an '\alias' for EACH other topic documented here. | ||
|
@@ -71,8 +72,8 @@ Jean-Baptiste Camps (\email{[email protected]}) & Florian Cafiero(\email{flori | |
\code{\link{PCC.Exploratory}}, \code{\link{PCC.Stemma}}. | ||
} | ||
\examples{ | ||
load(fournival) | ||
PCC(fournival) | ||
%data(fournival) | ||
%PCC(fournival) | ||
} | ||
% Add one or more standard keywords, see file 'KEYWORDS' in the | ||
% R documentation directory. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
\encoding{utf8} | ||
\name{PCC.Stemma} | ||
\alias{PCC.Stemma} | ||
%- Also NEED an '\alias' for EACH other topic documented here. | ||
|
@@ -53,7 +54,7 @@ Jean-Baptiste Camps (\email{[email protected]}) & Florian Cafiero (\email{flor | |
%% ~Make other sections like Warning with \section{Warning }{....} ~ | ||
|
||
\seealso{ | ||
\code{\link{PCC.disagreement}}, \code{\link{PCC.buildgroup}}, \code{\link{PCC.reconstructModel}}. | ||
\code{\link{PCC.disagreement}}, \code{\link{PCC.buildGroup}}, \code{\link{PCC.reconstructModel}}. | ||
} | ||
\examples{ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
\encoding{utf8} | ||
\name{PCC.conflicts} | ||
\alias{PCC.conflicts} | ||
\title{PCC Exploratory Methods: Conflicts between Variant Locations} | ||
|
@@ -55,12 +56,12 @@ Jean-Baptiste Camps (\email{[email protected]}) & Florian Cafiero | |
} | ||
\examples{ | ||
%TODO: fignoler globalement les exemples et les reprendre, voire les affiner. | ||
load(fournival) | ||
data(fournival) | ||
myConflicts = PCC.conflicts(fournival) | ||
myOverconflicting = PCC.overconflicting(myConflicts) | ||
myNewVariantsTable = PCC.elimination(myOverconflicting) | ||
%myOverconflicting = PCC.overconflicting(myConflicts) | ||
%myNewVariantsTable = PCC.elimination(myOverconflicting) | ||
} | ||
% Add one or more standard keywords, see file 'KEYWORDS' in the | ||
% R documentation directory. | ||
\keyword{stemmatology} | ||
\keyword{philology} | ||
%\keyword{philology} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
\encoding{utf8} | ||
\name{PCC.overconflicting} | ||
\alias{PCC.overconflicting} | ||
%- Also NEED an '\alias' for EACH other topic documented here. | ||
|
@@ -40,11 +41,11 @@ Jean-Baptiste Camps (\email{[email protected]}) & Florian Cafiero | |
%% ~Make other sections like Warning with \section{Warning }{....} ~ | ||
|
||
\seealso{ | ||
\code{\link{PCC.Exploratory}, | ||
\code{\link{PCC.Exploratory}}, | ||
%About the input for this fonction : | ||
\code{\link{PCC.conflicts}}, | ||
%To remove the variants labeled as problematic: | ||
\code{\link{PCC.elimination}}.} | ||
\code{\link{PCC.elimination}}. | ||
} | ||
\examples{ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
\encoding{utf8} | ||
\name{PCC.reconstructModel} | ||
\alias{PCC.reconstructModel} | ||
%- Also NEED an '\alias' for EACH other topic documented here. | ||
|
@@ -19,11 +20,12 @@ A PCCbuildGroup object. | |
|
||
Default: \code{FALSE}. | ||
} | ||
\item{limit}{ | ||
The maximum number of severe disagreements expected for witnesses to be in the same group. | ||
|
||
Default: \code{0}. | ||
} | ||
% \item{limit}{ | ||
%The maximum number of severe disagreements expected for witnesses to be in the same group. | ||
% | ||
% Default: \code{0}. | ||
%} | ||
%TODO: faut-il implementer qqchose de ce genre pour cette fonction? | ||
\item{recoverNAs}{ | ||
logical; if \code{TRUE}, when an actual witness or reconstructed subarchetype is identified to the reconstructed model of a group, every NA it has is recovered by taking the value of the reconstructed model; if \code{FALSE}, their NAs values are kept. | ||
|
||
|
@@ -56,7 +58,11 @@ Jean-Baptiste Camps (\email{[email protected]}) & Florian Cafiero | |
|
||
%% ~Make other sections like Warning with \section{Warning }{....} ~ | ||
|
||
\examples{ | ||
|
||
} | ||
|
||
\seealso{ | ||
More about the next step: \code{\link{PCC.stemma}}. | ||
More about the next step: \code{\link{PCC.Stemma}}. | ||
More about the input: \code{\link{PCC.buildGroup}} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
\encoding{utf8} | ||
\name{fournival} | ||
\alias{fournival} | ||
\docType{data} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.