You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
install_github() failing on Windows due to long path names #84
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)
@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
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
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.)
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?
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
Activity
tidy-bot commentedon Aug 2, 2017
Tuesday Aug 23, 2016 at 12:21 GMT
Any suggestions for a solution to or this problem?
tidy-bot commentedon Aug 2, 2017
Wednesday Feb 22, 2017 at 03:47 GMT
I got the same problem recently, do you have a solution?
tidy-bot commentedon Aug 2, 2017
Wednesday Aug 02, 2017 at 21:00 GMT
Duplicate of #1464
tidy-bot commentedon Aug 2, 2017
Wednesday Aug 02, 2017 at 21:03 GMT
Hmmm, might actually be a different problem, so I'll keep this one open.
gaborcsardi commentedon Sep 22, 2018
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.
yutannihilation commentedon Sep 22, 2018
@gaborcsardi
Could you reopen this? I think this is not fixed yet. The code below still fails on Windows.
In case this is useful, here's the error log. You can see
over-long path lengthwarnings.Details
gaborcsardi commentedon Sep 22, 2018
gaborcsardi commentedon Sep 22, 2018
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.)
yutannihilation commentedon Sep 22, 2018
Oh, thanks for confirming. I didn't notice
R CMD buildwas the heart of the problem....Opps...
gaborcsardi commentedon Sep 22, 2018
One workaround that often works is to skip building the package:
gaborcsardi commentedon Oct 2, 2018
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?
yutannihilation commentedon Oct 2, 2018
Yeah, I know. That's why I specify the commit
@c3dba83where the problem is not fixed yet :) I just wanted to tell you that there's the general problem.I totally agree with you!
Helpful message when build fails for long paths
gaborcsardi commentedon Oct 2, 2018
This is partially fixed by #178. The other half will be fixed by solving r-lib/pkgbuild#48
Now you will get:
Helpful message when build fails for long paths (#178)
yutannihilation commentedon Oct 2, 2018
Thanks for the nice improvement!
Long path help msg in non-en locales