This commit is contained in:
QwQ 2022-11-08 07:50:08 +00:00
parent 4b4067f38d
commit d6ab43b41f
3 changed files with 4 additions and 9 deletions

Binary file not shown.

BIN
AUC_0.3.2.tar.gz Normal file

Binary file not shown.

View File

@ -2,16 +2,14 @@
%global rlibdir %{_datadir}/R/library
Name: R-%{packname}
Version: 0.3.0
Version: 0.3.2
Release: 1
Summary: Threshold independent performance measures for probabilistic classifiers
License: GPLv2+
URL: https://CRAN.R-project.org/package=%{packname}
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
BuildArch: noarch
BuildRequires: R-devel tex(latex)
%description
@ -21,25 +19,20 @@ under the specificity curve (AUSPC), the area under the accuracy curve
(AUACC), and the area under the receiver operating characteristic curve
(AUROC). The curves can also be visualized. Support for partial areas is
%prep
%setup -q -c -n %{packname}
%build
%install
mkdir -p %{buildroot}%{rlibdir}
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -f %{buildroot}%{rlibdir}/R.css
%check
%{_bindir}/R CMD check %{packname}
%files
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/html
@ -52,7 +45,9 @@ rm -f %{buildroot}%{rlibdir}/R.css
%{rlibdir}/%{packname}/help
%{rlibdir}/%{packname}/data
%changelog
* Tue Nov 8 2022 hkgy <kaguyahatu@outlook.com> - 0.3.2-1
- Upgrade to v0.3.2
* Thu Jun 16 2022 misaka00251 <misaka00251@misakanet.cn> - 0.3.0-1
- Init package (Thanks to fedora team)