diff --git a/AUC_0.3.0.tar.gz b/AUC_0.3.0.tar.gz new file mode 100644 index 0000000..fcc3669 Binary files /dev/null and b/AUC_0.3.0.tar.gz differ diff --git a/R-AUC.spec b/R-AUC.spec new file mode 100644 index 0000000..2ab9fb2 --- /dev/null +++ b/R-AUC.spec @@ -0,0 +1,58 @@ +%global packname AUC +%global rlibdir %{_datadir}/R/library + +Name: R-%{packname} +Version: 0.3.0 +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 +This package includes functions to compute the area under the curve of +selected measures: The area under the sensitivity curve (AUSEC), the area +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 +%{rlibdir}/%{packname}/DESCRIPTION +%doc %{rlibdir}/%{packname}/NEWS +%{rlibdir}/%{packname}/INDEX +%{rlibdir}/%{packname}/NAMESPACE +%{rlibdir}/%{packname}/Meta +%{rlibdir}/%{packname}/R +%{rlibdir}/%{packname}/help +%{rlibdir}/%{packname}/data + + +%changelog +* Thu Jun 16 2022 misaka00251 - 0.3.0-1 +- Init package (Thanks to fedora team)