conda / conda-build

Commands and tools for building conda packages
https://docs.conda.io/projects/conda-build/
Other
380 stars 420 forks source link

conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {'r-base=4.2.3', 'r-landscapemetrics'} #4853

Closed John-Polo closed 1 year ago

John-Polo commented 1 year ago

Checklist

What happened?

I am trying to build an R package for conda-forge that is currently only on GitHub. I'm new to this process and have little experience with Python or conda. I mostly relied on this post from StackOverflow and some other posts from web search.

The package I want to post to conda-forge is this: https://github.com/ncsu-landscape-dynamics/rpops

I created a YAML with the rpops dependencies and then used:

conda env create --name lbpops -f pops.yaml
conda activate lbpops

to create the environment. I then started R and used

devtools::install_github("ncsu-landscape-dynamics/rpops")

to see if R in the created environment would install the package. Installation worked without a problem. I quit R. Then in the lbpops environment ran

conda skeleton cran https://github.com/ncsu-landscape-dynamics/rpops.git

conda build --R=4.2.3 r-rpops

The skeleton call works. This is the result:

Adding in variants from internal_defaults INFO:conda_build.variants:Adding in variants from internal_defaults Parsing input package https://github.com/ncsu-landscape-dynamics/rpops.git: .. name: rpops location: https://github.com/ncsu-landscape-dynamics/rpops new_location: /home/n/Documents/r-rpops Making/refreshing recipe for rpops Cloning into '/home/n/miniconda3/conda-bld/skeleton_1681761136417/work'... done. checkout: 'HEAD' Your branch is up to date with 'origin/_conda_cache_origin_head'. Submodule 'inst/cpp/pops-core' (https://github.com/ncsu-landscape-dynamics/pops-core) registered for path 'inst/cpp/pops-core' Cloning into '/home/n/miniconda3/conda-bld/skeleton_1681761136417/work/inst/cpp/pops-core'... Submodule path 'inst/cpp/pops-core': checked out '8c24e4e228e73e062049c3750b0a32c3e1b20e82' ==> /usr/bin/git log -n1 <==

commit 72dd6f352c1539d16200ce899cf150f7b1f3653a Author: Chris Jones cjones1688@gmail.com Date: Wed Mar 8 11:45:29 2023 -0500

update mcc with checks (#161)

==> /usr/bin/git describe --tags --dirty <==

v2.0.1-4-g72dd6f3

==> /usr/bin/git status <==

On branch _conda_cache_origin_head Your branch is up to date with 'origin/_conda_cache_origin_head'.

nothing to commit, working tree clean

Using tag v2.0.1 Note: switching to 'v2.0.1'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 3aee60b fixed errors when using 2 layer raster with uncertainty = TRUE (#155)

Reading package metadata from /home/n/miniconda3/conda-bld/skeleton_1681761136417/work/DESCRIPTION Writing recipe for rpops --dirty flag and --keep-old-work not specified. Removing build/test folder after successful build/test.

INFO:conda_build.config:--dirty flag and --keep-old-work not specified. Removing build/test folder after successful build/test.

The build call then returns an error:

No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.21 WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.21 Adding in variants from internal_defaults INFO:conda_build.variants:Adding in variants from internal_defaults Adding in variants from config.variant INFO:conda_build.variants:Adding in variants from config.variant Attempting to finalize metadata for r-pops INFO:conda_build.metadata:Attempting to finalize metadata for r-pops Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... failed

Leaving build/test directories: Work: /home/n/miniconda3/conda-bld/work Test: /home/n/miniconda3/conda-bld/test_tmp Leaving build/test environments: Test: source activate /home/n/miniconda3/conda-bld/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho Build: source activate /home/n/miniconda3/conda-bld/_build_env

Traceback (most recent call last): File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/environ.py", line 900, in get_install_actions actions = install_actions(prefix, index, specs, force=True) File "/home/n/miniconda3/lib/python3.10/site-packages/conda/common/io.py", line 84, in decorated return f(*args, *kwds) File "/home/n/miniconda3/lib/python3.10/site-packages/conda/plan.py", line 473, in install_actions txn = solver.solve_for_transaction(prune=prune, ignore_pinned=not pinned) File "/home/n/miniconda3/lib/python3.10/site-packages/conda/core/solve.py", line 134, in solve_for_transaction unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier, File "/home/n/miniconda3/lib/python3.10/site-packages/conda/core/solve.py", line 177, in solve_for_diff final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned, File "/home/n/miniconda3/lib/python3.10/site-packages/conda/core/solve.py", line 295, in solve_final_state ssc = self._add_specs(ssc) File "/home/n/miniconda3/lib/python3.10/site-packages/conda/core/solve.py", line 592, in _add_specs explicit_pool = ssc.r._get_package_pool(self.specs_to_add) File "/home/n/miniconda3/lib/python3.10/site-packages/conda/resolve.py", line 553, in _get_package_pool pool = self.get_reduced_index(specs) File "/home/n/miniconda3/lib/python3.10/site-packages/conda/common/io.py", line 84, in decorated return f(args, **kwds) File "/home/n/miniconda3/lib/python3.10/site-packages/conda/resolve.py", line 574, in get_reduced_index explicit_specs, features = self.verify_specs(explicit_specs) File "/home/n/miniconda3/lib/python3.10/site-packages/conda/resolve.py", line 286, in verify_specs raise ResolvePackageNotFound(bad_deps) conda.exceptions.ResolvePackageNotFound:

  • r-landscapemetrics
  • r-base=4.2.3

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/n/miniconda3/bin/conda-build", line 11, in sys.exit(main()) File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/cli/main_build.py", line 495, in main execute(sys.argv[1:]) File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/cli/main_build.py", line 475, in execute outputs = api.build( File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/api.py", line 180, in build return build_tree( File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/build.py", line 3078, in build_tree packages_from_this = build(metadata, stats, File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/build.py", line 2038, in build output_metas = expand_outputs([(m, need_source_download, need_reparse_in_env)]) File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/render.py", line 787, in expand_outputs for (output_dict, m) in deepcopy(_m).get_output_metadata_set(permit_unsatisfiable_variants=False): File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/metadata.py", line 2524, in get_output_metadata_set conda_packages = finalize_outputs_pass( File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/metadata.py", line 884, in finalize_outputs_pass fm = finalize_metadata( File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/render.py", line 547, in finalize_metadata build_unsat, host_unsat = add_upstream_pins(m, File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/render.py", line 409, in add_upstream_pins host_deps, host_unsat, extra_run_specs_from_host = _read_upstream_pin_files(m, 'host', File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/render.py", line 374, in _read_upstream_pin_files deps, actions, unsat = get_env_dependencies(m, env, m.config.variant, File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/render.py", line 131, in get_env_dependencies actions = environ.get_install_actions(tmpdir, tuple(dependencies), env, File "/home/n/miniconda3/lib/python3.10/site-packages/conda_build/environ.py", line 902, in get_install_actions raise DependencyNeedsBuildingError(exc, subdir=subdir) conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {'r-base=4.2.3', 'r-landscapemetrics'}

Instead of the error, I was expecting a package to be created with conda build that would be suitable for uploading to conda-forge.

Conda Info

conda info

     active environment : lbpops
    active env location : /home/n/miniconda3/envs/lbpops
            shell level : 1
       user config file : /home/n/.condarc
 populated config files : /home/n/.condarc
          conda version : 23.3.1
    conda-build version : 3.24.0
         python version : 3.10.9.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.33=0
                          __linux=5.15.19=0
                          __unix=0=0
       base environment : /home/n/miniconda3  (writable)
      conda av data dir : /home/n/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/n/miniconda3/pkgs
                          /home/n/.conda/pkgs
       envs directories : /home/n/miniconda3/envs
                          /home/n/.conda/envs
               platform : linux-64
             user-agent : conda/23.3.1 requests/2.28.1 CPython/3.10.9 Linux/5.15.19 slackware/15.0 glibc/2.33
                UID:GID : 1001:100
             netrc file : None
           offline mode : False

Conda Config

==> /home/n/.condarc <==
auto_activate_base: False

Conda list

# packages in environment at /home/n/miniconda3/envs/lbpops:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
_r-mutex                  1.0.1               anacondar_1    conda-forge
binutils_impl_linux-64    2.40                 hf600244_0    conda-forge
blosc                     1.21.3               hafa529b_0    conda-forge
boost-cpp                 1.78.0               h5adbc97_2    conda-forge
bwidget                   1.9.14               ha770c72_1    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2022.12.7            ha878542_0    conda-forge
cairo                     1.16.0            ha61ee94_1014    conda-forge
cfitsio                   4.2.0                hd9d235c_0    conda-forge
curl                      8.0.1                h588be90_0    conda-forge
expat                     2.5.0                hcb278e6_1    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.2               h14ed4e7_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freetype                  2.12.1               hca18f0e_1    conda-forge
freexl                    1.0.6                h166bdaf_1    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
gcc_impl_linux-64         12.2.0              hcc96c02_19    conda-forge
geos                      3.11.1               h27087fc_0    conda-forge
geotiff                   1.7.1                h7157cca_5    conda-forge
gettext                   0.21.1               h27087fc_0    conda-forge
gfortran_impl_linux-64    12.2.0              h55be85b_19    conda-forge
giflib                    5.2.1                h0b41bf4_3    conda-forge
glpk                      5.0                  h445213a_0    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
gsl                       2.7                  he838d99_0    conda-forge
gxx_impl_linux-64         12.2.0              hcc96c02_19    conda-forge
harfbuzz                  6.0.0                h8e241bc_0    conda-forge
hdf4                      4.2.15               h9772cbc_5    conda-forge
hdf5                      1.12.2          nompi_h4df4325_101    conda-forge
icu                       70.1                 h27087fc_0    conda-forge
jpeg                      9e                   h0b41bf4_3    conda-forge
json-c                    0.16                 hc379101_0    conda-forge
kealib                    1.5.0                ha7026e8_0    conda-forge
kernel-headers_linux-64   2.6.32              he073ed8_15    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.20.1               h81ceb04_0    conda-forge
lcms2                     2.15                 hfd0df8a_0    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
lerc                      4.0.0                h27087fc_0    conda-forge
libaec                    1.0.6                hcb278e6_1    conda-forge
libblas                   3.9.0           16_linux64_openblas    conda-forge
libcblas                  3.9.0           16_linux64_openblas    conda-forge
libcurl                   8.0.1                h588be90_0    conda-forge
libdeflate                1.17                 h0b41bf4_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libexpat                  2.5.0                hcb278e6_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-devel_linux-64     12.2.0              h3b97bd3_19    conda-forge
libgcc-ng                 12.2.0              h65d4601_19    conda-forge
libgdal                   3.6.2                h10cbb15_3    conda-forge
libgfortran-ng            12.2.0              h69a702a_19    conda-forge
libgfortran5              12.2.0              h337968e_19    conda-forge
libgit2                   1.6.4                h747ad27_0    conda-forge
libglib                   2.74.1               h606061b_1    conda-forge
libgomp                   12.2.0              h65d4601_19    conda-forge
libiconv                  1.17                 h166bdaf_0    conda-forge
libkml                    1.3.0             h37653c0_1015    conda-forge
liblapack                 3.9.0           16_linux64_openblas    conda-forge
libnetcdf                 4.8.1           nompi_h261ec11_106    conda-forge
libnghttp2                1.52.0               h61bc06f_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libopenblas               0.3.21          pthreads_h78a6416_3    conda-forge
libpng                    1.6.39               h753d276_0    conda-forge
libpq                     15.2                 hb675445_0    conda-forge
librttopo                 1.1.0               ha49c73b_12    conda-forge
libsanitizer              12.2.0              h46fd767_19    conda-forge
libspatialite             5.0.1               h7c8129e_22    conda-forge
libsqlite                 3.40.0               h753d276_0    conda-forge
libssh2                   1.10.0               hf14f497_3    conda-forge
libstdcxx-devel_linux-64  12.2.0              h3b97bd3_19    conda-forge
libstdcxx-ng              12.2.0              h46fd767_19    conda-forge
libtiff                   4.5.0                h6adf6a1_2    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libwebp-base              1.3.0                h0b41bf4_0    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxml2                   2.10.3               hca2bb57_4    conda-forge
libzip                    1.9.2                hc929e4a_1    conda-forge
libzlib                   1.2.13               h166bdaf_4    conda-forge
lz4-c                     1.9.4                hcb278e6_0    conda-forge
make                      4.3                  hd18ef5c_1    conda-forge
ncurses                   6.3                  h27087fc_1    conda-forge
nspr                      4.35                 h27087fc_0    conda-forge
nss                       3.89                 he45b914_0    conda-forge
openjpeg                  2.5.0                hfec8fc6_2    conda-forge
openssl                   3.1.0                h0b41bf4_0    conda-forge
pandoc                    2.19.2               h32600fe_2    conda-forge
pango                     1.50.14              hd33c08f_0    conda-forge
pcre2                     10.40                hc3806b6_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
poppler                   22.12.0              h091648b_1    conda-forge
poppler-data              0.4.12               hd8ed1ab_0    conda-forge
postgresql                15.2                 h3248436_0    conda-forge
proj                      9.1.0                h8ffa02c_1    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
r-askpass                 1.1               r42h06615bd_3    conda-forge
r-assertthat              0.2.1             r42hc72bb7e_3    conda-forge
r-aws.s3                  0.3.22            r42hc72bb7e_1    conda-forge
r-aws.signature           0.6.0             r42hc72bb7e_1    conda-forge
r-backports               1.4.1             r42h06615bd_1    conda-forge
r-base                    4.2.3                ha7d60f8_0    conda-forge
r-base64enc               0.1_3           r42h06615bd_1005    conda-forge
r-brew                    1.0_8             r42hc72bb7e_1    conda-forge
r-brio                    1.1.3             r42h06615bd_1    conda-forge
r-bslib                   0.4.2             r42hc72bb7e_0    conda-forge
r-cachem                  1.0.7             r42h133d619_0    conda-forge
r-callr                   3.7.3             r42hc72bb7e_0    conda-forge
r-cli                     3.6.1             r42h38f115c_0    conda-forge
r-clipr                   0.8.0             r42hc72bb7e_1    conda-forge
r-codetools               0.2_19            r42hc72bb7e_0    conda-forge
r-colorspace              2.1_0             r42h133d619_0    conda-forge
r-commonmark              1.9.0             r42h133d619_0    conda-forge
r-cpp11                   0.4.3             r42hc72bb7e_0    conda-forge
r-crayon                  1.5.2             r42hc72bb7e_1    conda-forge
r-credentials             1.3.2             r42hc72bb7e_1    conda-forge
r-curl                    4.3.3             r42h06615bd_1    conda-forge
r-data.table              1.14.8            r42h133d619_0    conda-forge
r-desc                    1.4.2             r42hc72bb7e_1    conda-forge
r-devtools                2.4.5             r42hc72bb7e_1    conda-forge
r-diffobj                 0.3.5             r42h06615bd_1    conda-forge
r-digest                  0.6.31            r42h38f115c_0    conda-forge
r-doparallel              1.0.17            r42hc72bb7e_1    conda-forge
r-downlit                 0.4.2             r42hc72bb7e_1    conda-forge
r-ellipsis                0.3.2             r42h06615bd_1    conda-forge
r-evaluate                0.20              r42hc72bb7e_0    conda-forge
r-fansi                   1.0.4             r42h133d619_0    conda-forge
r-farver                  2.1.1             r42h7525677_1    conda-forge
r-fastmap                 1.1.1             r42h38f115c_0    conda-forge
r-fontawesome             0.5.0             r42hc72bb7e_0    conda-forge
r-foreach                 1.5.2             r42hc72bb7e_1    conda-forge
r-fs                      1.6.1             r42h38f115c_0    conda-forge
r-generics                0.1.3             r42hc72bb7e_1    conda-forge
r-gert                    1.9.2             r42h492061e_1    conda-forge
r-ggplot2                 3.4.2             r42hc72bb7e_0    conda-forge
r-gh                      1.4.0             r42hc72bb7e_0    conda-forge
r-gitcreds                0.1.2             r42hc72bb7e_1    conda-forge
r-glue                    1.6.2             r42h06615bd_1    conda-forge
r-gtable                  0.3.3             r42hc72bb7e_0    conda-forge
r-highr                   0.10              r42hc72bb7e_0    conda-forge
r-htmltools               0.5.5             r42h38f115c_0    conda-forge
r-htmlwidgets             1.6.2             r42hc72bb7e_0    conda-forge
r-httpuv                  1.6.9             r42h38f115c_0    conda-forge
r-httr                    1.4.5             r42hc72bb7e_0    conda-forge
r-httr2                   0.2.2             r42hc72bb7e_1    conda-forge
r-igraph                  1.4.2             r42h65ed38e_0    conda-forge
r-ini                     0.3.1           r42hc72bb7e_1004    conda-forge
r-isoband                 0.2.7             r42h38f115c_1    conda-forge
r-iterators               1.0.14            r42hc72bb7e_1    conda-forge
r-jquerylib               0.1.4             r42hc72bb7e_1    conda-forge
r-jsonlite                1.8.4             r42h133d619_0    conda-forge
r-knitr                   1.42              r42hc72bb7e_1    conda-forge
r-labeling                0.4.2             r42hc72bb7e_2    conda-forge
r-landscapemetrics        1.5.6             r42h38f115c_0    conda-forge
r-later                   1.3.0             r42h7525677_1    conda-forge
r-lattice                 0.21_8            r42h133d619_0    conda-forge
r-lifecycle               1.0.3             r42hc72bb7e_1    conda-forge
r-lubridate               1.9.2             r42h133d619_1    conda-forge
r-magrittr                2.0.3             r42h06615bd_1    conda-forge
r-mass                    7.3_58.3          r42h133d619_0    conda-forge
r-matrix                  1.5_4             r42he1ae0d6_0    conda-forge
r-memoise                 2.0.1             r42hc72bb7e_1    conda-forge
r-metrics                 0.1.4           r42hc72bb7e_1003    conda-forge
r-mgcv                    1.8_42            r42he1ae0d6_0    conda-forge
r-mime                    0.12              r42h06615bd_1    conda-forge
r-miniui                  0.1.1.1         r42hc72bb7e_1003    conda-forge
r-munsell                 0.5.0           r42hc72bb7e_1005    conda-forge
r-nlme                    3.1_162           r42hac0b197_0    conda-forge
r-openssl                 2.0.6             r42habfbb5e_0    conda-forge
r-pillar                  1.9.0             r42hc72bb7e_0    conda-forge
r-pkgbuild                1.4.0             r42hc72bb7e_0    conda-forge
r-pkgconfig               2.0.3             r42hc72bb7e_2    conda-forge
r-pkgdown                 2.0.7             r42hc72bb7e_0    conda-forge
r-pkgload                 1.3.2             r42hc72bb7e_0    conda-forge
r-praise                  1.0.0           r42hc72bb7e_1006    conda-forge
r-prettyunits             1.1.1             r42hc72bb7e_2    conda-forge
r-processx                3.8.0             r42h06615bd_0    conda-forge
r-profvis                 0.3.7             r42h06615bd_1    conda-forge
r-promises                1.2.0.1           r42h7525677_1    conda-forge
r-ps                      1.7.4             r42h133d619_0    conda-forge
r-purrr                   1.0.1             r42h133d619_0    conda-forge
r-r6                      2.5.1             r42hc72bb7e_1    conda-forge
r-ragg                    1.2.5             r42hd65d3ba_0    conda-forge
r-rappdirs                0.3.3             r42h06615bd_1    conda-forge
r-raster                  3.6_20            r42h38f115c_0    conda-forge
r-rcmdcheck               1.4.0             r42h785f33e_1    conda-forge
r-rcolorbrewer            1.1_3             r42h785f33e_1    conda-forge
r-rcpp                    1.0.10            r42h38f115c_0    conda-forge
r-rcpparmadillo           0.12.2.0.0        r42h358215d_0    conda-forge
r-rematch2                2.1.2             r42hc72bb7e_2    conda-forge
r-remotes                 2.4.2             r42hc72bb7e_1    conda-forge
r-rlang                   1.1.0             r42h38f115c_0    conda-forge
r-rlist                   0.4.6.2           r42hc72bb7e_2    conda-forge
r-rmarkdown               2.21              r42hc72bb7e_0    conda-forge
r-roxygen2                7.2.3             r42h38f115c_0    conda-forge
r-rprojroot               2.0.3             r42hc72bb7e_1    conda-forge
r-rstudioapi              0.14              r42hc72bb7e_1    conda-forge
r-rversions               2.1.2             r42hc72bb7e_1    conda-forge
r-sass                    0.4.5             r42h38f115c_0    conda-forge
r-scales                  1.2.1             r42hc72bb7e_1    conda-forge
r-sessioninfo             1.2.2             r42hc72bb7e_1    conda-forge
r-shiny                   1.7.4             r42h785f33e_0    conda-forge
r-sourcetools             0.1.7_1           r42h38f115c_0    conda-forge
r-sp                      1.6_0             r42h133d619_0    conda-forge
r-stringi                 1.7.12            r42h1ae9187_0    conda-forge
r-stringr                 1.5.0             r42h785f33e_0    conda-forge
r-sys                     3.4.1             r42h06615bd_0    conda-forge
r-systemfonts             1.0.4             r42h0ff29ef_1    conda-forge
r-terra                   1.7_23            r42h0f53b7d_0    conda-forge
r-testthat                3.1.7             r42h38f115c_0    conda-forge
r-textshaping             0.3.6             r42hbb20487_4    conda-forge
r-tibble                  3.2.1             r42h133d619_1    conda-forge
r-timechange              0.2.0             r42h38f115c_0    conda-forge
r-tinytex                 0.44              r42hc72bb7e_0    conda-forge
r-urlchecker              1.0.1             r42hc72bb7e_1    conda-forge
r-usethis                 2.1.6             r42hc72bb7e_1    conda-forge
r-utf8                    1.2.3             r42h133d619_0    conda-forge
r-vctrs                   0.6.1             r42h38f115c_0    conda-forge
r-viridislite             0.4.1             r42hc72bb7e_1    conda-forge
r-waldo                   0.4.0             r42hc72bb7e_1    conda-forge
r-whisker                 0.4.1             r42hc72bb7e_0    conda-forge
r-withr                   2.5.0             r42hc72bb7e_1    conda-forge
r-xfun                    0.38              r42h38f115c_0    conda-forge
r-xml                     3.99_0.14         r42hb43fdd4_0    conda-forge
r-xml2                    1.3.3             r42h044e5c7_2    conda-forge
r-xopen                   1.0.0           r42hc72bb7e_1004    conda-forge
r-xtable                  1.8_4             r42hc72bb7e_4    conda-forge
r-yaml                    2.3.7             r42h133d619_0    conda-forge
r-zip                     2.2.2             r42h06615bd_0    conda-forge
readline                  8.2                  h8228510_1    conda-forge
sed                       4.8                  he412f7d_0    conda-forge
snappy                    1.1.10               h9fff704_0    conda-forge
sqlite                    3.40.0               h4ff8645_0    conda-forge
sysroot_linux-64          2.12                he073ed8_15    conda-forge
tiledb                    2.13.2               hd532e3d_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
tktable                   2.10                 hb7b940f_3    conda-forge
tzcode                    2023c                h0b41bf4_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
xerces-c                  3.2.4                h55805fa_1    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.8.4                h0b41bf4_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h0b41bf4_2    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-libxt                1.2.1                h7f98852_2    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h0b41bf4_1003    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
zlib                      1.2.13               h166bdaf_4    conda-forge
zstd                      1.5.2                h3eb15da_6    conda-forge

Additional Context

I tried setting the pop.yaml to different versions of r-base and r-landscapemetrics. In this last attempt, I left out r-base, the environment seems to know how to get that and I did not assign a version to r-landscapemetrics, so both of those should be whatever the environment found for resolving the build. I'm not sure I'm interpreting the error correctly, but I think it's telling me that conda build can't resolve the r-base and r-landscapemetrics versions, but those were set by the environment and they came from conda-forge, so I don't know why it can't resolve those packages. I tried old versions of R, like 4.1.3, and also setting r-landscapemetrics < 1.5.6, which is the version on conda-forge currently.

John-Polo commented 1 year ago

Instead of using a skeleton, I found that if I used remotes::install_github, I can get my environment created. This may still be a problem for someone else down the line, but I will close this, since I don't need it any more.