ggthemr icon indicating copy to clipboard operation
ggthemr copied to clipboard

Cannot install

Open wuttkea opened this issue 4 years ago • 17 comments

Similar to #29 , I am unable to install the package.

The problem remains regardless of which options (here: "3") I choose during the process.

`> devtools::install_github('cttobin/ggthemr') WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools custom from http://cran.r-project.org/bin/windows/Rtools/. Downloading GitHub repo cttobin/ggthemr@master These packages have more recent versions available. Which would you like to update?

1: All
2: CRAN packages only
3: None
4: rlang (0.4.3 -> 0.4.4) [CRAN] 5: stringi (1.4.4 -> 1.4.5) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 3 WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools custom from http://cran.r-project.org/bin/windows/Rtools/. √ checking for file 'C:\Users\awuttke\AppData\Local\Temp\RtmpeA6c5f\remotes24d87bda938\cttobin-ggthemr-10eb50a/DESCRIPTION' (368ms)

  • preparing 'ggthemr': (432ms) √ checking DESCRIPTION meta-information ...
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories Removed empty directory 'ggthemr/README_files'
  • building 'ggthemr_1.1.0.tar.gz'
  • installing source package 'ggthemr' ... ** using staged installation ** R ** byte-compile and prepare package for lazy loading Fehler: (konvertiert von Warnung) Paket 'ggplot2' wurde unter R Version 3.6.1 erstellt Ausführung angehalten ERROR: lazy loading failed for package 'ggthemr'
  • removing 'C:/Program Files/R/R-3.6.0/library/ggthemr' Error: Failed to install 'ggthemr' from GitHub: (converted from warning) installation of package ‘C:/Users/awuttke/AppData/Local/Temp/RtmpeA6c5f/file24d824b81ba0/ggthemr_1.1.0.tar.gz’ had non-zero exit status`

`> sessionInfo() R version 3.6.0 (2019-04-26) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 17763)

Matrix products: default

locale: [1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252
[3] LC_MONETARY=German_Germany.1252 LC_NUMERIC=C
[5] LC_TIME=German_Germany.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] Rcpp_1.0.3 rstudioapi_0.10 magrittr_1.5 usethis_1.5.1
[5] devtools_2.2.1 pkgload_1.0.2 R6_2.4.1 rlang_0.4.3
[9] fansi_0.4.1 tools_3.6.0 pkgbuild_1.0.6 packrat_0.5.0
[13] sessioninfo_1.1.1 cli_2.0.1 withr_2.1.2 ellipsis_0.3.0
[17] remotes_2.1.0 assertthat_0.2.1 digest_0.6.23 rprojroot_1.3-2
[21] crayon_1.3.4 processx_3.4.1 callr_3.4.1 fs_1.3.1
[25] ps_1.3.0 curl_4.0 testthat_2.3.1 memoise_1.1.0
[29] glue_1.3.1 compiler_3.6.0 desc_1.2.0 backports_1.1.4
[33] prettyunits_1.1.1`

wuttkea avatar Feb 02 '20 16:02 wuttkea

I have the exact same issue. Windows 10

krispiepage avatar Apr 28 '20 15:04 krispiepage

Hi both, I'm not an expert, but I was seeing a very similar problem to this today and managed to fix it by updating things. First make sure your R (not just Rstudio, but R itself) is up to date (mine was 3.6.1, but there is now 4.0 and that made a big difference). Second, install Rtools as they say from http://cran.r-project.org/bin/windows/Rtools/. Make sure you do the extra instructions at the bottom of the Rtools install page as well to put in your 'path', otherwise it will keep trying to use old versions of Rtools (mine did anyway).

That fixed it for me!

Ryxicon avatar May 04 '20 23:05 Ryxicon

Running devtools::install_github('cttobin/ggthemr') on R rather than Rstudio worked for me.

Agatoni avatar Aug 19 '20 10:08 Agatoni

I cannot library this package, the enviroment doesn't have this package, it is strange

YChanHuang avatar Oct 06 '20 16:10 YChanHuang

+1

> devtools::install_github('cttobin/ggthemr')
Downloading GitHub repo cttobin/ggthemr@master
✔  checking for file ‘/private/var/folders/g4/tk1s_dqn4f32dqlx5gth_2f40000gn/T/RtmpXdjLPZ/remotes12ead23b25265/cttobin-ggthemr-10eb50a/DESCRIPTION’ ...
─  preparing ‘ggthemr’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
   Removed empty directory ‘ggthemr/README_files’
─  building ‘ggthemr_1.1.0.tar.gz’

Installing package into ‘/Users/JK/Library/R/4.0/library’
(as ‘lib’ is unspecified)
* installing *source* package ‘ggthemr’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
错误: (由警告转换成)程辑包‘ggplot2’是用R版本4.0.2 来建造的
停止执行
ERROR: lazy loading failed for package ‘ggthemr’
* removing ‘/Users/JK/Library/R/4.0/library/ggthemr’
错误: Failed to install 'ggthemr' from GitHub:
  (由警告转换成)installation of package ‘/var/folders/g4/tk1s_dqn4f32dqlx5gth_2f40000gn/T//RtmpXdjLPZ/file12ead103f7732/ggthemr_1.1.0.tar.gz’ had non-zero exit status
>

jackpgao avatar Oct 16 '20 06:10 jackpgao

Hi everyone. Apologies but I don't maintain this package any more. Mostly because I haven't used R in several years. Is anyone here willing to become a maintainer? Or if someone forked it I can link to that fork and recommend that people go there instead, whatever works best for people.

I'll add a note to the Readme too to say something similar.

cttobin avatar Oct 16 '20 14:10 cttobin

It's a sad to hear that you are not using R for a while. This package is so fantastic, and I love it so much.

YChanHuang avatar Oct 16 '20 14:10 YChanHuang

What a pity! Clearly one of my favorite package!

shezadt avatar Oct 19 '20 09:10 shezadt

Hi everyone. Apologies but I don't maintain this package any more. Mostly because I haven't used R in several years. Is anyone here willing to become a maintainer? Or if someone forked it I can link to that fork and recommend that people go there instead, whatever works best for people.

I'll add a note to the Readme too to say something similar.

Hey @cttobin, we at https://github.com/Mikata-Project/ are happy to take over and maintain this package. We use it at work and would love to continue making it available to the community. Can we discuss details via email? I can't find your email. Our team email is [email protected]

Looking forward to hearing back!

Amy

amy17519 avatar Oct 28 '20 00:10 amy17519

@amy17519 Thanks, good to hear someone is interested in taking it on. We can discuss via email and maybe one of us can comment back here to let everyone know what's happening.

cttobin avatar Oct 28 '20 17:10 cttobin

@cttobin and @amy17519 I am also regularly using this package. I would be happy to contribute with my R programming skills if if that can help.

FCACollin avatar Oct 29 '20 08:10 FCACollin

After discussion with the Mikata Project team, they have suggested submitting a pull request to fix this issue. Then longer term we will most likely transfer ownership to their project which I believe will work seamlessly for anyone who has installed the package already.

@FCACollin Thank you for offering to help too. As I won't be working on this myself outside of reviewing maybe a pull request or two, I have no objection with having others involved. But maybe you could offer your services to Mikata directly and coordinate with them, as they are the ones who will be involved in the development from now on.

cttobin avatar Oct 30 '20 13:10 cttobin

Everyone who may have been waiting for this issue to be resolved; I've transferred ownership of the project to Mikata so they will continue development from now on. Thanks to Mikata for taking on the package.

cttobin avatar Nov 13 '20 09:11 cttobin

updates?

jakewillms17 avatar Dec 10 '20 19:12 jakewillms17

@jakewillms17 Sorry about the delayed response! We've submitted to CRAN once and got some feedback that I still need to fix. I hope to resubmit to CRAN again after this WIP PR https://github.com/Mikata-Project/ggthemr/pull/42. Thank you for your patience! I also welcome anyone's feedback and contributions!

amy17519 avatar Dec 14 '20 10:12 amy17519

We will resubmit to CRAN when https://github.com/Mikata-Project/ggthemr/issues/44 is resolved

amy17519 avatar Feb 08 '21 16:02 amy17519

having the same issue as described here. can't wait for the issue to be resolved and be able to use this cool package.

erdnaxel avatar Aug 29 '21 20:08 erdnaxel