-
Notifications
You must be signed in to change notification settings - Fork 18
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
Enhance "Get started" and other vignettes #78
Comments
This is for the README. Which "before-after" comparison do you mean here and which image? |
I assume you mean to include the ropensci footer? Would be a bit redundant then if we keep the logo in the README. |
I tried to set it in the knitr header but to get it working we need to render code directly? I cannot really render old.hooks = fansi::set_knit_hooks(knitr::knit_hooks)
options(crayon.enabled = TRUE) |
Here's what I wrote:
|
I would not again show the rcmdcheck output of the script stage here as we already show this in the rcmdcheck section in the "advantage" vignette. Instead I combined the question how a stage is accessed from R code with how to access a single stage. |
I would keep it concise and refer to the detailed help page of each step. |
I cannot think of a good example here. Which state might be so precious and at the same time "easily" overwritten by a user by accident? |
|
Closed in #80. |
@pat-s: I like the way the new vignettes are organized, they are good read.
The relevant information is presented concisely, with good cross-references.
Especially the automatic linking from code chunks to function documentation done by pkgdown makes the vignettes easy to navigate.
The vignettes could use some graphics, screenshots, and code blocks/listings.
They could be a bit more self-contained, too -- e.g. show an example instead of a bare link pointing to additional information.
The examples are important to give the user an early understanding if following the link is worthwhile.
README
Get started
tic-advantages.html
tic.R
file (copy template to the package for now, it might stay there for good, or we take the template from usethis later).travis.yml
andappveyor.yml
files, but point to the "Build lifecycle" articletic.R
?Advantages
r.rb
)tic.R
is shorter and easier to parse than.travis.yml
R CMD build
andR CMD check
(it's not reimplementing it), parses output and returns errors/warnings to the caller as an R objectfansi::sgr_to_html()
to create HTML)tic, travis, and usethis
Pending decision on where setup code is hosted.
Overall, I think a detailed walkthrough (expanding on what will be shown in "Get started") can add some value here.
use_ci()
(whether its in tic or usethis) to see how the packages interactIn "Getting Started we only talk on a meta level about the steps of
use_ci()
and refer to the tic+travis+usethis vignette explaining the steps in detail.Build lifecycle
.travis.yml
is not meant to be edited (include the "DO NOT EDIT" comments in the code)How is a stage accessed from R code? Show an exampleHow is a stage accessed from R code and how can a single stage be run?tic.R
file and the output of e.g.get_stage("script")
()
after the step namesNew vignette: How deployment works
Derived from "Easier deployment" in the "Advantages" vignette, and "pkgdown deployment" and "committing single files" in "Advanced usage".
~/.ssh
directory during the CI runAdvanced usage
tic.R
is a file that is processed withsource()
getRversion()
, show example wherewarnings_are_errors
depends on the R version used (ignoring warnings for R 3.1)s/add_code_step/add_step/
ci()$is_interactive()
)DESCRIPTION
, install manually only in extraordinary circumstancesload_from_file()
tmate
key bindings documentation, mention similarity withscreen
and overarching Ctrl + A shortcut (and two or three most important ones, e.g. for scrolling back)Dev info
step_install_cran()
check()
doesn't need to be overriddenprepare()
is called byprepare_all_stages()
RCMDcheck$prepare
The text was updated successfully, but these errors were encountered: