Skip to content

Commit a98aca6

Browse files
committed
Removing C++11 requirement
1 parent d1119b1 commit a98aca6

File tree

7 files changed

+21
-11
lines changed

7 files changed

+21
-11
lines changed

.Rbuildignore

+2
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,5 @@ inst/CODECOV_EXCLUSIONS
3939

4040
# Wont include it for now
4141
^R/aphylo_hier\.R
42+
43+
.*\.code-workspace

DESCRIPTION

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ Authors@R: c(person("George", "Vega Yon", role=c("aut","cre"),
77
5P01CA196569-02"),
88
person("USC Biostatistics", role = "cph")
99
)
10-
Version: 0.3-2
10+
Version: 0.3-3
1111
Description: Implements a parsimonious evolutionary model to analyze and
1212
predict gene-functional annotations in phylogenetic trees as described in Vega
13-
Yon et al. (2021) <doi:10.1371/journal.pcbi.1007948>. With a focus on
13+
Yon et al. (2021) <doi:10.1371/journal.pcbi.1007948>. Focusing on
1414
computational efficiency, 'aphylo' makes it possible to estimate pooled
1515
phylogenetic models, including thousands (hundreds) of annotations (trees) in
1616
the same run. The package also provides the tools for visualization of
17-
annotated phylogenies, calculation of posterior probabilities (prediction,)
17+
annotated phylogenies, calculation of posterior probabilities (prediction)
1818
and goodness-of-fit assessment featured in Vega Yon et al. (2021).
1919
Depends: R (>= 3.5.0), ape (>= 5.0)
2020
LazyData: true

NEWS.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Changes in aphylo version 0.3-3
2+
3+
* Removing C++ requirement as requested by CRAN.
4+
15
# Changes in aphylo version 0.3-2
26

37
* Fixes a bug when using the stationary value of the root node probability.

README.Rmd

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ output:
2121
knitr::opts_chunk$set(echo = TRUE)
2222
```
2323

24-
The `aphylo` R package implements estimation and data imputation methods for Functional Annotations in Phylogenetic Trees. The core function consists on the computation of the log-likelihood of observing a given phylogenetic tree with functional annotation on its leafs, and probabilities associated to gain and loss of functionalities, including probabilities of experimental misclassification. Furthermore, the log-likelihood is computed using peeling algorithms, which required developing and implementing efficient algorithms for re-coding and preparing phylogenetic tree data so that can be used with the package. Finally, `aphylo` works smoothly with popular tools for analysis of phylogenetic data such as `ape` R package, "Analyses of Phylogenetics and Evolution".
24+
The `aphylo` R package implements estimation and data imputation methods for Functional Annotations in Phylogenetic Trees. The core function consists of the log-likelihood computation of observing a given phylogenetic tree with functional annotation on its leaves and the probabilities associated to gain and loss of function, including probabilities of experimental misclassification. The log-likelihood is computed using peeling algorithms, which required developing and implementing efficient algorithms for re-coding and preparing phylogenetic tree data to be used with the package. Finally, `aphylo` works smoothly with popular tools for analysis of phylogenetic data such as `ape` R package, "Analyses of Phylogenetics and Evolution."
2525

26-
The package is under MIT License, and is been developed by the Computing and Software Cores of the Biostatistics Division's NIH Project Grant (P01) at the Department of Preventive Medicine at the University of Southern California.
26+
The package is under MIT License and is developed by the Computing and Software Cores of the Biostatistics Division's NIH Project Grant (P01) at the Department of Preventive Medicine at the University of Southern California.
2727

2828
## Citation
2929

@@ -34,7 +34,7 @@ citation(package="aphylo")
3434

3535
## Install
3636

37-
This package depends on another on-development R package, the [`fmcmc`](https://github.com/USCbiostats/fmcmc). So first you need to install it:
37+
This package depends on another on-development R package, the [`fmcmc`](https://github.com/USCbiostats/fmcmc). So first, you need to install it:
3838

3939
```r
4040
devtools::install_github("USCbiostats/fmcmc")
@@ -151,5 +151,5 @@ plot(pred)
151151

152152
# Misc
153153

154-
During the development process, we decided to allow the user to choose what 'tree-reader' function he would use, in particular, between using either the rncl R package or ape. For such we created a short benchmark that compares both functions [here](playground/ape_now_supports_singletons.md).
154+
During the development process, we decided to allow the user to choose what 'tree-reader' function he would use, particularly between using either the rncl R package or ape. For such, we created a short benchmark that compares both functions [here](playground/ape_now_supports_singletons.md).
155155

aphylo.code-workspace

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "."
5+
}
6+
],
7+
"settings": {}
8+
}

src/Makevars.in

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) @openmp_flag@
2-
# 1.2.4 Using C++11 code
3-
CXX_STD = CXX11
42

53
# Besides of the -fopenmp flag, here I'm telling armadillo to use
64
# 64BIT_WORD which removes the matrix size limit constraint.

src/Makevars.win

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
22

33
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) $(SHLIB_OPENMP_CXXFLAGS)
4-
# 1.2.4 Using C++11 code
5-
CXX_STD = CXX11
64

75
# Besides of the -fopenmp flag, here I'm telling armadillo to use
86
# 64BIT_WORD which removes the matrix size limit constraint.

0 commit comments

Comments
 (0)