Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs][R] added R-package docs generation routines #2176

Merged
merged 20 commits into from
Sep 1, 2019
Merged

[docs][R] added R-package docs generation routines #2176

merged 20 commits into from
Sep 1, 2019

Conversation

StrikerRUS
Copy link
Collaborator

This PR is based on https://github.com/BruceZhaoR/lightgbm_r.

CI is temporarily disabled due to frequent commints.

The main problem here is that our docs builds are limited to 900 seconds. Currently, common build takes approximately 380 seconds. It's without build_articles(), build_tutorials() and build_news().

Due to the same reason I moved RTD configuration from site admin panel to .readthedocs.yml file, because it's the only way to disable building archive with HTML pages (htmlzip). I think that at the end we should leave only formats: [pdf], because I can't imagine who needs EPUB or archived version of our docs. Moreover, configuration file is easier to maintain and gives a way to propose configuration updates not only by admins on RTD.
https://docs.readthedocs.io/en/stable/config-file/v2.html#formats

We cannot use apt-get to install R because RTD's docker is launched under the user without root access:
https://github.com/rtfd/readthedocs-docker-images/blob/bc963e9c634d35daa6ab1eddac2e681a99b8553e/Dockerfile#L138-L143

I tried to compile R from sources (and succeeded in it), but of course it's not enough time for other stuff! So, conda is the only way to setup R.

@StrikerRUS
Copy link
Collaborator Author

StrikerRUS commented May 15, 2019

I'm not sure whether non-admins on RTD are able to observe protected branch docs. So, here is the direct link which makes that branch accessible for everyone: https://lightgbm.readthedocs.io/en/docs/ (or https://lightgbm.readthedocs.io/en/docs/R/ to land right on R-package docs).

Seems that logs are protected for wide access, so I'm pasting them here:

Logs (clickable)
Read the Docs build information
Build id: 9069693
Project: lightgbm
Version: docs
Commit: f3e35de182d6390a197b59c91beb503da9d14dba
Date: 2019-05-15T01:50:26.396019Z
State: finished
Success: True


[rtd-command-info] start-time: 2019-05-15T01:50:26.864443Z, end-time: 2019-05-15T01:50:26.873500Z, duration: 0, exit-code: 0
git remote set-url origin https://github.com/Microsoft/LightGBM


[rtd-command-info] start-time: 2019-05-15T01:50:26.936780Z, end-time: 2019-05-15T01:50:27.237772Z, duration: 0, exit-code: 0
git fetch --tags --prune --prune-tags --depth 50
From https://github.com/Microsoft/LightGBM
 + 44a3b33...f3e35de docs       -> origin/docs  (forced update)

[rtd-command-info] start-time: 2019-05-15T01:50:27.568687Z, end-time: 2019-05-15T01:50:27.582828Z, duration: 0, exit-code: 0
git checkout --force origin/docs
Warning: you are leaving 1 commit behind, not connected to
any of your branches:

  44a3b33 added R-package docs generation routines

If you want to keep it by creating a new branch, this may be a good time
to do so with:

 git branch <new-branch-name> 44a3b33

HEAD is now at f3e35de added R-package docs generation routines

[rtd-command-info] start-time: 2019-05-15T01:50:27.660525Z, end-time: 2019-05-15T01:50:27.667644Z, duration: 0, exit-code: 0
git clean -d -f -f


[rtd-command-info] start-time: 2019-05-15T01:50:28.962034Z, end-time: 2019-05-15T01:50:31.860035Z, duration: 2, exit-code: 0
python3.7 -mvirtualenv --no-site-packages --no-download /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs
Using base prefix '/home/docs/.pyenv/versions/3.7.1'
New python executable in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python3.7
Not overwriting existing python script /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python (you must use /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python3.7)
Installing setuptools, pip, wheel...
done.

[rtd-command-info] start-time: 2019-05-15T01:50:31.923441Z, end-time: 2019-05-15T01:50:32.573536Z, duration: 0, exit-code: 0
/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/.cache/pip pip
Requirement already up-to-date: pip in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (19.1.1)

[rtd-command-info] start-time: 2019-05-15T01:50:32.629991Z, end-time: 2019-05-15T01:50:34.194232Z, duration: 1, exit-code: 0
/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/.cache/pip Pygments==2.3.1 setuptools<41 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<0.6
Requirement already up-to-date: Pygments==2.3.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (2.3.1)
Requirement already up-to-date: setuptools<41 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (40.9.0)
Requirement already up-to-date: docutils==0.14 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.14)
Requirement already up-to-date: mock==1.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (1.0.1)
Requirement already up-to-date: pillow==5.4.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (5.4.1)
Requirement already up-to-date: alabaster!=0.7.5,<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.7.12)
Requirement already up-to-date: commonmark==0.8.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.8.1)
Requirement already up-to-date: recommonmark==0.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.5.0)
Requirement already up-to-date: sphinx<2 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (1.8.5)
Requirement already up-to-date: sphinx-rtd-theme<0.5 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.4.3)
Requirement already up-to-date: readthedocs-sphinx-ext<0.6 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.5.17)
Requirement already satisfied, skipping upgrade: future in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from commonmark==0.8.1) (0.17.1)
Requirement already satisfied, skipping upgrade: six>=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (1.12.0)
Requirement already satisfied, skipping upgrade: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (1.2.1)
Requirement already satisfied, skipping upgrade: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (1.1.0)
Requirement already satisfied, skipping upgrade: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (2.10.1)
Requirement already satisfied, skipping upgrade: requests>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (2.21.0)
Requirement already satisfied, skipping upgrade: sphinxcontrib-websupport in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (1.1.0)
Requirement already satisfied, skipping upgrade: babel!=2.0,>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (2.6.0)
Requirement already satisfied, skipping upgrade: packaging in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (19.0)
Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from Jinja2>=2.3->sphinx<2) (1.1.1)
Requirement already satisfied, skipping upgrade: idna<2.9,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx<2) (2.8)
Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx<2) (1.24.3)
Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx<2) (3.0.4)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx<2) (2019.3.9)
Requirement already satisfied, skipping upgrade: pytz>=0a in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx<2) (2019.1)
Requirement already satisfied, skipping upgrade: pyparsing>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from packaging->sphinx<2) (2.4.0)

[rtd-command-info] start-time: 2019-05-15T01:50:34.255628Z, end-time: 2019-05-15T01:50:34.872476Z, duration: 0, exit-code: 0
/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python -m pip install --exists-action=w --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/.cache/pip -r docs/requirements.txt
Ignoring mock: markers 'python_version < "3"' don't match your environment
Requirement already satisfied: sphinx in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from -r docs/requirements_base.txt (line 1)) (1.8.5)
Requirement already satisfied: sphinx_rtd_theme>=0.3 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from -r docs/requirements_base.txt (line 2)) (0.4.3)
Requirement already satisfied: breathe in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from -r docs/requirements.txt (line 2)) (4.13.0.post0)
Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (1.1.0)
Requirement already satisfied: docutils>=0.11 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (0.14)
Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (40.9.0)
Requirement already satisfied: requests>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (2.21.0)
Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (1.2.1)
Requirement already satisfied: sphinxcontrib-websupport in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (1.1.0)
Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (0.7.12)
Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (19.0)
Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (2.3.1)
Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (2.10.1)
Requirement already satisfied: six>=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (1.12.0)
Requirement already satisfied: babel!=2.0,>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (2.6.0)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->-r docs/requirements_base.txt (line 1)) (1.24.3)
Requirement already satisfied: idna<2.9,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->-r docs/requirements_base.txt (line 1)) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->-r docs/requirements_base.txt (line 1)) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->-r docs/requirements_base.txt (line 1)) (2019.3.9)
Requirement already satisfied: pyparsing>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from packaging->sphinx->-r docs/requirements_base.txt (line 1)) (2.4.0)
Requirement already satisfied: MarkupSafe>=0.23 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from Jinja2>=2.3->sphinx->-r docs/requirements_base.txt (line 1)) (1.1.1)
Requirement already satisfied: pytz>=0a in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx->-r docs/requirements_base.txt (line 1)) (2019.1)

[rtd-command-info] start-time: 2019-05-15T01:50:35.520364Z, end-time: 2019-05-15T01:50:35.590012Z, duration: 0, exit-code: 0
cat docs/conf.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# LightGBM documentation build configuration file, created by
# sphinx-quickstart on Thu May  4 14:30:58 2017.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute.
"""Sphinx configuration file."""
import datetime
import os
import sys
import sphinx

from distutils.dir_util import copy_tree
from docutils.parsers.rst import Directive
from sphinx.errors import VersionRequirementError
from subprocess import PIPE, Popen

CURR_PATH = os.path.abspath(os.path.dirname(__file__))
LIB_PATH = os.path.join(CURR_PATH, os.path.pardir, 'python-package')
sys.path.insert(0, LIB_PATH)

# -- mock out modules
try:
    from unittest.mock import Mock  # Python 3.x
except ImportError:
    from mock import Mock  # Python 2.x

MOCK_MODULES = ['numpy', 'scipy', 'scipy.sparse',
                'sklearn', 'matplotlib', 'pandas', 'graphviz']
for mod_name in MOCK_MODULES:
    sys.modules[mod_name] = Mock()


class IgnoredDirective(Directive):
    """Stub for unknown directives."""

    has_content = True

    def run(self):
        """Do nothing."""
        return []


# -- General configuration ------------------------------------------------

os.environ['LIGHTGBM_BUILD_DOC'] = '1'
C_API = os.environ.get('C_API', '').lower().strip() != 'no'

# If your documentation needs a minimal Sphinx version, state it here.
needs_sphinx = '1.3'  # Due to sphinx.ext.napoleon
if needs_sphinx > sphinx.__version__:
    message = 'This project needs at least Sphinx v%s' % needs_sphinx
    raise VersionRequirementError(message)

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.todo',
    'sphinx.ext.viewcode',
    'sphinx.ext.napoleon',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
# source_suffix = ['.rst', '.md']

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'LightGBM'
copyright = '%s, Microsoft Corporation' % str(datetime.datetime.now().year)
author = 'Microsoft Corporation'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
with open(os.path.join(CURR_PATH, os.path.pardir, 'VERSION.txt'), 'r') as f:
    # The short X.Y version.
    version = f.read().strip()

    # The full version, including alpha/beta/rc tags.
    release = version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'default'

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False

# Both the class' and the __init__ method's docstring are concatenated and inserted.
autoclass_content = 'both'

# -- Configuration for C API docs generation ------------------------------

if C_API:
    extensions.extend([
        'breathe',
    ])
    breathe_projects = {
        "LightGBM": os.path.join(CURR_PATH, 'doxyoutput', 'xml')
    }
    breathe_default_project = "LightGBM"
    breathe_domain_by_extension = {
        "h": "c",
    }
    breathe_show_define_initializer = True

# -- Options for HTML output ----------------------------------------------

# The theme to use for HTML and HTML Help pages.  See the documentation for
# a list of builtin themes.
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further.  For a list of options available for each theme, see the
# documentation.
html_theme_options = {
    'includehidden': False,
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

# -- Options for HTMLHelp output ------------------------------------------

# Output file base name for HTML help builder.
htmlhelp_basename = 'LightGBMdoc'


def generate_doxygen_xml(app):
    """Generate XML documentation for C API by Doxygen.

    Parameters
    ----------
    app : object
        The application object representing the Sphinx process.
    """
    doxygen_args = [
        "INPUT={}".format(os.path.join(CURR_PATH, os.path.pardir,
                                       'include', 'LightGBM', 'c_api.h')),
        "OUTPUT_DIRECTORY={}".format(os.path.join(CURR_PATH, 'doxyoutput')),
        "GENERATE_HTML=NO",
        "GENERATE_LATEX=NO",
        "GENERATE_XML=YES",
        "XML_OUTPUT=xml",
        "XML_PROGRAMLISTING=YES",
        r'ALIASES="rst=\verbatim embed:rst:leading-asterisk"',
        r'ALIASES+="endrst=\endverbatim"',
        "ENABLE_PREPROCESSING=YES",
        "MACRO_EXPANSION=YES",
        "EXPAND_ONLY_PREDEF=NO",
        "SKIP_FUNCTION_MACROS=NO",
        "SORT_BRIEF_DOCS=YES",
        "WARN_AS_ERROR=YES",
    ]
    doxygen_input = '\n'.join(doxygen_args)
    is_py3 = sys.version[0] == "3"
    if is_py3:
        doxygen_input = bytes(doxygen_input, "utf-8")
    if not os.path.exists(os.path.join(CURR_PATH, 'doxyoutput')):
        os.makedirs(os.path.join(CURR_PATH, 'doxyoutput'))
    try:
        # Warning! The following code can cause buffer overflows on RTD.
        # Consider suppressing output completely if RTD project silently fails.
        # Refer to https://github.com/svenevs/exhale
        # /blob/fe7644829057af622e467bb529db6c03a830da99/exhale/deploy.py#L99-L111
        process = Popen(["doxygen", "-"],
                        stdin=PIPE, stdout=PIPE, stderr=PIPE)
        stdout, stderr = process.communicate(doxygen_input)
        output = '\n'.join([i.decode('utf-8') if is_py3 else i
                            for i in (stdout, stderr) if i is not None])
        if process.returncode != 0:
            raise RuntimeError(output)
        else:
            print(output)
    except BaseException as e:
        raise Exception("An error has occurred while executing Doxygen\n" + str(e))


def generate_r_docs(app):
    """Generate documentation for R-package.

    Parameters
    ----------
    app : object
        The application object representing the Sphinx process.
    """
    commands = """
    export PATH="/home/docs/.conda/bin:$PATH"
    echo 'options(repos = "https://cran.rstudio.com")' > $HOME/.Rprofile 
    conda create -q -y -n r_env r-base r-devtools r-data.table r-jsonlite r-magrittr r-matrix r-testthat cmake
    conda install -q -y -n r_env -c conda-forge r-pkgdown
    source activate r_env
    export TAR=/bin/tar
    cd /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs
    sed -i'.bak' '/# Build the package (do not touch this line!)/q' build_r.R
    Rscript build_r.R
    Rscript build_r_site.R
    """
    try:
        # Warning! The following code can cause buffer overflows on RTD.
        # Consider suppressing output completely if RTD project silently fails.
        # Refer to https://github.com/svenevs/exhale
        # /blob/fe7644829057af622e467bb529db6c03a830da99/exhale/deploy.py#L99-L111
        process = Popen(['/bin/bash'],
                        stdin=PIPE, stdout=PIPE, stderr=PIPE,
                        universal_newlines=True)
        stdout, stderr = process.communicate(commands)
        output = '\n'.join([i for i in (stdout, stderr) if i is not None])
        if process.returncode != 0:
            raise RuntimeError(output)
        else:
            print(output)
    except BaseException as e:
        raise Exception("An error has occurred while generating documentation for R-package\n" + str(e))


def setup(app):
    """Add new elements at Sphinx initialization time.

    Parameters
    ----------
    app : object
        The application object representing the Sphinx process.
    """
    if C_API:
        app.connect("builder-inited", generate_doxygen_xml)
    else:
        app.add_directive('doxygenfile', IgnoredDirective)
    app.connect("builder-inited", generate_r_docs)
    app.connect("build-finished", lambda app, exception: copy_tree(app.confdir + '/../lightgbm_r/docs', app.outdir + '/R', verbose=0))
    app.add_javascript("js/script.js")




###########################################################################
#          auto-created readthedocs.org specific configuration            #
###########################################################################


#
# The following code was added during an automated build on readthedocs.org
# It is auto created and injected for every build. The result is based on the
# conf.py.tmpl file found in the readthedocs.org codebase:
# https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl
#


import importlib
import sys
import os.path
from six import string_types

from sphinx import version_info

# Get suffix for proper linking to GitHub
# This is deprecated in Sphinx 1.3+,
# as each page can have its own suffix
if globals().get('source_suffix', False):
    if isinstance(source_suffix, string_types):
        SUFFIX = source_suffix
    elif isinstance(source_suffix, (list, tuple)):
        # Sphinx >= 1.3 supports list/tuple to define multiple suffixes
        SUFFIX = source_suffix[0]
    elif isinstance(source_suffix, dict):
        # Sphinx >= 1.8 supports a mapping dictionary for mulitple suffixes
        SUFFIX = list(source_suffix.keys())[0]  # make a ``list()`` for py2/py3 compatibility
    else:
        # default to .rst
        SUFFIX = '.rst'
else:
    SUFFIX = '.rst'

# Add RTD Static Path. Add to the end because it overwrites previous files.
if not 'html_static_path' in globals():
    html_static_path = []
if os.path.exists('_static'):
    html_static_path.append('_static')

# Add RTD Theme only if they aren't overriding it already
using_rtd_theme = (
    (
        'html_theme' in globals() and
        html_theme in ['default'] and
        # Allow people to bail with a hack of having an html_style
        'html_style' not in globals()
    ) or 'html_theme' not in globals()
)
if using_rtd_theme:
    theme = importlib.import_module('sphinx_rtd_theme')
    html_theme = 'sphinx_rtd_theme'
    html_style = None
    html_theme_options = {}
    if 'html_theme_path' in globals():
        html_theme_path.append(theme.get_html_theme_path())
    else:
        html_theme_path = [theme.get_html_theme_path()]

if globals().get('websupport2_base_url', False):
    websupport2_base_url = 'https://readthedocs.org/websupport'
    websupport2_static_url = 'https://assets.readthedocs.org/static/'


#Add project information to the template context.
context = {
    'using_theme': using_rtd_theme,
    'html_theme': html_theme,
    'current_version': "docs",
    'version_slug': "docs",
    'MEDIA_URL': "https://media.readthedocs.org/",
    'STATIC_URL': "https://assets.readthedocs.org/static/",
    'PRODUCTION_DOMAIN': "readthedocs.org",
    'versions': [
    ("latest", "/en/latest/"),
    ("docs", "/en/docs/"),
    ],
    'downloads': [ 
    ],
    'subprojects': [ 
    ],
    'slug': 'lightgbm',
    'name': u'lightgbm',
    'rtd_language': u'en',
    'programming_language': u'cpp',
    'canonical_url': 'https://lightgbm.readthedocs.io/en/latest/',
    'analytics_code': 'None',
    'single_version': False,
    'conf_py_path': '/docs/',
    'api_host': 'https://readthedocs.org',
    'github_user': 'Microsoft',
    'github_repo': 'LightGBM',
    'github_version': 'docs',
    'display_github': True,
    'bitbucket_user': 'None',
    'bitbucket_repo': 'None',
    'bitbucket_version': 'docs',
    'display_bitbucket': False,
    'gitlab_user': 'None',
    'gitlab_repo': 'None',
    'gitlab_version': 'docs',
    'display_gitlab': False,
    'READTHEDOCS': True,
    'using_theme': (html_theme == "default"),
    'new_theme': (html_theme == "sphinx_rtd_theme"),
    'source_suffix': SUFFIX,
    'ad_free': False,
    'user_analytics_code': '',
    'global_analytics_code': 'UA-17997319-1',
    'commit': 'f3e35de1',
}




if 'html_context' in globals():
    
    html_context.update(context)
    
else:
    html_context = context

# Add custom RTD extension
if 'extensions' in globals():
    # Insert at the beginning because it can interfere
    # with other extensions.
    # See https://github.com/rtfd/readthedocs.org/pull/4054
    extensions.insert(0, "readthedocs_ext.readthedocs")
else:
    extensions = ["readthedocs_ext.readthedocs"]

[rtd-command-info] start-time: 2019-05-15T01:50:35.656504Z, end-time: 2019-05-15T01:56:38.047658Z, duration: 362, exit-code: 0
python /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/sphinx-build -T -E -W -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html
Running Sphinx v1.8.5
loading translations [en]... done
making output directory...
Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for msc files...
Searching for dia files...
Searching for files to exclude
Searching INPUT for files to process...
Reading and parsing tag files
Parsing files
Preprocessing /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/include/LightGBM/c_api.h...
Parsing file /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/include/LightGBM/c_api.h...
Building group list...
Building directory list...
Building namespace list...
Building file list...
Building class list...
Associating documentation with classes...
Computing nesting relations for classes...
Building example list...
Searching for enumerations...
Searching for documented typedefs...
Searching for members imported via using declarations...
Searching for included using directives...
Searching for documented variables...
Building interface member list...
Building member list...
Searching for friends...
Searching for documented defines...
Computing class inheritance relations...
Computing class usage relations...
Flushing cached template relations that have become invalid...
Computing class relations...
Add enum values to enums...
Searching for member function documentation...
Creating members for template instances...
Building page list...
Search for main page...
Computing page relations...
Determining the scope of groups...
Sorting lists...
Freeing entry tree
Determining which enums are documented
Computing member relations...
Building full member lists recursively...
Adding members to member groups.
Computing member references...
Inheriting documentation...
Generating disk names...
Adding source references...
Adding xrefitems...
Sorting member lists...
Computing dependencies between directories...
Generating citations page...
Counting data structures...
Resolving user defined references...
Finding anchors and sections in the documentation...
Transferring function references...
Combining using relations...
Adding members to index pages...
Generating style sheet...
Generating search indices...
Generating example documentation...
Generating file sources...
Generating code for file /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/include/LightGBM/c_api.h...
Generating file documentation...
Generating page documentation...
Generating group documentation...
Generating class documentation...
Generating namespace index...
Generating graph info page...
Generating directory documentation...
finalizing index lists...
writing tag file...
Generating XML output...
Generating XML output for file c_api.h
Generate XML output for dir /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/include/
Generate XML output for dir /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/include/LightGBM/
Running dot...
lookup cache used 69/65536 hits=505 misses=69
finished...


Solving environment: ...working... done

## Package Plan ##

  environment location: /home/docs/.conda/envs/r_env

  added / updated specs: 
    - cmake
    - r-base
    - r-data.table
    - r-devtools
    - r-jsonlite
    - r-magrittr
    - r-matrix
    - r-testthat


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    pango-1.42.4               |       h049681c_0         528 KB
    gxx_linux-64-7.2.0         |      h550dcbe_27           8 KB
    r-memoise-1.1.0            |   r351h6115d3f_0          40 KB
    r-base-3.5.1               |       h1e0a451_2        39.8 MB
    r-assertthat-0.2.0         |   r351h6115d3f_0          57 KB
    harfbuzz-1.8.8             |       hffaf4a1_0         863 KB
    bzip2-1.0.6                |       h14c3975_5         414 KB
    libuuid-1.0.3              |       h1bed415_2          16 KB
    r-matrix-1.2_14            |   r351h96ca727_0         3.7 MB
    pcre-8.43                  |       he6710b0_0         260 KB
    binutils_linux-64-7.2.0    |      had2808c_27           8 KB
    r-httr-1.3.1               |   r351h6115d3f_1         437 KB
    r-crayon-1.3.4             |   r351h6115d3f_0         745 KB
    make-4.2.1                 |       h1bed415_1         429 KB
    r-r6-2.2.2                 |   r351h6115d3f_0         275 KB
    fribidi-1.0.5              |       h7b6447c_0         112 KB
    libssh2-1.8.2              |       h1ba5d50_0         250 KB
    r-curl-3.2                 |   r351hadc6856_1         406 KB
    jpeg-9b                    |       h024ee3a_2         248 KB
    r-rstudioapi-0.7           |   r351h6115d3f_0         132 KB
    curl-7.64.1                |       hbc83047_0         138 KB
    libgfortran-ng-7.3.0       |       hdf63c60_0         1.3 MB
    pixman-0.38.0              |       h7b6447c_0         618 KB
    fontconfig-2.13.0          |       h9420a91_0         291 KB
    gcc_linux-64-7.2.0         |      h550dcbe_27           9 KB
    rhash-1.3.8                |       h1ba5d50_0         235 KB
    r-withr-2.1.2              |   r351h6115d3f_0         161 KB
    cairo-1.14.12              |       h8948797_3         1.3 MB
    openssl-1.1.1b             |       h7b6447c_1         4.0 MB
    krb5-1.16.1                |       h173b8e3_7         1.4 MB
    gfortran_linux-64-7.2.0    |      h550dcbe_27           9 KB
    libxcb-1.13                |       h1bed415_1         502 KB
    r-lattice-0.20_35          |   r351h96ca727_0         1.1 MB
    libpng-1.6.37              |       hbc83047_0         364 KB
    r-mime-0.5                 |   r351h96ca727_0          38 KB
    tktable-2.10               |       h14c3975_0          88 KB
    _r-mutex-1.0.0             |      anacondar_1           2 KB
    r-openssl-1.0.2            |   r351h96ca727_1         1.1 MB
    r-whisker-0.3_2            |   r351hf348343_4          66 KB
    libxml2-2.9.9              |       he19cac6_0         2.0 MB
    glib-2.56.2                |       hd408876_0         5.0 MB
    zlib-1.2.11                |       h7b6447c_3         120 KB
    icu-58.2                   |       h9c2bf20_1        22.5 MB
    r-data.table-1.11.4        |   r351h96ca727_0         1.4 MB
    gxx_impl_linux-64-7.2.0    |       hdf63c60_3        18.6 MB
    ca-certificates-2019.1.23  |                0         126 KB
    zstd-1.3.7                 |       h0b5b093_0         887 KB
    expat-2.2.6                |       he6710b0_0         187 KB
    gsl-2.4                    |       h14c3975_4         2.6 MB
    bwidget-1.9.11             |                1         113 KB
    gfortran_impl_linux-64-7.2.0|       hdf63c60_3         8.9 MB
    libcurl-7.64.1             |       h20c2e04_0         582 KB
    ncurses-6.1                |       he6710b0_1         958 KB
    cmake-3.14.0               |       h52cb24c_0         9.5 MB
    binutils_impl_linux-64-2.28.1|       had2808c_3        16.1 MB
    freetype-2.9.1             |       h8a8886c_1         822 KB
    r-jsonlite-1.5             |   r351h96ca727_0         1.1 MB
    xz-5.2.4                   |       h14c3975_4         366 KB
    libedit-3.1.20181209       |       hc058e9b_0         188 KB
    graphite2-1.3.13           |       h23475e2_0         101 KB
    r-testthat-2.0.0           |   r351h29659fb_0         960 KB
    r-cli-1.0.0                |   r351h6115d3f_1         323 KB
    r-praise-1.0.0             |   r351h6115d3f_4          21 KB
    r-devtools-1.13.6          |   r351h6115d3f_0         684 KB
    r-magrittr-1.5             |   r351h6115d3f_4         165 KB
    r-rlang-0.2.1              |   r351h96ca727_0         776 KB
    r-git2r-0.23.0             |   r351h96ca727_1         863 KB
    gcc_impl_linux-64-7.2.0    |       habb00fd_3        72.4 MB
    libtiff-4.0.10             |       h2733197_2         604 KB
    r-digest-0.6.15            |   r351h96ca727_0         150 KB
    ------------------------------------------------------------
                                           Total:       230.1 MB

The following NEW packages will be INSTALLED:

    _r-mutex:               1.0.0-anacondar_1      
    binutils_impl_linux-64: 2.28.1-had2808c_3      
    binutils_linux-64:      7.2.0-had2808c_27      
    bwidget:                1.9.11-1               
    bzip2:                  1.0.6-h14c3975_5       
    ca-certificates:        2019.1.23-0            
    cairo:                  1.14.12-h8948797_3     
    cmake:                  3.14.0-h52cb24c_0      
    curl:                   7.64.1-hbc83047_0      
    expat:                  2.2.6-he6710b0_0       
    fontconfig:             2.13.0-h9420a91_0      
    freetype:               2.9.1-h8a8886c_1       
    fribidi:                1.0.5-h7b6447c_0       
    gcc_impl_linux-64:      7.2.0-habb00fd_3       
    gcc_linux-64:           7.2.0-h550dcbe_27      
    gfortran_impl_linux-64: 7.2.0-hdf63c60_3       
    gfortran_linux-64:      7.2.0-h550dcbe_27      
    glib:                   2.56.2-hd408876_0      
    graphite2:              1.3.13-h23475e2_0      
    gsl:                    2.4-h14c3975_4         
    gxx_impl_linux-64:      7.2.0-hdf63c60_3       
    gxx_linux-64:           7.2.0-h550dcbe_27      
    harfbuzz:               1.8.8-hffaf4a1_0       
    icu:                    58.2-h9c2bf20_1        
    jpeg:                   9b-h024ee3a_2          
    krb5:                   1.16.1-h173b8e3_7      
    libcurl:                7.64.1-h20c2e04_0      
    libedit:                3.1.20181209-hc058e9b_0
    libffi:                 3.2.1-hd88cf55_4       
    libgcc-ng:              8.2.0-hdf63c60_1       
    libgfortran-ng:         7.3.0-hdf63c60_0       
    libpng:                 1.6.37-hbc83047_0      
    libssh2:                1.8.2-h1ba5d50_0       
    libstdcxx-ng:           8.2.0-hdf63c60_1       
    libtiff:                4.0.10-h2733197_2      
    libuuid:                1.0.3-h1bed415_2       
    libxcb:                 1.13-h1bed415_1        
    libxml2:                2.9.9-he19cac6_0       
    make:                   4.2.1-h1bed415_1       
    ncurses:                6.1-he6710b0_1         
    openssl:                1.1.1b-h7b6447c_1      
    pango:                  1.42.4-h049681c_0      
    pcre:                   8.43-he6710b0_0        
    pixman:                 0.38.0-h7b6447c_0      
    r-assertthat:           0.2.0-r351h6115d3f_0   
    r-base:                 3.5.1-h1e0a451_2       
    r-cli:                  1.0.0-r351h6115d3f_1   
    r-crayon:               1.3.4-r351h6115d3f_0   
    r-curl:                 3.2-r351hadc6856_1     
    r-data.table:           1.11.4-r351h96ca727_0  
    r-devtools:             1.13.6-r351h6115d3f_0  
    r-digest:               0.6.15-r351h96ca727_0  
    r-git2r:                0.23.0-r351h96ca727_1  
    r-httr:                 1.3.1-r351h6115d3f_1   
    r-jsonlite:             1.5-r351h96ca727_0     
    r-lattice:              0.20_35-r351h96ca727_0 
    r-magrittr:             1.5-r351h6115d3f_4     
    r-matrix:               1.2_14-r351h96ca727_0  
    r-memoise:              1.1.0-r351h6115d3f_0   
    r-mime:                 0.5-r351h96ca727_0     
    r-openssl:              1.0.2-r351h96ca727_1   
    r-praise:               1.0.0-r351h6115d3f_4   
    r-r6:                   2.2.2-r351h6115d3f_0   
    r-rlang:                0.2.1-r351h96ca727_0   
    r-rstudioapi:           0.7-r351h6115d3f_0     
    r-testthat:             2.0.0-r351h29659fb_0   
    r-whisker:              0.3_2-r351hf348343_4   
    r-withr:                2.1.2-r351h6115d3f_0   
    readline:               7.0-h7b6447c_5         
    rhash:                  1.3.8-h1ba5d50_0       
    tk:                     8.6.8-hbc83047_0       
    tktable:                2.10-h14c3975_0        
    xz:                     5.2.4-h14c3975_4       
    zlib:                   1.2.11-h7b6447c_3      
    zstd:                   1.3.7-h0b5b093_0       

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /home/docs/.conda/envs/r_env

  added / updated specs: 
    - r-pkgdown


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    r-htmltools-0.3.6          |r351hf484d3e_1002         177 KB  conda-forge
    r-pillar-1.3.0             |   r351h6115d3f_0         156 KB
    r-stringr-1.4.0            |   r351h6115d3f_0         207 KB  conda-forge
    r-fansi-0.4.0              |r351h96ca727_1000         192 KB  conda-forge
    r-highlight-0.4.7.2        |r351h29659fb_1001         554 KB  conda-forge
    r-rematch2-2.0.1           |r351h6115d3f_1001          47 KB  conda-forge
    r-pkgload-1.0.2            |r351h29659fb_1000         159 KB  conda-forge
    r-processx-3.3.1           |   r351hcdcec82_0         191 KB  conda-forge
    r-callr-3.2.0              |   r351h6115d3f_0         254 KB  conda-forge
    r-roxygen2-6.1.1           |r351h29659fb_1000         479 KB  conda-forge
    r-desc-1.2.0               |r351h6115d3f_1001         278 KB  conda-forge
    r-packrat-0.5.0            |r351h6115d3f_1000         455 KB  conda-forge
    r-backports-1.1.4          |   r351hcdcec82_0          65 KB  conda-forge
    xorg-libice-1.0.9          |    h516909a_1004          58 KB  conda-forge
    xorg-xproto-7.0.31         |    h14c3975_1007          72 KB  conda-forge
    r-knitr-1.22               |   r351h6115d3f_0         1.3 MB  conda-forge
    xorg-libxrender-0.9.10     |    h516909a_1002          31 KB  conda-forge
    r-utf8-1.1.4               |r351h96ca727_1000         159 KB  conda-forge
    xorg-kbproto-1.0.7         |    h14c3975_1002          26 KB  conda-forge
    r-pkgbuild-1.0.3           |   r351h6115d3f_0         148 KB  conda-forge
    xorg-libsm-1.2.2           |       h470a237_5          24 KB  conda-forge
    r-brew-1.0_6               |r351h6115d3f_1001          92 KB  conda-forge
    r-xml2-1.2.0               |r351h29659fb_1002         339 KB  conda-forge
    r-bitops-1.0_6             |r351h96ca727_1002          39 KB  conda-forge
    r-rmarkdown-1.12           |   r351h6115d3f_0         3.0 MB  conda-forge
    xorg-xextproto-7.3.0       |    h14c3975_1002          27 KB  conda-forge
    r-commonmark-1.7           |r351h96ca727_1000         157 KB  conda-forge
    openssl-1.1.1b             |       h14c3975_1         4.0 MB  conda-forge
    ca-certificates-2019.3.9   |       hecc5488_0         146 KB  conda-forge
    r-base64enc-0.1_3          |r351h96ca727_1002          43 KB  conda-forge
    r-highr-0.8                |   r351h6115d3f_0          47 KB  conda-forge
    xorg-libx11-1.6.7          |    h14c3975_1000         940 KB  conda-forge
    r-prettyunits-1.0.2        |r351h6115d3f_1001          35 KB  conda-forge
    r-xfun-0.7                 |   r351h6115d3f_0         174 KB  conda-forge
    r-rcpp-1.0.1               |   r351h0357c0b_0         3.3 MB  conda-forge
    r-yaml-2.2.0               |r351h96ca727_1001         112 KB  conda-forge
    r-stringi-1.4.3            |   r351h0357c0b_0         768 KB  conda-forge
    r-evaluate-0.13            |   r351h6115d3f_1          77 KB  conda-forge
    xorg-renderproto-0.11.1    |    h14c3975_1002           8 KB  conda-forge
    r-purrr-0.2.5              |r351h96ca727_1002         283 KB  conda-forge
    r-glue-1.3.1               |   r351hcdcec82_0         164 KB  conda-forge
    r-rcurl-1.95_4.12          |   r351hcdcec82_0         861 KB  conda-forge
    r-pkgdown-1.3.0            |r351h6115d3f_1000         497 KB  conda-forge
    r-tibble-1.4.2             |r351h96ca727_1002         229 KB  conda-forge
    r-markdown-0.9             |r351h96ca727_1000         143 KB  conda-forge
    pandoc-2.7.2               |                0        21.7 MB  conda-forge
    r-fs-1.3.0                 |   r351h0357c0b_0         521 KB  conda-forge
    r-tinytex-0.13             |   r351h6115d3f_0         100 KB  conda-forge
    xorg-libxext-1.3.4         |       h516909a_0          51 KB  conda-forge
    r-mass-7.3_51.4            |   r351hcdcec82_0         1.1 MB  conda-forge
    r-rprojroot-1.3_2          |r351h6115d3f_1001          93 KB  conda-forge
    r-rsconnect-0.8.13         |   r351h6115d3f_0         527 KB  conda-forge
    r-ps-1.3.0                 |r351h96ca727_1000         222 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        44.6 MB

The following NEW packages will be INSTALLED:

    pandoc:           2.7.2-0                   conda-forge
    r-backports:      1.1.4-r351hcdcec82_0      conda-forge
    r-base64enc:      0.1_3-r351h96ca727_1002   conda-forge
    r-bitops:         1.0_6-r351h96ca727_1002   conda-forge
    r-brew:           1.0_6-r351h6115d3f_1001   conda-forge
    r-callr:          3.2.0-r351h6115d3f_0      conda-forge
    r-commonmark:     1.7-r351h96ca727_1000     conda-forge
    r-desc:           1.2.0-r351h6115d3f_1001   conda-forge
    r-evaluate:       0.13-r351h6115d3f_1       conda-forge
    r-fansi:          0.4.0-r351h96ca727_1000   conda-forge
    r-fs:             1.3.0-r351h0357c0b_0      conda-forge
    r-glue:           1.3.1-r351hcdcec82_0      conda-forge
    r-highlight:      0.4.7.2-r351h29659fb_1001 conda-forge
    r-highr:          0.8-r351h6115d3f_0        conda-forge
    r-htmltools:      0.3.6-r351hf484d3e_1002   conda-forge
    r-knitr:          1.22-r351h6115d3f_0       conda-forge
    r-markdown:       0.9-r351h96ca727_1000     conda-forge
    r-mass:           7.3_51.4-r351hcdcec82_0   conda-forge
    r-packrat:        0.5.0-r351h6115d3f_1000   conda-forge
    r-pillar:         1.3.0-r351h6115d3f_0                 
    r-pkgbuild:       1.0.3-r351h6115d3f_0      conda-forge
    r-pkgdown:        1.3.0-r351h6115d3f_1000   conda-forge
    r-pkgload:        1.0.2-r351h29659fb_1000   conda-forge
    r-prettyunits:    1.0.2-r351h6115d3f_1001   conda-forge
    r-processx:       3.3.1-r351hcdcec82_0      conda-forge
    r-ps:             1.3.0-r351h96ca727_1000   conda-forge
    r-purrr:          0.2.5-r351h96ca727_1002   conda-forge
    r-rcpp:           1.0.1-r351h0357c0b_0      conda-forge
    r-rcurl:          1.95_4.12-r351hcdcec82_0  conda-forge
    r-rematch2:       2.0.1-r351h6115d3f_1001   conda-forge
    r-rmarkdown:      1.12-r351h6115d3f_0       conda-forge
    r-roxygen2:       6.1.1-r351h29659fb_1000   conda-forge
    r-rprojroot:      1.3_2-r351h6115d3f_1001   conda-forge
    r-rsconnect:      0.8.13-r351h6115d3f_0     conda-forge
    r-stringi:        1.4.3-r351h0357c0b_0      conda-forge
    r-stringr:        1.4.0-r351h6115d3f_0      conda-forge
    r-tibble:         1.4.2-r351h96ca727_1002   conda-forge
    r-tinytex:        0.13-r351h6115d3f_0       conda-forge
    r-utf8:           1.1.4-r351h96ca727_1000   conda-forge
    r-xfun:           0.7-r351h6115d3f_0        conda-forge
    r-xml2:           1.2.0-r351h29659fb_1002   conda-forge
    r-yaml:           2.2.0-r351h96ca727_1001   conda-forge
    xorg-kbproto:     1.0.7-h14c3975_1002       conda-forge
    xorg-libice:      1.0.9-h516909a_1004       conda-forge
    xorg-libsm:       1.2.2-h470a237_5          conda-forge
    xorg-libx11:      1.6.7-h14c3975_1000       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

The following packages will be UPDATED:

    ca-certificates:  2019.1.23-0                           --> 2019.3.9-hecc5488_0 conda-forge
    openssl:          1.1.1b-h7b6447c_1                     --> 1.1.1b-h14c3975_1   conda-forge

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
[1] "========================building pkgdown site===================================="
── Initialising site ───────────────────────────────────────────────────────────
Copying '../../../../../../../.conda/envs/r_env/lib/R/library/pkgdown/assets/docsearch.css' to 'docsearch.css'
Copying '../../../../../../../.conda/envs/r_env/lib/R/library/pkgdown/assets/docsearch.js' to 'docsearch.js'
Copying '../../../../../../../.conda/envs/r_env/lib/R/library/pkgdown/assets/link.svg' to 'link.svg'
Copying '../../../../../../../.conda/envs/r_env/lib/R/library/pkgdown/assets/pkgdown.css' to 'pkgdown.css'
Copying '../../../../../../../.conda/envs/r_env/lib/R/library/pkgdown/assets/pkgdown.js' to 'pkgdown.js'
── Building home ───────────────────────────────────────────────────────────────
Writing 'authors.html'
Writing 'LICENSE-text.html'
Writing 'index.html'
── Building function reference ─────────────────────────────────────────────────
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /home/docs/.conda/envs/r_env/bin/x86_64-conda_cos6-linux-gnu-cc
-- Check for working C compiler: /home/docs/.conda/envs/r_env/bin/x86_64-conda_cos6-linux-gnu-cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/docs/.conda/envs/r_env/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: /home/docs/.conda/envs/r_env/bin/x86_64-conda_cos6-linux-gnu-c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/src/build
Scanning dependencies of target _lightgbm
[  3%] Building CXX object CMakeFiles/_lightgbm.dir/src/c_api.cpp.o
[  6%] Building CXX object CMakeFiles/_lightgbm.dir/src/lightgbm_R.cpp.o
[  9%] Building CXX object CMakeFiles/_lightgbm.dir/src/application/application.cpp.o
[ 12%] Building CXX object CMakeFiles/_lightgbm.dir/src/boosting/boosting.cpp.o
[ 15%] Building CXX object CMakeFiles/_lightgbm.dir/src/boosting/gbdt.cpp.o
[ 18%] Building CXX object CMakeFiles/_lightgbm.dir/src/boosting/gbdt_model_text.cpp.o
[ 21%] Building CXX object CMakeFiles/_lightgbm.dir/src/boosting/gbdt_prediction.cpp.o
[ 25%] Building CXX object CMakeFiles/_lightgbm.dir/src/boosting/prediction_early_stop.cpp.o
[ 28%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/bin.cpp.o
[ 31%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/config.cpp.o
[ 34%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/config_auto.cpp.o
[ 37%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/dataset.cpp.o
[ 40%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/dataset_loader.cpp.o
[ 43%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/file_io.cpp.o
[ 46%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/json11.cpp.o
[ 50%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/metadata.cpp.o
[ 53%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/parser.cpp.o
[ 56%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/tree.cpp.o
[ 59%] Building CXX object CMakeFiles/_lightgbm.dir/src/metric/dcg_calculator.cpp.o
[ 62%] Building CXX object CMakeFiles/_lightgbm.dir/src/metric/metric.cpp.o
[ 65%] Building CXX object CMakeFiles/_lightgbm.dir/src/network/linker_topo.cpp.o
[ 68%] Building CXX object CMakeFiles/_lightgbm.dir/src/network/linkers_mpi.cpp.o
[ 71%] Building CXX object CMakeFiles/_lightgbm.dir/src/network/linkers_socket.cpp.o
[ 75%] Building CXX object CMakeFiles/_lightgbm.dir/src/network/network.cpp.o
[ 78%] Building CXX object CMakeFiles/_lightgbm.dir/src/objective/objective_function.cpp.o
[ 81%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/data_parallel_tree_learner.cpp.o
[ 84%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/feature_parallel_tree_learner.cpp.o
[ 87%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/gpu_tree_learner.cpp.o
[ 90%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/serial_tree_learner.cpp.o
[ 93%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/tree_learner.cpp.o
[ 96%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/voting_parallel_tree_learner.cpp.o
[100%] Linking CXX shared library ../lib_lightgbm.so
[100%] Built target _lightgbm
Found library file: /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/src/lib_lightgbm.so to move to /tmp/RtmpO4Ukyo/devtools_install_32a3e42d92f/lightgbm/libsWriting NAMESPACE
Writing NAMESPACE
Writing 'reference/index.html'
  
─  installing *source* package ‘lightgbm’ ...

  
   ** libs

  
   installing via 'install.libs.R' to /tmp/RtmpO4Ukyo/devtools_install_32a54ee00d4/lightgbm

  
   -- Found OpenMP_C: -fopenmp  

  
   -- Found OpenMP_CXX: -fopenmp  

  
   -- Found OpenMP: TRUE   

  
   -- Configuring done

  
   -- Generating done

  
   -- Build files have been written to: /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/src/build

  
   [  3%] Linking CXX shared library ../lib_lightgbm.so

  
   [100%] Built target _lightgbm

  
Found library file: /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/src/lib_lightgbm.so to move to /tmp/RtmpO4Ukyo/devtools_install_32a54ee00d4/lightgbm/libs
  
   Found library file: /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/src/lib_lightgbm.so to move to /tmp/RtmpO4Ukyo/devtools_install_32a54ee00d4/lightgbm/libs* DONE (lightgbm)

Reading 'man/agaricus.test.Rd'
Writing 'reference/agaricus.test.html'
Reading 'man/agaricus.train.Rd'
Writing 'reference/agaricus.train.html'
Reading 'man/bank.Rd'
Writing 'reference/bank.html'
Reading 'man/dim.Rd'
Writing 'reference/dim.html'
Reading 'man/dimnames.lgb.Dataset.Rd'
Writing 'reference/dimnames.lgb.Dataset.html'
Reading 'man/getinfo.Rd'
Writing 'reference/getinfo.html'
Reading 'man/lgb.Dataset.Rd'
[LightGBM] [Info] Saving data to binary file lgb.Dataset.data
Writing 'reference/lgb.Dataset.html'
Reading 'man/lgb.Dataset.construct.Rd'
Writing 'reference/lgb.Dataset.construct.html'
Reading 'man/lgb.Dataset.create.valid.Rd'
Writing 'reference/lgb.Dataset.create.valid.html'
Reading 'man/lgb.Dataset.save.Rd'
[LightGBM] [Info] Saving data to binary file data.bin
Writing 'reference/lgb.Dataset.save.html'
Reading 'man/lgb.Dataset.set.categorical.Rd'
[LightGBM] [Warning] File lgb.Dataset.data exists, cannot save binary to it
Writing 'reference/lgb.Dataset.set.categorical.html'
Reading 'man/lgb.Dataset.set.reference.Rd'
Writing 'reference/lgb.Dataset.set.reference.html'
Reading 'man/lgb.cv.Rd'
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 5211, number of used features: 116
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 5211, number of used features: 116
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 5210, number of used features: 116
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 5210, number of used features: 116
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 5210, number of used features: 116
[LightGBM] [Info] Start training from score 0.481290
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Info] Start training from score 0.483592
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Info] Start training from score 0.481382
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Info] Start training from score 0.482342
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Info] Start training from score 0.481958
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
Writing 'reference/lgb.cv.html'
Reading 'man/lgb.dump.Rd'
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 6513, number of used features: 116
[LightGBM] [Info] Start training from score 0.482113
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
Writing 'reference/lgb.dump.html'
Reading 'man/lgb.get.eval.result.Rd'
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 6513, number of used features: 116
[LightGBM] [Info] Start training from score 0.482113
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
Writing 'reference/lgb.get.eval.result.html'
Reading 'man/lgb.importance.Rd'
[LightGBM] [Warning] Starting from the 2.1.2 version, default value for the "boost_from_average" parameter in "binary" objective is true.
This may cause significantly different results comparing to the previous versions of LightGBM.
Try to set boost_from_average=false, if your old models produce bad results
[LightGBM] [Info] Number of positive: 3140, number of negative: 3373
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 6513, number of used features: 116
[LightGBM] [Info] [binary:BoostFromScore]: pavg=0.482113 -> initscore=-0.071580
[LightGBM] [Info] Start training from score -0.071580
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Starting from the 2.1.2 version, default value for the "boost_from_average" parameter in "binary" objective is true.
This may cause significantly different results comparing to the previous versions of LightGBM.
Try to set boost_from_average=false, if your old models produce bad results
[LightGBM] [Info] Number of positive: 3140, number of negative: 3373
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 6513, number of used features: 116
[LightGBM] [Info] [binary:BoostFromScore]: pavg=0.482113 -> initscore=-0.071580
[LightGBM] [Info] Start training from score -0.071580
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
Writing 'reference/lgb.importance.html'
Reading 'man/lgb.interprete.Rd'
[LightGBM] [Warning] Starting from the 2.1.2 version, default value for the "boost_from_average" parameter in "binary" objective is true.
This may cause significantly different results comparing to the previous versions of LightGBM.
Try to set boost_from_average=false, if your old models produce bad results
[LightGBM] [Info] Number of positive: 3140, number of negative: 3373
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 6513, number of used features: 116
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
Writing 'reference/lgb.interprete.html'
Reading 'man/lgb.load.Rd'
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 6513, number of used features: 116
[LightGBM] [Info] Start training from score 0.482113
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
Writing 'reference/lgb.load.html'
Reading 'man/lgb.model.dt.tree.Rd'
[LightGBM] [Warning] Starting from the 2.1.2 version, default value for the "boost_from_average" parameter in "binary" objective is true.
This may cause significantly different results comparing to the previous versions of LightGBM.
Try to set boost_from_average=false, if your old models produce bad results
[LightGBM] [Info] Number of positive: 3140, number of negative: 3373
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 6513, number of used features: 116
[LightGBM] [Info] [binary:BoostFromScore]: pavg=0.482113 -> initscore=-0.071580
[LightGBM] [Info] Start training from score -0.071580
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Starting from the 2.1.2 version, default value for the "boost_from_average" parameter in "binary" objective is true.
This may cause significantly different results comparing to the previous versions of LightGBM.
Try to set boost_from_average=false, if your old models produce bad results
[LightGBM] [Info] Number of positive: 3140, number of negative: 3373
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 6513, number of used features: 116
[LightGBM] [Info] [binary:BoostFromScore]: pavg=0.482113 -> initscore=-0.071580
[LightGBM] [Info] Start training from score -0.071580
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
Writing 'reference/lgb.model.dt.tree.html'
Reading 'man/lgb.plot.importance.Rd'
[LightGBM] [Warning] Starting from the 2.1.2 version, default value for the "boost_from_average" parameter in "binary" objective is true.
This may cause significantly different results comparing to the previous versions of LightGBM.
Try to set boost_from_average=false, if your old models produce bad results
[LightGBM] [Info] Number of positive: 3140, number of negative: 3373
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 6513, number of used features: 116
[LightGBM] [Info] [binary:BoostFromScore]: pavg=0.482113 -> initscore=-0.071580
[LightGBM] [Info] Start training from score -0.071580
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
Writing 'reference/lgb.plot.importance.html'
Reading 'man/lgb.plot.interpretation.Rd'
[LightGBM] [Warning] Starting from the 2.1.2 version, default value for the "boost_from_average" parameter in "binary" objective is true.
This may cause significantly different results comparing to the previous versions of LightGBM.
Try to set boost_from_average=false, if your old models produce bad results
[LightGBM] [Info] Number of positive: 3140, number of negative: 3373
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 6513, number of used features: 116
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Starting from the 2.1.2 version, default value for the "boost_from_average" parameter in "binary" objective is true.
This may cause significantly different results comparing to the previous versions of LightGBM.
Try to set boost_from_average=false, if your old models produce bad results
[LightGBM] [Info] Number of positive: 3140, number of negative: 3373
[LightGBM] [Info] Total Bins 137
[LightGBM] [Info] Number of data: 6513, number of used features: 116
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
Writing 'reference/lgb.plot.interpretation.html'
Reading 'man/lgb.prepare.Rd'
Writing 'reference/lgb.prepare.html'
Reading 'man/lgb.prepare2.Rd'
Writing 'reference/lgb.prepare2.html'
Reading 'man/lgb.prepare_rules.Rd'
Writing 'reference/lgb.prepare_rules.html'
Reading 'man/lgb.prepare_rules2.Rd'
Writing 'reference/lgb.prepare_rules2.html'
Reading 'man/lgb.save.Rd'
Writing 'reference/lgb.save.html'
Reading 'man/lgb.train.Rd'
Writing 'reference/lgb.train.html'
Reading 'man/lgb.unloader.Rd'
Writing 'reference/lgb.unloader.html'
Reading 'man/lgb_shared_params.Rd'
Writing 'reference/lgb_shared_params.html'
Reading 'man/lightgbm.Rd'
Writing 'reference/lightgbm.html'
Reading 'man/predict.lgb.Booster.Rd'
Writing 'reference/predict.lgb.Booster.html'
Reading 'man/readRDS.lgb.Booster.Rd'
Writing 'reference/readRDS.lgb.Booster.html'
Reading 'man/saveRDS.lgb.Booster.Rd'
Writing 'reference/saveRDS.lgb.Booster.html'
Reading 'man/setinfo.Rd'
Writing 'reference/setinfo.html'
Reading 'man/slice.Rd'
Writing 'reference/slice.html'

Updating lightgbm documentation
Loading lightgbm
Re-compiling lightgbm
'/home/docs/.conda/envs/r_env/lib/R/bin/R' --no-site-file --no-environ  \
  --no-save --no-restore --quiet CMD INSTALL  \
  '/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r'  \
  --library='/tmp/RtmpO4Ukyo/devtools_install_32a3e42d92f' --no-R --no-data  \
  --no-help --no-demo --no-inst --no-docs --no-exec --no-multiarch  \
  --no-test-load --preclean 

* installing *source* package ‘lightgbm’ ...
** libs
installing via 'install.libs.R' to /tmp/RtmpO4Ukyo/devtools_install_32a3e42d92f/lightgbm
* DONE (lightgbm)
Loading required package: R6
Updating roxygen version in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/DESCRIPTION
Warning: Topics missing from index: lgb_shared_params, lightgbm
Loading lightgbm
Re-compiling lightgbm
Warning message:
roxygen2 requires Encoding: UTF-8 

building [mo]: targets for 0 po files that are out of date
building [readthedocs]: targets for 21 source files that are out of date
updating environment: 21 added, 0 changed, 0 removed
reading sources... [  4%] Advanced-Topics
reading sources... [  9%] C-API
reading sources... [ 14%] Development-Guide
reading sources... [ 19%] Experiments
reading sources... [ 23%] FAQ
reading sources... [ 28%] Features
reading sources... [ 33%] GPU-Performance
reading sources... [ 38%] GPU-Targets
reading sources... [ 42%] GPU-Tutorial
reading sources... [ 47%] GPU-Windows
reading sources... [ 52%] Installation-Guide
reading sources... [ 57%] Parallel-Learning-Guide
reading sources... [ 61%] Parameters
reading sources... [ 66%] Parameters-Tuning
reading sources... [ 71%] Python-API
reading sources... [ 76%] Python-Intro
reading sources... [ 80%] Quick-Start
reading sources... [ 85%] R-API
reading sources... [ 90%] README
reading sources... [ 95%] gcc-Tips
reading sources... [100%] index

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [  4%] Advanced-Topics
writing output... [  9%] C-API
writing output... [ 14%] Development-Guide
writing output... [ 19%] Experiments
writing output... [ 23%] FAQ
writing output... [ 28%] Features
writing output... [ 33%] GPU-Performance
writing output... [ 38%] GPU-Targets
writing output... [ 42%] GPU-Tutorial
writing output... [ 47%] GPU-Windows
writing output... [ 52%] Installation-Guide
writing output... [ 57%] Parallel-Learning-Guide
writing output... [ 61%] Parameters
writing output... [ 66%] Parameters-Tuning
writing output... [ 71%] Python-API
writing output... [ 76%] Python-Intro
writing output... [ 80%] Quick-Start
writing output... [ 85%] R-API
writing output... [ 90%] README
writing output... [ 95%] gcc-Tips
writing output... [100%] index

generating indices... genindex
highlighting module code... [ 20%] lightgbm.basic
highlighting module code... [ 40%] lightgbm.callback
highlighting module code... [ 60%] lightgbm.engine
highlighting module code... [ 80%] lightgbm.plotting
highlighting module code... [100%] lightgbm.sklearn

writing additional pages... search
copying images... [  3%] ./_static/images/level-wise.png
copying images... [  6%] ./_static/images/leaf-wise.png
copying images... [ 10%] ./_static/images/gpu-performance-comparison.png
copying images... [ 13%] ./_static/images/screenshot-system.png
copying images... [ 16%] ./_static/images/screenshot-advanced-system-settings.png
copying images... [ 20%] ./_static/images/screenshot-environment-variables.png
copying images... [ 23%] ./_static/images/screenshot-mingw-installation.png
copying images... [ 26%] ./_static/images/screenshot-r-mingw-used.png
copying images... [ 30%] ./_static/images/screenshot-boost-compiled.png
copying images... [ 33%] ./_static/images/screenshot-git-for-windows.png
copying images... [ 36%] ./_static/images/screenshot-downloading-cmake.png
copying images... [ 40%] ./_static/images/screenshot-create-directory.png
copying images... [ 43%] ./_static/images/screenshot-mingw-makefiles-to-use.png
copying images... [ 46%] ./_static/images/screenshot-use-gpu.png
copying images... [ 50%] ./_static/images/screenshot-configured-lightgbm.png
copying images... [ 53%] ./_static/images/screenshot-lightgbm-with-gpu-support-compiled.png
copying images... [ 56%] ./_static/images/screenshot-lightgbm-in-cli-with-gpu.png
copying images... [ 60%] ./_static/images/screenshot-segmentation-fault.png
copying images... [ 63%] ./_static/images/screenshot-files-to-remove.png
copying images... [ 66%] ./_static/images/screenshot-added-manual-entry-in-cmake.png
copying images... [ 70%] ./_static/images/screenshot-configured-and-generated-cmake.png
copying images... [ 73%] ./_static/images/screenshot-debug-run.png
copying images... [ 76%] ./_static/images/artifacts-not-available.svg
copying images... [ 80%] ./_static/images/gcc-table.png
copying images... [ 83%] ./_static/images/gcc-bars.png
copying images... [ 86%] ./_static/images/gcc-chart.png
copying images... [ 90%] ./_static/images/gcc-comparison-1.png
copying images... [ 93%] ./_static/images/gcc-comparison-2.png
copying images... [ 96%] ./_static/images/gcc-meetup-1.png
copying images... [100%] ./_static/images/gcc-meetup-2.png

copying static files... done
copying readthedocs static files... done
copying searchtools... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.

The HTML pages are in _build/html.

From them it's seems that LightGBM is compiled twice despite the fact that I cut build_r.R script (without cutting it compiles thrice). Since we should reduce overall build time, I'll be very grateful if anyone can tell me where the second compilation occurs.

@StrikerRUS
Copy link
Collaborator Author

StrikerRUS commented May 15, 2019

Seems that some examples in API references crash:

image

image

UPD: Fixed by marking lgb.unloader() as dontrun.

docs/conf.py Outdated
commands = """
export PATH="/home/docs/.conda/bin:$PATH"
echo 'options(repos = "https://cran.rstudio.com")' > $HOME/.Rprofile
conda create -q -y -n r_env r-base r-devtools r-data.table r-jsonlite r-magrittr r-matrix r-testthat cmake
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without testthat documentation process crashes:

Found library file: /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/src/lib_lightgbm.so to move to /tmp/RtmpgL11IH/devtools_install_4d06ff4063f/lightgbm/libs
Warning: unknown option ‘--keep_empty-dirs’

* installing to library ‘/home/docs/.conda/envs/r_env/lib/R/library’
* installing *source* package ‘lightgbm’ ...
** libs
installing via 'install.libs.R' to /home/docs/.conda/envs/r_env/lib/R/library/lightgbm
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (lightgbm)
Updating lightgbm documentation
Loading lightgbm
Re-compiling lightgbm
'/home/docs/.conda/envs/r_env/lib/R/bin/R' --no-site-file --no-environ  \
  --no-save --no-restore --quiet CMD INSTALL  \
  '/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r'  \
  --library='/tmp/RtmpgL11IH/devtools_install_4d06ff4063f' --no-R --no-data  \
  --no-help --no-demo --no-inst --no-docs --no-exec --no-multiarch  \
  --no-test-load --preclean 

* installing *source* package ‘lightgbm’ ...
** libs
installing via 'install.libs.R' to /tmp/RtmpgL11IH/devtools_install_4d06ff4063f/lightgbm
* DONE (lightgbm)
Loading required package: R6
Error in loadNamespace(name) : there is no package called ‘testthat’
Calls: build_reference ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted

Is it expected?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A user reported a similar error in #2153 (also using conda as an R installer, just like you are here). We haven't found a resolution there yet.

The reporter on that issue solved their problem by completely removing their conda and reinstalling, but that is less than ideal 😂

It's not expected that you should need testthat to build the package or its docs. Just so I understand...are you saying "I had to add r-testthat to my install command and that worked but it's weird"? Or is this currently not working?

Copy link
Collaborator Author

@StrikerRUS StrikerRUS May 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jameslamb The first one:

"I had to add r-testthat to my install command and that worked but it's weird"

Everything is fine with testthat. You can observe it on the site right now.

I just wanted to know is there a workaround to drop this dependency (who knows, due to the build time limits, maybe in the future even several seconds will matter...). Thanks for the link - now I know that's I'm not alone with this problem. 😃

@BruceZhaoR
Copy link

BruceZhaoR commented May 15, 2019

@BruceZhaoR
Copy link

I think we can modify the appveyor.yml in https://github.com/BruceZhaoR/lightgbm_r/blob/master/appveyor.yml, add it to https://github.com/microsoft/LightGBM/blob/master/.appveyor.yml, then push the R docs to the gh-pages. What do you think about it?

@StrikerRUS
Copy link
Collaborator Author

@BruceZhaoR

FYI #1702 (comment)

Thanks! However, I use much less code here, and the only place where compilation occurs in my opinion is

build_reference(document = TRUE, preview = FALSE)

I think we can modify the appveyor.yml in

I think that keeping all docs in one place is good idea. What's why I decided to accept the challenge of R installation on RTD. The main idea of this PR is to get rid of maintaining of one more site (GH pages) and the overhead produced by communication with GitHub.

FYI, Appveyor probably is bad candidate for this, because it offers only one concurrent job for open source projects in free plan and is extremely slow.

@StrikerRUS StrikerRUS force-pushed the docs branch 2 times, most recently from ccf5c35 to 8275d7e Compare May 15, 2019 21:59
@StrikerRUS
Copy link
Collaborator Author

StrikerRUS commented May 15, 2019

Problem about that builds with multiple builders exceeded time limit has been solved by generating docs for C and R APIs only once for the first builder. Now pdf generation, which comes after html generation, takes less that a minute.

@StrikerRUS
Copy link
Collaborator Author

According to the logs, it seems to be that all broken examples (#2176 (comment)) appear after a crash in lgb.prepare(data) function.

All examples which are executed before this function are fine. And all further ones are broken:

Writing 'reference/lgb.plot.interpretation.html'
Reading 'man/lgb.prepare.Rd'
Writing 'reference/lgb.prepare.html'
Reading 'man/lgb.prepare2.Rd'
Writing 'reference/lgb.prepare2.html'
Reading 'man/lgb.prepare_rules.Rd'
Writing 'reference/lgb.prepare_rules.html'
Reading 'man/lgb.prepare_rules2.Rd'
Writing 'reference/lgb.prepare_rules2.html'
Reading 'man/lgb.save.Rd'
Writing 'reference/lgb.save.html'
Reading 'man/lgb.train.Rd'
Writing 'reference/lgb.train.html'
Reading 'man/lgb.unloader.Rd'
Writing 'reference/lgb.unloader.html'
Reading 'man/lgb_shared_params.Rd'
Writing 'reference/lgb_shared_params.html'
Reading 'man/lightgbm.Rd'
Writing 'reference/lightgbm.html'
Reading 'man/predict.lgb.Booster.Rd'
Writing 'reference/predict.lgb.Booster.html'
Reading 'man/readRDS.lgb.Booster.Rd'
Writing 'reference/readRDS.lgb.Booster.html'
Reading 'man/saveRDS.lgb.Booster.Rd'
Writing 'reference/saveRDS.lgb.Booster.html'
Reading 'man/setinfo.Rd'
Writing 'reference/setinfo.html'
Reading 'man/slice.Rd'
Writing 'reference/slice.html'

Updating lightgbm documentation

Here is the place where crash happens:

# When lightgbm package is installed, and you do not want to load it
# You can still use the function!
lgb.unloader()
#> Error in library(lightgbm): there is no package called ‘lightgbm’
str(lightgbm::lgb.prepare(data = iris))
#> Error in loadNamespace(name): there is no package called ‘lightgbm’
# 'data.frame':	150 obs. of  5 variables:
# $ Sepal.Length: num  5.1 4.9 4.7 4.6 5 5.4 4.6 5 4.4 4.9 ...
# $ Sepal.Width : num  3.5 3 3.2 3.1 3.6 3.9 3.4 3.4 2.9 3.1 ...
# $ Petal.Length: num  1.4 1.4 1.3 1.5 1.4 1.7 1.4 1.5 1.4 1.5 ...
# $ Petal.Width : num  0.2 0.2 0.2 0.2 0.2 0.4 0.3 0.2 0.2 0.1 ...
# $ Species     : num  1 1 1 1 1 1 1 1 1 1 ...

@StrikerRUS StrikerRUS force-pushed the docs branch 7 times, most recently from e75a650 to 824651d Compare May 16, 2019 20:08
@Laurae2
Copy link
Contributor

Laurae2 commented May 16, 2019

@StrikerRUS Make sure to comment all the lgb.unloader as they will unload the package. When running examples, this means breaking the package (for the temporary session).

Lines like this: https://github.com/microsoft/LightGBM/pull/1208/files#diff-c3a2935b3c14bfb7c9669eac2d0f26ffR31 (example from an old PR)

@StrikerRUS
Copy link
Collaborator Author

StrikerRUS commented May 16, 2019

Thanks a lot @Laurae2 ! Indeed, lgb.unloader was the root cause of failures.
I've already marked them \dontrun. Is it OK?

@StrikerRUS StrikerRUS force-pushed the docs branch 3 times, most recently from d995a17 to 524a99b Compare May 16, 2019 21:38
build_r_site.R Outdated
clean_site()
init_site()
build_home(preview = FALSE, quiet = FALSE)
build_reference(lazy = FALSE, document = FALSE,
Copy link
Collaborator Author

@StrikerRUS StrikerRUS May 16, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's quite strange, but removing devtools::document() and setting document = TRUE result in broken page:

image

https://github.com/r-lib/pkgdown/blob/96e12f83bb3f92e4a30309181cc14134bd92b644/R/build-reference.R#L105-L107

Log (clickable):
── Initialising site ───────────────────────────────────────────────────────────
Copying '../../../../../../../.conda/envs/r_env/lib/R/library/pkgdown/assets/docsearch.css' to 'docsearch.css'
Copying '../../../../../../../.conda/envs/r_env/lib/R/library/pkgdown/assets/docsearch.js' to 'docsearch.js'
Copying '../../../../../../../.conda/envs/r_env/lib/R/library/pkgdown/assets/link.svg' to 'link.svg'
Copying '../../../../../../../.conda/envs/r_env/lib/R/library/pkgdown/assets/pkgdown.css' to 'pkgdown.css'
Copying '../../../../../../../.conda/envs/r_env/lib/R/library/pkgdown/assets/pkgdown.js' to 'pkgdown.js'
── Building home ───────────────────────────────────────────────────────────────
Writing 'authors.html'
Writing 'LICENSE-text.html'
Writing 'index.html'
── Building function reference ─────────────────────────────────────────────────
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /home/docs/.conda/envs/r_env/bin/x86_64-conda_cos6-linux-gnu-cc
-- Check for working C compiler: /home/docs/.conda/envs/r_env/bin/x86_64-conda_cos6-linux-gnu-cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/docs/.conda/envs/r_env/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: /home/docs/.conda/envs/r_env/bin/x86_64-conda_cos6-linux-gnu-c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/src/build
Scanning dependencies of target _lightgbm
[  3%] Building CXX object CMakeFiles/_lightgbm.dir/src/c_api.cpp.o
[  6%] Building CXX object CMakeFiles/_lightgbm.dir/src/lightgbm_R.cpp.o
[  9%] Building CXX object CMakeFiles/_lightgbm.dir/src/application/application.cpp.o
[ 12%] Building CXX object CMakeFiles/_lightgbm.dir/src/boosting/boosting.cpp.o
[ 15%] Building CXX object CMakeFiles/_lightgbm.dir/src/boosting/gbdt.cpp.o
[ 18%] Building CXX object CMakeFiles/_lightgbm.dir/src/boosting/gbdt_model_text.cpp.o
[ 21%] Building CXX object CMakeFiles/_lightgbm.dir/src/boosting/gbdt_prediction.cpp.o
[ 25%] Building CXX object CMakeFiles/_lightgbm.dir/src/boosting/prediction_early_stop.cpp.o
[ 28%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/bin.cpp.o
[ 31%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/config.cpp.o
[ 34%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/config_auto.cpp.o
[ 37%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/dataset.cpp.o
[ 40%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/dataset_loader.cpp.o
[ 43%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/file_io.cpp.o
[ 46%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/json11.cpp.o
[ 50%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/metadata.cpp.o
[ 53%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/parser.cpp.o
[ 56%] Building CXX object CMakeFiles/_lightgbm.dir/src/io/tree.cpp.o
[ 59%] Building CXX object CMakeFiles/_lightgbm.dir/src/metric/dcg_calculator.cpp.o
[ 62%] Building CXX object CMakeFiles/_lightgbm.dir/src/metric/metric.cpp.o
[ 65%] Building CXX object CMakeFiles/_lightgbm.dir/src/network/linker_topo.cpp.o
[ 68%] Building CXX object CMakeFiles/_lightgbm.dir/src/network/linkers_mpi.cpp.o
[ 71%] Building CXX object CMakeFiles/_lightgbm.dir/src/network/linkers_socket.cpp.o
[ 75%] Building CXX object CMakeFiles/_lightgbm.dir/src/network/network.cpp.o
[ 78%] Building CXX object CMakeFiles/_lightgbm.dir/src/objective/objective_function.cpp.o
[ 81%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/data_parallel_tree_learner.cpp.o
[ 84%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/feature_parallel_tree_learner.cpp.o
[ 87%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/gpu_tree_learner.cpp.o
[ 90%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/serial_tree_learner.cpp.o
[ 93%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/tree_learner.cpp.o
[ 96%] Building CXX object CMakeFiles/_lightgbm.dir/src/treelearner/voting_parallel_tree_learner.cpp.o
[100%] Linking CXX shared library ../lib_lightgbm.so
[100%] Built target _lightgbm
Found library file: /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/src/lib_lightgbm.so to move to /tmp/RtmpFiudjw/devtools_install_325eec6510/lightgbm/libsWriting NAMESPACE
Writing NAMESPACE
Writing predict.lgb.Booster.Rd
Writing lgb.load.Rd
Writing lgb.save.Rd
Writing lgb.dump.Rd
Writing lgb.get.eval.result.Rd
Writing lgb.Dataset.Rd
Writing lgb.Dataset.create.valid.Rd
Writing lgb.Dataset.construct.Rd
Writing dim.Rd
Writing dimnames.lgb.Dataset.Rd
Writing slice.Rd
Writing getinfo.Rd
Writing setinfo.Rd
Writing lgb.Dataset.set.categorical.Rd
Writing lgb.Dataset.set.reference.Rd
Writing lgb.Dataset.save.Rd
Writing lgb.cv.Rd
Writing lgb.importance.Rd
Writing lgb.interprete.Rd
Writing lgb.model.dt.tree.Rd
Writing lgb.plot.importance.Rd
Writing lgb.plot.interpretation.Rd
Writing lgb.prepare.Rd
Writing lgb.prepare2.Rd
Writing lgb.prepare_rules.Rd
Writing lgb.prepare_rules2.Rd
Writing lgb.train.Rd
Writing lgb.unloader.Rd
Writing lgb_shared_params.Rd
Writing lightgbm.Rd
Writing agaricus.train.Rd
Writing agaricus.test.Rd
Writing bank.Rd
Writing readRDS.lgb.Booster.Rd
Writing saveRDS.lgb.Booster.Rd
Writing 'reference/index.html'
  
─  installing *source* package ‘lightgbm’ ...

  
   ** libs

  
   installing via 'install.libs.R' to /tmp/RtmpFiudjw/devtools_install_32548d1273d/lightgbm

  
   -- Found OpenMP_C: -fopenmp  

  
   -- Found OpenMP_CXX: -fopenmp  

  
   -- Found OpenMP: TRUE   

  
   -- Configuring done

  
   -- Generating done

  
   -- Build files have been written to: /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/src/build

  
   [  3%] Linking CXX shared library ../lib_lightgbm.so

  
   [100%] Built target _lightgbm

  
Found library file: /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/src/lib_lightgbm.so to move to /tmp/RtmpFiudjw/devtools_install_32548d1273d/lightgbm/libs
  
   Found library file: /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/src/lib_lightgbm.so to move to /tmp/RtmpFiudjw/devtools_install_32548d1273d/lightgbm/libs* DONE (lightgbm)


Updating lightgbm documentation
Loading lightgbm
Re-compiling lightgbm
'/home/docs/.conda/envs/r_env/lib/R/bin/R' --no-site-file --no-environ  \
  --no-save --no-restore --quiet CMD INSTALL  \
  '/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r'  \
  --library='/tmp/RtmpFiudjw/devtools_install_325eec6510' --no-R --no-data  \
  --no-help --no-demo --no-inst --no-docs --no-exec --no-multiarch  \
  --no-test-load --preclean 

* installing *source* package ‘lightgbm’ ...
** libs
installing via 'install.libs.R' to /tmp/RtmpFiudjw/devtools_install_325eec6510/lightgbm
* DONE (lightgbm)
Loading required package: R6
Updating roxygen version in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/DESCRIPTION
Warning: In '_pkgdown.yml', topic must be a valid R expression.
Problem topic: `\`agaricus.test\``
Warning: In '_pkgdown.yml', topic must be a valid R expression.
Problem topic: `\`agaricus.train\``
Warning: In '_pkgdown.yml', topic must be a valid R expression.
Problem topic: `\`bank\``
Warning: In '_pkgdown.yml', topic must evaluate to a numeric vector.
Problem topic: `\`dim.lgb.Dataset\``
Actual value:  function (x, ...) 
{
    if (!lgb.is.Dataset(x)) {
        stop("dim.lgb.Dataset: input data should be an lgb.Dataset object")
    }
    x$dim()
}
Warning: In '_pkgdown.yml', topic must evaluate to a numeric vector.
Problem topic: `\`dimnames.lgb.Dataset\``
Actual value:  function (x) 
{
    if (!lgb.is.Dataset(x)) {
        stop("dimnames.lgb.Dataset: input data should be an lgb.Dataset object")
    }
    list(NULL, x$get_colnames())
}
Warning: In '_pkgdown.yml', topic must evaluate to a numeric vector.
Problem topic: `\`getinfo\``
Actual value:  function (dataset, ...) 
{
    UseMethod("getinfo")
}
Warning: In '_pkgdown.yml', topic must evaluate to a numeric vector.
Problem topic: `\`setinfo\``
Actual value:  function (dataset, ...) 
{
    UseMethod("setinfo")
}
Warning: In '_pkgdown.yml', topic must evaluate to a numeric vector.
Problem topic: `\`slice\``
Actual value:  function (dataset, ...) 
{
    UseMethod("slice")
}
Warning: In '_pkgdown.yml', topic must evaluate to a numeric vector.
Problem topic: `\`lgb.Dataset.construct\``
Actual value:  function (dataset) 
{
    if (!lgb.is.Dataset(dataset)) {
        stop("lgb.Dataset.construct: input data should be an lgb.Dataset object")
    }
    invisible(dataset$construct())
}
Warning: In '_pkgdown.yml', topic must evaluate to a numeric vector.
Problem topic: `\`lgb.Dataset.create.valid\``
Actual value:  function (dataset, data, info = list(), ...) 
{
    if (!lgb.is.Dataset(dataset)) {
        stop("lgb.Dataset.create.valid: input data should be an lgb.Dataset object")
    }
    invisible(dataset$create_valid(data, info, ...))
}
Warning: In '_pkgdown.yml', topic must evaluate to a numeric vector.
Problem topic: `\`lgb.Dataset\``
Actual value:  function (data, params = list(), reference = NULL, colnames = NULL, 
    categorical_feature = NULL, free_raw_data = TRUE, info = list(), 
    ...) 
{
    invisible(Dataset$new(data, params, reference, colnames, 
        categorical_feature, NULL, free_raw_data, NULL, info, 
        ...))
}
Warning: In '_pkgdown.yml', topic must evaluate to a numeric vector.
Problem topic: `\`lgb.Dataset.save\``
Actual value:  function (dataset, fname) 
{
    if (!lgb.is.Dataset(dataset)) {
        stop("lgb.Dataset.set: input dataset should be an lgb.Dataset object")
    }
    if (!is.character(fname)) {
        stop("lgb.Dataset.set: fname should be a character or a file connection")
    }
    invisible(dataset$save_binary(fname))
}

...
<A lot of errors for every function>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@StrikerRUS Can you use roxygen2::roxygenize("mypackagefolder", roclets = "rd") instead of building the package with devtools::document() to update the Rd documentation?

Note that the rd documents you removed must be generated and still stored in LightGBM repository. They are essential for the R (offline) documentation and should not be generated by the user.

Copy link
Collaborator Author

@StrikerRUS StrikerRUS May 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Laurae2

Note that the rd documents you removed must be generated and still stored in LightGBM repository.

Thanks! I understand this clearly. At this moment this PR is in "Draft" stage and I removed all Rd files just to ensure that they can be generated on the RTD site, but not reused.

However, I'd like to ask someone else to regenerate these files (I have no R installed on my machine) right after this PR or I can place them back but they will be outdated because I modified R source files a little bit.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as you should never stare directly into the sun, you should never look directly at the devtools or pkgdown source code

@StrikerRUS StrikerRUS force-pushed the docs branch 3 times, most recently from 43b30c3 to 12992c1 Compare May 16, 2019 22:40
@StrikerRUS
Copy link
Collaborator Author

Thanks a lot @jameslamb for your re-review!

@StrikerRUS
Copy link
Collaborator Author

@Laurae2 @guolinke @henry0312 Your turn, guys!

@StrikerRUS
Copy link
Collaborator Author

Something has been updated and now build is failing. So, I pinned all versions which allow to build successfully.

Log (clickable):
Read the Docs build information
Build id: 9173257
Project: lightgbm
Version: docs
Commit: 5443dab856254c32f2856ab6aa6d99a024b966e6
Date: 2019-06-04T19:42:26.939346Z
State: finished
Success: False


[rtd-command-info] start-time: 2019-06-04T19:42:27.479030Z, end-time: 2019-06-04T19:42:27.493893Z, duration: 0, exit-code: 0
git remote set-url origin https://github.com/Microsoft/LightGBM


[rtd-command-info] start-time: 2019-06-04T19:42:27.588335Z, end-time: 2019-06-04T19:42:28.122753Z, duration: 0, exit-code: 0
git fetch --tags --prune --prune-tags --depth 50
From https://github.com/Microsoft/LightGBM
 - [deleted]         (none)     -> origin/StrikerRUS-patch-1
 - [deleted]         (none)     -> origin/guolinke-patch-1
   2936ccd..85edcba  balanced_bagging -> origin/balanced_bagging
   b774b92..1a7de79  tests            -> origin/tests

[rtd-command-info] start-time: 2019-06-04T19:42:28.407222Z, end-time: 2019-06-04T19:42:28.734608Z, duration: 0, exit-code: 0
git checkout --force origin/docs
HEAD is now at 5443dab Merge remote-tracking branch 'origin/master' into docs

[rtd-command-info] start-time: 2019-06-04T19:42:28.856915Z, end-time: 2019-06-04T19:42:28.882125Z, duration: 0, exit-code: 0
git clean -d -f -f
Removing docs/.empty/
Removing docs/_FIRST_RUN.flag

[rtd-command-info] start-time: 2019-06-04T19:42:32.061335Z, end-time: 2019-06-04T19:42:38.186139Z, duration: 6, exit-code: 0
python3.7 -mvirtualenv --no-site-packages --no-download /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs
Using base prefix '/home/docs/.pyenv/versions/3.7.3'
New python executable in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python3.7
Not overwriting existing python script /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python (you must use /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python3.7)
Installing setuptools, pip, wheel...
done.

[rtd-command-info] start-time: 2019-06-04T19:42:38.253798Z, end-time: 2019-06-04T19:42:39.104481Z, duration: 0, exit-code: 0
/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/.cache/pip pip
Requirement already up-to-date: pip in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (19.1.1)

[rtd-command-info] start-time: 2019-06-04T19:42:39.207944Z, end-time: 2019-06-04T19:42:41.180183Z, duration: 1, exit-code: 0
/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/.cache/pip Pygments==2.3.1 setuptools==41.0.1 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<0.6
Requirement already up-to-date: Pygments==2.3.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (2.3.1)
Requirement already up-to-date: setuptools==41.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (41.0.1)
Requirement already up-to-date: docutils==0.14 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.14)
Requirement already up-to-date: mock==1.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (1.0.1)
Requirement already up-to-date: pillow==5.4.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (5.4.1)
Requirement already up-to-date: alabaster!=0.7.5,<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.7.12)
Requirement already up-to-date: commonmark==0.8.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.8.1)
Requirement already up-to-date: recommonmark==0.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.5.0)
Requirement already up-to-date: sphinx<2 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (1.8.5)
Requirement already up-to-date: sphinx-rtd-theme<0.5 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.4.3)
Requirement already up-to-date: readthedocs-sphinx-ext<0.6 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (0.5.17)
Requirement already satisfied, skipping upgrade: future in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from commonmark==0.8.1) (0.17.1)
Requirement already satisfied, skipping upgrade: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (2.10.1)
Requirement already satisfied, skipping upgrade: packaging in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (19.0)
Requirement already satisfied, skipping upgrade: requests>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (2.22.0)
Requirement already satisfied, skipping upgrade: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (1.2.1)
Requirement already satisfied, skipping upgrade: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (1.1.0)
Requirement already satisfied, skipping upgrade: sphinxcontrib-websupport in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (1.1.2)
Requirement already satisfied, skipping upgrade: babel!=2.0,>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (2.7.0)
Requirement already satisfied, skipping upgrade: six>=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx<2) (1.12.0)
Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from Jinja2>=2.3->sphinx<2) (1.1.1)
Requirement already satisfied, skipping upgrade: pyparsing>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from packaging->sphinx<2) (2.4.0)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx<2) (2019.3.9)
Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx<2) (3.0.4)
Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx<2) (1.25.3)
Requirement already satisfied, skipping upgrade: idna<2.9,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx<2) (2.8)
Requirement already satisfied, skipping upgrade: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx<2) (2019.1)

[rtd-command-info] start-time: 2019-06-04T19:42:41.255819Z, end-time: 2019-06-04T19:42:43.039802Z, duration: 1, exit-code: 0
/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/python -m pip install --exists-action=w --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/.cache/pip -r docs/requirements.txt
Ignoring mock: markers 'python_version < "3"' don't match your environment
Requirement already satisfied: sphinx in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from -r docs/requirements_base.txt (line 1)) (1.8.5)
Requirement already satisfied: sphinx_rtd_theme>=0.3 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from -r docs/requirements_base.txt (line 2)) (0.4.3)
Requirement already satisfied: breathe in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from -r docs/requirements.txt (line 2)) (4.13.0.post0)
Requirement already satisfied: babel!=2.0,>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (2.7.0)
Requirement already satisfied: six>=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (1.12.0)
Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (0.7.12)
Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (41.0.1)
Requirement already satisfied: sphinxcontrib-websupport in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (1.1.2)
Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (1.2.1)
Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (1.1.0)
Requirement already satisfied: requests>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (2.22.0)
Requirement already satisfied: docutils>=0.11 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (0.14)
Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (2.3.1)
Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (19.0)
Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from sphinx->-r docs/requirements_base.txt (line 1)) (2.10.1)
Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx->-r docs/requirements_base.txt (line 1)) (2019.1)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->-r docs/requirements_base.txt (line 1)) (1.25.3)
Requirement already satisfied: idna<2.9,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->-r docs/requirements_base.txt (line 1)) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->-r docs/requirements_base.txt (line 1)) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from requests>=2.0.0->sphinx->-r docs/requirements_base.txt (line 1)) (2019.3.9)
Requirement already satisfied: pyparsing>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from packaging->sphinx->-r docs/requirements_base.txt (line 1)) (2.4.0)
Requirement already satisfied: MarkupSafe>=0.23 in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages (from Jinja2>=2.3->sphinx->-r docs/requirements_base.txt (line 1)) (1.1.1)

[rtd-command-info] start-time: 2019-06-04T19:42:43.639682Z, end-time: 2019-06-04T19:42:43.865194Z, duration: 0, exit-code: 0
cat docs/conf.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# LightGBM documentation build configuration file, created by
# sphinx-quickstart on Thu May  4 14:30:58 2017.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute.
"""Sphinx configuration file."""
import datetime
import os
import sys
import sphinx

from distutils.dir_util import copy_tree
from docutils.parsers.rst import Directive
from sphinx.errors import VersionRequirementError
from subprocess import PIPE, Popen

CURR_PATH = os.path.abspath(os.path.dirname(__file__))
LIB_PATH = os.path.join(CURR_PATH, os.path.pardir, 'python-package')
sys.path.insert(0, LIB_PATH)

# -- mock out modules
try:
    from unittest.mock import Mock  # Python 3.x
except ImportError:
    from mock import Mock  # Python 2.x

MOCK_MODULES = ['numpy', 'scipy', 'scipy.sparse',
                'sklearn', 'matplotlib', 'pandas', 'graphviz']
for mod_name in MOCK_MODULES:
    sys.modules[mod_name] = Mock()


class IgnoredDirective(Directive):
    """Stub for unknown directives."""

    has_content = True

    def run(self):
        """Do nothing."""
        return []


# -- General configuration ------------------------------------------------

os.environ['LIGHTGBM_BUILD_DOC'] = '1'
C_API = os.environ.get('C_API', '').lower().strip() != 'no'
RTD = bool(os.environ.get('READTHEDOCS', ''))

# If your documentation needs a minimal Sphinx version, state it here.
needs_sphinx = '1.3'  # Due to sphinx.ext.napoleon
if needs_sphinx > sphinx.__version__:
    message = 'This project needs at least Sphinx v%s' % needs_sphinx
    raise VersionRequirementError(message)

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.todo',
    'sphinx.ext.viewcode',
    'sphinx.ext.napoleon',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
# source_suffix = ['.rst', '.md']

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'LightGBM'
copyright = '%s, Microsoft Corporation' % str(datetime.datetime.now().year)
author = 'Microsoft Corporation'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
with open(os.path.join(CURR_PATH, os.path.pardir, 'VERSION.txt'), 'r') as f:
    # The short X.Y version.
    version = f.read().strip()

    # The full version, including alpha/beta/rc tags.
    release = version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'default'

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False

# Both the class' and the __init__ method's docstring are concatenated and inserted.
autoclass_content = 'both'

# -- Configuration for C API docs generation ------------------------------

if C_API:
    extensions.extend([
        'breathe',
    ])
    breathe_projects = {
        "LightGBM": os.path.join(CURR_PATH, 'doxyoutput', 'xml')
    }
    breathe_default_project = "LightGBM"
    breathe_domain_by_extension = {
        "h": "c",
    }
    breathe_show_define_initializer = True

# -- Options for HTML output ----------------------------------------------

# The theme to use for HTML and HTML Help pages.  See the documentation for
# a list of builtin themes.
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further.  For a list of options available for each theme, see the
# documentation.
html_theme_options = {
    'includehidden': False,
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

# -- Options for HTMLHelp output ------------------------------------------

# Output file base name for HTML help builder.
htmlhelp_basename = 'LightGBMdoc'


def generate_doxygen_xml(app):
    """Generate XML documentation for C API by Doxygen.

    Parameters
    ----------
    app : object
        The application object representing the Sphinx process.
    """
    doxygen_args = [
        "INPUT={}".format(os.path.join(CURR_PATH, os.path.pardir,
                                       'include', 'LightGBM', 'c_api.h')),
        "OUTPUT_DIRECTORY={}".format(os.path.join(CURR_PATH, 'doxyoutput')),
        "GENERATE_HTML=NO",
        "GENERATE_LATEX=NO",
        "GENERATE_XML=YES",
        "XML_OUTPUT=xml",
        "XML_PROGRAMLISTING=YES",
        r'ALIASES="rst=\verbatim embed:rst:leading-asterisk"',
        r'ALIASES+="endrst=\endverbatim"',
        "ENABLE_PREPROCESSING=YES",
        "MACRO_EXPANSION=YES",
        "EXPAND_ONLY_PREDEF=NO",
        "SKIP_FUNCTION_MACROS=NO",
        "SORT_BRIEF_DOCS=YES",
        "WARN_AS_ERROR=YES",
    ]
    doxygen_input = '\n'.join(doxygen_args)
    is_py3 = sys.version[0] == "3"
    if is_py3:
        doxygen_input = bytes(doxygen_input, "utf-8")
    if not os.path.exists(os.path.join(CURR_PATH, 'doxyoutput')):
        os.makedirs(os.path.join(CURR_PATH, 'doxyoutput'))
    try:
        # Warning! The following code can cause buffer overflows on RTD.
        # Consider suppressing output completely if RTD project silently fails.
        # Refer to https://github.com/svenevs/exhale
        # /blob/fe7644829057af622e467bb529db6c03a830da99/exhale/deploy.py#L99-L111
        process = Popen(["doxygen", "-"],
                        stdin=PIPE, stdout=PIPE, stderr=PIPE)
        stdout, stderr = process.communicate(doxygen_input)
        output = '\n'.join([i.decode('utf-8') if is_py3 else i
                            for i in (stdout, stderr) if i is not None])
        if process.returncode != 0:
            raise RuntimeError(output)
        else:
            print(output)
    except BaseException as e:
        raise Exception("An error has occurred while executing Doxygen\n" + str(e))


def generate_r_docs(app):
    """Generate documentation for R-package.

    Parameters
    ----------
    app : object
        The application object representing the Sphinx process.
    """
    commands = """
    echo 'options(repos = "https://cran.rstudio.com")' > $HOME/.Rprofile
    /home/docs/.conda/bin/conda create -q -y -n r_env \
        r-base \
        r-devtools \
        r-data.table \
        r-jsonlite \
        r-magrittr \
        r-matrix \
        r-testthat \
        cmake
    /home/docs/.conda/bin/conda install -q -y -n r_env -c conda-forge \
        r-pkgdown
    source /home/docs/.conda/bin/activate r_env
    export TAR=/bin/tar
    cd {0}
    sed -i'.bak' '/# Build the package (do not touch this line!)/q' build_r.R
    Rscript build_r.R
    Rscript build_r_site.R
    """.format(os.path.join(CURR_PATH, os.path.pardir))
    try:
        # Warning! The following code can cause buffer overflows on RTD.
        # Consider suppressing output completely if RTD project silently fails.
        # Refer to https://github.com/svenevs/exhale
        # /blob/fe7644829057af622e467bb529db6c03a830da99/exhale/deploy.py#L99-L111
        process = Popen(['/bin/bash'],
                        stdin=PIPE, stdout=PIPE, stderr=PIPE,
                        universal_newlines=True)
        stdout, stderr = process.communicate(commands)
        output = '\n'.join([i for i in (stdout, stderr) if i is not None])
        if process.returncode != 0:
            raise RuntimeError(output)
        else:
            print(output)
    except BaseException as e:
        raise Exception("An error has occurred while generating documentation for R-package\n" + str(e))


def setup(app):
    """Add new elements at Sphinx initialization time.

    Parameters
    ----------
    app : object
        The application object representing the Sphinx process.
    """
    first_run = not os.path.exists(os.path.join(CURR_PATH, '_FIRST_RUN.flag'))
    if first_run and RTD:
        open(os.path.join(CURR_PATH, '_FIRST_RUN.flag'), 'w').close()
    if C_API:
        app.connect("builder-inited", generate_doxygen_xml)
    else:
        app.add_directive('doxygenfile', IgnoredDirective)
    if RTD:  # build R docs only on Read the Docs site
        if first_run:
            app.connect("builder-inited", generate_r_docs)
        app.connect("build-finished",
                    lambda app, exception: copy_tree(os.path.join(CURR_PATH, os.path.pardir, "lightgbm_r", "docs"),
                                                     os.path.join(app.outdir, "R"), verbose=0))
    app.add_javascript("js/script.js")




###########################################################################
#          auto-created readthedocs.org specific configuration            #
###########################################################################


#
# The following code was added during an automated build on readthedocs.org
# It is auto created and injected for every build. The result is based on the
# conf.py.tmpl file found in the readthedocs.org codebase:
# https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl
#


import importlib
import sys
import os.path
from six import string_types

from sphinx import version_info

# Get suffix for proper linking to GitHub
# This is deprecated in Sphinx 1.3+,
# as each page can have its own suffix
if globals().get('source_suffix', False):
    if isinstance(source_suffix, string_types):
        SUFFIX = source_suffix
    elif isinstance(source_suffix, (list, tuple)):
        # Sphinx >= 1.3 supports list/tuple to define multiple suffixes
        SUFFIX = source_suffix[0]
    elif isinstance(source_suffix, dict):
        # Sphinx >= 1.8 supports a mapping dictionary for mulitple suffixes
        SUFFIX = list(source_suffix.keys())[0]  # make a ``list()`` for py2/py3 compatibility
    else:
        # default to .rst
        SUFFIX = '.rst'
else:
    SUFFIX = '.rst'

# Add RTD Static Path. Add to the end because it overwrites previous files.
if not 'html_static_path' in globals():
    html_static_path = []
if os.path.exists('_static'):
    html_static_path.append('_static')

# Add RTD Theme only if they aren't overriding it already
using_rtd_theme = (
    (
        'html_theme' in globals() and
        html_theme in ['default'] and
        # Allow people to bail with a hack of having an html_style
        'html_style' not in globals()
    ) or 'html_theme' not in globals()
)
if using_rtd_theme:
    theme = importlib.import_module('sphinx_rtd_theme')
    html_theme = 'sphinx_rtd_theme'
    html_style = None
    html_theme_options = {}
    if 'html_theme_path' in globals():
        html_theme_path.append(theme.get_html_theme_path())
    else:
        html_theme_path = [theme.get_html_theme_path()]

if globals().get('websupport2_base_url', False):
    websupport2_base_url = 'https://readthedocs.org/websupport'
    websupport2_static_url = 'https://assets.readthedocs.org/static/'


#Add project information to the template context.
context = {
    'using_theme': using_rtd_theme,
    'html_theme': html_theme,
    'current_version': "docs",
    'version_slug': "docs",
    'MEDIA_URL': "https://media.readthedocs.org/",
    'STATIC_URL': "https://assets.readthedocs.org/static/",
    'PRODUCTION_DOMAIN': "readthedocs.org",
    'versions': [
    ("latest", "/en/latest/"),
    ("docs", "/en/docs/"),
    ],
    'downloads': [ 
    ("pdf", "//readthedocs.org/projects/lightgbm/downloads/pdf/docs/"),
    ],
    'subprojects': [ 
    ],
    'slug': 'lightgbm',
    'name': u'lightgbm',
    'rtd_language': u'en',
    'programming_language': u'cpp',
    'canonical_url': 'https://lightgbm.readthedocs.io/en/latest/',
    'analytics_code': 'None',
    'single_version': False,
    'conf_py_path': '/docs/',
    'api_host': 'https://readthedocs.org',
    'github_user': 'Microsoft',
    'github_repo': 'LightGBM',
    'github_version': 'docs',
    'display_github': True,
    'bitbucket_user': 'None',
    'bitbucket_repo': 'None',
    'bitbucket_version': 'docs',
    'display_bitbucket': False,
    'gitlab_user': 'None',
    'gitlab_repo': 'None',
    'gitlab_version': 'docs',
    'display_gitlab': False,
    'READTHEDOCS': True,
    'using_theme': (html_theme == "default"),
    'new_theme': (html_theme == "sphinx_rtd_theme"),
    'source_suffix': SUFFIX,
    'ad_free': False,
    'user_analytics_code': '',
    'global_analytics_code': 'UA-17997319-1',
    'commit': '5443dab8',
}




if 'html_context' in globals():
    
    html_context.update(context)
    
else:
    html_context = context

# Add custom RTD extension
if 'extensions' in globals():
    # Insert at the beginning because it can interfere
    # with other extensions.
    # See https://github.com/rtfd/readthedocs.org/pull/4054
    extensions.insert(0, "readthedocs_ext.readthedocs")
else:
    extensions = ["readthedocs_ext.readthedocs"]

project_language = 'en'

# User's Sphinx configurations
language_user = globals().get('language', None)
latex_engine_user = globals().get('latex_engine', None)
latex_elements_user = globals().get('latex_elements', None)

# Remove this once xindy gets installed in Docker image and XINDYOPS
# env variable is supported
# https://github.com/rtfd/readthedocs-docker-images/pull/98
latex_use_xindy = False

chinese = any([
    language_user in ('zh_CN', 'zh_TW'),
    project_language in ('zh_CN', 'zh_TW'),
])

japanese = any([
    language_user == 'ja',
    project_language == 'ja',
])

if chinese:
    latex_engine = latex_engine_user or 'xelatex'

    latex_elements_rtd = {
        'preamble': '\\usepackage[UTF8]{ctex}\n',
    }
    latex_elements = latex_elements_user or latex_elements_rtd
elif japanese:
    latex_engine = latex_engine_user or 'platex'

[rtd-command-info] start-time: 2019-06-04T19:42:43.977026Z, end-time: 2019-06-04T19:47:00.678598Z, duration: 256, exit-code: 2
python /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/bin/sphinx-build -T -W -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html
Running Sphinx v1.8.5
loading translations [en]... done
making output directory...
Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for msc files...
Searching for dia files...
Searching for files to exclude
Searching INPUT for files to process...
Reading and parsing tag files
Parsing files
Preprocessing /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/include/LightGBM/c_api.h...
Parsing file /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/include/LightGBM/c_api.h...
Building group list...
Building directory list...
Building namespace list...
Building file list...
Building class list...
Associating documentation with classes...
Computing nesting relations for classes...
Building example list...
Searching for enumerations...
Searching for documented typedefs...
Searching for members imported via using declarations...
Searching for included using directives...
Searching for documented variables...
Building interface member list...
Building member list...
Searching for friends...
Searching for documented defines...
Computing class inheritance relations...
Computing class usage relations...
Flushing cached template relations that have become invalid...
Computing class relations...
Add enum values to enums...
Searching for member function documentation...
Creating members for template instances...
Building page list...
Search for main page...
Computing page relations...
Determining the scope of groups...
Sorting lists...
Freeing entry tree
Determining which enums are documented
Computing member relations...
Building full member lists recursively...
Adding members to member groups.
Computing member references...
Inheriting documentation...
Generating disk names...
Adding source references...
Adding xrefitems...
Sorting member lists...
Computing dependencies between directories...
Generating citations page...
Counting data structures...
Resolving user defined references...
Finding anchors and sections in the documentation...
Transferring function references...
Combining using relations...
Adding members to index pages...
Generating style sheet...
Generating search indices...
Generating example documentation...
Generating file sources...
Generating code for file /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/include/LightGBM/c_api.h...
Generating file documentation...
Generating docs for file /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/include/LightGBM/c_api.h...
Generating page documentation...
Generating group documentation...
Generating class documentation...
Generating namespace index...
Generating graph info page...
Generating directory documentation...
finalizing index lists...
writing tag file...
Generating XML output...
Generating XML output for file c_api.h
Generate XML output for dir /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/include/
Generate XML output for dir /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/include/LightGBM/
Running dot...
lookup cache used 69/65536 hits=582 misses=69
finished...



Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/docs/conf.py", line 252, in generate_r_docs
    raise RuntimeError(output)
RuntimeError: Collecting package metadata: ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /home/docs/.conda/envs/r_env

  added / updated specs:
    - cmake
    - r-base
    - r-data.table
    - r-devtools
    - r-jsonlite
    - r-magrittr
    - r-matrix
    - r-testthat


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _r-mutex-1.0.0             |      anacondar_1           2 KB
    binutils_impl_linux-64-2.28.1|       had2808c_3        16.1 MB
    binutils_linux-64-7.2.0    |      had2808c_27           8 KB
    bwidget-1.9.11             |                1         113 KB
    bzip2-1.0.6                |       h14c3975_5         414 KB
    ca-certificates-2019.5.15  |                0         133 KB
    cairo-1.14.12              |       h8948797_3         1.3 MB
    cmake-3.14.0               |       h52cb24c_0         9.5 MB
    curl-7.64.1                |       hbc83047_0         138 KB
    expat-2.2.6                |       he6710b0_0         187 KB
    fontconfig-2.13.0          |       h9420a91_0         291 KB
    freetype-2.9.1             |       h8a8886c_1         822 KB
    fribidi-1.0.5              |       h7b6447c_0         112 KB
    gcc_impl_linux-64-7.2.0    |       habb00fd_3        72.4 MB
    gcc_linux-64-7.2.0         |      h550dcbe_27           9 KB
    gfortran_impl_linux-64-7.2.0|       hdf63c60_3         8.9 MB
    gfortran_linux-64-7.2.0    |      h550dcbe_27           9 KB
    glib-2.56.2                |       hd408876_0         5.0 MB
    graphite2-1.3.13           |       h23475e2_0         101 KB
    gxx_impl_linux-64-7.2.0    |       hdf63c60_3        18.6 MB
    gxx_linux-64-7.2.0         |      h550dcbe_27           8 KB
    harfbuzz-1.8.8             |       hffaf4a1_0         863 KB
    icu-58.2                   |       h9c2bf20_1        22.5 MB
    jpeg-9b                    |       h024ee3a_2         248 KB
    krb5-1.16.1                |       h173b8e3_7         1.4 MB
    libcurl-7.64.1             |       h20c2e04_0         582 KB
    libgfortran-ng-7.3.0       |       hdf63c60_0         1.3 MB
    libpng-1.6.37              |       hbc83047_0         364 KB
    libssh2-1.8.2              |       h1ba5d50_0         250 KB
    libtiff-4.0.10             |       h2733197_2         604 KB
    libuuid-1.0.3              |       h1bed415_2          16 KB
    libxcb-1.13                |       h1bed415_1         502 KB
    libxml2-2.9.9              |       he19cac6_0         2.0 MB
    make-4.2.1                 |       h1bed415_1         429 KB
    openssl-1.1.1c             |       h7b6447c_1         3.8 MB
    pango-1.42.4               |       h049681c_0         528 KB
    pcre-8.43                  |       he6710b0_0         260 KB
    pixman-0.38.0              |       h7b6447c_0         618 KB
    r-askpass-1.0              |    r36h14c3975_0          27 KB
    r-assertthat-0.2.1         |    r36h6115d3f_0          74 KB
    r-backports-1.1.4          |    r36h96ca727_0          65 KB
    r-base-3.6.0               |       hce969dd_0        39.4 MB
    r-callr-3.2.0              |    r36h6115d3f_0         270 KB
    r-cli-1.1.0                |    r36h6115d3f_0         189 KB
    r-clipr-0.6.0              |    r36h6115d3f_0          66 KB
    r-clisymbols-1.2.0         |    r36h6115d3f_0          25 KB
    r-crayon-1.3.4             |    r36h6115d3f_0         757 KB
    r-curl-3.3                 |    r36h96ca727_0         417 KB
    r-data.table-1.12.2        |    r36h96ca727_0         1.5 MB
    r-desc-1.2.0               |    r36h6115d3f_0         305 KB
    r-devtools-2.0.2           |    r36h6115d3f_0         402 KB
    r-digest-0.6.18            |    r36h96ca727_0         155 KB
    r-fansi-0.4.0              |    r36h96ca727_0         193 KB
    r-fs-1.2.7                 |    r36h29659fb_0         510 KB
    r-gh-1.0.1                 |    r36h6115d3f_0          58 KB
    r-git2r-0.25.2             |    r36h96ca727_0         893 KB
    r-glue-1.3.1               |    r36h96ca727_0         165 KB
    r-httr-1.4.0               |    r36h6115d3f_0         513 KB
    r-ini-0.3.1                |    r36h6115d3f_0          31 KB
    r-jsonlite-1.6             |    r36h96ca727_0         1.0 MB
    r-lattice-0.20_38          |    r36h96ca727_0         1.1 MB
    r-magrittr-1.5             |    r36h6115d3f_4         173 KB
    r-matrix-1.2_17            |    r36h96ca727_0         3.8 MB
    r-memoise-1.1.0            |    r36h6115d3f_0          45 KB
    r-mime-0.6                 |    r36h96ca727_0          50 KB
    r-openssl-1.3              |    r36h96ca727_0         1.2 MB
    r-pillar-1.3.1             |    r36h6115d3f_0         180 KB
    r-pkgbuild-1.0.3           |    r36h6115d3f_0         156 KB
    r-pkgconfig-2.0.2          |    r36h6115d3f_0          25 KB
    r-pkgload-1.0.2            |    r36h29659fb_0         161 KB
    r-praise-1.0.0             |    r36h6115d3f_4          23 KB
    r-prettyunits-1.0.2        |    r36h6115d3f_0          38 KB
    r-processx-3.3.0           |    r36h96ca727_0         190 KB
    r-ps-1.3.0                 |    r36h96ca727_0         221 KB
    r-purrr-0.3.2              |    r36h96ca727_0         397 KB
    r-r6-2.4.0                 |    r36h6115d3f_0          68 KB
    r-rcmdcheck-1.3.2          |    r36h6115d3f_0         1.4 MB
    r-rcpp-1.0.1               |    r36h29659fb_0         3.3 MB
    r-remotes-2.0.4            |    r36h6115d3f_0         333 KB
    r-rlang-0.3.4              |    r36h96ca727_0         1.0 MB
    r-rprojroot-1.3_2          |    r36h6115d3f_0          98 KB
    r-rstudioapi-0.10          |    r36h6115d3f_0         240 KB
    r-sessioninfo-1.1.1        |    r36h6115d3f_0          59 KB
    r-sys-3.2                  |    r36h96ca727_0          47 KB
    r-testthat-2.1.1           |    r36h29659fb_0         1.1 MB
    r-tibble-2.1.1             |    r36h96ca727_0         316 KB
    r-usethis-1.5.0            |    r36h6115d3f_0         720 KB
    r-utf8-1.1.4               |    r36h96ca727_0         159 KB
    r-whisker-0.3_2            |    r36h6115d3f_4          82 KB
    r-withr-2.1.2              |    r36h6115d3f_0         181 KB
    r-xopen-1.0.0              |    r36h6115d3f_0          30 KB
    r-yaml-2.2.0               |    r36h96ca727_0         113 KB
    rhash-1.3.8                |       h1ba5d50_0         235 KB
    tktable-2.10               |       h14c3975_0          88 KB
    xz-5.2.4                   |       h14c3975_4         366 KB
    zstd-1.3.7                 |       h0b5b093_0         887 KB
    ------------------------------------------------------------
                                           Total:       235.5 MB

The following NEW packages will be INSTALLED:

  _r-mutex           pkgs/r/linux-64::_r-mutex-1.0.0-anacondar_1
  binutils_impl_lin~ pkgs/main/linux-64::binutils_impl_linux-64-2.28.1-had2808c_3
  binutils_linux-64  pkgs/main/linux-64::binutils_linux-64-7.2.0-had2808c_27
  bwidget            pkgs/main/linux-64::bwidget-1.9.11-1
  bzip2              pkgs/main/linux-64::bzip2-1.0.6-h14c3975_5
  ca-certificates    pkgs/main/linux-64::ca-certificates-2019.5.15-0
  cairo              pkgs/main/linux-64::cairo-1.14.12-h8948797_3
  cmake              pkgs/main/linux-64::cmake-3.14.0-h52cb24c_0
  curl               pkgs/main/linux-64::curl-7.64.1-hbc83047_0
  expat              pkgs/main/linux-64::expat-2.2.6-he6710b0_0
  fontconfig         pkgs/main/linux-64::fontconfig-2.13.0-h9420a91_0
  freetype           pkgs/main/linux-64::freetype-2.9.1-h8a8886c_1
  fribidi            pkgs/main/linux-64::fribidi-1.0.5-h7b6447c_0
  gcc_impl_linux-64  pkgs/main/linux-64::gcc_impl_linux-64-7.2.0-habb00fd_3
  gcc_linux-64       pkgs/main/linux-64::gcc_linux-64-7.2.0-h550dcbe_27
  gfortran_impl_lin~ pkgs/main/linux-64::gfortran_impl_linux-64-7.2.0-hdf63c60_3
  gfortran_linux-64  pkgs/main/linux-64::gfortran_linux-64-7.2.0-h550dcbe_27
  glib               pkgs/main/linux-64::glib-2.56.2-hd408876_0
  graphite2          pkgs/main/linux-64::graphite2-1.3.13-h23475e2_0
  gxx_impl_linux-64  pkgs/main/linux-64::gxx_impl_linux-64-7.2.0-hdf63c60_3
  gxx_linux-64       pkgs/main/linux-64::gxx_linux-64-7.2.0-h550dcbe_27
  harfbuzz           pkgs/main/linux-64::harfbuzz-1.8.8-hffaf4a1_0
  icu                pkgs/main/linux-64::icu-58.2-h9c2bf20_1
  jpeg               pkgs/main/linux-64::jpeg-9b-h024ee3a_2
  krb5               pkgs/main/linux-64::krb5-1.16.1-h173b8e3_7
  libcurl            pkgs/main/linux-64::libcurl-7.64.1-h20c2e04_0
  libedit            pkgs/main/linux-64::libedit-3.1.20181209-hc058e9b_0
  libffi             pkgs/main/linux-64::libffi-3.2.1-hd88cf55_4
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-8.2.0-hdf63c60_1
  libgfortran-ng     pkgs/main/linux-64::libgfortran-ng-7.3.0-hdf63c60_0
  libpng             pkgs/main/linux-64::libpng-1.6.37-hbc83047_0
  libssh2            pkgs/main/linux-64::libssh2-1.8.2-h1ba5d50_0
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-8.2.0-hdf63c60_1
  libtiff            pkgs/main/linux-64::libtiff-4.0.10-h2733197_2
  libuuid            pkgs/main/linux-64::libuuid-1.0.3-h1bed415_2
  libxcb             pkgs/main/linux-64::libxcb-1.13-h1bed415_1
  libxml2            pkgs/main/linux-64::libxml2-2.9.9-he19cac6_0
  make               pkgs/main/linux-64::make-4.2.1-h1bed415_1
  ncurses            pkgs/main/linux-64::ncurses-6.1-he6710b0_1
  openssl            pkgs/main/linux-64::openssl-1.1.1c-h7b6447c_1
  pango              pkgs/main/linux-64::pango-1.42.4-h049681c_0
  pcre               pkgs/main/linux-64::pcre-8.43-he6710b0_0
  pixman             pkgs/main/linux-64::pixman-0.38.0-h7b6447c_0
  r-askpass          pkgs/main/linux-64::r-askpass-1.0-r36h14c3975_0
  r-assertthat       pkgs/main/noarch::r-assertthat-0.2.1-r36h6115d3f_0
  r-backports        pkgs/main/linux-64::r-backports-1.1.4-r36h96ca727_0
  r-base             pkgs/main/linux-64::r-base-3.6.0-hce969dd_0
  r-callr            pkgs/main/noarch::r-callr-3.2.0-r36h6115d3f_0
  r-cli              pkgs/main/noarch::r-cli-1.1.0-r36h6115d3f_0
  r-clipr            pkgs/main/noarch::r-clipr-0.6.0-r36h6115d3f_0
  r-clisymbols       pkgs/main/noarch::r-clisymbols-1.2.0-r36h6115d3f_0
  r-crayon           pkgs/main/noarch::r-crayon-1.3.4-r36h6115d3f_0
  r-curl             pkgs/main/linux-64::r-curl-3.3-r36h96ca727_0
  r-data.table       pkgs/main/linux-64::r-data.table-1.12.2-r36h96ca727_0
  r-desc             pkgs/main/noarch::r-desc-1.2.0-r36h6115d3f_0
  r-devtools         pkgs/main/noarch::r-devtools-2.0.2-r36h6115d3f_0
  r-digest           pkgs/main/linux-64::r-digest-0.6.18-r36h96ca727_0
  r-fansi            pkgs/main/linux-64::r-fansi-0.4.0-r36h96ca727_0
  r-fs               pkgs/main/linux-64::r-fs-1.2.7-r36h29659fb_0
  r-gh               pkgs/main/noarch::r-gh-1.0.1-r36h6115d3f_0
  r-git2r            pkgs/main/linux-64::r-git2r-0.25.2-r36h96ca727_0
  r-glue             pkgs/main/linux-64::r-glue-1.3.1-r36h96ca727_0
  r-httr             pkgs/main/noarch::r-httr-1.4.0-r36h6115d3f_0
  r-ini              pkgs/main/noarch::r-ini-0.3.1-r36h6115d3f_0
  r-jsonlite         pkgs/main/linux-64::r-jsonlite-1.6-r36h96ca727_0
  r-lattice          pkgs/main/linux-64::r-lattice-0.20_38-r36h96ca727_0
  r-magrittr         pkgs/main/noarch::r-magrittr-1.5-r36h6115d3f_4
  r-matrix           pkgs/main/linux-64::r-matrix-1.2_17-r36h96ca727_0
  r-memoise          pkgs/main/noarch::r-memoise-1.1.0-r36h6115d3f_0
  r-mime             pkgs/main/linux-64::r-mime-0.6-r36h96ca727_0
  r-openssl          pkgs/main/linux-64::r-openssl-1.3-r36h96ca727_0
  r-pillar           pkgs/main/noarch::r-pillar-1.3.1-r36h6115d3f_0
  r-pkgbuild         pkgs/main/noarch::r-pkgbuild-1.0.3-r36h6115d3f_0
  r-pkgconfig        pkgs/main/noarch::r-pkgconfig-2.0.2-r36h6115d3f_0
  r-pkgload          pkgs/main/linux-64::r-pkgload-1.0.2-r36h29659fb_0
  r-praise           pkgs/main/noarch::r-praise-1.0.0-r36h6115d3f_4
  r-prettyunits      pkgs/main/noarch::r-prettyunits-1.0.2-r36h6115d3f_0
  r-processx         pkgs/main/linux-64::r-processx-3.3.0-r36h96ca727_0
  r-ps               pkgs/main/linux-64::r-ps-1.3.0-r36h96ca727_0
  r-purrr            pkgs/main/linux-64::r-purrr-0.3.2-r36h96ca727_0
  r-r6               pkgs/main/noarch::r-r6-2.4.0-r36h6115d3f_0
  r-rcmdcheck        pkgs/main/noarch::r-rcmdcheck-1.3.2-r36h6115d3f_0
  r-rcpp             pkgs/main/linux-64::r-rcpp-1.0.1-r36h29659fb_0
  r-remotes          pkgs/main/noarch::r-remotes-2.0.4-r36h6115d3f_0
  r-rlang            pkgs/main/linux-64::r-rlang-0.3.4-r36h96ca727_0
  r-rprojroot        pkgs/main/noarch::r-rprojroot-1.3_2-r36h6115d3f_0
  r-rstudioapi       pkgs/main/noarch::r-rstudioapi-0.10-r36h6115d3f_0
  r-sessioninfo      pkgs/main/noarch::r-sessioninfo-1.1.1-r36h6115d3f_0
  r-sys              pkgs/main/linux-64::r-sys-3.2-r36h96ca727_0
  r-testthat         pkgs/main/linux-64::r-testthat-2.1.1-r36h29659fb_0
  r-tibble           pkgs/main/linux-64::r-tibble-2.1.1-r36h96ca727_0
  r-usethis          pkgs/main/noarch::r-usethis-1.5.0-r36h6115d3f_0
  r-utf8             pkgs/main/linux-64::r-utf8-1.1.4-r36h96ca727_0
  r-whisker          pkgs/main/noarch::r-whisker-0.3_2-r36h6115d3f_4
  r-withr            pkgs/main/noarch::r-withr-2.1.2-r36h6115d3f_0
  r-xopen            pkgs/main/noarch::r-xopen-1.0.0-r36h6115d3f_0
  r-yaml             pkgs/main/linux-64::r-yaml-2.2.0-r36h96ca727_0
  readline           pkgs/main/linux-64::readline-7.0-h7b6447c_5
  rhash              pkgs/main/linux-64::rhash-1.3.8-h1ba5d50_0
  tk                 pkgs/main/linux-64::tk-8.6.8-hbc83047_0
  tktable            pkgs/main/linux-64::tktable-2.10-h14c3975_0
  xz                 pkgs/main/linux-64::xz-5.2.4-h14c3975_4
  zlib               pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3
  zstd               pkgs/main/linux-64::zstd-1.3.7-h0b5b093_0


Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Collecting package metadata: ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /home/docs/.conda/envs/r_env

  added / updated specs:
    - r-pkgdown


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2019.3.9   |       hecc5488_0         146 KB  conda-forge
    gsl-2.4                    |    h294904e_1006         2.6 MB  conda-forge
    libblas-3.8.0              |       7_openblas           6 KB  conda-forge
    libcblas-3.8.0             |       7_openblas           6 KB  conda-forge
    openblas-0.3.5             |    h9ac9557_1001        15.8 MB  conda-forge
    openssl-1.1.1b             |       h14c3975_1         4.0 MB  conda-forge
    pandoc-2.7.2               |                0        21.7 MB  conda-forge
    r-askpass-1.1              |   r351h96ca727_0          27 KB  conda-forge
    r-assertthat-0.2.1         |   r351h6115d3f_0          69 KB  conda-forge
    r-backports-1.1.4          |   r351hcdcec82_0          65 KB  conda-forge
    r-base-3.5.1               |       h1e0a451_2        39.8 MB
    r-base64enc-0.1_3          |r351h96ca727_1002          43 KB  conda-forge
    r-bitops-1.0_6             |r351h96ca727_1002          39 KB  conda-forge
    r-brew-1.0_6               |r351h6115d3f_1001          92 KB  conda-forge
    r-callr-3.2.0              |   r351h6115d3f_0         254 KB  conda-forge
    r-cli-1.1.0                |   r351h6115d3f_0         177 KB  conda-forge
    r-clipr-0.6.0              |   r351h6115d3f_0          62 KB  conda-forge
    r-clisymbols-1.2.0         |r351h6115d3f_1001          23 KB  conda-forge
    r-commonmark-1.7           |r351h96ca727_1000         157 KB  conda-forge
    r-crayon-1.3.4             |r351h6115d3f_1001         745 KB  conda-forge
    r-curl-3.3                 |   r351h96ca727_0         408 KB  conda-forge
    r-data.table-1.12.2        |   r351hcdcec82_0         1.5 MB  conda-forge
    r-desc-1.2.0               |r351h6115d3f_1001         278 KB  conda-forge
    r-devtools-2.0.2           |   r351h6115d3f_0         380 KB  conda-forge
    r-digest-0.6.19            |   r351h0357c0b_0         164 KB  conda-forge
    r-evaluate-0.14            |    r35h6115d3f_0          79 KB  conda-forge
    r-fansi-0.4.0              |r351h96ca727_1000         192 KB  conda-forge
    r-fs-1.3.1                 |   r351h0357c0b_0         527 KB  conda-forge
    r-gh-1.0.1                 |r351h6115d3f_1001          52 KB  conda-forge
    r-git2r-0.25.2             |   r351h5ca76e2_0         881 KB  conda-forge
    r-glue-1.3.1               |   r351hcdcec82_0         164 KB  conda-forge
    r-highlight-0.4.7.2        |r351h29659fb_1001         554 KB  conda-forge
    r-highr-0.8                |   r351h6115d3f_0          47 KB  conda-forge
    r-htmltools-0.3.6          |r351hf484d3e_1002         177 KB  conda-forge
    r-httr-1.4.0               |r351h6115d3f_1000         453 KB  conda-forge
    r-ini-0.3.1                |r351h6115d3f_1001          29 KB  conda-forge
    r-jsonlite-1.6             |r351h96ca727_1000         1.0 MB  conda-forge
    r-knitr-1.23               |   r351h6115d3f_0         1.2 MB  conda-forge
    r-lattice-0.20_38          |r351h96ca727_1000         1.1 MB  conda-forge
    r-magrittr-1.5             |r351h6115d3f_1001         165 KB  conda-forge
    r-markdown-0.9             |r351h96ca727_1000         143 KB  conda-forge
    r-mass-7.3_51.4            |   r351hcdcec82_0         1.1 MB  conda-forge
    r-matrix-1.2_17            |   r351hcdcec82_0         3.7 MB  conda-forge
    r-memoise-1.1.0            |r351h6115d3f_1001          41 KB  conda-forge
    r-mime-0.6                 |r351h96ca727_1000          51 KB  conda-forge
    r-openssl-1.3              |   r351h9c8475f_0         1.1 MB  conda-forge
    r-packrat-0.5.0            |r351h6115d3f_1000         455 KB  conda-forge
    r-pillar-1.4.1             |       h6115d3f_0         192 KB  conda-forge
    r-pkgbuild-1.0.3           |   r351h6115d3f_0         148 KB  conda-forge
    r-pkgconfig-2.0.2          |r351h6115d3f_1001          24 KB  conda-forge
    r-pkgdown-1.3.0            |r351h6115d3f_1000         497 KB  conda-forge
    r-pkgload-1.0.2            |r351h29659fb_1000         159 KB  conda-forge
    r-praise-1.0.0             |r351h6115d3f_1001          22 KB  conda-forge
    r-prettyunits-1.0.2        |r351h6115d3f_1001          35 KB  conda-forge
    r-processx-3.3.1           |   r351hcdcec82_0         191 KB  conda-forge
    r-ps-1.3.0                 |r351h96ca727_1000         222 KB  conda-forge
    r-purrr-0.3.2              |   r351hcdcec82_0         399 KB  conda-forge
    r-r6-2.4.0                 |   r351h6115d3f_0          62 KB  conda-forge
    r-rcmdcheck-1.3.3          |   r351h6115d3f_0         136 KB  conda-forge
    r-rcpp-1.0.1               |   r351h0357c0b_0         3.3 MB  conda-forge
    r-rcurl-1.95_4.12          |   r351hcdcec82_0         861 KB  conda-forge
    r-rematch2-2.0.1           |r351h6115d3f_1001          47 KB  conda-forge
    r-remotes-2.0.4            |   r351h6115d3f_0         322 KB  conda-forge
    r-rlang-0.3.4              |   r351hcdcec82_0         1.0 MB  conda-forge
    r-rmarkdown-1.12           |   r351h6115d3f_0         3.0 MB  conda-forge
    r-roxygen2-6.1.1           |r351h29659fb_1000         479 KB  conda-forge
    r-rprojroot-1.3_2          |r351h6115d3f_1001          93 KB  conda-forge
    r-rsconnect-0.8.13         |   r351h6115d3f_0         527 KB  conda-forge
    r-rstudioapi-0.10          |   r351h6115d3f_0         218 KB  conda-forge
    r-sessioninfo-1.1.1        |r351h6115d3f_1000          56 KB  conda-forge
    r-stringi-1.4.3            |   r351h0357c0b_0         768 KB  conda-forge
    r-stringr-1.4.0            |   r351h6115d3f_0         207 KB  conda-forge
    r-sys-3.2                  |   r351hcdcec82_0          46 KB  conda-forge
    r-testthat-2.1.1           |   r351h0357c0b_0         1.1 MB  conda-forge
    r-tibble-2.1.1             |   r351hcdcec82_0         313 KB  conda-forge
    r-tinytex-0.13             |   r351h6115d3f_0         100 KB  conda-forge
    r-usethis-1.5.0            |   r351h6115d3f_0         690 KB  conda-forge
    r-utf8-1.1.4               |r351h96ca727_1000         159 KB  conda-forge
    r-vctrs-0.1.0              |r351h96ca727_1000         607 KB  conda-forge
    r-whisker-0.3_2            |r351h6115d3f_1001          78 KB  conda-forge
    r-withr-2.1.2              |r351h6115d3f_1000         173 KB  conda-forge
    r-xfun-0.7                 |   r351h6115d3f_0         174 KB  conda-forge
    r-xml2-1.2.0               |r351h29659fb_1002         339 KB  conda-forge
    r-xopen-1.0.0              |r351h6115d3f_1000          28 KB  conda-forge
    r-yaml-2.2.0               |r351h96ca727_1001         112 KB  conda-forge
    r-zeallot-0.1.0            |r351h6115d3f_1000          61 KB  conda-forge
    xorg-kbproto-1.0.7         |    h14c3975_1002          26 KB  conda-forge
    xorg-libice-1.0.9          |    h516909a_1004          58 KB  conda-forge
    xorg-libsm-1.2.2           |       h470a237_5          24 KB  conda-forge
    xorg-libx11-1.6.7          |    h14c3975_1000         940 KB  conda-forge
    xorg-libxext-1.3.4         |       h516909a_0          51 KB  conda-forge
    xorg-libxrender-0.9.10     |    h516909a_1002          31 KB  conda-forge
    xorg-renderproto-0.11.1    |    h14c3975_1002           8 KB  conda-forge
    xorg-xextproto-7.3.0       |    h14c3975_1002          27 KB  conda-forge
    xorg-xproto-7.0.31         |    h14c3975_1007          72 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       119.7 MB

The following NEW packages will be INSTALLED:

  gsl                conda-forge/linux-64::gsl-2.4-h294904e_1006
  libblas            conda-forge/linux-64::libblas-3.8.0-7_openblas
  libcblas           conda-forge/linux-64::libcblas-3.8.0-7_openblas
  openblas           conda-forge/linux-64::openblas-0.3.5-h9ac9557_1001
  pandoc             conda-forge/linux-64::pandoc-2.7.2-0
  r-base64enc        conda-forge/linux-64::r-base64enc-0.1_3-r351h96ca727_1002
  r-bitops           conda-forge/linux-64::r-bitops-1.0_6-r351h96ca727_1002
  r-brew             conda-forge/noarch::r-brew-1.0_6-r351h6115d3f_1001
  r-commonmark       conda-forge/linux-64::r-commonmark-1.7-r351h96ca727_1000
  r-evaluate         conda-forge/noarch::r-evaluate-0.14-r35h6115d3f_0
  r-highlight        conda-forge/linux-64::r-highlight-0.4.7.2-r351h29659fb_1001
  r-highr            conda-forge/noarch::r-highr-0.8-r351h6115d3f_0
  r-htmltools        conda-forge/linux-64::r-htmltools-0.3.6-r351hf484d3e_1002
  r-knitr            conda-forge/noarch::r-knitr-1.23-r351h6115d3f_0
  r-markdown         conda-forge/linux-64::r-markdown-0.9-r351h96ca727_1000
  r-mass             conda-forge/linux-64::r-mass-7.3_51.4-r351hcdcec82_0
  r-packrat          conda-forge/noarch::r-packrat-0.5.0-r351h6115d3f_1000
  r-pkgdown          conda-forge/noarch::r-pkgdown-1.3.0-r351h6115d3f_1000
  r-rcurl            conda-forge/linux-64::r-rcurl-1.95_4.12-r351hcdcec82_0
  r-rematch2         conda-forge/noarch::r-rematch2-2.0.1-r351h6115d3f_1001
  r-rmarkdown        conda-forge/noarch::r-rmarkdown-1.12-r351h6115d3f_0
  r-roxygen2         conda-forge/linux-64::r-roxygen2-6.1.1-r351h29659fb_1000
  r-rsconnect        conda-forge/noarch::r-rsconnect-0.8.13-r351h6115d3f_0
  r-stringi          conda-forge/linux-64::r-stringi-1.4.3-r351h0357c0b_0
  r-stringr          conda-forge/noarch::r-stringr-1.4.0-r351h6115d3f_0
  r-tinytex          conda-forge/noarch::r-tinytex-0.13-r351h6115d3f_0
  r-vctrs            conda-forge/linux-64::r-vctrs-0.1.0-r351h96ca727_1000
  r-xfun             conda-forge/noarch::r-xfun-0.7-r351h6115d3f_0
  r-xml2             conda-forge/linux-64::r-xml2-1.2.0-r351h29659fb_1002
  r-zeallot          conda-forge/noarch::r-zeallot-0.1.0-r351h6115d3f_1000
  xorg-kbproto       conda-forge/linux-64::xorg-kbproto-1.0.7-h14c3975_1002
  xorg-libice        conda-forge/linux-64::xorg-libice-1.0.9-h516909a_1004
  xorg-libsm         conda-forge/linux-64::xorg-libsm-1.2.2-h470a237_5
  xorg-libx11        conda-forge/linux-64::xorg-libx11-1.6.7-h14c3975_1000
  xorg-libxext       conda-forge/linux-64::xorg-libxext-1.3.4-h516909a_0
  xorg-libxrender    conda-forge/linux-64::xorg-libxrender-0.9.10-h516909a_1002
  xorg-renderproto   conda-forge/linux-64::xorg-renderproto-0.11.1-h14c3975_1002
  xorg-xextproto     conda-forge/linux-64::xorg-xextproto-7.3.0-h14c3975_1002
  xorg-xproto        conda-forge/linux-64::xorg-xproto-7.0.31-h14c3975_1007

The following packages will be UPDATED:

  r-askpass          pkgs/main::r-askpass-1.0-r36h14c3975_0 --> conda-forge::r-askpass-1.1-r351h96ca727_0
  r-clisymbols       pkgs/main::r-clisymbols-1.2.0-r36h611~ --> conda-forge::r-clisymbols-1.2.0-r351h6115d3f_1001
  r-crayon           pkgs/main::r-crayon-1.3.4-r36h6115d3f~ --> conda-forge::r-crayon-1.3.4-r351h6115d3f_1001
  r-desc              pkgs/main::r-desc-1.2.0-r36h6115d3f_0 --> conda-forge::r-desc-1.2.0-r351h6115d3f_1001
  r-digest           pkgs/main::r-digest-0.6.18-r36h96ca72~ --> conda-forge::r-digest-0.6.19-r351h0357c0b_0
  r-fansi            pkgs/main::r-fansi-0.4.0-r36h96ca727_0 --> conda-forge::r-fansi-0.4.0-r351h96ca727_1000
  r-fs                  pkgs/main::r-fs-1.2.7-r36h29659fb_0 --> conda-forge::r-fs-1.3.1-r351h0357c0b_0
  r-gh                  pkgs/main::r-gh-1.0.1-r36h6115d3f_0 --> conda-forge::r-gh-1.0.1-r351h6115d3f_1001
  r-httr              pkgs/main::r-httr-1.4.0-r36h6115d3f_0 --> conda-forge::r-httr-1.4.0-r351h6115d3f_1000
  r-ini                pkgs/main::r-ini-0.3.1-r36h6115d3f_0 --> conda-forge::r-ini-0.3.1-r351h6115d3f_1001
  r-jsonlite         pkgs/main::r-jsonlite-1.6-r36h96ca727~ --> conda-forge::r-jsonlite-1.6-r351h96ca727_1000
  r-lattice          pkgs/main::r-lattice-0.20_38-r36h96ca~ --> conda-forge::r-lattice-0.20_38-r351h96ca727_1000
  r-magrittr         pkgs/main::r-magrittr-1.5-r36h6115d3f~ --> conda-forge::r-magrittr-1.5-r351h6115d3f_1001
  r-memoise          pkgs/main::r-memoise-1.1.0-r36h6115d3~ --> conda-forge::r-memoise-1.1.0-r351h6115d3f_1001
  r-mime                pkgs/main::r-mime-0.6-r36h96ca727_0 --> conda-forge::r-mime-0.6-r351h96ca727_1000
  r-pillar           pkgs/main::r-pillar-1.3.1-r36h6115d3f~ --> conda-forge::r-pillar-1.4.1-h6115d3f_0
  r-pkgconfig        pkgs/main::r-pkgconfig-2.0.2-r36h6115~ --> conda-forge::r-pkgconfig-2.0.2-r351h6115d3f_1001
  r-pkgload          pkgs/main::r-pkgload-1.0.2-r36h29659f~ --> conda-forge::r-pkgload-1.0.2-r351h29659fb_1000
  r-praise           pkgs/main::r-praise-1.0.0-r36h6115d3f~ --> conda-forge::r-praise-1.0.0-r351h6115d3f_1001
  r-prettyunits      pkgs/main::r-prettyunits-1.0.2-r36h61~ --> conda-forge::r-prettyunits-1.0.2-r351h6115d3f_1001
  r-processx         pkgs/main::r-processx-3.3.0-r36h96ca7~ --> conda-forge::r-processx-3.3.1-r351hcdcec82_0
  r-ps                  pkgs/main::r-ps-1.3.0-r36h96ca727_0 --> conda-forge::r-ps-1.3.0-r351h96ca727_1000
  r-rcmdcheck        pkgs/main::r-rcmdcheck-1.3.2-r36h6115~ --> conda-forge::r-rcmdcheck-1.3.3-r351h6115d3f_0
  r-rprojroot        pkgs/main::r-rprojroot-1.3_2-r36h6115~ --> conda-forge::r-rprojroot-1.3_2-r351h6115d3f_1001
  r-sessioninfo      pkgs/main::r-sessioninfo-1.1.1-r36h61~ --> conda-forge::r-sessioninfo-1.1.1-r351h6115d3f_1000
  r-utf8              pkgs/main::r-utf8-1.1.4-r36h96ca727_0 --> conda-forge::r-utf8-1.1.4-r351h96ca727_1000
  r-whisker          pkgs/main::r-whisker-0.3_2-r36h6115d3~ --> conda-forge::r-whisker-0.3_2-r351h6115d3f_1001
  r-withr            pkgs/main::r-withr-2.1.2-r36h6115d3f_0 --> conda-forge::r-withr-2.1.2-r351h6115d3f_1000
  r-xopen            pkgs/main::r-xopen-1.0.0-r36h6115d3f_0 --> conda-forge::r-xopen-1.0.0-r351h6115d3f_1000
  r-yaml              pkgs/main::r-yaml-2.2.0-r36h96ca727_0 --> conda-forge::r-yaml-2.2.0-r351h96ca727_1001

The following packages will be SUPERSEDED by a higher-priority channel:

  ca-certificates    pkgs/main::ca-certificates-2019.5.15-0 --> conda-forge::ca-certificates-2019.3.9-hecc5488_0
  openssl              pkgs/main::openssl-1.1.1c-h7b6447c_1 --> conda-forge::openssl-1.1.1b-h14c3975_1
  r-assertthat       pkgs/main::r-assertthat-0.2.1-r36h611~ --> conda-forge::r-assertthat-0.2.1-r351h6115d3f_0
  r-backports        pkgs/main::r-backports-1.1.4-r36h96ca~ --> conda-forge::r-backports-1.1.4-r351hcdcec82_0
  r-base                 pkgs/main::r-base-3.6.0-hce969dd_0 --> pkgs/r::r-base-3.5.1-h1e0a451_2
  r-callr            pkgs/main::r-callr-3.2.0-r36h6115d3f_0 --> conda-forge::r-callr-3.2.0-r351h6115d3f_0
  r-cli                pkgs/main::r-cli-1.1.0-r36h6115d3f_0 --> conda-forge::r-cli-1.1.0-r351h6115d3f_0
  r-clipr            pkgs/main::r-clipr-0.6.0-r36h6115d3f_0 --> conda-forge::r-clipr-0.6.0-r351h6115d3f_0
  r-curl                pkgs/main::r-curl-3.3-r36h96ca727_0 --> conda-forge::r-curl-3.3-r351h96ca727_0
  r-data.table       pkgs/main::r-data.table-1.12.2-r36h96~ --> conda-forge::r-data.table-1.12.2-r351hcdcec82_0
  r-devtools         pkgs/main::r-devtools-2.0.2-r36h6115d~ --> conda-forge::r-devtools-2.0.2-r351h6115d3f_0
  r-git2r            pkgs/main::r-git2r-0.25.2-r36h96ca727~ --> conda-forge::r-git2r-0.25.2-r351h5ca76e2_0
  r-glue              pkgs/main::r-glue-1.3.1-r36h96ca727_0 --> conda-forge::r-glue-1.3.1-r351hcdcec82_0
  r-matrix           pkgs/main::r-matrix-1.2_17-r36h96ca72~ --> conda-forge::r-matrix-1.2_17-r351hcdcec82_0
  r-openssl          pkgs/main::r-openssl-1.3-r36h96ca727_0 --> conda-forge::r-openssl-1.3-r351h9c8475f_0
  r-pkgbuild         pkgs/main::r-pkgbuild-1.0.3-r36h6115d~ --> conda-forge::r-pkgbuild-1.0.3-r351h6115d3f_0
  r-purrr            pkgs/main::r-purrr-0.3.2-r36h96ca727_0 --> conda-forge::r-purrr-0.3.2-r351hcdcec82_0
  r-r6                  pkgs/main::r-r6-2.4.0-r36h6115d3f_0 --> conda-forge::r-r6-2.4.0-r351h6115d3f_0
  r-rcpp              pkgs/main::r-rcpp-1.0.1-r36h29659fb_0 --> conda-forge::r-rcpp-1.0.1-r351h0357c0b_0
  r-remotes          pkgs/main::r-remotes-2.0.4-r36h6115d3~ --> conda-forge::r-remotes-2.0.4-r351h6115d3f_0
  r-rlang            pkgs/main::r-rlang-0.3.4-r36h96ca727_0 --> conda-forge::r-rlang-0.3.4-r351hcdcec82_0
  r-rstudioapi       pkgs/main::r-rstudioapi-0.10-r36h6115~ --> conda-forge::r-rstudioapi-0.10-r351h6115d3f_0
  r-sys                  pkgs/main::r-sys-3.2-r36h96ca727_0 --> conda-forge::r-sys-3.2-r351hcdcec82_0
  r-testthat         pkgs/main::r-testthat-2.1.1-r36h29659~ --> conda-forge::r-testthat-2.1.1-r351h0357c0b_0
  r-tibble           pkgs/main::r-tibble-2.1.1-r36h96ca727~ --> conda-forge::r-tibble-2.1.1-r351hcdcec82_0
  r-usethis          pkgs/main::r-usethis-1.5.0-r36h6115d3~ --> conda-forge::r-usethis-1.5.0-r351h6115d3f_0


Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Writing NAMESPACE

Updating lightgbm documentation
Updating roxygen version in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/DESCRIPTION
Loading lightgbm
Loading required package: R6
Error in getDLLRegisteredRoutines.DLLInfo(dll, addNames = FALSE) : 
  must specify DLL via a “DLLInfo” object. See getLoadedDLLs()
Calls: <Anonymous> ... assignNativeRoutines -> getDLLRegisteredRoutines.DLLInfo
Execution halted


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages/sphinx/cmd/build.py", line 303, in build_main
    args.tags, args.verbosity, args.jobs, args.keep_going)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages/sphinx/application.py", line 263, in __init__
    self._init_builder()
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages/sphinx/application.py", line 325, in _init_builder
    self.emit('builder-inited')
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages/sphinx/application.py", line 510, in emit
    return self.events.emit(event, self, *args)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/docs/lib/python3.7/site-packages/sphinx/events.py", line 80, in emit
    results.append(callback(*args))
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/docs/conf.py", line 256, in generate_r_docs
    raise Exception("An error has occurred while generating documentation for R-package\n" + str(e))
Exception: An error has occurred while generating documentation for R-package
Collecting package metadata: ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /home/docs/.conda/envs/r_env

  added / updated specs:
    - cmake
    - r-base
    - r-data.table
    - r-devtools
    - r-jsonlite
    - r-magrittr
    - r-matrix
    - r-testthat


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _r-mutex-1.0.0             |      anacondar_1           2 KB
    binutils_impl_linux-64-2.28.1|       had2808c_3        16.1 MB
    binutils_linux-64-7.2.0    |      had2808c_27           8 KB
    bwidget-1.9.11             |                1         113 KB
    bzip2-1.0.6                |       h14c3975_5         414 KB
    ca-certificates-2019.5.15  |                0         133 KB
    cairo-1.14.12              |       h8948797_3         1.3 MB
    cmake-3.14.0               |       h52cb24c_0         9.5 MB
    curl-7.64.1                |       hbc83047_0         138 KB
    expat-2.2.6                |       he6710b0_0         187 KB
    fontconfig-2.13.0          |       h9420a91_0         291 KB
    freetype-2.9.1             |       h8a8886c_1         822 KB
    fribidi-1.0.5              |       h7b6447c_0         112 KB
    gcc_impl_linux-64-7.2.0    |       habb00fd_3        72.4 MB
    gcc_linux-64-7.2.0         |      h550dcbe_27           9 KB
    gfortran_impl_linux-64-7.2.0|       hdf63c60_3         8.9 MB
    gfortran_linux-64-7.2.0    |      h550dcbe_27           9 KB
    glib-2.56.2                |       hd408876_0         5.0 MB
    graphite2-1.3.13           |       h23475e2_0         101 KB
    gxx_impl_linux-64-7.2.0    |       hdf63c60_3        18.6 MB
    gxx_linux-64-7.2.0         |      h550dcbe_27           8 KB
    harfbuzz-1.8.8             |       hffaf4a1_0         863 KB
    icu-58.2                   |       h9c2bf20_1        22.5 MB
    jpeg-9b                    |       h024ee3a_2         248 KB
    krb5-1.16.1                |       h173b8e3_7         1.4 MB
    libcurl-7.64.1             |       h20c2e04_0         582 KB
    libgfortran-ng-7.3.0       |       hdf63c60_0         1.3 MB
    libpng-1.6.37              |       hbc83047_0         364 KB
    libssh2-1.8.2              |       h1ba5d50_0         250 KB
    libtiff-4.0.10             |       h2733197_2         604 KB
    libuuid-1.0.3              |       h1bed415_2          16 KB
    libxcb-1.13                |       h1bed415_1         502 KB
    libxml2-2.9.9              |       he19cac6_0         2.0 MB
    make-4.2.1                 |       h1bed415_1         429 KB
    openssl-1.1.1c             |       h7b6447c_1         3.8 MB
    pango-1.42.4               |       h049681c_0         528 KB
    pcre-8.43                  |       he6710b0_0         260 KB
    pixman-0.38.0              |       h7b6447c_0         618 KB
    r-askpass-1.0              |    r36h14c3975_0          27 KB
    r-assertthat-0.2.1         |    r36h6115d3f_0          74 KB
    r-backports-1.1.4          |    r36h96ca727_0          65 KB
    r-base-3.6.0               |       hce969dd_0        39.4 MB
    r-callr-3.2.0              |    r36h6115d3f_0         270 KB
    r-cli-1.1.0                |    r36h6115d3f_0         189 KB
    r-clipr-0.6.0              |    r36h6115d3f_0          66 KB
    r-clisymbols-1.2.0         |    r36h6115d3f_0          25 KB
    r-crayon-1.3.4             |    r36h6115d3f_0         757 KB
    r-curl-3.3                 |    r36h96ca727_0         417 KB
    r-data.table-1.12.2        |    r36h96ca727_0         1.5 MB
    r-desc-1.2.0               |    r36h6115d3f_0         305 KB
    r-devtools-2.0.2           |    r36h6115d3f_0         402 KB
    r-digest-0.6.18            |    r36h96ca727_0         155 KB
    r-fansi-0.4.0              |    r36h96ca727_0         193 KB
    r-fs-1.2.7                 |    r36h29659fb_0         510 KB
    r-gh-1.0.1                 |    r36h6115d3f_0          58 KB
    r-git2r-0.25.2             |    r36h96ca727_0         893 KB
    r-glue-1.3.1               |    r36h96ca727_0         165 KB
    r-httr-1.4.0               |    r36h6115d3f_0         513 KB
    r-ini-0.3.1                |    r36h6115d3f_0          31 KB
    r-jsonlite-1.6             |    r36h96ca727_0         1.0 MB
    r-lattice-0.20_38          |    r36h96ca727_0         1.1 MB
    r-magrittr-1.5             |    r36h6115d3f_4         173 KB
    r-matrix-1.2_17            |    r36h96ca727_0         3.8 MB
    r-memoise-1.1.0            |    r36h6115d3f_0          45 KB
    r-mime-0.6                 |    r36h96ca727_0          50 KB
    r-openssl-1.3              |    r36h96ca727_0         1.2 MB
    r-pillar-1.3.1             |    r36h6115d3f_0         180 KB
    r-pkgbuild-1.0.3           |    r36h6115d3f_0         156 KB
    r-pkgconfig-2.0.2          |    r36h6115d3f_0          25 KB
    r-pkgload-1.0.2            |    r36h29659fb_0         161 KB
    r-praise-1.0.0             |    r36h6115d3f_4          23 KB
    r-prettyunits-1.0.2        |    r36h6115d3f_0          38 KB
    r-processx-3.3.0           |    r36h96ca727_0         190 KB
    r-ps-1.3.0                 |    r36h96ca727_0         221 KB
    r-purrr-0.3.2              |    r36h96ca727_0         397 KB
    r-r6-2.4.0                 |    r36h6115d3f_0          68 KB
    r-rcmdcheck-1.3.2          |    r36h6115d3f_0         1.4 MB
    r-rcpp-1.0.1               |    r36h29659fb_0         3.3 MB
    r-remotes-2.0.4            |    r36h6115d3f_0         333 KB
    r-rlang-0.3.4              |    r36h96ca727_0         1.0 MB
    r-rprojroot-1.3_2          |    r36h6115d3f_0          98 KB
    r-rstudioapi-0.10          |    r36h6115d3f_0         240 KB
    r-sessioninfo-1.1.1        |    r36h6115d3f_0          59 KB
    r-sys-3.2                  |    r36h96ca727_0          47 KB
    r-testthat-2.1.1           |    r36h29659fb_0         1.1 MB
    r-tibble-2.1.1             |    r36h96ca727_0         316 KB
    r-usethis-1.5.0            |    r36h6115d3f_0         720 KB
    r-utf8-1.1.4               |    r36h96ca727_0         159 KB
    r-whisker-0.3_2            |    r36h6115d3f_4          82 KB
    r-withr-2.1.2              |    r36h6115d3f_0         181 KB
    r-xopen-1.0.0              |    r36h6115d3f_0          30 KB
    r-yaml-2.2.0               |    r36h96ca727_0         113 KB
    rhash-1.3.8                |       h1ba5d50_0         235 KB
    tktable-2.10               |       h14c3975_0          88 KB
    xz-5.2.4                   |       h14c3975_4         366 KB
    zstd-1.3.7                 |       h0b5b093_0         887 KB
    ------------------------------------------------------------
                                           Total:       235.5 MB

The following NEW packages will be INSTALLED:

  _r-mutex           pkgs/r/linux-64::_r-mutex-1.0.0-anacondar_1
  binutils_impl_lin~ pkgs/main/linux-64::binutils_impl_linux-64-2.28.1-had2808c_3
  binutils_linux-64  pkgs/main/linux-64::binutils_linux-64-7.2.0-had2808c_27
  bwidget            pkgs/main/linux-64::bwidget-1.9.11-1
  bzip2              pkgs/main/linux-64::bzip2-1.0.6-h14c3975_5
  ca-certificates    pkgs/main/linux-64::ca-certificates-2019.5.15-0
  cairo              pkgs/main/linux-64::cairo-1.14.12-h8948797_3
  cmake              pkgs/main/linux-64::cmake-3.14.0-h52cb24c_0
  curl               pkgs/main/linux-64::curl-7.64.1-hbc83047_0
  expat              pkgs/main/linux-64::expat-2.2.6-he6710b0_0
  fontconfig         pkgs/main/linux-64::fontconfig-2.13.0-h9420a91_0
  freetype           pkgs/main/linux-64::freetype-2.9.1-h8a8886c_1
  fribidi            pkgs/main/linux-64::fribidi-1.0.5-h7b6447c_0
  gcc_impl_linux-64  pkgs/main/linux-64::gcc_impl_linux-64-7.2.0-habb00fd_3
  gcc_linux-64       pkgs/main/linux-64::gcc_linux-64-7.2.0-h550dcbe_27
  gfortran_impl_lin~ pkgs/main/linux-64::gfortran_impl_linux-64-7.2.0-hdf63c60_3
  gfortran_linux-64  pkgs/main/linux-64::gfortran_linux-64-7.2.0-h550dcbe_27
  glib               pkgs/main/linux-64::glib-2.56.2-hd408876_0
  graphite2          pkgs/main/linux-64::graphite2-1.3.13-h23475e2_0
  gxx_impl_linux-64  pkgs/main/linux-64::gxx_impl_linux-64-7.2.0-hdf63c60_3
  gxx_linux-64       pkgs/main/linux-64::gxx_linux-64-7.2.0-h550dcbe_27
  harfbuzz           pkgs/main/linux-64::harfbuzz-1.8.8-hffaf4a1_0
  icu                pkgs/main/linux-64::icu-58.2-h9c2bf20_1
  jpeg               pkgs/main/linux-64::jpeg-9b-h024ee3a_2
  krb5               pkgs/main/linux-64::krb5-1.16.1-h173b8e3_7
  libcurl            pkgs/main/linux-64::libcurl-7.64.1-h20c2e04_0
  libedit            pkgs/main/linux-64::libedit-3.1.20181209-hc058e9b_0
  libffi             pkgs/main/linux-64::libffi-3.2.1-hd88cf55_4
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-8.2.0-hdf63c60_1
  libgfortran-ng     pkgs/main/linux-64::libgfortran-ng-7.3.0-hdf63c60_0
  libpng             pkgs/main/linux-64::libpng-1.6.37-hbc83047_0
  libssh2            pkgs/main/linux-64::libssh2-1.8.2-h1ba5d50_0
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-8.2.0-hdf63c60_1
  libtiff            pkgs/main/linux-64::libtiff-4.0.10-h2733197_2
  libuuid            pkgs/main/linux-64::libuuid-1.0.3-h1bed415_2
  libxcb             pkgs/main/linux-64::libxcb-1.13-h1bed415_1
  libxml2            pkgs/main/linux-64::libxml2-2.9.9-he19cac6_0
  make               pkgs/main/linux-64::make-4.2.1-h1bed415_1
  ncurses            pkgs/main/linux-64::ncurses-6.1-he6710b0_1
  openssl            pkgs/main/linux-64::openssl-1.1.1c-h7b6447c_1
  pango              pkgs/main/linux-64::pango-1.42.4-h049681c_0
  pcre               pkgs/main/linux-64::pcre-8.43-he6710b0_0
  pixman             pkgs/main/linux-64::pixman-0.38.0-h7b6447c_0
  r-askpass          pkgs/main/linux-64::r-askpass-1.0-r36h14c3975_0
  r-assertthat       pkgs/main/noarch::r-assertthat-0.2.1-r36h6115d3f_0
  r-backports        pkgs/main/linux-64::r-backports-1.1.4-r36h96ca727_0
  r-base             pkgs/main/linux-64::r-base-3.6.0-hce969dd_0
  r-callr            pkgs/main/noarch::r-callr-3.2.0-r36h6115d3f_0
  r-cli              pkgs/main/noarch::r-cli-1.1.0-r36h6115d3f_0
  r-clipr            pkgs/main/noarch::r-clipr-0.6.0-r36h6115d3f_0
  r-clisymbols       pkgs/main/noarch::r-clisymbols-1.2.0-r36h6115d3f_0
  r-crayon           pkgs/main/noarch::r-crayon-1.3.4-r36h6115d3f_0
  r-curl             pkgs/main/linux-64::r-curl-3.3-r36h96ca727_0
  r-data.table       pkgs/main/linux-64::r-data.table-1.12.2-r36h96ca727_0
  r-desc             pkgs/main/noarch::r-desc-1.2.0-r36h6115d3f_0
  r-devtools         pkgs/main/noarch::r-devtools-2.0.2-r36h6115d3f_0
  r-digest           pkgs/main/linux-64::r-digest-0.6.18-r36h96ca727_0
  r-fansi            pkgs/main/linux-64::r-fansi-0.4.0-r36h96ca727_0
  r-fs               pkgs/main/linux-64::r-fs-1.2.7-r36h29659fb_0
  r-gh               pkgs/main/noarch::r-gh-1.0.1-r36h6115d3f_0
  r-git2r            pkgs/main/linux-64::r-git2r-0.25.2-r36h96ca727_0
  r-glue             pkgs/main/linux-64::r-glue-1.3.1-r36h96ca727_0
  r-httr             pkgs/main/noarch::r-httr-1.4.0-r36h6115d3f_0
  r-ini              pkgs/main/noarch::r-ini-0.3.1-r36h6115d3f_0
  r-jsonlite         pkgs/main/linux-64::r-jsonlite-1.6-r36h96ca727_0
  r-lattice          pkgs/main/linux-64::r-lattice-0.20_38-r36h96ca727_0
  r-magrittr         pkgs/main/noarch::r-magrittr-1.5-r36h6115d3f_4
  r-matrix           pkgs/main/linux-64::r-matrix-1.2_17-r36h96ca727_0
  r-memoise          pkgs/main/noarch::r-memoise-1.1.0-r36h6115d3f_0
  r-mime             pkgs/main/linux-64::r-mime-0.6-r36h96ca727_0
  r-openssl          pkgs/main/linux-64::r-openssl-1.3-r36h96ca727_0
  r-pillar           pkgs/main/noarch::r-pillar-1.3.1-r36h6115d3f_0
  r-pkgbuild         pkgs/main/noarch::r-pkgbuild-1.0.3-r36h6115d3f_0
  r-pkgconfig        pkgs/main/noarch::r-pkgconfig-2.0.2-r36h6115d3f_0
  r-pkgload          pkgs/main/linux-64::r-pkgload-1.0.2-r36h29659fb_0
  r-praise           pkgs/main/noarch::r-praise-1.0.0-r36h6115d3f_4
  r-prettyunits      pkgs/main/noarch::r-prettyunits-1.0.2-r36h6115d3f_0
  r-processx         pkgs/main/linux-64::r-processx-3.3.0-r36h96ca727_0
  r-ps               pkgs/main/linux-64::r-ps-1.3.0-r36h96ca727_0
  r-purrr            pkgs/main/linux-64::r-purrr-0.3.2-r36h96ca727_0
  r-r6               pkgs/main/noarch::r-r6-2.4.0-r36h6115d3f_0
  r-rcmdcheck        pkgs/main/noarch::r-rcmdcheck-1.3.2-r36h6115d3f_0
  r-rcpp             pkgs/main/linux-64::r-rcpp-1.0.1-r36h29659fb_0
  r-remotes          pkgs/main/noarch::r-remotes-2.0.4-r36h6115d3f_0
  r-rlang            pkgs/main/linux-64::r-rlang-0.3.4-r36h96ca727_0
  r-rprojroot        pkgs/main/noarch::r-rprojroot-1.3_2-r36h6115d3f_0
  r-rstudioapi       pkgs/main/noarch::r-rstudioapi-0.10-r36h6115d3f_0
  r-sessioninfo      pkgs/main/noarch::r-sessioninfo-1.1.1-r36h6115d3f_0
  r-sys              pkgs/main/linux-64::r-sys-3.2-r36h96ca727_0
  r-testthat         pkgs/main/linux-64::r-testthat-2.1.1-r36h29659fb_0
  r-tibble           pkgs/main/linux-64::r-tibble-2.1.1-r36h96ca727_0
  r-usethis          pkgs/main/noarch::r-usethis-1.5.0-r36h6115d3f_0
  r-utf8             pkgs/main/linux-64::r-utf8-1.1.4-r36h96ca727_0
  r-whisker          pkgs/main/noarch::r-whisker-0.3_2-r36h6115d3f_4
  r-withr            pkgs/main/noarch::r-withr-2.1.2-r36h6115d3f_0
  r-xopen            pkgs/main/noarch::r-xopen-1.0.0-r36h6115d3f_0
  r-yaml             pkgs/main/linux-64::r-yaml-2.2.0-r36h96ca727_0
  readline           pkgs/main/linux-64::readline-7.0-h7b6447c_5
  rhash              pkgs/main/linux-64::rhash-1.3.8-h1ba5d50_0
  tk                 pkgs/main/linux-64::tk-8.6.8-hbc83047_0
  tktable            pkgs/main/linux-64::tktable-2.10-h14c3975_0
  xz                 pkgs/main/linux-64::xz-5.2.4-h14c3975_4
  zlib               pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3
  zstd               pkgs/main/linux-64::zstd-1.3.7-h0b5b093_0


Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Collecting package metadata: ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /home/docs/.conda/envs/r_env

  added / updated specs:
    - r-pkgdown


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2019.3.9   |       hecc5488_0         146 KB  conda-forge
    gsl-2.4                    |    h294904e_1006         2.6 MB  conda-forge
    libblas-3.8.0              |       7_openblas           6 KB  conda-forge
    libcblas-3.8.0             |       7_openblas           6 KB  conda-forge
    openblas-0.3.5             |    h9ac9557_1001        15.8 MB  conda-forge
    openssl-1.1.1b             |       h14c3975_1         4.0 MB  conda-forge
    pandoc-2.7.2               |                0        21.7 MB  conda-forge
    r-askpass-1.1              |   r351h96ca727_0          27 KB  conda-forge
    r-assertthat-0.2.1         |   r351h6115d3f_0          69 KB  conda-forge
    r-backports-1.1.4          |   r351hcdcec82_0          65 KB  conda-forge
    r-base-3.5.1               |       h1e0a451_2        39.8 MB
    r-base64enc-0.1_3          |r351h96ca727_1002          43 KB  conda-forge
    r-bitops-1.0_6             |r351h96ca727_1002          39 KB  conda-forge
    r-brew-1.0_6               |r351h6115d3f_1001          92 KB  conda-forge
    r-callr-3.2.0              |   r351h6115d3f_0         254 KB  conda-forge
    r-cli-1.1.0                |   r351h6115d3f_0         177 KB  conda-forge
    r-clipr-0.6.0              |   r351h6115d3f_0          62 KB  conda-forge
    r-clisymbols-1.2.0         |r351h6115d3f_1001          23 KB  conda-forge
    r-commonmark-1.7           |r351h96ca727_1000         157 KB  conda-forge
    r-crayon-1.3.4             |r351h6115d3f_1001         745 KB  conda-forge
    r-curl-3.3                 |   r351h96ca727_0         408 KB  conda-forge
    r-data.table-1.12.2        |   r351hcdcec82_0         1.5 MB  conda-forge
    r-desc-1.2.0               |r351h6115d3f_1001         278 KB  conda-forge
    r-devtools-2.0.2           |   r351h6115d3f_0         380 KB  conda-forge
    r-digest-0.6.19            |   r351h0357c0b_0         164 KB  conda-forge
    r-evaluate-0.14            |    r35h6115d3f_0          79 KB  conda-forge
    r-fansi-0.4.0              |r351h96ca727_1000         192 KB  conda-forge
    r-fs-1.3.1                 |   r351h0357c0b_0         527 KB  conda-forge
    r-gh-1.0.1                 |r351h6115d3f_1001          52 KB  conda-forge
    r-git2r-0.25.2             |   r351h5ca76e2_0         881 KB  conda-forge
    r-glue-1.3.1               |   r351hcdcec82_0         164 KB  conda-forge
    r-highlight-0.4.7.2        |r351h29659fb_1001         554 KB  conda-forge
    r-highr-0.8                |   r351h6115d3f_0          47 KB  conda-forge
    r-htmltools-0.3.6          |r351hf484d3e_1002         177 KB  conda-forge
    r-httr-1.4.0               |r351h6115d3f_1000         453 KB  conda-forge
    r-ini-0.3.1                |r351h6115d3f_1001          29 KB  conda-forge
    r-jsonlite-1.6             |r351h96ca727_1000         1.0 MB  conda-forge
    r-knitr-1.23               |   r351h6115d3f_0         1.2 MB  conda-forge
    r-lattice-0.20_38          |r351h96ca727_1000         1.1 MB  conda-forge
    r-magrittr-1.5             |r351h6115d3f_1001         165 KB  conda-forge
    r-markdown-0.9             |r351h96ca727_1000         143 KB  conda-forge
    r-mass-7.3_51.4            |   r351hcdcec82_0         1.1 MB  conda-forge
    r-matrix-1.2_17            |   r351hcdcec82_0         3.7 MB  conda-forge
    r-memoise-1.1.0            |r351h6115d3f_1001          41 KB  conda-forge
    r-mime-0.6                 |r351h96ca727_1000          51 KB  conda-forge
    r-openssl-1.3              |   r351h9c8475f_0         1.1 MB  conda-forge
    r-packrat-0.5.0            |r351h6115d3f_1000         455 KB  conda-forge
    r-pillar-1.4.1             |       h6115d3f_0         192 KB  conda-forge
    r-pkgbuild-1.0.3           |   r351h6115d3f_0         148 KB  conda-forge
    r-pkgconfig-2.0.2          |r351h6115d3f_1001          24 KB  conda-forge
    r-pkgdown-1.3.0            |r351h6115d3f_1000         497 KB  conda-forge
    r-pkgload-1.0.2            |r351h29659fb_1000         159 KB  conda-forge
    r-praise-1.0.0             |r351h6115d3f_1001          22 KB  conda-forge
    r-prettyunits-1.0.2        |r351h6115d3f_1001          35 KB  conda-forge
    r-processx-3.3.1           |   r351hcdcec82_0         191 KB  conda-forge
    r-ps-1.3.0                 |r351h96ca727_1000         222 KB  conda-forge
    r-purrr-0.3.2              |   r351hcdcec82_0         399 KB  conda-forge
    r-r6-2.4.0                 |   r351h6115d3f_0          62 KB  conda-forge
    r-rcmdcheck-1.3.3          |   r351h6115d3f_0         136 KB  conda-forge
    r-rcpp-1.0.1               |   r351h0357c0b_0         3.3 MB  conda-forge
    r-rcurl-1.95_4.12          |   r351hcdcec82_0         861 KB  conda-forge
    r-rematch2-2.0.1           |r351h6115d3f_1001          47 KB  conda-forge
    r-remotes-2.0.4            |   r351h6115d3f_0         322 KB  conda-forge
    r-rlang-0.3.4              |   r351hcdcec82_0         1.0 MB  conda-forge
    r-rmarkdown-1.12           |   r351h6115d3f_0         3.0 MB  conda-forge
    r-roxygen2-6.1.1           |r351h29659fb_1000         479 KB  conda-forge
    r-rprojroot-1.3_2          |r351h6115d3f_1001          93 KB  conda-forge
    r-rsconnect-0.8.13         |   r351h6115d3f_0         527 KB  conda-forge
    r-rstudioapi-0.10          |   r351h6115d3f_0         218 KB  conda-forge
    r-sessioninfo-1.1.1        |r351h6115d3f_1000          56 KB  conda-forge
    r-stringi-1.4.3            |   r351h0357c0b_0         768 KB  conda-forge
    r-stringr-1.4.0            |   r351h6115d3f_0         207 KB  conda-forge
    r-sys-3.2                  |   r351hcdcec82_0          46 KB  conda-forge
    r-testthat-2.1.1           |   r351h0357c0b_0         1.1 MB  conda-forge
    r-tibble-2.1.1             |   r351hcdcec82_0         313 KB  conda-forge
    r-tinytex-0.13             |   r351h6115d3f_0         100 KB  conda-forge
    r-usethis-1.5.0            |   r351h6115d3f_0         690 KB  conda-forge
    r-utf8-1.1.4               |r351h96ca727_1000         159 KB  conda-forge
    r-vctrs-0.1.0              |r351h96ca727_1000         607 KB  conda-forge
    r-whisker-0.3_2            |r351h6115d3f_1001          78 KB  conda-forge
    r-withr-2.1.2              |r351h6115d3f_1000         173 KB  conda-forge
    r-xfun-0.7                 |   r351h6115d3f_0         174 KB  conda-forge
    r-xml2-1.2.0               |r351h29659fb_1002         339 KB  conda-forge
    r-xopen-1.0.0              |r351h6115d3f_1000          28 KB  conda-forge
    r-yaml-2.2.0               |r351h96ca727_1001         112 KB  conda-forge
    r-zeallot-0.1.0            |r351h6115d3f_1000          61 KB  conda-forge
    xorg-kbproto-1.0.7         |    h14c3975_1002          26 KB  conda-forge
    xorg-libice-1.0.9          |    h516909a_1004          58 KB  conda-forge
    xorg-libsm-1.2.2           |       h470a237_5          24 KB  conda-forge
    xorg-libx11-1.6.7          |    h14c3975_1000         940 KB  conda-forge
    xorg-libxext-1.3.4         |       h516909a_0          51 KB  conda-forge
    xorg-libxrender-0.9.10     |    h516909a_1002          31 KB  conda-forge
    xorg-renderproto-0.11.1    |    h14c3975_1002           8 KB  conda-forge
    xorg-xextproto-7.3.0       |    h14c3975_1002          27 KB  conda-forge
    xorg-xproto-7.0.31         |    h14c3975_1007          72 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       119.7 MB

The following NEW packages will be INSTALLED:

  gsl                conda-forge/linux-64::gsl-2.4-h294904e_1006
  libblas            conda-forge/linux-64::libblas-3.8.0-7_openblas
  libcblas           conda-forge/linux-64::libcblas-3.8.0-7_openblas
  openblas           conda-forge/linux-64::openblas-0.3.5-h9ac9557_1001
  pandoc             conda-forge/linux-64::pandoc-2.7.2-0
  r-base64enc        conda-forge/linux-64::r-base64enc-0.1_3-r351h96ca727_1002
  r-bitops           conda-forge/linux-64::r-bitops-1.0_6-r351h96ca727_1002
  r-brew             conda-forge/noarch::r-brew-1.0_6-r351h6115d3f_1001
  r-commonmark       conda-forge/linux-64::r-commonmark-1.7-r351h96ca727_1000
  r-evaluate         conda-forge/noarch::r-evaluate-0.14-r35h6115d3f_0
  r-highlight        conda-forge/linux-64::r-highlight-0.4.7.2-r351h29659fb_1001
  r-highr            conda-forge/noarch::r-highr-0.8-r351h6115d3f_0
  r-htmltools        conda-forge/linux-64::r-htmltools-0.3.6-r351hf484d3e_1002
  r-knitr            conda-forge/noarch::r-knitr-1.23-r351h6115d3f_0
  r-markdown         conda-forge/linux-64::r-markdown-0.9-r351h96ca727_1000
  r-mass             conda-forge/linux-64::r-mass-7.3_51.4-r351hcdcec82_0
  r-packrat          conda-forge/noarch::r-packrat-0.5.0-r351h6115d3f_1000
  r-pkgdown          conda-forge/noarch::r-pkgdown-1.3.0-r351h6115d3f_1000
  r-rcurl            conda-forge/linux-64::r-rcurl-1.95_4.12-r351hcdcec82_0
  r-rematch2         conda-forge/noarch::r-rematch2-2.0.1-r351h6115d3f_1001
  r-rmarkdown        conda-forge/noarch::r-rmarkdown-1.12-r351h6115d3f_0
  r-roxygen2         conda-forge/linux-64::r-roxygen2-6.1.1-r351h29659fb_1000
  r-rsconnect        conda-forge/noarch::r-rsconnect-0.8.13-r351h6115d3f_0
  r-stringi          conda-forge/linux-64::r-stringi-1.4.3-r351h0357c0b_0
  r-stringr          conda-forge/noarch::r-stringr-1.4.0-r351h6115d3f_0
  r-tinytex          conda-forge/noarch::r-tinytex-0.13-r351h6115d3f_0
  r-vctrs            conda-forge/linux-64::r-vctrs-0.1.0-r351h96ca727_1000
  r-xfun             conda-forge/noarch::r-xfun-0.7-r351h6115d3f_0
  r-xml2             conda-forge/linux-64::r-xml2-1.2.0-r351h29659fb_1002
  r-zeallot          conda-forge/noarch::r-zeallot-0.1.0-r351h6115d3f_1000
  xorg-kbproto       conda-forge/linux-64::xorg-kbproto-1.0.7-h14c3975_1002
  xorg-libice        conda-forge/linux-64::xorg-libice-1.0.9-h516909a_1004
  xorg-libsm         conda-forge/linux-64::xorg-libsm-1.2.2-h470a237_5
  xorg-libx11        conda-forge/linux-64::xorg-libx11-1.6.7-h14c3975_1000
  xorg-libxext       conda-forge/linux-64::xorg-libxext-1.3.4-h516909a_0
  xorg-libxrender    conda-forge/linux-64::xorg-libxrender-0.9.10-h516909a_1002
  xorg-renderproto   conda-forge/linux-64::xorg-renderproto-0.11.1-h14c3975_1002
  xorg-xextproto     conda-forge/linux-64::xorg-xextproto-7.3.0-h14c3975_1002
  xorg-xproto        conda-forge/linux-64::xorg-xproto-7.0.31-h14c3975_1007

The following packages will be UPDATED:

  r-askpass          pkgs/main::r-askpass-1.0-r36h14c3975_0 --> conda-forge::r-askpass-1.1-r351h96ca727_0
  r-clisymbols       pkgs/main::r-clisymbols-1.2.0-r36h611~ --> conda-forge::r-clisymbols-1.2.0-r351h6115d3f_1001
  r-crayon           pkgs/main::r-crayon-1.3.4-r36h6115d3f~ --> conda-forge::r-crayon-1.3.4-r351h6115d3f_1001
  r-desc              pkgs/main::r-desc-1.2.0-r36h6115d3f_0 --> conda-forge::r-desc-1.2.0-r351h6115d3f_1001
  r-digest           pkgs/main::r-digest-0.6.18-r36h96ca72~ --> conda-forge::r-digest-0.6.19-r351h0357c0b_0
  r-fansi            pkgs/main::r-fansi-0.4.0-r36h96ca727_0 --> conda-forge::r-fansi-0.4.0-r351h96ca727_1000
  r-fs                  pkgs/main::r-fs-1.2.7-r36h29659fb_0 --> conda-forge::r-fs-1.3.1-r351h0357c0b_0
  r-gh                  pkgs/main::r-gh-1.0.1-r36h6115d3f_0 --> conda-forge::r-gh-1.0.1-r351h6115d3f_1001
  r-httr              pkgs/main::r-httr-1.4.0-r36h6115d3f_0 --> conda-forge::r-httr-1.4.0-r351h6115d3f_1000
  r-ini                pkgs/main::r-ini-0.3.1-r36h6115d3f_0 --> conda-forge::r-ini-0.3.1-r351h6115d3f_1001
  r-jsonlite         pkgs/main::r-jsonlite-1.6-r36h96ca727~ --> conda-forge::r-jsonlite-1.6-r351h96ca727_1000
  r-lattice          pkgs/main::r-lattice-0.20_38-r36h96ca~ --> conda-forge::r-lattice-0.20_38-r351h96ca727_1000
  r-magrittr         pkgs/main::r-magrittr-1.5-r36h6115d3f~ --> conda-forge::r-magrittr-1.5-r351h6115d3f_1001
  r-memoise          pkgs/main::r-memoise-1.1.0-r36h6115d3~ --> conda-forge::r-memoise-1.1.0-r351h6115d3f_1001
  r-mime                pkgs/main::r-mime-0.6-r36h96ca727_0 --> conda-forge::r-mime-0.6-r351h96ca727_1000
  r-pillar           pkgs/main::r-pillar-1.3.1-r36h6115d3f~ --> conda-forge::r-pillar-1.4.1-h6115d3f_0
  r-pkgconfig        pkgs/main::r-pkgconfig-2.0.2-r36h6115~ --> conda-forge::r-pkgconfig-2.0.2-r351h6115d3f_1001
  r-pkgload          pkgs/main::r-pkgload-1.0.2-r36h29659f~ --> conda-forge::r-pkgload-1.0.2-r351h29659fb_1000
  r-praise           pkgs/main::r-praise-1.0.0-r36h6115d3f~ --> conda-forge::r-praise-1.0.0-r351h6115d3f_1001
  r-prettyunits      pkgs/main::r-prettyunits-1.0.2-r36h61~ --> conda-forge::r-prettyunits-1.0.2-r351h6115d3f_1001
  r-processx         pkgs/main::r-processx-3.3.0-r36h96ca7~ --> conda-forge::r-processx-3.3.1-r351hcdcec82_0
  r-ps                  pkgs/main::r-ps-1.3.0-r36h96ca727_0 --> conda-forge::r-ps-1.3.0-r351h96ca727_1000
  r-rcmdcheck        pkgs/main::r-rcmdcheck-1.3.2-r36h6115~ --> conda-forge::r-rcmdcheck-1.3.3-r351h6115d3f_0
  r-rprojroot        pkgs/main::r-rprojroot-1.3_2-r36h6115~ --> conda-forge::r-rprojroot-1.3_2-r351h6115d3f_1001
  r-sessioninfo      pkgs/main::r-sessioninfo-1.1.1-r36h61~ --> conda-forge::r-sessioninfo-1.1.1-r351h6115d3f_1000
  r-utf8              pkgs/main::r-utf8-1.1.4-r36h96ca727_0 --> conda-forge::r-utf8-1.1.4-r351h96ca727_1000
  r-whisker          pkgs/main::r-whisker-0.3_2-r36h6115d3~ --> conda-forge::r-whisker-0.3_2-r351h6115d3f_1001
  r-withr            pkgs/main::r-withr-2.1.2-r36h6115d3f_0 --> conda-forge::r-withr-2.1.2-r351h6115d3f_1000
  r-xopen            pkgs/main::r-xopen-1.0.0-r36h6115d3f_0 --> conda-forge::r-xopen-1.0.0-r351h6115d3f_1000
  r-yaml              pkgs/main::r-yaml-2.2.0-r36h96ca727_0 --> conda-forge::r-yaml-2.2.0-r351h96ca727_1001

The following packages will be SUPERSEDED by a higher-priority channel:

  ca-certificates    pkgs/main::ca-certificates-2019.5.15-0 --> conda-forge::ca-certificates-2019.3.9-hecc5488_0
  openssl              pkgs/main::openssl-1.1.1c-h7b6447c_1 --> conda-forge::openssl-1.1.1b-h14c3975_1
  r-assertthat       pkgs/main::r-assertthat-0.2.1-r36h611~ --> conda-forge::r-assertthat-0.2.1-r351h6115d3f_0
  r-backports        pkgs/main::r-backports-1.1.4-r36h96ca~ --> conda-forge::r-backports-1.1.4-r351hcdcec82_0
  r-base                 pkgs/main::r-base-3.6.0-hce969dd_0 --> pkgs/r::r-base-3.5.1-h1e0a451_2
  r-callr            pkgs/main::r-callr-3.2.0-r36h6115d3f_0 --> conda-forge::r-callr-3.2.0-r351h6115d3f_0
  r-cli                pkgs/main::r-cli-1.1.0-r36h6115d3f_0 --> conda-forge::r-cli-1.1.0-r351h6115d3f_0
  r-clipr            pkgs/main::r-clipr-0.6.0-r36h6115d3f_0 --> conda-forge::r-clipr-0.6.0-r351h6115d3f_0
  r-curl                pkgs/main::r-curl-3.3-r36h96ca727_0 --> conda-forge::r-curl-3.3-r351h96ca727_0
  r-data.table       pkgs/main::r-data.table-1.12.2-r36h96~ --> conda-forge::r-data.table-1.12.2-r351hcdcec82_0
  r-devtools         pkgs/main::r-devtools-2.0.2-r36h6115d~ --> conda-forge::r-devtools-2.0.2-r351h6115d3f_0
  r-git2r            pkgs/main::r-git2r-0.25.2-r36h96ca727~ --> conda-forge::r-git2r-0.25.2-r351h5ca76e2_0
  r-glue              pkgs/main::r-glue-1.3.1-r36h96ca727_0 --> conda-forge::r-glue-1.3.1-r351hcdcec82_0
  r-matrix           pkgs/main::r-matrix-1.2_17-r36h96ca72~ --> conda-forge::r-matrix-1.2_17-r351hcdcec82_0
  r-openssl          pkgs/main::r-openssl-1.3-r36h96ca727_0 --> conda-forge::r-openssl-1.3-r351h9c8475f_0
  r-pkgbuild         pkgs/main::r-pkgbuild-1.0.3-r36h6115d~ --> conda-forge::r-pkgbuild-1.0.3-r351h6115d3f_0
  r-purrr            pkgs/main::r-purrr-0.3.2-r36h96ca727_0 --> conda-forge::r-purrr-0.3.2-r351hcdcec82_0
  r-r6                  pkgs/main::r-r6-2.4.0-r36h6115d3f_0 --> conda-forge::r-r6-2.4.0-r351h6115d3f_0
  r-rcpp              pkgs/main::r-rcpp-1.0.1-r36h29659fb_0 --> conda-forge::r-rcpp-1.0.1-r351h0357c0b_0
  r-remotes          pkgs/main::r-remotes-2.0.4-r36h6115d3~ --> conda-forge::r-remotes-2.0.4-r351h6115d3f_0
  r-rlang            pkgs/main::r-rlang-0.3.4-r36h96ca727_0 --> conda-forge::r-rlang-0.3.4-r351hcdcec82_0
  r-rstudioapi       pkgs/main::r-rstudioapi-0.10-r36h6115~ --> conda-forge::r-rstudioapi-0.10-r351h6115d3f_0
  r-sys                  pkgs/main::r-sys-3.2-r36h96ca727_0 --> conda-forge::r-sys-3.2-r351hcdcec82_0
  r-testthat         pkgs/main::r-testthat-2.1.1-r36h29659~ --> conda-forge::r-testthat-2.1.1-r351h0357c0b_0
  r-tibble           pkgs/main::r-tibble-2.1.1-r36h96ca727~ --> conda-forge::r-tibble-2.1.1-r351hcdcec82_0
  r-usethis          pkgs/main::r-usethis-1.5.0-r36h6115d3~ --> conda-forge::r-usethis-1.5.0-r351h6115d3f_0


Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Writing NAMESPACE

Updating lightgbm documentation
Updating roxygen version in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/DESCRIPTION
Loading lightgbm
Loading required package: R6
Error in getDLLRegisteredRoutines.DLLInfo(dll, addNames = FALSE) : 
  must specify DLL via a “DLLInfo” object. See getLoadedDLLs()
Calls: <Anonymous> ... assignNativeRoutines -> getDLLRegisteredRoutines.DLLInfo
Execution halted


Exception occurred:
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/docs/conf.py", line 256, in generate_r_docs
    raise Exception("An error has occurred while generating documentation for R-package\n" + str(e))
Exception: An error has occurred while generating documentation for R-package
Collecting package metadata: ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /home/docs/.conda/envs/r_env

  added / updated specs:
    - cmake
    - r-base
    - r-data.table
    - r-devtools
    - r-jsonlite
    - r-magrittr
    - r-matrix
    - r-testthat


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _r-mutex-1.0.0             |      anacondar_1           2 KB
    binutils_impl_linux-64-2.28.1|       had2808c_3        16.1 MB
    binutils_linux-64-7.2.0    |      had2808c_27           8 KB
    bwidget-1.9.11             |                1         113 KB
    bzip2-1.0.6                |       h14c3975_5         414 KB
    ca-certificates-2019.5.15  |                0         133 KB
    cairo-1.14.12              |       h8948797_3         1.3 MB
    cmake-3.14.0               |       h52cb24c_0         9.5 MB
    curl-7.64.1                |       hbc83047_0         138 KB
    expat-2.2.6                |       he6710b0_0         187 KB
    fontconfig-2.13.0          |       h9420a91_0         291 KB
    freetype-2.9.1             |       h8a8886c_1         822 KB
    fribidi-1.0.5              |       h7b6447c_0         112 KB
    gcc_impl_linux-64-7.2.0    |       habb00fd_3        72.4 MB
    gcc_linux-64-7.2.0         |      h550dcbe_27           9 KB
    gfortran_impl_linux-64-7.2.0|       hdf63c60_3         8.9 MB
    gfortran_linux-64-7.2.0    |      h550dcbe_27           9 KB
    glib-2.56.2                |       hd408876_0         5.0 MB
    graphite2-1.3.13           |       h23475e2_0         101 KB
    gxx_impl_linux-64-7.2.0    |       hdf63c60_3        18.6 MB
    gxx_linux-64-7.2.0         |      h550dcbe_27           8 KB
    harfbuzz-1.8.8             |       hffaf4a1_0         863 KB
    icu-58.2                   |       h9c2bf20_1        22.5 MB
    jpeg-9b                    |       h024ee3a_2         248 KB
    krb5-1.16.1                |       h173b8e3_7         1.4 MB
    libcurl-7.64.1             |       h20c2e04_0         582 KB
    libgfortran-ng-7.3.0       |       hdf63c60_0         1.3 MB
    libpng-1.6.37              |       hbc83047_0         364 KB
    libssh2-1.8.2              |       h1ba5d50_0         250 KB
    libtiff-4.0.10             |       h2733197_2         604 KB
    libuuid-1.0.3              |       h1bed415_2          16 KB
    libxcb-1.13                |       h1bed415_1         502 KB
    libxml2-2.9.9              |       he19cac6_0         2.0 MB
    make-4.2.1                 |       h1bed415_1         429 KB
    openssl-1.1.1c             |       h7b6447c_1         3.8 MB
    pango-1.42.4               |       h049681c_0         528 KB
    pcre-8.43                  |       he6710b0_0         260 KB
    pixman-0.38.0              |       h7b6447c_0         618 KB
    r-askpass-1.0              |    r36h14c3975_0          27 KB
    r-assertthat-0.2.1         |    r36h6115d3f_0          74 KB
    r-backports-1.1.4          |    r36h96ca727_0          65 KB
    r-base-3.6.0               |       hce969dd_0        39.4 MB
    r-callr-3.2.0              |    r36h6115d3f_0         270 KB
    r-cli-1.1.0                |    r36h6115d3f_0         189 KB
    r-clipr-0.6.0              |    r36h6115d3f_0          66 KB
    r-clisymbols-1.2.0         |    r36h6115d3f_0          25 KB
    r-crayon-1.3.4             |    r36h6115d3f_0         757 KB
    r-curl-3.3                 |    r36h96ca727_0         417 KB
    r-data.table-1.12.2        |    r36h96ca727_0         1.5 MB
    r-desc-1.2.0               |    r36h6115d3f_0         305 KB
    r-devtools-2.0.2           |    r36h6115d3f_0         402 KB
    r-digest-0.6.18            |    r36h96ca727_0         155 KB
    r-fansi-0.4.0              |    r36h96ca727_0         193 KB
    r-fs-1.2.7                 |    r36h29659fb_0         510 KB
    r-gh-1.0.1                 |    r36h6115d3f_0          58 KB
    r-git2r-0.25.2             |    r36h96ca727_0         893 KB
    r-glue-1.3.1               |    r36h96ca727_0         165 KB
    r-httr-1.4.0               |    r36h6115d3f_0         513 KB
    r-ini-0.3.1                |    r36h6115d3f_0          31 KB
    r-jsonlite-1.6             |    r36h96ca727_0         1.0 MB
    r-lattice-0.20_38          |    r36h96ca727_0         1.1 MB
    r-magrittr-1.5             |    r36h6115d3f_4         173 KB
    r-matrix-1.2_17            |    r36h96ca727_0         3.8 MB
    r-memoise-1.1.0            |    r36h6115d3f_0          45 KB
    r-mime-0.6                 |    r36h96ca727_0          50 KB
    r-openssl-1.3              |    r36h96ca727_0         1.2 MB
    r-pillar-1.3.1             |    r36h6115d3f_0         180 KB
    r-pkgbuild-1.0.3           |    r36h6115d3f_0         156 KB
    r-pkgconfig-2.0.2          |    r36h6115d3f_0          25 KB
    r-pkgload-1.0.2            |    r36h29659fb_0         161 KB
    r-praise-1.0.0             |    r36h6115d3f_4          23 KB
    r-prettyunits-1.0.2        |    r36h6115d3f_0          38 KB
    r-processx-3.3.0           |    r36h96ca727_0         190 KB
    r-ps-1.3.0                 |    r36h96ca727_0         221 KB
    r-purrr-0.3.2              |    r36h96ca727_0         397 KB
    r-r6-2.4.0                 |    r36h6115d3f_0          68 KB
    r-rcmdcheck-1.3.2          |    r36h6115d3f_0         1.4 MB
    r-rcpp-1.0.1               |    r36h29659fb_0         3.3 MB
    r-remotes-2.0.4            |    r36h6115d3f_0         333 KB
    r-rlang-0.3.4              |    r36h96ca727_0         1.0 MB
    r-rprojroot-1.3_2          |    r36h6115d3f_0          98 KB
    r-rstudioapi-0.10          |    r36h6115d3f_0         240 KB
    r-sessioninfo-1.1.1        |    r36h6115d3f_0          59 KB
    r-sys-3.2                  |    r36h96ca727_0          47 KB
    r-testthat-2.1.1           |    r36h29659fb_0         1.1 MB
    r-tibble-2.1.1             |    r36h96ca727_0         316 KB
    r-usethis-1.5.0            |    r36h6115d3f_0         720 KB
    r-utf8-1.1.4               |    r36h96ca727_0         159 KB
    r-whisker-0.3_2            |    r36h6115d3f_4          82 KB
    r-withr-2.1.2              |    r36h6115d3f_0         181 KB
    r-xopen-1.0.0              |    r36h6115d3f_0          30 KB
    r-yaml-2.2.0               |    r36h96ca727_0         113 KB
    rhash-1.3.8                |       h1ba5d50_0         235 KB
    tktable-2.10               |       h14c3975_0          88 KB
    xz-5.2.4                   |       h14c3975_4         366 KB
    zstd-1.3.7                 |       h0b5b093_0         887 KB
    ------------------------------------------------------------
                                           Total:       235.5 MB

The following NEW packages will be INSTALLED:

  _r-mutex           pkgs/r/linux-64::_r-mutex-1.0.0-anacondar_1
  binutils_impl_lin~ pkgs/main/linux-64::binutils_impl_linux-64-2.28.1-had2808c_3
  binutils_linux-64  pkgs/main/linux-64::binutils_linux-64-7.2.0-had2808c_27
  bwidget            pkgs/main/linux-64::bwidget-1.9.11-1
  bzip2              pkgs/main/linux-64::bzip2-1.0.6-h14c3975_5
  ca-certificates    pkgs/main/linux-64::ca-certificates-2019.5.15-0
  cairo              pkgs/main/linux-64::cairo-1.14.12-h8948797_3
  cmake              pkgs/main/linux-64::cmake-3.14.0-h52cb24c_0
  curl               pkgs/main/linux-64::curl-7.64.1-hbc83047_0
  expat              pkgs/main/linux-64::expat-2.2.6-he6710b0_0
  fontconfig         pkgs/main/linux-64::fontconfig-2.13.0-h9420a91_0
  freetype           pkgs/main/linux-64::freetype-2.9.1-h8a8886c_1
  fribidi            pkgs/main/linux-64::fribidi-1.0.5-h7b6447c_0
  gcc_impl_linux-64  pkgs/main/linux-64::gcc_impl_linux-64-7.2.0-habb00fd_3
  gcc_linux-64       pkgs/main/linux-64::gcc_linux-64-7.2.0-h550dcbe_27
  gfortran_impl_lin~ pkgs/main/linux-64::gfortran_impl_linux-64-7.2.0-hdf63c60_3
  gfortran_linux-64  pkgs/main/linux-64::gfortran_linux-64-7.2.0-h550dcbe_27
  glib               pkgs/main/linux-64::glib-2.56.2-hd408876_0
  graphite2          pkgs/main/linux-64::graphite2-1.3.13-h23475e2_0
  gxx_impl_linux-64  pkgs/main/linux-64::gxx_impl_linux-64-7.2.0-hdf63c60_3
  gxx_linux-64       pkgs/main/linux-64::gxx_linux-64-7.2.0-h550dcbe_27
  harfbuzz           pkgs/main/linux-64::harfbuzz-1.8.8-hffaf4a1_0
  icu                pkgs/main/linux-64::icu-58.2-h9c2bf20_1
  jpeg               pkgs/main/linux-64::jpeg-9b-h024ee3a_2
  krb5               pkgs/main/linux-64::krb5-1.16.1-h173b8e3_7
  libcurl            pkgs/main/linux-64::libcurl-7.64.1-h20c2e04_0
  libedit            pkgs/main/linux-64::libedit-3.1.20181209-hc058e9b_0
  libffi             pkgs/main/linux-64::libffi-3.2.1-hd88cf55_4
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-8.2.0-hdf63c60_1
  libgfortran-ng     pkgs/main/linux-64::libgfortran-ng-7.3.0-hdf63c60_0
  libpng             pkgs/main/linux-64::libpng-1.6.37-hbc83047_0
  libssh2            pkgs/main/linux-64::libssh2-1.8.2-h1ba5d50_0
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-8.2.0-hdf63c60_1
  libtiff            pkgs/main/linux-64::libtiff-4.0.10-h2733197_2
  libuuid            pkgs/main/linux-64::libuuid-1.0.3-h1bed415_2
  libxcb             pkgs/main/linux-64::libxcb-1.13-h1bed415_1
  libxml2            pkgs/main/linux-64::libxml2-2.9.9-he19cac6_0
  make               pkgs/main/linux-64::make-4.2.1-h1bed415_1
  ncurses            pkgs/main/linux-64::ncurses-6.1-he6710b0_1
  openssl            pkgs/main/linux-64::openssl-1.1.1c-h7b6447c_1
  pango              pkgs/main/linux-64::pango-1.42.4-h049681c_0
  pcre               pkgs/main/linux-64::pcre-8.43-he6710b0_0
  pixman             pkgs/main/linux-64::pixman-0.38.0-h7b6447c_0
  r-askpass          pkgs/main/linux-64::r-askpass-1.0-r36h14c3975_0
  r-assertthat       pkgs/main/noarch::r-assertthat-0.2.1-r36h6115d3f_0
  r-backports        pkgs/main/linux-64::r-backports-1.1.4-r36h96ca727_0
  r-base             pkgs/main/linux-64::r-base-3.6.0-hce969dd_0
  r-callr            pkgs/main/noarch::r-callr-3.2.0-r36h6115d3f_0
  r-cli              pkgs/main/noarch::r-cli-1.1.0-r36h6115d3f_0
  r-clipr            pkgs/main/noarch::r-clipr-0.6.0-r36h6115d3f_0
  r-clisymbols       pkgs/main/noarch::r-clisymbols-1.2.0-r36h6115d3f_0
  r-crayon           pkgs/main/noarch::r-crayon-1.3.4-r36h6115d3f_0
  r-curl             pkgs/main/linux-64::r-curl-3.3-r36h96ca727_0
  r-data.table       pkgs/main/linux-64::r-data.table-1.12.2-r36h96ca727_0
  r-desc             pkgs/main/noarch::r-desc-1.2.0-r36h6115d3f_0
  r-devtools         pkgs/main/noarch::r-devtools-2.0.2-r36h6115d3f_0
  r-digest           pkgs/main/linux-64::r-digest-0.6.18-r36h96ca727_0
  r-fansi            pkgs/main/linux-64::r-fansi-0.4.0-r36h96ca727_0
  r-fs               pkgs/main/linux-64::r-fs-1.2.7-r36h29659fb_0
  r-gh               pkgs/main/noarch::r-gh-1.0.1-r36h6115d3f_0
  r-git2r            pkgs/main/linux-64::r-git2r-0.25.2-r36h96ca727_0
  r-glue             pkgs/main/linux-64::r-glue-1.3.1-r36h96ca727_0
  r-httr             pkgs/main/noarch::r-httr-1.4.0-r36h6115d3f_0
  r-ini              pkgs/main/noarch::r-ini-0.3.1-r36h6115d3f_0
  r-jsonlite         pkgs/main/linux-64::r-jsonlite-1.6-r36h96ca727_0
  r-lattice          pkgs/main/linux-64::r-lattice-0.20_38-r36h96ca727_0
  r-magrittr         pkgs/main/noarch::r-magrittr-1.5-r36h6115d3f_4
  r-matrix           pkgs/main/linux-64::r-matrix-1.2_17-r36h96ca727_0
  r-memoise          pkgs/main/noarch::r-memoise-1.1.0-r36h6115d3f_0
  r-mime             pkgs/main/linux-64::r-mime-0.6-r36h96ca727_0
  r-openssl          pkgs/main/linux-64::r-openssl-1.3-r36h96ca727_0
  r-pillar           pkgs/main/noarch::r-pillar-1.3.1-r36h6115d3f_0
  r-pkgbuild         pkgs/main/noarch::r-pkgbuild-1.0.3-r36h6115d3f_0
  r-pkgconfig        pkgs/main/noarch::r-pkgconfig-2.0.2-r36h6115d3f_0
  r-pkgload          pkgs/main/linux-64::r-pkgload-1.0.2-r36h29659fb_0
  r-praise           pkgs/main/noarch::r-praise-1.0.0-r36h6115d3f_4
  r-prettyunits      pkgs/main/noarch::r-prettyunits-1.0.2-r36h6115d3f_0
  r-processx         pkgs/main/linux-64::r-processx-3.3.0-r36h96ca727_0
  r-ps               pkgs/main/linux-64::r-ps-1.3.0-r36h96ca727_0
  r-purrr            pkgs/main/linux-64::r-purrr-0.3.2-r36h96ca727_0
  r-r6               pkgs/main/noarch::r-r6-2.4.0-r36h6115d3f_0
  r-rcmdcheck        pkgs/main/noarch::r-rcmdcheck-1.3.2-r36h6115d3f_0
  r-rcpp             pkgs/main/linux-64::r-rcpp-1.0.1-r36h29659fb_0
  r-remotes          pkgs/main/noarch::r-remotes-2.0.4-r36h6115d3f_0
  r-rlang            pkgs/main/linux-64::r-rlang-0.3.4-r36h96ca727_0
  r-rprojroot        pkgs/main/noarch::r-rprojroot-1.3_2-r36h6115d3f_0
  r-rstudioapi       pkgs/main/noarch::r-rstudioapi-0.10-r36h6115d3f_0
  r-sessioninfo      pkgs/main/noarch::r-sessioninfo-1.1.1-r36h6115d3f_0
  r-sys              pkgs/main/linux-64::r-sys-3.2-r36h96ca727_0
  r-testthat         pkgs/main/linux-64::r-testthat-2.1.1-r36h29659fb_0
  r-tibble           pkgs/main/linux-64::r-tibble-2.1.1-r36h96ca727_0
  r-usethis          pkgs/main/noarch::r-usethis-1.5.0-r36h6115d3f_0
  r-utf8             pkgs/main/linux-64::r-utf8-1.1.4-r36h96ca727_0
  r-whisker          pkgs/main/noarch::r-whisker-0.3_2-r36h6115d3f_4
  r-withr            pkgs/main/noarch::r-withr-2.1.2-r36h6115d3f_0
  r-xopen            pkgs/main/noarch::r-xopen-1.0.0-r36h6115d3f_0
  r-yaml             pkgs/main/linux-64::r-yaml-2.2.0-r36h96ca727_0
  readline           pkgs/main/linux-64::readline-7.0-h7b6447c_5
  rhash              pkgs/main/linux-64::rhash-1.3.8-h1ba5d50_0
  tk                 pkgs/main/linux-64::tk-8.6.8-hbc83047_0
  tktable            pkgs/main/linux-64::tktable-2.10-h14c3975_0
  xz                 pkgs/main/linux-64::xz-5.2.4-h14c3975_4
  zlib               pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3
  zstd               pkgs/main/linux-64::zstd-1.3.7-h0b5b093_0


Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Collecting package metadata: ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /home/docs/.conda/envs/r_env

  added / updated specs:
    - r-pkgdown


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2019.3.9   |       hecc5488_0         146 KB  conda-forge
    gsl-2.4                    |    h294904e_1006         2.6 MB  conda-forge
    libblas-3.8.0              |       7_openblas           6 KB  conda-forge
    libcblas-3.8.0             |       7_openblas           6 KB  conda-forge
    openblas-0.3.5             |    h9ac9557_1001        15.8 MB  conda-forge
    openssl-1.1.1b             |       h14c3975_1         4.0 MB  conda-forge
    pandoc-2.7.2               |                0        21.7 MB  conda-forge
    r-askpass-1.1              |   r351h96ca727_0          27 KB  conda-forge
    r-assertthat-0.2.1         |   r351h6115d3f_0          69 KB  conda-forge
    r-backports-1.1.4          |   r351hcdcec82_0          65 KB  conda-forge
    r-base-3.5.1               |       h1e0a451_2        39.8 MB
    r-base64enc-0.1_3          |r351h96ca727_1002          43 KB  conda-forge
    r-bitops-1.0_6             |r351h96ca727_1002          39 KB  conda-forge
    r-brew-1.0_6               |r351h6115d3f_1001          92 KB  conda-forge
    r-callr-3.2.0              |   r351h6115d3f_0         254 KB  conda-forge
    r-cli-1.1.0                |   r351h6115d3f_0         177 KB  conda-forge
    r-clipr-0.6.0              |   r351h6115d3f_0          62 KB  conda-forge
    r-clisymbols-1.2.0         |r351h6115d3f_1001          23 KB  conda-forge
    r-commonmark-1.7           |r351h96ca727_1000         157 KB  conda-forge
    r-crayon-1.3.4             |r351h6115d3f_1001         745 KB  conda-forge
    r-curl-3.3                 |   r351h96ca727_0         408 KB  conda-forge
    r-data.table-1.12.2        |   r351hcdcec82_0         1.5 MB  conda-forge
    r-desc-1.2.0               |r351h6115d3f_1001         278 KB  conda-forge
    r-devtools-2.0.2           |   r351h6115d3f_0         380 KB  conda-forge
    r-digest-0.6.19            |   r351h0357c0b_0         164 KB  conda-forge
    r-evaluate-0.14            |    r35h6115d3f_0          79 KB  conda-forge
    r-fansi-0.4.0              |r351h96ca727_1000         192 KB  conda-forge
    r-fs-1.3.1                 |   r351h0357c0b_0         527 KB  conda-forge
    r-gh-1.0.1                 |r351h6115d3f_1001          52 KB  conda-forge
    r-git2r-0.25.2             |   r351h5ca76e2_0         881 KB  conda-forge
    r-glue-1.3.1               |   r351hcdcec82_0         164 KB  conda-forge
    r-highlight-0.4.7.2        |r351h29659fb_1001         554 KB  conda-forge
    r-highr-0.8                |   r351h6115d3f_0          47 KB  conda-forge
    r-htmltools-0.3.6          |r351hf484d3e_1002         177 KB  conda-forge
    r-httr-1.4.0               |r351h6115d3f_1000         453 KB  conda-forge
    r-ini-0.3.1                |r351h6115d3f_1001          29 KB  conda-forge
    r-jsonlite-1.6             |r351h96ca727_1000         1.0 MB  conda-forge
    r-knitr-1.23               |   r351h6115d3f_0         1.2 MB  conda-forge
    r-lattice-0.20_38          |r351h96ca727_1000         1.1 MB  conda-forge
    r-magrittr-1.5             |r351h6115d3f_1001         165 KB  conda-forge
    r-markdown-0.9             |r351h96ca727_1000         143 KB  conda-forge
    r-mass-7.3_51.4            |   r351hcdcec82_0         1.1 MB  conda-forge
    r-matrix-1.2_17            |   r351hcdcec82_0         3.7 MB  conda-forge
    r-memoise-1.1.0            |r351h6115d3f_1001          41 KB  conda-forge
    r-mime-0.6                 |r351h96ca727_1000          51 KB  conda-forge
    r-openssl-1.3              |   r351h9c8475f_0         1.1 MB  conda-forge
    r-packrat-0.5.0            |r351h6115d3f_1000         455 KB  conda-forge
    r-pillar-1.4.1             |       h6115d3f_0         192 KB  conda-forge
    r-pkgbuild-1.0.3           |   r351h6115d3f_0         148 KB  conda-forge
    r-pkgconfig-2.0.2          |r351h6115d3f_1001          24 KB  conda-forge
    r-pkgdown-1.3.0            |r351h6115d3f_1000         497 KB  conda-forge
    r-pkgload-1.0.2            |r351h29659fb_1000         159 KB  conda-forge
    r-praise-1.0.0             |r351h6115d3f_1001          22 KB  conda-forge
    r-prettyunits-1.0.2        |r351h6115d3f_1001          35 KB  conda-forge
    r-processx-3.3.1           |   r351hcdcec82_0         191 KB  conda-forge
    r-ps-1.3.0                 |r351h96ca727_1000         222 KB  conda-forge
    r-purrr-0.3.2              |   r351hcdcec82_0         399 KB  conda-forge
    r-r6-2.4.0                 |   r351h6115d3f_0          62 KB  conda-forge
    r-rcmdcheck-1.3.3          |   r351h6115d3f_0         136 KB  conda-forge
    r-rcpp-1.0.1               |   r351h0357c0b_0         3.3 MB  conda-forge
    r-rcurl-1.95_4.12          |   r351hcdcec82_0         861 KB  conda-forge
    r-rematch2-2.0.1           |r351h6115d3f_1001          47 KB  conda-forge
    r-remotes-2.0.4            |   r351h6115d3f_0         322 KB  conda-forge
    r-rlang-0.3.4              |   r351hcdcec82_0         1.0 MB  conda-forge
    r-rmarkdown-1.12           |   r351h6115d3f_0         3.0 MB  conda-forge
    r-roxygen2-6.1.1           |r351h29659fb_1000         479 KB  conda-forge
    r-rprojroot-1.3_2          |r351h6115d3f_1001          93 KB  conda-forge
    r-rsconnect-0.8.13         |   r351h6115d3f_0         527 KB  conda-forge
    r-rstudioapi-0.10          |   r351h6115d3f_0         218 KB  conda-forge
    r-sessioninfo-1.1.1        |r351h6115d3f_1000          56 KB  conda-forge
    r-stringi-1.4.3            |   r351h0357c0b_0         768 KB  conda-forge
    r-stringr-1.4.0            |   r351h6115d3f_0         207 KB  conda-forge
    r-sys-3.2                  |   r351hcdcec82_0          46 KB  conda-forge
    r-testthat-2.1.1           |   r351h0357c0b_0         1.1 MB  conda-forge
    r-tibble-2.1.1             |   r351hcdcec82_0         313 KB  conda-forge
    r-tinytex-0.13             |   r351h6115d3f_0         100 KB  conda-forge
    r-usethis-1.5.0            |   r351h6115d3f_0         690 KB  conda-forge
    r-utf8-1.1.4               |r351h96ca727_1000         159 KB  conda-forge
    r-vctrs-0.1.0              |r351h96ca727_1000         607 KB  conda-forge
    r-whisker-0.3_2            |r351h6115d3f_1001          78 KB  conda-forge
    r-withr-2.1.2              |r351h6115d3f_1000         173 KB  conda-forge
    r-xfun-0.7                 |   r351h6115d3f_0         174 KB  conda-forge
    r-xml2-1.2.0               |r351h29659fb_1002         339 KB  conda-forge
    r-xopen-1.0.0              |r351h6115d3f_1000          28 KB  conda-forge
    r-yaml-2.2.0               |r351h96ca727_1001         112 KB  conda-forge
    r-zeallot-0.1.0            |r351h6115d3f_1000          61 KB  conda-forge
    xorg-kbproto-1.0.7         |    h14c3975_1002          26 KB  conda-forge
    xorg-libice-1.0.9          |    h516909a_1004          58 KB  conda-forge
    xorg-libsm-1.2.2           |       h470a237_5          24 KB  conda-forge
    xorg-libx11-1.6.7          |    h14c3975_1000         940 KB  conda-forge
    xorg-libxext-1.3.4         |       h516909a_0          51 KB  conda-forge
    xorg-libxrender-0.9.10     |    h516909a_1002          31 KB  conda-forge
    xorg-renderproto-0.11.1    |    h14c3975_1002           8 KB  conda-forge
    xorg-xextproto-7.3.0       |    h14c3975_1002          27 KB  conda-forge
    xorg-xproto-7.0.31         |    h14c3975_1007          72 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       119.7 MB

The following NEW packages will be INSTALLED:

  gsl                conda-forge/linux-64::gsl-2.4-h294904e_1006
  libblas            conda-forge/linux-64::libblas-3.8.0-7_openblas
  libcblas           conda-forge/linux-64::libcblas-3.8.0-7_openblas
  openblas           conda-forge/linux-64::openblas-0.3.5-h9ac9557_1001
  pandoc             conda-forge/linux-64::pandoc-2.7.2-0
  r-base64enc        conda-forge/linux-64::r-base64enc-0.1_3-r351h96ca727_1002
  r-bitops           conda-forge/linux-64::r-bitops-1.0_6-r351h96ca727_1002
  r-brew             conda-forge/noarch::r-brew-1.0_6-r351h6115d3f_1001
  r-commonmark       conda-forge/linux-64::r-commonmark-1.7-r351h96ca727_1000
  r-evaluate         conda-forge/noarch::r-evaluate-0.14-r35h6115d3f_0
  r-highlight        conda-forge/linux-64::r-highlight-0.4.7.2-r351h29659fb_1001
  r-highr            conda-forge/noarch::r-highr-0.8-r351h6115d3f_0
  r-htmltools        conda-forge/linux-64::r-htmltools-0.3.6-r351hf484d3e_1002
  r-knitr            conda-forge/noarch::r-knitr-1.23-r351h6115d3f_0
  r-markdown         conda-forge/linux-64::r-markdown-0.9-r351h96ca727_1000
  r-mass             conda-forge/linux-64::r-mass-7.3_51.4-r351hcdcec82_0
  r-packrat          conda-forge/noarch::r-packrat-0.5.0-r351h6115d3f_1000
  r-pkgdown          conda-forge/noarch::r-pkgdown-1.3.0-r351h6115d3f_1000
  r-rcurl            conda-forge/linux-64::r-rcurl-1.95_4.12-r351hcdcec82_0
  r-rematch2         conda-forge/noarch::r-rematch2-2.0.1-r351h6115d3f_1001
  r-rmarkdown        conda-forge/noarch::r-rmarkdown-1.12-r351h6115d3f_0
  r-roxygen2         conda-forge/linux-64::r-roxygen2-6.1.1-r351h29659fb_1000
  r-rsconnect        conda-forge/noarch::r-rsconnect-0.8.13-r351h6115d3f_0
  r-stringi          conda-forge/linux-64::r-stringi-1.4.3-r351h0357c0b_0
  r-stringr          conda-forge/noarch::r-stringr-1.4.0-r351h6115d3f_0
  r-tinytex          conda-forge/noarch::r-tinytex-0.13-r351h6115d3f_0
  r-vctrs            conda-forge/linux-64::r-vctrs-0.1.0-r351h96ca727_1000
  r-xfun             conda-forge/noarch::r-xfun-0.7-r351h6115d3f_0
  r-xml2             conda-forge/linux-64::r-xml2-1.2.0-r351h29659fb_1002
  r-zeallot          conda-forge/noarch::r-zeallot-0.1.0-r351h6115d3f_1000
  xorg-kbproto       conda-forge/linux-64::xorg-kbproto-1.0.7-h14c3975_1002
  xorg-libice        conda-forge/linux-64::xorg-libice-1.0.9-h516909a_1004
  xorg-libsm         conda-forge/linux-64::xorg-libsm-1.2.2-h470a237_5
  xorg-libx11        conda-forge/linux-64::xorg-libx11-1.6.7-h14c3975_1000
  xorg-libxext       conda-forge/linux-64::xorg-libxext-1.3.4-h516909a_0
  xorg-libxrender    conda-forge/linux-64::xorg-libxrender-0.9.10-h516909a_1002
  xorg-renderproto   conda-forge/linux-64::xorg-renderproto-0.11.1-h14c3975_1002
  xorg-xextproto     conda-forge/linux-64::xorg-xextproto-7.3.0-h14c3975_1002
  xorg-xproto        conda-forge/linux-64::xorg-xproto-7.0.31-h14c3975_1007

The following packages will be UPDATED:

  r-askpass          pkgs/main::r-askpass-1.0-r36h14c3975_0 --> conda-forge::r-askpass-1.1-r351h96ca727_0
  r-clisymbols       pkgs/main::r-clisymbols-1.2.0-r36h611~ --> conda-forge::r-clisymbols-1.2.0-r351h6115d3f_1001
  r-crayon           pkgs/main::r-crayon-1.3.4-r36h6115d3f~ --> conda-forge::r-crayon-1.3.4-r351h6115d3f_1001
  r-desc              pkgs/main::r-desc-1.2.0-r36h6115d3f_0 --> conda-forge::r-desc-1.2.0-r351h6115d3f_1001
  r-digest           pkgs/main::r-digest-0.6.18-r36h96ca72~ --> conda-forge::r-digest-0.6.19-r351h0357c0b_0
  r-fansi            pkgs/main::r-fansi-0.4.0-r36h96ca727_0 --> conda-forge::r-fansi-0.4.0-r351h96ca727_1000
  r-fs                  pkgs/main::r-fs-1.2.7-r36h29659fb_0 --> conda-forge::r-fs-1.3.1-r351h0357c0b_0
  r-gh                  pkgs/main::r-gh-1.0.1-r36h6115d3f_0 --> conda-forge::r-gh-1.0.1-r351h6115d3f_1001
  r-httr              pkgs/main::r-httr-1.4.0-r36h6115d3f_0 --> conda-forge::r-httr-1.4.0-r351h6115d3f_1000
  r-ini                pkgs/main::r-ini-0.3.1-r36h6115d3f_0 --> conda-forge::r-ini-0.3.1-r351h6115d3f_1001
  r-jsonlite         pkgs/main::r-jsonlite-1.6-r36h96ca727~ --> conda-forge::r-jsonlite-1.6-r351h96ca727_1000
  r-lattice          pkgs/main::r-lattice-0.20_38-r36h96ca~ --> conda-forge::r-lattice-0.20_38-r351h96ca727_1000
  r-magrittr         pkgs/main::r-magrittr-1.5-r36h6115d3f~ --> conda-forge::r-magrittr-1.5-r351h6115d3f_1001
  r-memoise          pkgs/main::r-memoise-1.1.0-r36h6115d3~ --> conda-forge::r-memoise-1.1.0-r351h6115d3f_1001
  r-mime                pkgs/main::r-mime-0.6-r36h96ca727_0 --> conda-forge::r-mime-0.6-r351h96ca727_1000
  r-pillar           pkgs/main::r-pillar-1.3.1-r36h6115d3f~ --> conda-forge::r-pillar-1.4.1-h6115d3f_0
  r-pkgconfig        pkgs/main::r-pkgconfig-2.0.2-r36h6115~ --> conda-forge::r-pkgconfig-2.0.2-r351h6115d3f_1001
  r-pkgload          pkgs/main::r-pkgload-1.0.2-r36h29659f~ --> conda-forge::r-pkgload-1.0.2-r351h29659fb_1000
  r-praise           pkgs/main::r-praise-1.0.0-r36h6115d3f~ --> conda-forge::r-praise-1.0.0-r351h6115d3f_1001
  r-prettyunits      pkgs/main::r-prettyunits-1.0.2-r36h61~ --> conda-forge::r-prettyunits-1.0.2-r351h6115d3f_1001
  r-processx         pkgs/main::r-processx-3.3.0-r36h96ca7~ --> conda-forge::r-processx-3.3.1-r351hcdcec82_0
  r-ps                  pkgs/main::r-ps-1.3.0-r36h96ca727_0 --> conda-forge::r-ps-1.3.0-r351h96ca727_1000
  r-rcmdcheck        pkgs/main::r-rcmdcheck-1.3.2-r36h6115~ --> conda-forge::r-rcmdcheck-1.3.3-r351h6115d3f_0
  r-rprojroot        pkgs/main::r-rprojroot-1.3_2-r36h6115~ --> conda-forge::r-rprojroot-1.3_2-r351h6115d3f_1001
  r-sessioninfo      pkgs/main::r-sessioninfo-1.1.1-r36h61~ --> conda-forge::r-sessioninfo-1.1.1-r351h6115d3f_1000
  r-utf8              pkgs/main::r-utf8-1.1.4-r36h96ca727_0 --> conda-forge::r-utf8-1.1.4-r351h96ca727_1000
  r-whisker          pkgs/main::r-whisker-0.3_2-r36h6115d3~ --> conda-forge::r-whisker-0.3_2-r351h6115d3f_1001
  r-withr            pkgs/main::r-withr-2.1.2-r36h6115d3f_0 --> conda-forge::r-withr-2.1.2-r351h6115d3f_1000
  r-xopen            pkgs/main::r-xopen-1.0.0-r36h6115d3f_0 --> conda-forge::r-xopen-1.0.0-r351h6115d3f_1000
  r-yaml              pkgs/main::r-yaml-2.2.0-r36h96ca727_0 --> conda-forge::r-yaml-2.2.0-r351h96ca727_1001

The following packages will be SUPERSEDED by a higher-priority channel:

  ca-certificates    pkgs/main::ca-certificates-2019.5.15-0 --> conda-forge::ca-certificates-2019.3.9-hecc5488_0
  openssl              pkgs/main::openssl-1.1.1c-h7b6447c_1 --> conda-forge::openssl-1.1.1b-h14c3975_1
  r-assertthat       pkgs/main::r-assertthat-0.2.1-r36h611~ --> conda-forge::r-assertthat-0.2.1-r351h6115d3f_0
  r-backports        pkgs/main::r-backports-1.1.4-r36h96ca~ --> conda-forge::r-backports-1.1.4-r351hcdcec82_0
  r-base                 pkgs/main::r-base-3.6.0-hce969dd_0 --> pkgs/r::r-base-3.5.1-h1e0a451_2
  r-callr            pkgs/main::r-callr-3.2.0-r36h6115d3f_0 --> conda-forge::r-callr-3.2.0-r351h6115d3f_0
  r-cli                pkgs/main::r-cli-1.1.0-r36h6115d3f_0 --> conda-forge::r-cli-1.1.0-r351h6115d3f_0
  r-clipr            pkgs/main::r-clipr-0.6.0-r36h6115d3f_0 --> conda-forge::r-clipr-0.6.0-r351h6115d3f_0
  r-curl                pkgs/main::r-curl-3.3-r36h96ca727_0 --> conda-forge::r-curl-3.3-r351h96ca727_0
  r-data.table       pkgs/main::r-data.table-1.12.2-r36h96~ --> conda-forge::r-data.table-1.12.2-r351hcdcec82_0
  r-devtools         pkgs/main::r-devtools-2.0.2-r36h6115d~ --> conda-forge::r-devtools-2.0.2-r351h6115d3f_0
  r-git2r            pkgs/main::r-git2r-0.25.2-r36h96ca727~ --> conda-forge::r-git2r-0.25.2-r351h5ca76e2_0
  r-glue              pkgs/main::r-glue-1.3.1-r36h96ca727_0 --> conda-forge::r-glue-1.3.1-r351hcdcec82_0
  r-matrix           pkgs/main::r-matrix-1.2_17-r36h96ca72~ --> conda-forge::r-matrix-1.2_17-r351hcdcec82_0
  r-openssl          pkgs/main::r-openssl-1.3-r36h96ca727_0 --> conda-forge::r-openssl-1.3-r351h9c8475f_0
  r-pkgbuild         pkgs/main::r-pkgbuild-1.0.3-r36h6115d~ --> conda-forge::r-pkgbuild-1.0.3-r351h6115d3f_0
  r-purrr            pkgs/main::r-purrr-0.3.2-r36h96ca727_0 --> conda-forge::r-purrr-0.3.2-r351hcdcec82_0
  r-r6                  pkgs/main::r-r6-2.4.0-r36h6115d3f_0 --> conda-forge::r-r6-2.4.0-r351h6115d3f_0
  r-rcpp              pkgs/main::r-rcpp-1.0.1-r36h29659fb_0 --> conda-forge::r-rcpp-1.0.1-r351h0357c0b_0
  r-remotes          pkgs/main::r-remotes-2.0.4-r36h6115d3~ --> conda-forge::r-remotes-2.0.4-r351h6115d3f_0
  r-rlang            pkgs/main::r-rlang-0.3.4-r36h96ca727_0 --> conda-forge::r-rlang-0.3.4-r351hcdcec82_0
  r-rstudioapi       pkgs/main::r-rstudioapi-0.10-r36h6115~ --> conda-forge::r-rstudioapi-0.10-r351h6115d3f_0
  r-sys                  pkgs/main::r-sys-3.2-r36h96ca727_0 --> conda-forge::r-sys-3.2-r351hcdcec82_0
  r-testthat         pkgs/main::r-testthat-2.1.1-r36h29659~ --> conda-forge::r-testthat-2.1.1-r351h0357c0b_0
  r-tibble           pkgs/main::r-tibble-2.1.1-r36h96ca727~ --> conda-forge::r-tibble-2.1.1-r351hcdcec82_0
  r-usethis          pkgs/main::r-usethis-1.5.0-r36h6115d3~ --> conda-forge::r-usethis-1.5.0-r351h6115d3f_0


Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Writing NAMESPACE

Updating lightgbm documentation
Updating roxygen version in /home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/docs/lightgbm_r/DESCRIPTION
Loading lightgbm
Loading required package: R6
Error in getDLLRegisteredRoutines.DLLInfo(dll, addNames = FALSE) : 
  must specify DLL via a “DLLInfo” object. See getLoadedDLLs()
Calls: <Anonymous> ... assignNativeRoutines -> getDLLRegisteredRoutines.DLLInfo
Execution halted
The full traceback has been saved in /tmp/sphinx-err-yfb49hez.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

Copy link
Contributor

@Laurae2 Laurae2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is now ok with \dontrun

@StrikerRUS
Copy link
Collaborator Author

StrikerRUS commented Jun 12, 2019

@henry0312 Can you please give a brief glance at RTD new config file and generate_r_docs function in conf.py (the logic is the same as for C-API)? Then I think we are ready to merge.

@StrikerRUS
Copy link
Collaborator Author

ping @henry0312

@StrikerRUS
Copy link
Collaborator Author

@henry0312

@StrikerRUS
Copy link
Collaborator Author

@henry0312 I'm going to merge this PR this weekend. Do you have some time to drop your review?

@StrikerRUS
Copy link
Collaborator Author

Merging this.

@henry0312 Feel free to submit your review any time you can. I'll be happy to consider changes (if any) in a separate PR!

@StrikerRUS StrikerRUS merged commit faba6ca into master Sep 1, 2019
@StrikerRUS StrikerRUS deleted the docs branch September 1, 2019 17:02
@StrikerRUS StrikerRUS mentioned this pull request Sep 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants