Comments (3)
Hmm...didn't know that. I thought they had to take the same name. Here's
the options I see:
- List the optional vignettes as you suggest
- Use a menu interaction that allows you to choose which vignette(s) to
open - Automatically open all vignettes available to that package
- 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
forxtable
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.
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.
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)
- Feature request: suppress warning for trailing comma
- BiocManager missing in fresh install HOT 1
- INSTALL_opts=c("--no-docs", "--no-help","--no-html") but still trying to install HOT 1
- Failing to find bioconductor packages HOT 2
- Cannot Install pacman via CRAN HOT 1
- “there is no package called ‘rgl’” 🐞 HOT 2
- p_load_gh( ... , update = TRUE) does not update github packages
- passing dependecies = T to p_load
- Strange capitalisation warning when trying to update loaded github package HOT 1
- misleading warning for bioconductor packages HOT 1
- GPLv2 license
- pak as package install backend?
- backspace characters in message() cause errors for pdf output HOT 1
- Pacman packages HOT 1
- file loading issues
- No code completion with `p_load()` in VS COde HOT 3
- need a p_delete() function
- setting library location in p_load
- [Feature] P_Install only if package does not exists
- p_install quiet option
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pacman.