<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: R CMD Check Fails for arcgisbinding in R-ArcGIS Questions</title>
    <link>https://community.esri.com/t5/r-arcgis-questions/r-cmd-check-fails-for-arcgisbinding/m-p/1275615#M427</link>
    <description>&lt;P&gt;Hello Harun!&lt;BR /&gt;&lt;BR /&gt;Yes, we've been working internally on making initializing ArcPy easier from within the package, hopefully will have something soon to share on that front. That said, to get you going with what you're working on, &amp;nbsp;I think the issue you're facing has to do with the fact that arcgisbinding is only available as a binary and the CMD CHECK resolver expects that all packages will be available as source installable on all platforms, which isn't the case for arcgisbinding. Probably the simplest workaround is to add the dependency to the Suggests section and set the environment variable&amp;nbsp;&lt;FONT face="terminal,monaco" size="2"&gt;_R_CHECK_FORCE_SUGGESTS&lt;/FONT&gt; to false in order for it to skip it for package validation.&lt;BR /&gt;&lt;BR /&gt;Cheers, Shaun&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 02:15:36 GMT</pubDate>
    <dc:creator>ShaunWalbridge</dc:creator>
    <dc:date>2023-04-05T02:15:36Z</dc:date>
    <item>
      <title>R CMD Check Fails for arcgisbinding</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/r-cmd-check-fails-for-arcgisbinding/m-p/1274979#M426</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm developing a small package in R (4.2.2) to help with joining together the ArcGIS initialization and `arcpy` environment setup in R and have trouble getting R-CMD-Check to pass on GitHub without error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Error: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;! error in pak subprocess &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Caused by error: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;! Could not solve package dependencies: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;* deps::.: Can't install dependency arcgisbinding (&amp;gt;= 1.0.1.300) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;* arcgisbinding: Can't find package called arcgisbinding.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;R-CMD-Check.yaml is running as 'windows-latest' and in my DESCRIPTION file I have `arcgisbinding` set under Imports: with the Remotes: set to R-ARCGIS/r-bridge like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Imports:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;arcgisbinding (&amp;gt;= 1.0.1.300)&lt;/P&gt;&lt;P&gt;Remotes:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;R-ArcGIS/r-bridge&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;How can I successfully pass an R-CMD-Check with the `arcgisbinding` package as an Import?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 20:53:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/r-cmd-check-fails-for-arcgisbinding/m-p/1274979#M426</guid>
      <dc:creator>HarunCelikOtto</dc:creator>
      <dc:date>2023-04-03T20:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: R CMD Check Fails for arcgisbinding</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/r-cmd-check-fails-for-arcgisbinding/m-p/1275615#M427</link>
      <description>&lt;P&gt;Hello Harun!&lt;BR /&gt;&lt;BR /&gt;Yes, we've been working internally on making initializing ArcPy easier from within the package, hopefully will have something soon to share on that front. That said, to get you going with what you're working on, &amp;nbsp;I think the issue you're facing has to do with the fact that arcgisbinding is only available as a binary and the CMD CHECK resolver expects that all packages will be available as source installable on all platforms, which isn't the case for arcgisbinding. Probably the simplest workaround is to add the dependency to the Suggests section and set the environment variable&amp;nbsp;&lt;FONT face="terminal,monaco" size="2"&gt;_R_CHECK_FORCE_SUGGESTS&lt;/FONT&gt; to false in order for it to skip it for package validation.&lt;BR /&gt;&lt;BR /&gt;Cheers, Shaun&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 02:15:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/r-cmd-check-fails-for-arcgisbinding/m-p/1275615#M427</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2023-04-05T02:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: R CMD Check Fails for arcgisbinding</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/r-cmd-check-fails-for-arcgisbinding/m-p/1276329#M428</link>
      <description>&lt;P&gt;Thank you very much Shaun.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess I'll have to skip the suggestion check then. Just out of curiosity with regards to the initialization of ArcPy, is there a plan to use reticulate or something more internal?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 19:40:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/r-cmd-check-fails-for-arcgisbinding/m-p/1276329#M428</guid>
      <dc:creator>HarunCelikOtto</dc:creator>
      <dc:date>2023-04-06T19:40:30Z</dc:date>
    </item>
  </channel>
</rss>

