Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRAN warning update #54

Open
MaximilianPi opened this issue Apr 24, 2023 · 4 comments
Open

CRAN warning update #54

MaximilianPi opened this issue Apr 24, 2023 · 4 comments

Comments

@MaximilianPi
Copy link

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
Copy link

znmeb commented May 10, 2023

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
Copy link

znmeb commented May 10, 2023

> remotes::install_github("nicholasehamilton/[email protected]")
Downloading GitHub repo nicholasehamilton/[email protected]
── 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
Copy link

rsbivand commented Jun 5, 2023

See green-striped-gecko/dartR#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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants