Skip to content

Commit 1ca3f29

Browse files
committed
sync
1 parent 01dbb65 commit 1ca3f29

19 files changed

+334
-151
lines changed

specs/R-CRAN-BayesRegDTR.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%global __brp_check_rpaths %{nil}
22
%global __requires_exclude ^libmpi
33
%global packname BayesRegDTR
4-
%global packver 1.0.1
4+
%global packver 1.1.1
55
%global rlibdir /usr/local/lib/R/library
66

77
Name: R-CRAN-%{packname}
8-
Version: 1.0.1
8+
Version: 1.1.1
99
Release: 1%{?dist}%{?buildtag}
1010
Summary: Bayesian Regression for Dynamic Treatment Regimes
1111

specs/R-CRAN-FARS.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%global __brp_check_rpaths %{nil}
22
%global __requires_exclude ^libmpi
33
%global packname FARS
4-
%global packver 0.6.1
4+
%global packver 0.7.0
55
%global rlibdir /usr/local/lib/R/library
66

77
Name: R-CRAN-%{packname}
8-
Version: 0.6.1
8+
Version: 0.7.0
99
Release: 1%{?dist}%{?buildtag}
1010
Summary: Factor-Augmented Regression Scenarios
1111

specs/R-CRAN-FBFsearch.spec

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%global __brp_check_rpaths %{nil}
22
%global __requires_exclude ^libmpi
33
%global packname FBFsearch
4-
%global packver 1.2
4+
%global packver 1.3
55
%global rlibdir /usr/local/lib/R/library
66

77
Name: R-CRAN-%{packname}
8-
Version: 1.2
8+
Version: 1.3
99
Release: 1%{?dist}%{?buildtag}
1010
Summary: Algorithm for Searching the Space of Gaussian Directed Acyclic Graph Models Through Moment Fractional Bayes Factors
1111

@@ -22,10 +22,10 @@ Requires: R-CRAN-Rcpp >= 0.12.7
2222

2323
%description
2424
We propose an objective Bayesian algorithm for searching the space of
25-
Gaussian directed acyclic graph (DAG) models. The algorithm proposed makes
26-
use of moment fractional Bayes factors (MFBF) and thus it is suitable for
27-
learning sparse graph. The algorithm is implemented by using Armadillo: an
28-
open-source C++ linear algebra library.
25+
Gaussian directed acyclic graph (DAG) models. The algorithm uses moment
26+
fractional Bayes factors (MFBF) and is suitable for learning sparse
27+
graphs. The algorithm is implemented using Armadillo, an open-source C++
28+
linear algebra library.
2929

3030
%prep
3131
%setup -q -c -n %{packname}

specs/R-CRAN-PRTree.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%global __brp_check_rpaths %{nil}
22
%global __requires_exclude ^libmpi
33
%global packname PRTree
4-
%global packver 1.0.1
4+
%global packver 1.0.2
55
%global rlibdir /usr/local/lib/R/library
66

77
Name: R-CRAN-%{packname}
8-
Version: 1.0.1
8+
Version: 1.0.2
99
Release: 1%{?dist}%{?buildtag}
1010
Summary: Probabilistic Regression Trees
1111

specs/R-CRAN-VBel.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%global __brp_check_rpaths %{nil}
22
%global __requires_exclude ^libmpi
33
%global packname VBel
4-
%global packver 1.1.0
4+
%global packver 1.1.6
55
%global rlibdir /usr/local/lib/R/library
66

77
Name: R-CRAN-%{packname}
8-
Version: 1.1.0
8+
Version: 1.1.6
99
Release: 1%{?dist}%{?buildtag}
1010
Summary: Variational Bayes for Fast and Accurate Empirical Likelihood Inference
1111

specs/R-CRAN-boinet.spec

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%global __brp_check_rpaths %{nil}
22
%global __requires_exclude ^libmpi
33
%global packname boinet
4-
%global packver 1.4.0
4+
%global packver 1.5.0
55
%global rlibdir /usr/local/lib/R/library
66

77
Name: R-CRAN-%{packname}
8-
Version: 1.4.0
8+
Version: 1.5.0
99
Release: 1%{?dist}%{?buildtag}
1010
Summary: Conduct Simulation Study of Bayesian Optimal Interval Design with BOIN-ET Family
1111

@@ -22,11 +22,25 @@ BuildRequires: R-CRAN-mfp
2222
BuildRequires: R-CRAN-copula
2323
BuildRequires: R-CRAN-gt
2424
BuildRequires: R-CRAN-tibble
25+
BuildRequires: R-CRAN-shiny
26+
BuildRequires: R-CRAN-shinydashboard
27+
BuildRequires: R-CRAN-DT
28+
BuildRequires: R-CRAN-plotly
29+
BuildRequires: R-CRAN-ggplot2
30+
BuildRequires: R-CRAN-rhandsontable
31+
BuildRequires: R-CRAN-shinyBS
2532
Requires: R-CRAN-Iso
2633
Requires: R-CRAN-mfp
2734
Requires: R-CRAN-copula
2835
Requires: R-CRAN-gt
2936
Requires: R-CRAN-tibble
37+
Requires: R-CRAN-shiny
38+
Requires: R-CRAN-shinydashboard
39+
Requires: R-CRAN-DT
40+
Requires: R-CRAN-plotly
41+
Requires: R-CRAN-ggplot2
42+
Requires: R-CRAN-rhandsontable
43+
Requires: R-CRAN-shinyBS
3044

3145
%description
3246
Bayesian optimal interval based on both efficacy and toxicity outcomes

specs/R-CRAN-codebook.spec

Lines changed: 0 additions & 106 deletions
This file was deleted.

specs/R-CRAN-contextFind.spec

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
%global __brp_check_rpaths %{nil}
2+
%global __requires_exclude ^libmpi
3+
%global packname contextFind
4+
%global packver 1.0.1
5+
%global rlibdir /usr/local/lib/R/library
6+
7+
Name: R-CRAN-%{packname}
8+
Version: 1.0.1
9+
Release: 1%{?dist}%{?buildtag}
10+
Summary: Find Code Snippets with Context and Click to Navigate Directly to Results
11+
12+
License: CC0
13+
URL: https://cran.r-project.org/package=%{packname}
14+
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
15+
16+
17+
BuildRequires: R-devel
18+
Requires: R-core
19+
BuildArch: noarch
20+
BuildRequires: R-CRAN-rstudioapi
21+
BuildRequires: R-CRAN-cli
22+
BuildRequires: R-CRAN-shiny
23+
BuildRequires: R-CRAN-miniUI
24+
Requires: R-CRAN-rstudioapi
25+
Requires: R-CRAN-cli
26+
Requires: R-CRAN-shiny
27+
Requires: R-CRAN-miniUI
28+
29+
%description
30+
Search across R files with contextual results, highlights and clickable
31+
links. Includes an add-in for further workflow enhancement.
32+
33+
%prep
34+
%setup -q -c -n %{packname}
35+
36+
# fix end of executable files
37+
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
38+
# prevent binary stripping
39+
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
40+
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
41+
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
42+
sed -i 's@-g0@@g' {} \; || true
43+
# don't allow local prefix in executable scripts
44+
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;
45+
46+
%build
47+
48+
%install
49+
50+
mkdir -p %{buildroot}%{rlibdir}
51+
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
52+
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
53+
rm -f %{buildroot}%{rlibdir}/R.css
54+
# remove buildroot from installed files
55+
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;
56+
57+
%files
58+
%{rlibdir}/%{packname}

specs/R-CRAN-excerptr.spec

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
%global __brp_check_rpaths %{nil}
2+
%global __requires_exclude ^libmpi
3+
%global packname excerptr
4+
%global packver 2.1.0
5+
%global rlibdir /usr/local/lib/R/library
6+
7+
Name: R-CRAN-%{packname}
8+
Version: 2.1.0
9+
Release: 1%{?dist}%{?buildtag}
10+
Summary: Excerpt Structuring Comments from Your Code File and Set a Table of Contents
11+
12+
License: BSD_2_clause + file LICENSE
13+
URL: https://cran.r-project.org/package=%{packname}
14+
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
15+
16+
17+
BuildRequires: R-devel >= 3.3.0
18+
Requires: R-core >= 3.3.0
19+
BuildArch: noarch
20+
BuildRequires: R-CRAN-checkmate
21+
BuildRequires: R-CRAN-reticulate
22+
Requires: R-CRAN-checkmate
23+
Requires: R-CRAN-reticulate
24+
25+
%description
26+
Ever read or wrote source files containing sectioning comments? If these
27+
comments are markdown style section comments, you can excerpt them and set
28+
a table of contents using the 'python' package 'excerpts'
29+
(<https://pypi.org/project/excerpts/>).
30+
31+
%prep
32+
%setup -q -c -n %{packname}
33+
find %{packname}/inst -type f -name *.cl -exec chmod a-x {} \;
34+
find %{packname}/inst -type f -exec sed -Ei 's@#!( )*(/usr)*/bin/(env )*dash@#!/usr/bin/sh@g' {} \;
35+
# fix end of executable files
36+
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
37+
# prevent binary stripping
38+
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
39+
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
40+
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
41+
sed -i 's@-g0@@g' {} \; || true
42+
# don't allow local prefix in executable scripts
43+
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;
44+
45+
%build
46+
47+
%install
48+
49+
mkdir -p %{buildroot}%{rlibdir}
50+
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
51+
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
52+
rm -f %{buildroot}%{rlibdir}/R.css
53+
# remove buildroot from installed files
54+
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;
55+
56+
%files
57+
%{rlibdir}/%{packname}

0 commit comments

Comments
 (0)