Giter Club home page Giter Club logo

r-devtools-feedstock's Introduction

About r-devtools-feedstock

Feedstock license: BSD-3-Clause

Home: https://devtools.r-lib.org/, https://github.com/r-lib/devtools

Package license: MIT

Summary: Collection of package development tools.

Current build status

All platforms:

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing r-devtools

Installing r-devtools from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, r-devtools can be installed with conda:

conda install r-devtools

or with mamba:

mamba install r-devtools

It is possible to list all of the versions of r-devtools available on your platform with conda:

conda search r-devtools --channel conda-forge

or with mamba:

mamba search r-devtools --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search r-devtools --channel conda-forge

# List packages depending on `r-devtools`:
mamba repoquery whoneeds r-devtools --channel conda-forge

# List dependencies of `r-devtools`:
mamba repoquery depends r-devtools --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge Anaconda-Cloud channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating r-devtools-feedstock

If you would like to improve the r-devtools recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/r-devtools-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

r-devtools-feedstock's People

Contributors

bgruening avatar cbrueffer avatar conda-forge-admin avatar conda-forge-curator[bot] avatar dbast avatar github-actions[bot] avatar jdblischak avatar regro-cf-autotick-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

r-devtools-feedstock's Issues

devtools::install_git fails

Issue: devtools::install_git fails for below cmd

devtools::install_git(GIT_URL)
Error: Failed to install 'unknown package' from Git:
Error in 'git2r_remote_ls': malformed URL 'GIT_URL'


Environment (conda list):
root@3f49d12504a3:/# conda list
# packages in environment at /opt/miniconda:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main  
_r-mutex                  1.0.1               anacondar_1    conda-forge
binutils_impl_linux-64    2.33.1               he1b5a44_7    conda-forge
binutils_linux-64         2.33.1              h9595d00_17    conda-forge
brotlipy                  0.7.0           py38h27cfd23_1003  
bwidget                   1.9.14               ha770c72_0    conda-forge
bzip2                     1.0.8                h516909a_3    conda-forge
ca-certificates           2021.5.30            ha878542_0    conda-forge
cairo                     1.16.0            h3fc0475_1005    conda-forge
certifi                   2021.5.30        py38h578d9bd_0    conda-forge
cffi                      1.14.3           py38h261ae71_2  
chardet                   3.0.4           py38h06a4308_1003  
conda                     4.10.3           py38h578d9bd_0    conda-forge
conda-package-handling    1.7.2            py38h03888b9_0  
cryptography              3.2.1            py38h3c74f83_1  
curl                      7.71.1               he644dc0_3    conda-forge
fontconfig                2.13.1            h7e3eb15_1002    conda-forge
freetype                  2.10.4               h7ca028e_0    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
gcc_impl_linux-64         7.3.0                habb00fd_1  
gcc_linux-64              7.3.0               h553295d_17    conda-forge
gfortran_impl_linux-64    7.3.0                hdf63c60_5    conda-forge
gfortran_linux-64         7.3.0               h553295d_17    conda-forge
glib                      2.68.2               h36276a3_0  
graphite2                 1.3.13            h58526e2_1001    conda-forge
gsl                       2.6                  hf94e986_0    conda-forge
gxx_impl_linux-64         7.3.0                hdf63c60_1  
gxx_linux-64              7.3.0               h553295d_17    conda-forge
harfbuzz                  2.7.2                hee91db6_0    conda-forge
icu                       67.1                 he1b5a44_0    conda-forge
idna                      2.10                       py_0  
jpeg                      9d                   h36c2ea0_0    conda-forge
krb5                      1.17.2               h926e7f8_0    conda-forge
ld_impl_linux-64          2.33.1               h53a641e_7  
libblas                   3.9.0                8_openblas    conda-forge
libcblas                  3.9.0                8_openblas    conda-forge
libcurl                   7.71.1               hcdd3856_3    conda-forge
libedit                   3.1.20191231         h14c3975_1  
libffi                    3.3                  he6710b0_2  
libgcc-ng                 9.1.0                hdf63c60_0  
libgfortran-ng            7.5.0               h14aa051_19    conda-forge
libgfortran4              7.5.0               h14aa051_19    conda-forge
libgit2                   1.0.1                h0b03e73_1    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
liblapack                 3.9.0                8_openblas    conda-forge
libopenblas               0.3.12          pthreads_hb3c22a3_1    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libssh2                   1.9.0                hab1572f_5    conda-forge
libstdcxx-ng              9.1.0                hdf63c60_0  
libtiff                   4.1.0                hc3755c2_3    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxml2                   2.9.10               h68273f3_2    conda-forge
lz4-c                     1.9.2                he1b5a44_3    conda-forge
make                      4.3                  hd18ef5c_1    conda-forge
ncurses                   6.2                  he6710b0_1  
openssl                   1.1.1h               h516909a_0    conda-forge
pango                     1.42.4               h7062337_4    conda-forge
pcre                      8.44                 he1b5a44_0    conda-forge
pcre2                     10.35                h279444b_1    conda-forge
pip                       19.3.1                   py38_0  
pixman                    0.38.0            h516909a_1003    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pycosat                   0.6.3            py38h7b6447c_1  
pycparser                 2.20                       py_2  
pyopenssl                 19.1.0             pyhd3eb1b0_1  
pysocks                   1.7.1            py38h06a4308_0  
python                    3.8.5                h7579374_1  
python_abi                3.8                      2_cp38    conda-forge
r                         4.0             r40hd8ed1ab_1004    conda-forge
r-askpass                 1.1               r40hcdcec82_2    conda-forge
r-assertthat              0.2.1             r40hc72bb7e_2    conda-forge
r-backports               1.2.0             r40h9e2df91_0    conda-forge
r-base                    4.0.2                he766273_1    conda-forge
r-base64enc               0.1_3           r40hcdcec82_1004    conda-forge
r-boot                    1.3_28            r40hc72bb7e_0    conda-forge
r-brew                    1.0_6           r40hc72bb7e_1003    conda-forge
r-callr                   3.7.0             r40hc72bb7e_0    conda-forge
r-class                   7.3_17            r40hcdcec82_1    conda-forge
r-cli                     3.0.1             r40hc72bb7e_0    conda-forge
r-clipr                   0.7.1             r40hc72bb7e_0    conda-forge
r-cluster                 2.1.0             r40h31ca83e_4    conda-forge
r-codetools               0.2_18            r40hc72bb7e_0    conda-forge
r-commonmark              1.7             r40hcdcec82_1002    conda-forge
r-covr                    3.5.1             r40h0357c0b_0    conda-forge
r-crayon                  1.4.1             r40hc72bb7e_0    conda-forge
r-credentials             1.3.0             r40hc72bb7e_0    conda-forge
r-crosstalk               1.1.1             r40hc72bb7e_0    conda-forge
r-curl                    4.3               r40hcdcec82_1    conda-forge
r-desc                    1.3.0             r40hc72bb7e_0    conda-forge
r-devtools                2.4.2             r40hc72bb7e_0    conda-forge
r-digest                  0.6.27            r40h1b71b39_0    conda-forge
r-dt                      0.18              r40hc72bb7e_0    conda-forge
r-ellipsis                0.3.1             r40hcdcec82_0    conda-forge
r-evaluate                0.14              r40hc72bb7e_2    conda-forge
r-fansi                   0.4.1             r40hcdcec82_1    conda-forge
r-foreign                 0.8_80            r40hcdcec82_0    conda-forge
r-fs                      1.5.0             r40h0357c0b_0    conda-forge
r-gert                    1.0.2             r40h9e2df91_0    conda-forge
r-gh                      1.3.0             r40hc72bb7e_0    conda-forge
r-git2r                   0.27.1            r40h7253d3a_0    conda-forge
r-gitcreds                0.1.1             r40hc72bb7e_0    conda-forge
r-glue                    1.4.2             r40hcdcec82_0    conda-forge
r-highr                   0.9               r40hc72bb7e_0    conda-forge
r-htmltools               0.5.0             r40h0357c0b_0    conda-forge
r-htmlwidgets             1.5.3             r40hc72bb7e_0    conda-forge
r-httr                    1.4.2             r40hc72bb7e_0    conda-forge
r-ini                     0.3.1           r40hc72bb7e_1003    conda-forge
r-jsonlite                1.7.1             r40hcdcec82_0    conda-forge
r-kernsmooth              2.23_18           r40h7679c2e_0    conda-forge
r-knitr                   1.33              r40hc72bb7e_0    conda-forge
r-later                   1.1.0.1           r40h0357c0b_0    conda-forge
r-lattice                 0.20_41           r40hcdcec82_2    conda-forge
r-lazyeval                0.2.2             r40hcdcec82_2    conda-forge
r-lifecycle               0.2.0             r40h6115d3f_1    conda-forge
r-magrittr                2.0.1             r40h9e2df91_1    conda-forge
r-markdown                1.1               r40hcdcec82_1    conda-forge
r-mass                    7.3_53            r40hcdcec82_0    conda-forge
r-matrix                  1.2_18            r40h7fa42b6_3    conda-forge
r-memoise                 1.1.0           r40h6115d3f_1004    conda-forge
r-mgcv                    1.8_33            r40h7fa42b6_0    conda-forge
r-mime                    0.9               r40hcdcec82_1    conda-forge
r-nlme                    3.1_150           r40h31ca83e_0    conda-forge
r-nnet                    7.3_14            r40hcdcec82_1    conda-forge
r-openssl                 1.4.3             r40he5c4762_0    conda-forge
r-pkgbuild                1.2.0             r40hc72bb7e_0    conda-forge
r-pkgload                 1.1.0             r40h0357c0b_0    conda-forge
r-praise                  1.0.0           r40hc72bb7e_1004    conda-forge
r-prettyunits             1.1.1             r40hc72bb7e_1    conda-forge
r-processx                3.4.4             r40hcdcec82_0    conda-forge
r-promises                1.1.1             r40h0357c0b_0    conda-forge
r-ps                      1.4.0             r40h0eb13af_0    conda-forge
r-purrr                   0.3.4             r40hcdcec82_1    conda-forge
r-r6                      2.5.0             r40hc72bb7e_0    conda-forge
r-rappdirs                0.3.1           r40hcdcec82_1004    conda-forge
r-rcmdcheck               1.3.3             r40hc72bb7e_3    conda-forge
r-rcpp                    1.0.5             r40he524a50_0    conda-forge
r-recommended             4.0             r40hd8ed1ab_1004    conda-forge
r-remotes                 2.4.0             r40hc72bb7e_0    conda-forge
r-rex                     1.2.0             r40hc72bb7e_1    conda-forge
r-rlang                   0.4.8             r40h9e2df91_0    conda-forge
r-roxygen2                7.1.1             r40h0357c0b_0    conda-forge
r-rpart                   4.1_15            r40hcdcec82_2    conda-forge
r-rprojroot               2.0.2             r40hc72bb7e_0    conda-forge
r-rstudioapi              0.13              r40hc72bb7e_0    conda-forge
r-rversions               2.1.1             r40hc72bb7e_0    conda-forge
r-sessioninfo             1.1.1           r40hc72bb7e_1002    conda-forge
r-spatial                 7.3_12            r40hcdcec82_1    conda-forge
r-stringi                 1.5.3             r40h604b29c_0    conda-forge
r-stringr                 1.4.0             r40hc72bb7e_2    conda-forge
r-survival                3.2_7             r40hcdcec82_0    conda-forge
r-sys                     3.4               r40hcdcec82_0    conda-forge
r-testthat                2.3.2             r40h0357c0b_1    conda-forge
r-usethis                 2.0.1             r40hc72bb7e_0    conda-forge
r-whisker                 0.4               r40hc72bb7e_1    conda-forge
r-withr                   2.4.2             r40hc72bb7e_0    conda-forge
r-xfun                    0.19              r40h9e2df91_0    conda-forge
r-xml2                    1.3.2             r40h0357c0b_1    conda-forge
r-xopen                   1.0.0           r40hc72bb7e_1003    conda-forge
r-yaml                    2.2.1             r40hcdcec82_1    conda-forge
r-zip                     2.1.1             r40hcdcec82_0    conda-forge
readline                  8.0                  h7b6447c_0  
requests                  2.24.0                     py_0  
ruamel_yaml               0.15.87          py38h7b6447c_1  
sed                       4.8                  he412f7d_0    conda-forge
setuptools                50.3.1           py38h06a4308_1  
six                       1.15.0           py38h06a4308_0  
sqlite                    3.33.0               h62c20be_0  
tk                        8.6.10               hbc83047_0  
tktable                   2.10                 hb7b940f_3    conda-forge
tqdm                      4.51.0             pyhd3eb1b0_0  
urllib3                   1.25.11                    py_0  
wheel                     0.35.1             pyhd3eb1b0_0  
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.10               h516909a_0    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.12               h36c2ea0_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.5                h7b6447c_0  
yaml                      0.2.5                h7b6447c_0  
zlib                      1.2.11               h7b6447c_3  
zstd                      1.4.5                h6597ccf_2    conda-forge
root@3f49d12504a3:/# R



Details about conda and system ( conda info ):
root@3f49d12504a3:/# conda info

     active environment : None
       user config file : /root/.condarc
 populated config files : 
          conda version : 4.10.3
    conda-build version : not installed
         python version : 3.8.5.final.0
       virtual packages : __linux=4.15.0=0
                          __glibc=2.31=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /opt/miniconda  (writable)
      conda av data dir : /opt/miniconda/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/miniconda/pkgs
                          /root/.conda/pkgs
       envs directories : /opt/miniconda/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/4.10.3 requests/2.24.0 CPython/3.8.5 Linux/4.15.0-142-generic ubuntu/20.04.2 glibc/2.31
                UID:GID : 0:0
             netrc file : None
           offline mode : False


`install_github` fails in conda environment on Linux

In a conda installation of R on a Linux machine, devtools::install_github fails because it is unable to find the correct system commands:

$ docker run --rm -it condaforge/linux-anvil bash
conda install -y r-base r-devtools unzip
$ R -q -e 'devtools::install_github("r-lib/devtools")'
> devtools::install_github("r-lib/devtools")
Downloading GitHub repo r-lib/devtools@master
from URL https://api.github.com/repos/r-lib/devtools/zipball/master
Installation failed: error in running command

One work around would be to create a conda package and host it on Anaconda Cloud, but this can be a lot of work (especially if the package has many dependencies without corresponding conda packages). Often I want to test out the package prior to making the effort to create a conda package for it.

The problem can be solved by setting the environment variables to system commands correctly:

R -q
> getOption("unzip")
[1] ""
> Sys.getenv("TAR")
[1] "/bin/gtar"
> options(unzip = "/opt/conda/bin/unzip")
> Sys.setenv(TAR = "/bin/tar")
> devtools::install_github("r-lib/devtools")

Note in the example above, I installed unzip via conda. On a system that has unzip, I usually use options(unzip = "/usr/bin/unzip").

Is there anyway to automatically configure these environment variables for the conda installation of R? In other words, without resorting to .Renviron or .Rprofile, which would also affect the system installation of R.

xref: r-lib/devtools#1722 jupyter/docker-stacks#411

Missing build

Try restarting any failed CI builds (all the dependencies should be available). Please record your attempts here to avoid duplicating effort and CI time.

Link to homepage on anaconda.org does not work

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

The link(s) to the homepage on https://anaconda.org/conda-forge/r-devtools does not work.

https://devtools.r-lib.org/,%20https://github.com/r-lib/devtools

I don't know how to link multiple homepages. Other keys available in the about section are doc_url and dev_url. See e.g. the simplejson example recipe and its anaconda page.

Installed packages

-

Environment info

-

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.