Skip to content

install_github() failing on Windows due to long path names #84

Closed

Description

@tidy-bot

Issue by MrDAndersen
Thursday Jun 23, 2016 at 16:15 GMT
Originally opened as r-lib/devtools#1235


We have a package available for install in a sub directory R Package/ffanalytics at dadrivr/FantasyFootballAnalyticsR. Users are instructed to install this via devtools::install_github(repo = "dadrivr/FantasyFootballAnalyticsR", subdir = "R Package/ffanalytics"). However, Windows users are reporting that the install fails with following error

Error in utils::unzip(src, exdir = target) :
cannot open file ‘C:/Users/<username>/AppData/Local/Temp/RtmpMZfFU0/devtools63c36d21285/dadrivr-FantasyFootballAnalyticsR-6c6c4a9/R Markdown/SubcriptionAccuracy/subscriptionAccuracy_cache/markdown_phpextra+backtick_code_blocks/unnamed-chunk-1_af5e2a896358b9ccbc8241e876b9ce5c.RData’: No such file or directory

The file mentioned is not part of the package directory, so I suspect that devtools::install_github is downloading the entire repo and then parsing it to find the subdir with the package. Since the repo files are extracted into a temp directory (C:/Users/<username>/AppData/Local/Temp......) the file names get rather long when it has to go through several levels of folders.
The interesting thing is that you can get the command to complete after a number of tries - which may be when the file paths become short enough (<256 characters)

Activity

  1. added
    bugan unexpected problem or unintended behavior
    on Aug 2, 2017
  2. tidy-bot commented on Aug 2, 2017

    @tidy-bot
    Author

    Comment by henrygabs
    Tuesday Aug 23, 2016 at 12:21 GMT


    Any suggestions for a solution to or this problem?

  3. tidy-bot commented on Aug 2, 2017

    @tidy-bot
    Author

    Comment by jianlingfan
    Wednesday Feb 22, 2017 at 03:47 GMT


    I got the same problem recently, do you have a solution?

  4. tidy-bot commented on Aug 2, 2017

    @tidy-bot
    Author

    Comment by hadley
    Wednesday Aug 02, 2017 at 21:00 GMT


    Duplicate of #1464

  5. tidy-bot commented on Aug 2, 2017

    @tidy-bot
    Author

    Comment by hadley
    Wednesday Aug 02, 2017 at 21:03 GMT


    Hmmm, might actually be a different problem, so I'll keep this one open.

  6. gaborcsardi commented on Sep 22, 2018

    @gaborcsardi
    Member

    devtools installs this package properly for me, and after fixing #166 I think remotes will be fine as well. Please reopen if you still have problems.

  7. yutannihilation commented on Sep 22, 2018

    @yutannihilation
    Contributor

    @gaborcsardi
    Could you reopen this? I think this is not fixed yet. The code below still fails on Windows.

    remotes::install_github("rstudio/radix@c3dba83")

    In case this is useful, here's the error log. You can see over-long path length warnings.

    Details
    remotes::install_github("rstudio/radix@c3dba83")
    #> Downloading GitHub repo rstudio/radix@c3dba83
    #> tar.exe: Option --force-local is not supported
    #> Usage:
    #>   List:    tar.exe -tf <archive-filename>
    #>   Extract: tar.exe -xf <archive-filename>
    #>   Create:  tar.exe -cf <archive-filename> [filenames...]
    #>   Help:    tar.exe --help
    #> Skipping 1 packages ahead of CRAN: rlang
    #> Running "C:/PROGRA~1/R/R-35~1.1/bin/x64/Rcmd.exe" build \
    #>   "C:\Users\hiroaki-yutani\AppData\Local\Temp\RtmpYLoNHr\remotes1cd8517318fd\rstudio-radix-c3dba83" \
    #>   --no-resave-data --no-resave-data --no-manual --no-build-vignettes
    #> * checking for file 'C:\Users\hiroaki-yutani\AppData\Local\Temp\RtmpYLoNHr\remotes1cd8517318fd\rstudio-radix-c3dba83/DESCRIPTION' ... OK
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2016-11-08-sharpe-ratio\sharpe-ratio_files\dygraphs-binding-1.1.1.4\lib\timezone\moment-timezone-with-data.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2016-11-08-sharpe-ratio\sharpe-ratio_files\dygraphs-binding-1.1.1.4\lib\timezone\moment-timezone-with-data.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\dygraphs\dygraph.css to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\dygraphs\dygraph.css: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\dygraphs\shapes.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\dygraphs\shapes.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\jquery\AUTHORS.txt to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\jquery\AUTHORS.txt: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\jquery\jquery.min.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\jquery\jquery.min.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\timezone\moment.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\timezone\moment.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\moment-timezone-0.2.5\moment-timezone-with-data.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\moment-timezone-0.2.5\moment-timezone-with-data.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\font-awesome-4.5.0\font-awesome.min.css to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\font-awesome-4.5.0\font-awesome.min.css: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\css\motion.css to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\css\motion.css: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\custom\reset.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\custom\reset.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\custom\text-symbols.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\custom\text-symbols.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem creating directory C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\highcharts-3d.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem creating directory C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\highcharts-more.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem creating directory C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\highcharts.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\annotations.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\annotations.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\boost.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\boost.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\broken-axis.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\broken-axis.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\data.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\data.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\drilldown.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\drilldown.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\exporting.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\exporting.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\funnel.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\funnel.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\heatmap.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\heatmap.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\map.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\map.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\solid-gauge.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\solid-gauge.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\treemap.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\treemap.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\annotations.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\annotations.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\export-csv.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\export-csv.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\motion.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\motion.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #>  ERROR
    #> copying to build directory failed
    #> Error in run(bin, args = real_cmdargs, stdout_line_callback = real_callback(stdout),  : 
    #>   System command error
    #> In addition: Warning messages:
    #> 1: In utils::untar(tarfile, extras = "--force-local", ...) :
    #>   ‘tar.exe -zxf "C:\Users\HIROAK~1\AppData\Local\Temp\RtmpYLoNHr\file1cd831c4444e.tar.gz" -C "C:/Users/HIROAK~1/AppData/Local/Temp/RtmpYLoNHr/remotes1cd8517318fd" --force-local’ returned error code 1
    #> 2: In system(cmd, intern = TRUE) :
    #>  
    #>  Error in run(bin, args = real_cmdargs, stdout_line_callback = real_callback(stdout),  : 
    #>   System command error 
  8. gaborcsardi commented on Sep 22, 2018

    @gaborcsardi
    Member
    remotes::install_github("rstudio/radix@c3dba83")
    #> Downloading GitHub repo rstudio/radix@c3dba83
    #> tar.exe: Option --force-local is not supported
    #> Usage:
    #>   List:    tar.exe -tf <archive-filename>
    #>   Extract: tar.exe -xf <archive-filename>
    #>   Create:  tar.exe -cf <archive-filename> [filenames...]
    #>   Help:    tar.exe --help
    #> Skipping 1 packages ahead of CRAN: rlang
    #> Running "C:/PROGRA~1/R/R-35~1.1/bin/x64/Rcmd.exe" build \
    #>   "C:\Users\hiroaki-yutani\AppData\Local\Temp\RtmpYLoNHr\remotes1cd8517318fd\rstudio-radix-c3dba83" \
    #>   --no-resave-data --no-resave-data --no-manual --no-build-vignettes
    #> * checking for file 'C:\Users\hiroaki-yutani\AppData\Local\Temp\RtmpYLoNHr\remotes1cd8517318fd\rstudio-radix-c3dba83/DESCRIPTION' ... OK
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2016-11-08-sharpe-ratio\sharpe-ratio_files\dygraphs-binding-1.1.1.4\lib\timezone\moment-timezone-with-data.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2016-11-08-sharpe-ratio\sharpe-ratio_files\dygraphs-binding-1.1.1.4\lib\timezone\moment-timezone-with-data.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\dygraphs\dygraph.css to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\dygraphs\dygraph.css: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\dygraphs\shapes.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\dygraphs\shapes.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\jquery\AUTHORS.txt to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\jquery\AUTHORS.txt: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\jquery\jquery.min.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\jquery\jquery.min.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\timezone\moment.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\dygraphs-binding-1.1.1.4\lib\timezone\moment.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\moment-timezone-0.2.5\moment-timezone-with-data.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-03-07-quandl-and-forecasting\quandl-and-forecasting_files\moment-timezone-0.2.5\moment-timezone-with-data.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\font-awesome-4.5.0\font-awesome.min.css to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\font-awesome-4.5.0\font-awesome.min.css: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\css\motion.css to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\css\motion.css: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\custom\reset.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\custom\reset.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\custom\text-symbols.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\custom\text-symbols.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem creating directory C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\highcharts-3d.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem creating directory C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\highcharts-more.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem creating directory C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\highcharts.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\annotations.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\annotations.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\boost.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\boost.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\broken-axis.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\broken-axis.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\data.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\data.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\drilldown.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\drilldown.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\exporting.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\exporting.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\funnel.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\funnel.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\heatmap.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\heatmap.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\map.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\map.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\solid-gauge.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\solid-gauge.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\treemap.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\modules\treemap.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\annotations.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\annotations.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\export-csv.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\export-csv.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   problem copying .\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\motion.js to C:\Users\HIROAK~1\AppData\Local\Temp\RtmpmaysfP\Rbuild214c6a534bc\rstudio-radix-c3dba83\examples\websites\reproducible-finance-with-r\_posts\2017-09-13-asset-volatility\asset-volatility_files\highchart-binding-0.5.0\lib\highcharts-5.0.6\plugins\motion.js: No such file or directory
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
    #>   over-long path length
    #>  ERROR
    #> copying to build directory failed
    #> Error in run(bin, args = real_cmdargs, stdout_line_callback = real_callback(stdout),  : 
    #>   System command error
    #> In addition: Warning messages:
    #> 1: In utils::untar(tarfile, extras = "--force-local", ...) :
    #>   ‘tar.exe -zxf "C:\Users\HIROAK~1\AppData\Local\Temp\RtmpYLoNHr\file1cd831c4444e.tar.gz" -C "C:/Users/HIROAK~1/AppData/Local/Temp/RtmpYLoNHr/remotes1cd8517318fd" --force-local’ returned error code 1
    #> 2: In system(cmd, intern = TRUE) :
    #>  
    #>  Error in run(bin, args = real_cmdargs, stdout_line_callback = real_callback(stdout),  : 
    #>   System command error 
  9. gaborcsardi commented on Sep 22, 2018

    @gaborcsardi
    Member

    OK, I can reproduce this.

    So, this is coming from R CMD build, i.e. base R. We'll see what we can do about it.

    The warnings should be actually errors, because R does not even try to copy the file after the warning. So even if the build somehow magically succeeds, some files will be missing, and you get a broken
    package. (Arrrrrgh.)

  10. yutannihilation commented on Sep 22, 2018

    @yutannihilation
    Contributor

    Oh, thanks for confirming. I didn't notice R CMD build was the heart of the problem....

    you get a broken package

    Opps...

  11. gaborcsardi commented on Sep 22, 2018

    @gaborcsardi
    Member

    One workaround that often works is to skip building the package:

    remotes::install_github("rstudio/radix@c3dba83", build = FALSE)
  12. gaborcsardi commented on Oct 2, 2018

    @gaborcsardi
    Member

    FWIW, this is already fixed for the radix package, simply by using shorter paths.

    As for the general problem, I don't think we can do much, maybe detect the reason of the failure, and point people to this issue?

  13. yutannihilation commented on Oct 2, 2018

    @yutannihilation
    Contributor

    Yeah, I know. That's why I specify the commit @c3dba83 where the problem is not fixed yet :) I just wanted to tell you that there's the general problem.

    I don't think we can do much, maybe detect the reason of the failure, and point people to this issue?

    I totally agree with you!

  14. added a commit that references this issue on Oct 2, 2018
    448a419
  15. gaborcsardi commented on Oct 2, 2018

    @gaborcsardi
    Member

    This is partially fixed by #178. The other half will be fixed by solving r-lib/pkgbuild#48

    Now you will get:

    It seems that this package contains files with very long paths.
    This is not supported on most Windows versions. Please contant the
    package authors and tell them about this. See this GitHub issue
    for more details: https://github.com/r-lib/remotes/issues/84
    
  16. added a commit that references this issue on Oct 2, 2018
    c06f7f4
  17. yutannihilation commented on Oct 2, 2018

    @yutannihilation
    Contributor

    Thanks for the nice improvement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorinstall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions