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

Issue 10 snippet helper #28

Merged
merged 10 commits into from
Mar 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tidymodules
Title: A robust framework for developing shiny modules
Version: 0.1.0.9003
Version: 0.1.0.9004
Authors@R: c(
person('Mustapha', 'Larbaoui', email = '[email protected]', role = c('cre', 'aut')),
person('Douglas', 'Robinson', email = '[email protected]', role = c('ctb')),
Expand All @@ -19,7 +19,12 @@ Imports:
digest,
R6,
visNetwork,
methods
methods,
snippr,
cli,
dplyr,
fs,
purrr
RoxygenNote: 7.0.2
Roxygen: list(markdown = TRUE)
URL: https://github.com/Novartis/tidymodules
Expand All @@ -34,4 +39,6 @@ Suggests:
RColorBrewer,
shinyWidgets,
plotly
Remotes:
dgrtwo/snippr@29c1813
VignetteBuilder: knitr
20 changes: 20 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,12 @@ export("%>>10%")
export(ModStore)
export(Store)
export(TidyModule)
export(add_module)
export(add_tm_snippets)
export(callModules)
export(check_and_load)
export(combine_ports)
export(defineEdges)
export(getCacheOption)
export(getMod)
export(getSessionId)
Expand All @@ -443,5 +446,22 @@ export(race_ports)
export(session_type)
export(showExamples)
import(R6)
import(dplyr)
import(shiny)
import(snippr)
importFrom(cli,cat_bullet)
importFrom(fs,dir_create)
importFrom(fs,dir_exists)
importFrom(fs,file_create)
importFrom(fs,file_exists)
importFrom(fs,path)
importFrom(fs,path_abs)
importFrom(fs,path_ext_set)
importFrom(fs,path_home_r)
importFrom(methods,is)
importFrom(purrr,discard)
importFrom(purrr,keep)
importFrom(purrr,map)
importFrom(snippr,snippets_read)
importFrom(utils,file.edit)
importFrom(utils,menu)
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# tidymodules 0.1.0.9004

- add_module function
- snippets file & function to inject them into RStudio configuration
- new defineEdges() function for parsing module communication instructions

# tidymodules 0.1.0.9003

- Improve how the ports are moved around
Expand Down
2 changes: 1 addition & 1 deletion R/TidyModule.R
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ TidyModule <- R6::R6Class(
isolate(x)
},
#' @description
#' Function wrapper for port assignement expression.
#' Function wrapper for port assignment expression.
#' @param x expression
assignPort = function(x){
observe({
Expand Down
Loading