Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Jul 27, 2024
1 parent c78129c commit 503eeab
Show file tree
Hide file tree
Showing 52 changed files with 622 additions and 496 deletions.
68 changes: 68 additions & 0 deletions specs/R-CRAN-AdIsMF.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname AdIsMF
%global packver 0.1.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.1.0
Release: 1%{?dist}%{?buildtag}
Summary: Adsorption Isotherm Model Fitting

License: GPL-3
URL: https://cran.r-project.org/package=%{packname}
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz


BuildRequires: R-devel
Requires: R-core
BuildArch: noarch
BuildRequires: R-CRAN-AICcmodavg
BuildRequires: R-CRAN-ggplot2
BuildRequires: R-CRAN-nls2
BuildRequires: R-stats
Requires: R-CRAN-AICcmodavg
Requires: R-CRAN-ggplot2
Requires: R-CRAN-nls2
Requires: R-stats

%description
The Langmuir and Freundlich adsorption isotherms are pivotal in
characterizing adsorption processes, essential across various scientific
disciplines. Proper interpretation of adsorption isotherms involves robust
fitting of data to the models, accurate estimation of parameters, and
efficiency evaluation of the models, both in linear and non-linear forms.
For researchers and practitioners in the fields of chemistry,
environmental science, soil science, and engineering, a comprehensive
package that satisfies all these requirements would be ideal for accurate
and efficient analysis of adsorption data, precise model selection and
validation for rigorous scientific inquiry and real-world applications.
Details can be found in Langmuir (1918) <doi:10.1021/ja02242a004> and
Giles (1973) <doi:10.1111/j.1478-4408.1973.tb03158.x>.

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

# fix end of executable files
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
# prevent binary stripping
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
sed -i 's@-g0@@g' {} \; || true
# don't allow local prefix in executable scripts
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;

%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
# remove buildroot from installed files
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;

%files
%{rlibdir}/%{packname}
8 changes: 4 additions & 4 deletions specs/R-CRAN-CohortSymmetry.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname CohortSymmetry
%global packver 0.1.1
%global packver 0.1.2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.1.1
Version: 0.1.2
Release: 1%{?dist}%{?buildtag}
Summary: Sequence Symmetry Analysis Using the Observational Medical Outcomes Partnership Common Data Model

Expand All @@ -17,6 +17,7 @@ Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
BuildRequires: R-devel
Requires: R-core
BuildArch: noarch
BuildRequires: R-CRAN-CodelistGenerator >= 3.1.0
BuildRequires: R-CRAN-CDMConnector >= 1.3.0
BuildRequires: R-CRAN-DrugUtilisation >= 0.5.0
BuildRequires: R-CRAN-visOmopResults >= 0.3.0
Expand All @@ -35,7 +36,7 @@ BuildRequires: R-CRAN-duckdb
BuildRequires: R-CRAN-here
BuildRequires: R-CRAN-flextable
BuildRequires: R-CRAN-gt
BuildRequires: R-CRAN-CodelistGenerator
Requires: R-CRAN-CodelistGenerator >= 3.1.0
Requires: R-CRAN-CDMConnector >= 1.3.0
Requires: R-CRAN-DrugUtilisation >= 0.5.0
Requires: R-CRAN-visOmopResults >= 0.3.0
Expand All @@ -54,7 +55,6 @@ Requires: R-CRAN-duckdb
Requires: R-CRAN-here
Requires: R-CRAN-flextable
Requires: R-CRAN-gt
Requires: R-CRAN-CodelistGenerator

%description
Calculating crude sequence ratio, adjusted sequence ratio and confidence
Expand Down
60 changes: 60 additions & 0 deletions specs/R-CRAN-ElectDecomp.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname ElectDecomp
%global packver 0.0.1-1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.0.1.1
Release: 1%{?dist}%{?buildtag}
Summary: Decomposition of Seats-to-Votes Distortion in Multimember Elections

License: EPL
URL: https://cran.r-project.org/package=%{packname}
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz


BuildRequires: R-devel
Requires: R-core
BuildArch: noarch

%description
Decomposes the seat-to-vote distortion for every party (individual party
bias or individual party deviation from proportional representation) into
segments that can be attributed to separate causes for the party infra or
over-representation: the electoral system effect (separating the mean and
the variance effect within it) and the population effect (separating
malapportionment and unequal participation effect within it). It works on
(single tired) districted electoral systems with any number of seats per
district. In addition, the package aggregates the individual party
distortion into an index of deviation from proportionality (the
Losemore-Hanby index) whose value is also decomposed into segments
attributed to the major causes of deviation from proportionality (plus the
interactions among them).

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

# fix end of executable files
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
# prevent binary stripping
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
sed -i 's@-g0@@g' {} \; || true
# don't allow local prefix in executable scripts
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;

%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
# remove buildroot from installed files
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;

%files
%{rlibdir}/%{packname}
4 changes: 2 additions & 2 deletions specs/R-CRAN-FielDHub.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname FielDHub
%global packver 1.4.0
%global packver 1.4.2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.4.0
Version: 1.4.2
Release: 1%{?dist}%{?buildtag}
Summary: A Shiny App for Design of Experiments in Life Sciences

Expand Down
58 changes: 30 additions & 28 deletions specs/R-CRAN-async.spec → specs/R-CRAN-HLAtools.spec
Original file line number Diff line number Diff line change
@@ -1,47 +1,49 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname async
%global packver 0.3.2
%global packname HLAtools
%global packver 1.1.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.3.2
Version: 1.1.1
Release: 1%{?dist}%{?buildtag}
Summary: Coroutines: Generators / Yield, Async / Await, and Streams
Summary: Toolkit for HLA Immunogenomics

License: GPL-2
License: GPL (>= 3)
URL: https://cran.r-project.org/package=%{packname}
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz


BuildRequires: R-devel >= 4.1
Requires: R-core >= 4.1
BuildRequires: R-devel >= 3.5.0
Requires: R-core >= 3.5.0
BuildArch: noarch
BuildRequires: R-CRAN-testthat >= 3.0.0
BuildRequires: R-CRAN-nseval >= 0.4.3
BuildRequires: R-CRAN-iterors
BuildRequires: R-CRAN-later
BuildRequires: R-CRAN-promises
BuildRequires: R-CRAN-DescTools
BuildRequires: R-CRAN-dplyr
BuildRequires: R-CRAN-stringr
BuildRequires: R-methods
Requires: R-CRAN-testthat >= 3.0.0
Requires: R-CRAN-nseval >= 0.4.3
Requires: R-CRAN-iterors
Requires: R-CRAN-later
Requires: R-CRAN-promises
BuildRequires: R-CRAN-tibble
BuildRequires: R-utils
BuildRequires: R-CRAN-xfun
BuildRequires: R-CRAN-fmsb
Requires: R-CRAN-DescTools
Requires: R-CRAN-dplyr
Requires: R-CRAN-stringr
Requires: R-methods
Requires: R-CRAN-tibble
Requires: R-utils
Requires: R-CRAN-xfun
Requires: R-CRAN-fmsb

%description
Write sequential-looking code that pauses and resumes. gen() creates a
generator, an iterator that returns a value and pauses each time it
reaches a yield() call. async() creates a promise, which runs until it
reaches a call to await(), then resumes when information is available.
These work similarly to generator and async constructs from 'Python' or
'JavaScript'. Objects produced are compatible with the 'iterators' and
'promises' packages. Version 0.3 supports on.exit, single-step debugging,
stream() for making asynchronous iterators, and delimited goto() in
switch() calls.
A toolkit for the analysis and management of data for genes in the
so-called "Human Leukocyte Antigen" (HLA) region. Functions extract
reference data from the Anthony Nolan HLA Informatics Group/ImmunoGeneTics
HLA 'GitHub' repository (ANHIG/IMGTHLA)
<https://github.com/ANHIG/IMGTHLA>, validate Genotype List (GL) Strings,
convert between UNIFORMAT and GL String Code (GLSC) formats, translate HLA
alleles and GLSCs across ImmunoPolymorphism Database (IPD) IMGT/HLA
Database release versions, identify differences between pairs of alleles
at a locus, generate customized, multi-position sequence alignments, trim
and convert allele-names across nomenclature epochs, and extend existing
data-analysis methods.

%prep
%setup -q -c -n %{packname}
Expand Down
33 changes: 18 additions & 15 deletions specs/R-CRAN-IceSat2R.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname IceSat2R
%global packver 1.0.4
%global packver 1.0.5
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.0.4
Version: 1.0.5
Release: 1%{?dist}%{?buildtag}
Summary: ICESat-2 Altimeter Data using R

Expand Down Expand Up @@ -37,6 +37,7 @@ BuildRequires: R-CRAN-shiny
BuildRequires: R-CRAN-rnaturalearth
BuildRequires: R-CRAN-lubridate
BuildRequires: R-CRAN-rvest
BuildRequires: R-CRAN-withr
Requires: R-CRAN-glue
Requires: R-CRAN-sf
Requires: R-CRAN-lwgeom
Expand All @@ -57,22 +58,24 @@ Requires: R-CRAN-shiny
Requires: R-CRAN-rnaturalearth
Requires: R-CRAN-lubridate
Requires: R-CRAN-rvest
Requires: R-CRAN-withr

%description
Programmatic connection to the 'OpenAltimetry API'
<https://openaltimetry.org/data/swagger-ui/> to download and process
'ATL03' (Global Geolocated Photon Data), 'ATL06' (Land Ice Height),
'ATL07' (Sea Ice Height), 'ATL08' (Land and Vegetation Height), 'ATL10'
(Sea Ice Freeboard), 'ATL12' (Ocean Surface Height) and 'ATL13' (Inland
Water Surface Height) 'ICESat-2' Altimeter Data. The user has the option
to download the data by selecting a bounding box from a 1- or 5-degree
grid globally utilizing a shiny application. The 'ICESat-2' mission
collects altimetry data of the Earth's surface. The sole instrument on
'ICESat-2' is the Advanced Topographic Laser Altimeter System (ATLAS)
instrument that measures ice sheet elevation change and sea ice thickness,
while also generating an estimate of global vegetation biomass. 'ICESat-2'
continues the important observations of ice-sheet elevation change,
sea-ice freeboard, and vegetation canopy height begun by 'ICESat' in 2003.
<https://openaltimetry.earthdatacloud.nasa.gov/data/openapi/swagger-ui/index.html/>
to download and process 'ATL03' (Global Geolocated Photon Data), 'ATL06'
(Land Ice Height), 'ATL07' (Sea Ice Height), 'ATL08' (Land and Vegetation
Height), 'ATL10' (Sea Ice Freeboard), 'ATL12' (Ocean Surface Height) and
'ATL13' (Inland Water Surface Height) 'ICESat-2' Altimeter Data. The user
has the option to download the data by selecting a bounding box from a 1-
or 5-degree grid globally utilizing a shiny application. The 'ICESat-2'
mission collects altimetry data of the Earth's surface. The sole
instrument on 'ICESat-2' is the Advanced Topographic Laser Altimeter
System (ATLAS) instrument that measures ice sheet elevation change and sea
ice thickness, while also generating an estimate of global vegetation
biomass. 'ICESat-2' continues the important observations of ice-sheet
elevation change, sea-ice freeboard, and vegetation canopy height begun by
'ICESat' in 2003.

%prep
%setup -q -c -n %{packname}
Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-MultiStatM.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname MultiStatM
%global packver 1.2.1
%global packver 2.0.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.2.1
Version: 2.0.0
Release: 1%{?dist}%{?buildtag}
Summary: Multivariate Statistical Methods

Expand Down
Loading

0 comments on commit 503eeab

Please sign in to comment.