nicholasehamilton / ggtern

Extension to ggplot2 for plotting ternary diagrams
www.ggtern.com
55 stars 14 forks source link

CRAN warning update #54

Open MaximilianPi opened 1 year ago

MaximilianPi commented 1 year ago

Hi @nicholasehamilton ,

I've received a warning from CRAN that ggtern will be archived until 5.7.2023.

Are you planning to release a hotfix? I have looked into it and it seems to be caused by the documentation:

checking Rd files ... [3s/5s] WARNING
theme_elements.Rd:21: the condition has length > 1
problem found in ‘theme_elements.Rd’
znmeb commented 1 year ago

It's archived now - I've got a package that depends on ggtern and I'm going to switch to "install_github" for now.

znmeb commented 1 year ago
> remotes::install_github("nicholasehamilton/ggtern@v1.0.6.0")
Downloading GitHub repo nicholasehamilton/ggtern@v1.0.6.0
── R CMD build ───────────────────────────────────────────────────────────────────
✔  checking for file 'C:\Users\znmeb\AppData\Local\Temp\Rtmpm2OrNA\remotes7da82b986658\nicholasehamilton-ggtern-aa1ce5f/DESCRIPTION' ...
─  preparing 'ggtern':
✔  checking DESCRIPTION meta-information ...
─  installing the package to process help pages
         -----------------------------------
─  installing *source* package 'ggtern' ...
   ** using staged installation
   ** R
   ** data
   ** byte-compile and prepare package for lazy loading
   Error in get(x, envir = ns, inherits = FALSE) : 
     object 'coord_transform.cartesian' not found
   Error: unable to load R code in package 'ggtern'
   Execution halted
   ERROR: lazy loading failed for package 'ggtern'
─  removing 'C:/Users/znmeb/AppData/Local/Temp/RtmpWeHVER/Rinst86b43f704f7b/ggtern'
         -----------------------------------
   ERROR: package installation failed
Error: Failed to install 'ggtern' from GitHub:
  ! System command 'Rcmd.exe' failed
rsbivand commented 1 year ago

See https://github.com/green-striped-gecko/dartR/issues/604 for a simple fix. With https://cran.r-project.org/src/contrib/Archive/ggtern/ggtern_3.4.1.tar.gz and these replacements, ggtern.zip, it passes CMD check --as-cran. There is a badly formatted \Sexpr in line 15 of R/theme-elements.R - I just removed the backslash to stop Sexpr running.

This package needs to be orphaned and someone who uses the package should take over as maintainer.

finnlindgren commented 1 year ago

The package development appears to have moved to https://bitbucket.org/nicholasehamilton/ggtern/ where a (possible) fix was commited 2023-06-07