Skip to content

RGeostats is the Geostatistical Package (under R platform) developed by the Geostatistical Team of the Geosciences Research Center of MINES ParisTech

Notifications You must be signed in to change notification settings

ec-intaros/r-rgeostats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 

Repository files navigation

r-rgeostats

r-rgeostats is an Anaconda package which provides RGeostats package. RGeostats is the Geostatistical Package (under R platform) developed by the Geostatistical Team of the Geosciences Research Center of MINES ParisTech. More information at http://cg.ensmp.fr/rgeostats

License

Quick link

sudo yum install -y glibc-2.14 miniconda
  • Install the R package:
sudo conda update conda 
sudo conda install r-rgeostats
  • Type:
LD_LIBRARY_PATH=/opt/glibc-2.14/lib:${LD_LIBRARY_PATH} /opt/anaconda/bin/R -e "library('RGeostats')"

To upgrade this package to newer version of Rgeostats proceed as follows:

  • Login on a Ellip Workflows VM,
  • Install the required dependencies:
sudo yum install -y glibc-2.14 miniconda
sudo conda update -y conda
sudo conda install -y conda-build
  • Clone the repo:
git clone https://github.com/ec-intaros/r-rgeostats.git
cd r-rgeostats/conda.recipe
git checkout develop
  • Edit the meta.yaml file to update the following information:
version (first line)
sha256
  • Build the package with:
sudo conda build . --no-test

Local Test

  • Perform a local test:
sudo conda install -y --use-local r-rgeostats
LD_LIBRARY_PATH=/opt/glibc-2.14/lib:${LD_LIBRARY_PATH} /opt/anaconda/bin/R -e "library('RGeostats')"

Release and deployment to production

  • Commit and push the local changes to the remote repository:
git commit -am "Set new version"
git flow init -d
export GIT_MERGE_AUTOEDIT=no
  • Perform the release:
version=<your version number>
git flow release start ${version}
git flow release finish -m "${version}" ${version}
  • Push the changes on the remote repository
git config --global push.default matching
git push && git push --tags

The command git push triggers a build process on https://build.terradue.com, which produces an Anaconda package for the new version and stores it under https://anaconda.org/Terradue/r-rgeostats.

About

RGeostats is the Geostatistical Package (under R platform) developed by the Geostatistical Team of the Geosciences Research Center of MINES ParisTech

Resources

Stars

Watchers

Forks

Packages

No packages published