-
Notifications
You must be signed in to change notification settings - Fork 3
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
shiny java package example #6
base: master
Are you sure you want to change the base?
Conversation
Issue #2 Before introducing the changes, the `make check` command failed due to an error and warnings. Introduced changes: - `@export` was moved because in the original position (at the bottom of the comment block) it was invisible to roxygen for some reason. - The comments inside body of the functions starting with `#'` were interpreted by roxygen. Changed that to `##`.
Issue #2 If the new RoxygenNote field is not present, the DESCRIPTION file gets regenerated when documentation is generated (`make docs`). This removes all the comments in the file.
Issue #2 `make clean build` command didn't work with the previous for of the Makefile.
Closes #2
Closes #4 This should prevent problems with old jars left in this directory after the version of the dependency in a subproject is changed.
…topts support to handle named input arguments
removing leading '.' causing troubles changing R package installation command
improving scripts by handling missing parameters properly adding eclipse .project resource to ingnored files
`./scripts/build/artifactory.sh` | ||
|
||
in root project directory. It creates both package and `latest.txt` files to be uploaded to artifactory. | ||
`latest.txt` file contains name of the current module and its main purpose is to serve as pointer to the latest module version in artifactory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't you write "package" instead of "module"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
@@ -0,0 +1,81 @@ | |||
#!/bin/bash | |||
# To be executed from the root project directory. | |||
# Obtains R package from remote artifactory and executes local.sh script with package downloaded to temporary directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove all references to Artifactory in this code (comments, variable names etc.) since the code is more generic - it just retrieves files accessible through HTTP protocol. It doesn't matter if it's Artifactory or some other HTTP-supporting service. I would use a description like "repository" or "artifact repo" or something like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went with "repository".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
I analyzed the dependencies of the build and deploy scripts and here are some general reflections. The deployment-related scripts should be separate from R package's code (and probably placed in a separate source code project) because they don't need much knowledge about the package itself, details follow below.
Apart from the deployment-related scripts mentioned above, we have a functionality which is a part of package's build process of generating a file with a git hash. The file should be accessible from within the code of the application. |
I placed some high-level remarks in #6 (comment). |
I've just pushed commits with all the fixes mentioned in comments. As for the general reflections: we should discuss it at the next meeting. |
As we talked in-person, the task of preparing the deployment code can wait because it became a rather low-priority one. |
Forgot to create PR for shiny package example.
You should find shiny package installation details in readme file.