Problems installing the shinyuieditor package

Hello.
Good Morning.
Dear, I'm having some problems installing some packages. I tried to install the shinyuieditor package and it did not complete. Below is the output of RStudio:

 remotes::install_github("rstudio/shinyuieditor")
Downloading GitHub repo rstudio/shinyuieditor@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

 1: All                                   
 2: CRAN packages only                    
 3: None                                  
 4: cli         (3.2.0   -> 3.3.0 ) [CRAN]
 5: vctrs       (0.3.8   -> 0.4.1 ) [CRAN]
 6: rlang       (1.0.2   -> 1.0.4 ) [CRAN]
 7: pillar      (1.7.0   -> 1.8.0 ) [CRAN]
 8: magrittr    (2.0.2   -> 2.0.3 ) [CRAN]
 9: fansi       (1.0.2   -> 1.0.3 ) [CRAN]
10: tibble      (3.1.6   -> 3.1.8 ) [CRAN]
11: R.utils     (2.11.0  -> 2.12.0) [CRAN]
12: R.oo        (1.24.0  -> 1.25.0) [CRAN]
13: R.methodsS3 (1.8.1   -> 1.8.2 ) [CRAN]
14: sass        (0.4.0   -> 0.4.2 ) [CRAN]
15: htmltools   (0.5.2   -> 0.5.3 ) [CRAN]
16: Rcpp        (1.0.8.3 -> 1.0.9 ) [CRAN]
17: ps          (1.6.0   -> 1.7.1 ) [CRAN]
18: rprojroot   (2.0.2   -> 2.0.3 ) [CRAN]
19: bslib       (0.3.1   -> 0.4.0 ) [CRAN]
20: commonmark  (1.7     -> 1.8.0 ) [CRAN]
21: fontawesome (0.2.2   -> 0.3.0 ) [CRAN]
22: processx    (3.5.2   -> 3.7.0 ) [CRAN]
23: shiny       (1.7.1   -> 1.7.2 ) [CRAN]
24: callr       (3.7.0   -> 3.7.1 ) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 1
gridlayout  (NA      -> 9869487df...) [GitHub]
cli         (3.2.0   -> 3.3.0       ) [CRAN]
vctrs       (0.3.8   -> 0.4.1       ) [CRAN]
rlang       (1.0.2   -> 1.0.4       ) [CRAN]
pillar      (1.7.0   -> 1.8.0       ) [CRAN]
magrittr    (2.0.2   -> 2.0.3       ) [CRAN]
fansi       (1.0.2   -> 1.0.3       ) [CRAN]
tibble      (3.1.6   -> 3.1.8       ) [CRAN]
R.utils     (2.11.0  -> 2.12.0      ) [CRAN]
R.oo        (1.24.0  -> 1.25.0      ) [CRAN]
R.methodsS3 (1.8.1   -> 1.8.2       ) [CRAN]
sass        (0.4.0   -> 0.4.2       ) [CRAN]
htmltools   (0.5.2   -> 0.5.3       ) [CRAN]
Rcpp        (1.0.8.3 -> 1.0.9       ) [CRAN]
ps          (1.6.0   -> 1.7.1       ) [CRAN]
rprojroot   (2.0.2   -> 2.0.3       ) [CRAN]
R.cache     (NA      -> 0.16.0      ) [CRAN]
bslib       (0.3.1   -> 0.4.0       ) [CRAN]
commonmark  (1.7     -> 1.8.0       ) [CRAN]
fontawesome (0.2.2   -> 0.3.0       ) [CRAN]
processx    (3.5.2   -> 3.7.0       ) [CRAN]
styler      (NA      -> 1.7.0       ) [CRAN]
shiny       (1.7.1   -> 1.7.2       ) [CRAN]
callr       (3.7.0   -> 3.7.1       ) [CRAN]
Downloading GitHub repo rstudio/gridlayout@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All                              
2: CRAN packages only               
3: None                             
4: rlang     (1.0.2 -> 1.0.4) [CRAN]
5: htmltools (0.5.2 -> 0.5.3) [CRAN]
6: magrittr  (2.0.2 -> 2.0.3) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 1
rlang     (1.0.2 -> 1.0.4) [CRAN]
htmltools (0.5.2 -> 0.5.3) [CRAN]
magrittr  (2.0.2 -> 2.0.3) [CRAN]
Installing 3 packages: rlang, htmltools, magrittr
Installing packages into ‘C:/Users/jose.berilo/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/rlang_1.0.4.zip'
Content type 'application/zip' length 1755870 bytes (1.7 MB)
downloaded 1.7 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/htmltools_0.5.3.zip'
Content type 'application/zip' length 353966 bytes (345 KB)
downloaded 345 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/magrittr_2.0.3.zip'
Content type 'application/zip' length 238457 bytes (232 KB)
downloaded 232 KB

package ‘rlang’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘rlang’
Warning: restored ‘rlang’
package ‘htmltools’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘htmltools’
Warning: restored ‘htmltools’
package ‘magrittr’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘magrittr’
Warning: restored ‘magrittr’

The downloaded binary packages are in
	C:\Users\jose.berilo\AppData\Local\Temp\Rtmp2rMQpN\downloaded_packages
√  checking for file 'C:\Users\jose.berilo\AppData\Local\Temp\Rtmp2rMQpN\remotes1fac2e0f4471\rstudio-gridlayout-9869487/DESCRIPTION' (580ms)
-  preparing 'gridlayout': (3.4s)
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts (1.1s)
-  checking for empty or unneeded directories
-  building 'gridlayout_0.1.0.tar.gz'
   
Installing package into ‘C:/Users/jose.berilo/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
* installing *source* package 'gridlayout' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'gridlayout'
    finding HTML links ... done
    add_alternate_layout                    html  
    build_css_rule                          html  
    card_plot_output                        html  
    flex_stack                              html  
    get_element_ids                         html  
    get_elements                            html  
    grid_card                               html  
    grid_card_plot                          html  
    grid_card_text                          html  
    grid_container                          html  
    grid_nested                             html  
    grid_page                               html  
    grid_place                              html  
    make_bg_class                           html  
    md_to_gridlayout                        html  
    new_gridlayout                          html  
    pipe                                    html  
    to_css                                  html  
    to_matrix                               html  
    to_md                                   html  
    use_gridlayout_rmd                      html  
    use_gridlayout_shiny                    html  
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (gridlayout)
Installing 23 packages: cli, vctrs, rlang, pillar, magrittr, fansi, tibble, R.utils, R.oo, R.methodsS3, sass, htmltools, Rcpp, ps, rprojroot, R.cache, bslib, commonmark, fontawesome, processx, styler, shiny, callr
Installing packages into ‘C:/Users/jose.berilo/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/cli_3.3.0.zip'
Content type 'application/zip' length 1259538 bytes (1.2 MB)
downloaded 1.2 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/vctrs_0.4.1.zip'
Content type 'application/zip' length 1572710 bytes (1.5 MB)
downloaded 1.5 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/rlang_1.0.4.zip'
Content type 'application/zip' length 1755870 bytes (1.7 MB)
downloaded 1.7 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/pillar_1.8.0.zip'
Content type 'application/zip' length 687865 bytes (671 KB)
downloaded 671 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/magrittr_2.0.3.zip'
Content type 'application/zip' length 238457 bytes (232 KB)
downloaded 232 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/fansi_1.0.3.zip'
Content type 'application/zip' length 365660 bytes (357 KB)
downloaded 357 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/tibble_3.1.8.zip'
Content type 'application/zip' length 745909 bytes (728 KB)
downloaded 728 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/R.utils_2.12.0.zip'
Content type 'application/zip' length 1413783 bytes (1.3 MB)
downloaded 1.3 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/R.oo_1.25.0.zip'
Content type 'application/zip' length 970687 bytes (947 KB)
downloaded 947 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/R.methodsS3_1.8.2.zip'
Content type 'application/zip' length 83174 bytes (81 KB)
downloaded 81 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/sass_0.4.2.zip'
Content type 'application/zip' length 3640196 bytes (3.5 MB)
downloaded 3.5 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/htmltools_0.5.3.zip'
Content type 'application/zip' length 353966 bytes (345 KB)
downloaded 345 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/Rcpp_1.0.9.zip'
Content type 'application/zip' length 3315812 bytes (3.2 MB)
downloaded 3.2 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/ps_1.7.1.zip'
Content type 'application/zip' length 799359 bytes (780 KB)
downloaded 780 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/rprojroot_2.0.3.zip'
Content type 'application/zip' length 109163 bytes (106 KB)
downloaded 106 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/R.cache_0.16.0.zip'
Content type 'application/zip' length 110977 bytes (108 KB)
downloaded 108 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/bslib_0.4.0.zip'
Content type 'application/zip' length 5012846 bytes (4.8 MB)
downloaded 4.8 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/commonmark_1.8.0.zip'
Content type 'application/zip' length 270379 bytes (264 KB)
downloaded 264 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/fontawesome_0.3.0.zip'
Content type 'application/zip' length 1497578 bytes (1.4 MB)
downloaded 1.4 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/processx_3.7.0.zip'
Content type 'application/zip' length 1473193 bytes (1.4 MB)
downloaded 1.4 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/styler_1.7.0.zip'
Content type 'application/zip' length 748550 bytes (731 KB)
downloaded 731 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/shiny_1.7.2.zip'
Content type 'application/zip' length 4252726 bytes (4.1 MB)
downloaded 4.1 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/callr_3.7.1.zip'
Content type 'application/zip' length 430427 bytes (420 KB)
downloaded 420 KB

package ‘cli’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘cli’
Warning: restored ‘cli’
package ‘vctrs’ successfully unpacked and MD5 sums checked
package ‘rlang’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘rlang’
Warning: restored ‘rlang’
package ‘pillar’ successfully unpacked and MD5 sums checked
package ‘magrittr’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘magrittr’
Warning: restored ‘magrittr’
package ‘fansi’ successfully unpacked and MD5 sums checked
package ‘tibble’ successfully unpacked and MD5 sums checked
package ‘R.utils’ successfully unpacked and MD5 sums checked
package ‘R.oo’ successfully unpacked and MD5 sums checked
package ‘R.methodsS3’ successfully unpacked and MD5 sums checked
package ‘sass’ successfully unpacked and MD5 sums checked
package ‘htmltools’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘htmltools’
Warning: restored ‘htmltools’
package ‘Rcpp’ successfully unpacked and MD5 sums checked
package ‘ps’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘ps’
Warning: restored ‘ps’
package ‘rprojroot’ successfully unpacked and MD5 sums checked
package ‘R.cache’ successfully unpacked and MD5 sums checked
package ‘bslib’ successfully unpacked and MD5 sums checked
package ‘commonmark’ successfully unpacked and MD5 sums checked
package ‘fontawesome’ successfully unpacked and MD5 sums checked
package ‘processx’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘processx’
Warning: restored ‘processx’
package ‘styler’ successfully unpacked and MD5 sums checked
package ‘shiny’ successfully unpacked and MD5 sums checked
package ‘callr’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Users\jose.berilo\AppData\Local\Temp\Rtmp2rMQpN\downloaded_packages
Skipping install of 'gridlayout' from a github remote, the SHA1 (9869487d) has not changed since last install.
  Use `force = TRUE` to force installation
√  checking for file 'C:\Users\jose.berilo\AppData\Local\Temp\Rtmp2rMQpN\remotes1fac4ac957ec\rstudio-shinyuieditor-2e8c1a3/DESCRIPTION' (651ms)
-  preparing 'shinyuieditor': (8.3s)
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts (3.1s)
-  checking for empty or unneeded directories
-  building 'shinyuieditor_0.1.0.tar.gz'
   
Installing package into ‘C:/Users/jose.berilo/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
* installing *source* package 'shinyuieditor' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'shinyuieditor'
    finding HTML links ... done
    create_output_subscribers               html  
    deparse_ui_fn                           html  
    get_app_ui_file                         html  
    get_file_ui_definition_info             html  
    launch_editor                           html  
    namespace_ui_fn                         html  
    parse_ui_fn                             html  
    ui_code_to_tree                         html  
    ui_tree_to_code                         html  
    update_ui_definition                    html  
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (shinyuieditor)
Warning messages:
1: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\jose.berilo\Documents\R\win-library\4.1\00LOCK\rlang\libs\x64\rlang.dll to C:\Users\jose.berilo\Documents\R\win-library\4.1\rlang\libs\x64\rlang.dll: Permission denied
2: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\jose.berilo\Documents\R\win-library\4.1\00LOCK\htmltools\libs\x64\htmltools.dll to C:\Users\jose.berilo\Documents\R\win-library\4.1\htmltools\libs\x64\htmltools.dll: Permission denied
3: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\jose.berilo\Documents\R\win-library\4.1\00LOCK\magrittr\libs\x64\magrittr.dll to C:\Users\jose.berilo\Documents\R\win-library\4.1\magrittr\libs\x64\magrittr.dll: Permission denied
4: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\jose.berilo\Documents\R\win-library\4.1\00LOCK\cli\libs\x64\cli.dll to C:\Users\jose.berilo\Documents\R\win-library\4.1\cli\libs\x64\cli.dll: Permission denied
5: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\jose.berilo\Documents\R\win-library\4.1\00LOCK\rlang\libs\x64\rlang.dll to C:\Users\jose.berilo\Documents\R\win-library\4.1\rlang\libs\x64\rlang.dll: Permission denied
6: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\jose.berilo\Documents\R\win-library\4.1\00LOCK\magrittr\libs\x64\magrittr.dll to C:\Users\jose.berilo\Documents\R\win-library\4.1\magrittr\libs\x64\magrittr.dll: Permission denied
7: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\jose.berilo\Documents\R\win-library\4.1\00LOCK\htmltools\libs\x64\htmltools.dll to C:\Users\jose.berilo\Documents\R\win-library\4.1\htmltools\libs\x64\htmltools.dll: Permission denied
8: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\jose.berilo\Documents\R\win-library\4.1\00LOCK\ps\libs\x64\ps.dll to C:\Users\jose.berilo\Documents\R\win-library\4.1\ps\libs\x64\ps.dll: Permission denied
9: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\jose.berilo\Documents\R\win-library\4.1\00LOCK\processx\libs\x64\processx.dll to C:\Users\jose.berilo\Documents\R\win-library\4.1\processx\libs\x64\processx.dll: Permission denied
> devtools::install_github("rstudio/gridlayout")
Skipping install of 'gridlayout' from a github remote, the SHA1 (9869487d) has not changed since last install.
  Use `force = TRUE` to force installation

Hello, you can try--

devtools::install_github("rstudio/gridlayout", force = TRUE)

I hope it will work; if not try to download and install Rtools 4.0 from RTools: Toolchains for building R and R packages from source on Windows and reinstall your package.

Good luck :slight_smile:

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.