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

My dummy perspective #55

Closed
maelle opened this issue Jun 13, 2018 · 9 comments
Closed

My dummy perspective #55

maelle opened this issue Jun 13, 2018 · 9 comments

Comments

@maelle
Copy link
Member

maelle commented Jun 13, 2018

👋 @krlmlr

This package is fantastic, so useful!

When I started using tic for https://github.com/ropenscilabs/dev_guide I looked at the README and saw the example applications and copy-pasted stuff from the example bookdown repo. I also checked whether there was a vignette, but I didn't read the documentation of each function because I'm too lazy I guess? And because I figured everything was figured out in the example repo. 🙈 Then when I realized an RSA key was needed, I tried figuring out on my own because I hadn't thought of travis (that I see is mentioned in the docs of this package, so my fault).

Here are my suggestions for the docs:

  • Near the example applications have a link to a vignette explaining setup for these examples, including reminding this package is better used in combination with travis.

  • Maybe have some higher-level functions for the example applications, i.e. could I run a single function in a bookdown repo and have the whole setup done with the default options (like what I did by copy-pasting tic.R and the .sh files) I think that's your idea in Support sequences of steps #40

  • Not really doc but in https://github.com/krlmlr/tic.bookdown/blob/70e54d1afc3f46a0f619edd592a9804834a0445d/tic.R#L13 if there's no id_rsa would it be possible to output a message about travis::use_travis_deploy that the user would see in Travis log?

@maelle
Copy link
Member Author

maelle commented Jun 13, 2018

  • At the beginning of the README "The goal of tic is to faciliate deployment tasks for R" (typo btw) it'd be great to add more concrete examples. Maybe the reader doesn't know they need a deployment task so explain what problem it solves. Like being tired of triggering updates of docs derived from source code by hand etc.

@lorenzwalthert
Copy link

lorenzwalthert commented Jun 16, 2018

I agree with @maelle. I am a bit intimidated by tic, it seems like magic 😅. Some high-level instructions would definitively be helpful.
For example, when I try to interactively run code in tic.R., I think it does not work (I know this is not a reprex), and also I don't know how and in which environment the code gets called. Maybe all of this is still to come and I am just impatient. Thanks anyways for woking on this.

@maelle
Copy link
Member Author

maelle commented Jun 16, 2018

By the way the existing example repos like tic.bookdown should link back to tic repo IMO. It might even make sense to transfer them to ropenscilabs, and to have a specific repo topic that other use cases could use, maybe "r-tic" or so.

@krlmlr
Copy link
Collaborator

krlmlr commented Jun 27, 2018

Thanks for your input. I think the README needs a complete rewrite, and there should be a "Get started" vignette that describes how everything is linked. The fairly new travis::use_tic() function will do most of the setup, for now I'll add a reference to this function to the README.

krlmlr added a commit that referenced this issue Jun 27, 2018
@krlmlr krlmlr added the docs label Jun 27, 2018
@krlmlr krlmlr added this to the v1.0.0 (CRAN) milestone Apr 26, 2019
@krlmlr
Copy link
Collaborator

krlmlr commented Apr 26, 2019

The docs are in a much better shape now (thanks @pat-s!), do we need to take any action here?

@pat-s
Copy link
Member

pat-s commented May 5, 2019

@maelle We are really close to start the ropensci review. Any suggestions beforehand from your side? Otherwise feel free to close here :)

@maelle
Copy link
Member Author

maelle commented May 6, 2019

Only small comments on the README

@krlmlr
Copy link
Collaborator

krlmlr commented May 6, 2019

Forgot to merge the documentation update, done now.

@krlmlr krlmlr closed this as completed in 6754f43 May 14, 2019
@krlmlr
Copy link
Collaborator

krlmlr commented May 14, 2019

Thanks for your feedback! I didn't notice that you were referring to the README on GitHub -- should be better now.

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

No branches or pull requests

4 participants