I am unable to install package 'ggpirate'. Here's the session info:
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 10240)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] rstudioapi_0.11 magrittr_1.5 usethis_1.6.3 devtools_2.3.2
[5] pkgload_1.1.0 R6_2.4.1 rlang_0.4.8 fansi_0.4.1
[9] tools_4.0.2 pkgbuild_1.1.0 xfun_0.15 sessioninfo_1.1.1
[13] tinytex_0.24 cli_2.0.2 withr_2.2.0 ellipsis_0.3.1
[17] remotes_2.2.0 assertthat_0.2.1 digest_0.6.25 rprojroot_1.3-2
[21] crayon_1.3.4 processx_3.4.4 callr_3.5.1 fs_1.4.2
[25] ps_1.3.3 curl_4.3 testthat_2.3.2 memoise_1.1.0
[29] glue_1.4.1 compiler_4.0.2 desc_1.2.0 backports_1.1.7
[33] prettyunits_1.1.1
I am using the following method and getting the error:
devtools::install_github("mikabr/ggpirate")
Downloading GitHub repo mikabr/ggpirate@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 (0.4.8 -> 0.4.10) [CRAN]
5: glue (1.4.1 -> 1.4.2 ) [CRAN]
6: digest (0.6.25 -> 0.6.27) [CRAN]
7: magrittr (1.5 -> 2.0.1 ) [CRAN]
8: vctrs (0.3.1 -> 0.3.6 ) [CRAN]
9: crayon (1.3.4 -> 1.4.1 ) [CRAN]
10: cli (2.0.2 -> 2.3.1 ) [CRAN]
11: pillar (1.4.5 -> 1.5.1 ) [CRAN]
12: lifecycle (0.2.0 -> 1.0.0 ) [CRAN]
13: fansi (0.4.1 -> 0.4.2 ) [CRAN]
14: colorspace (1.4-1 -> 2.0-0 ) [CRAN]
15: R6 (2.4.1 -> 2.5.0 ) [CRAN]
16: labeling (0.3 -> 0.4.2 ) [CRAN]
17: farver (2.0.3 -> 2.1.0 ) [CRAN]
18: tibble (3.0.2 -> 3.1.0 ) [CRAN]
19: generics (0.0.2 -> 0.1.0 ) [CRAN]
20: withr (2.2.0 -> 2.4.1 ) [CRAN]
21: isoband (0.2.2 -> 0.2.4 ) [CRAN]
22: dplyr (1.0.0 -> 1.0.5 ) [CRAN]
23: ggplot2 (3.3.2 -> 3.3.3 ) [CRAN]
Enter one or more numbers, or an empty line to skip updates:
√ checking for file 'C:\Users\HP\AppData\Local\Temp\RtmpotKWK2\remotes13864a75f1f\mikabr-ggpirate-8352892/DESCRIPTION' (1.4s)
- preparing 'ggpirate': (400ms)
√ checking DESCRIPTION meta-information ... - checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- building 'ggpirate_0.1.2.tar.gz'
Installing package into ‘C:/Users/HP/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
- installing source package 'ggpirate' ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'dplyr' 1.0.0 is already loaded, but >= 1.0.1 is required
Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'ggpirate' - removing 'C:/Users/HP/Documents/R/win-library/4.0/ggpirate'
Error: Failed to install 'ggpirate' from GitHub:
(converted from warning) installation of package ‘C:/Users/HP/AppData/Local/Temp/RtmpotKWK2/file1381244535c/ggpirate_0.1.2.tar.gz’ had non-zero exit status> devtools::install_github("mikabr/ggpirate")
Downloading GitHub repo mikabr/ggpirate@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 (0.4.8 -> 0.4.10) [CRAN]
5: glue (1.4.1 -> 1.4.2 ) [CRAN]
6: digest (0.6.25 -> 0.6.27) [CRAN]
7: magrittr (1.5 -> 2.0.1 ) [CRAN]
8: vctrs (0.3.1 -> 0.3.6 ) [CRAN]
9: crayon (1.3.4 -> 1.4.1 ) [CRAN]
10: cli (2.0.2 -> 2.3.1 ) [CRAN]
11: pillar (1.4.5 -> 1.5.1 ) [CRAN]
12: lifecycle (0.2.0 -> 1.0.0 ) [CRAN]
13: fansi (0.4.1 -> 0.4.2 ) [CRAN]
14: colorspace (1.4-1 -> 2.0-0 ) [CRAN]
15: R6 (2.4.1 -> 2.5.0 ) [CRAN]
16: labeling (0.3 -> 0.4.2 ) [CRAN]
17: farver (2.0.3 -> 2.1.0 ) [CRAN]
18: tibble (3.0.2 -> 3.1.0 ) [CRAN]
19: generics (0.0.2 -> 0.1.0 ) [CRAN]
20: withr (2.2.0 -> 2.4.1 ) [CRAN]
21: isoband (0.2.2 -> 0.2.4 ) [CRAN]
22: dplyr (1.0.0 -> 1.0.5 ) [CRAN]
23: ggplot2 (3.3.2 -> 3.3.3 ) [CRAN]
Enter one or more numbers, or an empty line to skip updates:
√ checking for file 'C:\Users\HP\AppData\Local\Temp\RtmpotKWK2\remotes13864a75f1f\mikabr-ggpirate-8352892/DESCRIPTION' (1.4s)
- preparing 'ggpirate': (400ms)
√ checking DESCRIPTION meta-information ... - checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- building 'ggpirate_0.1.2.tar.gz'
Installing package into ‘C:/Users/HP/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
- installing source package 'ggpirate' ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'dplyr' 1.0.0 is already loaded, but >= 1.0.1 is required
Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'ggpirate' - removing 'C:/Users/HP/Documents/R/win-library/4.0/ggpirate'
Error: Failed to install 'ggpirate' from GitHub:
(converted from warning) installation of package ‘C:/Users/HP/AppData/Local/Temp/RtmpotKWK2/file1381244535c/ggpirate_0.1.2.tar.gz’ had non-zero exit status