You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Note: man/*.Rd and NAMESPACE files are required for easy installation from GitHub #163
Status: blocked ⛔Cannot be started until another issue is resolvedTopic: documentation 📘Related to hyperSpec's (non-vignette) documentation. Use a separate dag for vignettes.
After Make is removed, if we want the users of hyperSpec to have the possibility to install the development version of the package as easy as:
if (!require(remotes)) {install.packages("remotes")}
remotes::install_github("cbeleites/hyperSpec/hyperSpec", ref="develop")
without any additional configuration and (I think) without installation of Git and Git-LFS, which are needed for developers only (regularly, R packages provide this kind of possibility), the .Rd documentation files should be present in Git repository's man folder. I.e., they should not be Git-ignored. And if they are, the result is:
But maybe there is an easy workaround for this issue?
P.S. The code above should work is after PR #159 and/or #162 are merged into develop branch. Meanwhile, you may try code (before the branch enable_codecov is deleted):
changed the title [-]Note: man/*.Rd files are required for easy installation form GitHub[/-][+]Note: man/*.Rd and NAMESPACE files are required for easy installation form GitHub[/+]on Jun 18, 2020
The first time was closed by Hadley with "I think that needs to be handled elsewhere" and the second time as duplicate of the first time.
We may refer people to the dev .tar.gz/.zip files generated as artifact in the continuous integration.
After thinking about this a bit further, this is the option I currently prefer:
For users who want to install the latest working develop version, these artifacts are exactly right: they contain everything, and they have passed the checks.
For users who want to work on the code, cloning and running document() should be OK.
We keep a cleaner/easier to read commit history.
DESCRIPTION will always need to be tracked, but it's Collate field is already auto-generated
changed the title [-]Note: man/*.Rd and NAMESPACE files are required for easy installation form GitHub[/-][+]Note: man/*.Rd and NAMESPACE files are required for easy installation from GitHub[/+]on Jul 17, 2020
Status: blocked ⛔Cannot be started until another issue is resolvedTopic: documentation 📘Related to hyperSpec's (non-vignette) documentation. Use a separate dag for vignettes.
Activity
GegznaV commentedon Jun 18, 2020
Here comes the answer about the
NAMESPACEfile. I tried to install package with vignettes from GitHub:The result was:
[-]Note: man/*.Rd files are required for easy installation form GitHub[/-][+]Note: man/*.Rd and NAMESPACE files are required for easy installation form GitHub[/+]cbeleites commentedon Jun 20, 2020
I think it's best if we discuss & decide Monday on the video call:
Some more thoughts:
I thought about asking the developers of *devtools to provide an option to run
document()frominstall_github(). Turns out, this has been asked already at least twice:Optionally roxygenize (or execute custom R code) before build r-lib/devtools#397 add roxygen2 support for install_github r-lib/devtools#523
The first time was closed by Hadley with "I think that needs to be handled elsewhere" and the second time as duplicate of the first time.
We may refer people to the dev .tar.gz/.zip files generated as artifact in the continuous integration.
After thinking about this a bit further, this is the option I currently prefer:
document()should be OK.DESCRIPTIONwill always need to be tracked, but it'sCollatefield is already auto-generatedbryanhanson commentedon Jun 22, 2020
Decided in video meeting 22 June to use the latest develop build, as
.tar.gzpackage.Be sure to update
README.mdwith new instructions.cbeleites commentedon Jun 22, 2020
Possibly even
.zipfile for windows users (available either via github action artifacts or appveyor)cbeleites commentedon Jul 16, 2020
Decided in video meeting 2020-07-16 to put the development builds to https://r-hyperspec/hySpc.pkgs .
Users can install them via
install.packages(repos = c("r-hyperspec.github.io/hySpc.pkgs/", getOption("repos")).[-]Note: man/*.Rd and NAMESPACE files are required for easy installation form GitHub[/-][+]Note: man/*.Rd and NAMESPACE files are required for easy installation from GitHub[/+]