add_fct
andadd_utils
add new files in your R folder that can hold utils and functions (#123).
-
document_and_reload()
now stops when it fails, and returns an explicit failure message (#157) -
add_module
now allows to create andfct_
and anutils_
file (#154, @novica)
-
The Dockerfile is now correctly added to .Rbuildignore (#81)
-
The dockerfile for shinyproxy no longer has a typo (#156, @fmmattioni)
-
normalizePath()
now has a correct winlash (@kokbent) -
spellcheck in files (@privefl)
get_golem_wd
allows to print the current golem working directory, andset_golem_wd
to change it.
-
In order to work, the functions creating files need a
golem.wd
. This working directory is set byset_golem_options
or the first time you create a file. It default to"."
, the current directory. -
Changes in the name of the args in
set_golem_options
:pkg_path
is nowgolem_wd
,pkg_name
is nowgolem_name
,pkg_version
is nowgolem_version
- The
installed.packages()
function is no longer used.
- There is now a unique framework for run_app, that allows to deploy anywhere and can accept arguments. These arguments can then be retrieved with
get_golem_options()
. #
See https://rtask.thinkr.fr/blog/shinyapp-runapp-shinyappdir-difference/
- There is no need for
ui.R
andserver.R
to exist by default. Removed. Can be recreated withadd_ui_server_files()
- There is now
add_shinyserver_file
&add_shinyappsio_file
, #40 add_ui_server_files()
creates an ui & server.R files.
- Functions that create file(s) now automatically create folder if it's not there. Can be prevented with
dir_create = FALSE
- Functions that create file(s) can now be prevented from opening with
open = FALSE
, #75 - We have made explicit how to add external files (css & js) to the app, #78
- Launch test is now included in the default tests #48
create_golem()
now switch to the newly created projectuse_git()
is not listed indev/01_start.R
- Renamed
add_rconnect_file()
toadd_rstudioconnect_file()
- Renamed
create_shiny_template()
tocreate_golem()
- Renamed
js()
toactivate_js()
- Renamed
use_recommended_dep()
touse_recommended_deps()
invoke_js()
allows to call JS functions from the server side. #52
-
The dev files are now split in three - start / dev / deploy
-
Every function that adds a file now check if the file already exists, and ask the user if they want to overwrite it (#15)
-
Every module is now named mod_x_ui / mod_x_server, for consistency.
-
You can now create package with "illegal" names, using the command line
golem::create_shiny_template()
. #18 -
add_browser_button()
is now namedbrowser_button()
, so that all theadd_*
function are only reserved for function adding files to thegolem
.
add_*_files
now check if the folder exists, if not suggests to create it. #36
-
You now have a
browser_dev()
function that behaves likewarning_dev
and friends. #46 -
Added
set_golem_options()
to add local options used internally by {golem} && added it to the01_start.R
. #49 -
Added
add_dockerfile()
to create a Dockerfile from a DESCRIPTION. -
Added
add_dockerfile_shinyproxy()
to create a Dockerfile from a DESCRIPTION, to be used in Shiny Proxy. -
Added
add_dockerfile_heroku()
to create a Dockerfile from a DESCRIPTION, to be used with Heroku. -
add_css_file()
,add_js_file()
andadd_js_handler()
create a CSS, JS, and JS with Shiny custom handler files.
use_utils_prod
is now included in golem so you don't have to explicitly include the functions.
- Golem now has four vignettes
Last round of functions, and some documentation cleanup.
-
Moved from {shinytemplate} to {golem}
-
Added a
NEWS.md
file to track changes to the package.