Giter Club home page Giter Club logo

Comments (3)

trinker avatar trinker commented on May 29, 2024

Hmm...didn't know that. I thought they had to take the same name. Here's
the options I see:

  1. List the optional vignettes as you suggest
  2. Use a menu interaction that allows you to choose which vignette(s) to
    open
  3. Automatically open all vignettes available to that package
  4. Send up a warning that tells the user they're an idiot (this doesn't
    seem productive though)

I want this to be the most sensible for users. So... if they used
p_vignette they were looking for a vignette to view. That tells me they
want to choice of what to open or the vignettes open automatically. I
don't think I like the idea of them opening automatically as they may only
want a specific vignette. That being said I don't know how to make this
happen as R gives a window/script of the available packages rather than
returning a than returning a character vector of available packages. If
this is extremely difficult than the first option ( List the optional
vignettes ) may be the way to go.

If you want we can communicate via email or use the communication log in
the drop box (I invited you a few minutes ago). I've had people like both
ways. Though it appears you're doing the emailing within github.

On Wed, May 30, 2012 at 1:22 AM, Dason Kurkiewicz <
[email protected]

wrote:

Sometimes vignettes don't just take the name of the package. For instance
for xtable the vignette is actually called "xtableGallery"

vignette("xtable")
#Warning message:
#vignette ‘xtable’ not found
vignette(package = "xtable")
vignette("xtableGallery")

If the user supplies a package name to p_vignette should we give them a
list of available vignettes for the package?


Reply to this email directly or view it on GitHub:
#1

from pacman.

Dasonk avatar Dasonk commented on May 29, 2024

I think for issues about the package github would probably be best. That way we can track previous issues and close them when they get resolved. Dropbox would be good for sharing stuff that we don't want on github though.

As far as the vignettes go it's not too bad to get a list of the vignettes for any given package.

vignette(package = "xtable")$results[,3]

that returns the names of all the vignettes for a given package (in this case xtable) and returns an empty character vector if there aren't any. I think providing the menu would be most productive.

from pacman.

trinker avatar trinker commented on May 29, 2024

I agree with the github communication. I didn't understand what github is capable of doing.

I also agree on the menu choice. I made the alterations to p_vign and p_vignette to give menu choices if the length of associated vignettes is > 1. Otherwise it opens the associated vignette. If you feel this issue has been resolved please close the issue.

from pacman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.