Closed ddsjoberg closed 1 year ago
This could be an issue with my work machine, but might need to update the renv snapshot to include ggeasy. My windows install is throwing an error when building the site as the ggeasy
package is missing. It dosen't look like the package is part of the renv lock file . I don't see where its being used. Its resolved once I install the package.
-- RMarkdown error -------------------------------------------------------------
Quitting from lines 202-211 (gallery.Rmd)
Error in loadNamespace(x) : there is no package called 'ggeasy'
In addition: Warning messages:
1: Tried to calculate with group_by(), but the calculation failed.
Falling back to ungrouped filter operation...
2: Using `across()` in `filter()` is deprecated, use `if_any()` or `if_all()`.
--------------------------------------------------------------------------------
Error in render_rmarkdown(pkg, input = input, output = output_file, output_format = format, :
Failed to render RMarkdown
Caused by error:
! callr subprocess failed: there is no package called 'ggeasy'
Caused by error:
! there is no package called 'ggeasy'
Error: callr subprocess failed: Failed to render RMarkdown
Caused by error:
! callr subprocess failed: there is no package called 'ggeasy'
Caused by error:
! there is no package called 'ggeasy'
Type .Last.error.trace to see where the error occurred
Hey @bailliem ! Thank you for the review!
What changes are proposed in this pull request?
grid.draw.ggsurvfit()
andgrid.draw.ggcuminc()
which in turn allows us to save images from the package directly withggplot2::ggsave()
(#107)If there is an GitHub issue associated with this pull request, please provide link. closes #107
Reviewer Checklist (if item does not apply, mark is as complete)
renv::install()
_pkgdown.yml
pkgdown::build_site()
. Check the R console for errors, and review the rendered website.withr::with_envvar(new = c("NOT_CRAN" = "true"), covr::report())
. Begin in a fresh R session without any packages loaded.usethis::use_spell_check()
runs with no spelling errors in documentationWhen the branch is ready to be merged into master:
NEWS.md
with the changes from this pull request under the heading "# ggsurvfit (development version)
". If there is an issue associated with the pull request, reference it in parentheses at the end update (seeNEWS.md
for examples).usethis::use_version(which = "dev")
codemetar::write_codemeta()
usethis::use_spell_check()
again