Releases: ThinkR-open/golem
v0.5.1
v 0.5.0
use_external_files
— Please update to version 0.5.1
See Issue 1168
What's Changed
feat
- feat: is_golem tries to guess if current folder is a golem based app by @ColinFay in #1003
- feat: add function body upon call to add_fct by @ilyaZar in #1006
- feat: Add use_readme_rmd() by @ColinFay in #1025
- feat: Add call to usethis::use_git_remote() by @ilyaZar in #1015
- feat: allow golem to use person vector by @ColinFay in #1037
- feat: merge fill_desc and set_options by @ilyaZar in #1040
- feat: create a add_any_file function by @ColinFay in #1107
- feat:
writeManifest()
todeploy.R
by @ilyaZar in #1108 - feat: adding min version in bootstraped attachement & pkgload by @ColinFay in #1109
- feat: new add_r6 function by @ilyaZar in #1118
- feat: use test coverage for current git-branch by @ColinFay in #1133
- feat:
create_golem()
can be used with path = "." and package_name by @ymansiaux in #1124 - feat: add file .rscignore by @ilyaZar in #1134
- feat: docker user is now RStudio by @VincentGuyader in #1152
fix
- fix: No extra whitespace in
golem::add_module
by @ilyaZar in #1010 - fix: Add -it flag when run docker so ^C still works by @ivokwee in #1002
- fix: stick to tidyverse style for new modules by @ni2scmn in #1019
- fix: better checks for add_module by @ColinFay in #1035
- fix: set_golem_name updates name for tests & vignettes content by @ColinFay in #1036
- hotfix: remove a warning and a note from devtools::check() by @ilyaZar in #1039
- fix: typo in filename by @ilyaZar in #1041
- fix: add missing argument open to usethis_use_readme_rmd() by @ilyaZar in #1045
- fix: rely on get_golem_wd where useful by @ilyaZar in #1016
- fix: Rename from rstudioconnect to positconnect by @ilyaZar in #1017
- fix dockerfiler dep check by @VincentGuyader in #1072
- hotfix: fix path construction to pass CI on
MAC-OS
forDev-1077
by @ilyaZar in #1084 - fix: avoid title warning in roxygen checks by @pachadotdev in #1057* hotfix: remove
return(invisible(file))
by @ilyaZar in #1091 - fix: bypass unused argument error with higher attachment version by @ilyaZar in #1104
- fix: moved usethis_git after the use_utils function by @ilyaZar in #1110
- fix: remove old usethis funcs by @ilyaZar in #1125
- fix: user-supplied lockfiles are correctly copied by @ColinFay in #1132
- fix: add_dockerfile_with_renv_shinyproxy no longer uses a full path to the lockfile by @VincentGuyader in #1151
doc
- doc: Add better comments to fill_desc by @ilyaZar in #1021
- docs: 🚀 add ilyaZar as contributor 🚀 by @ilyaZar in #1054
- doc: Update
NEW.md
by @ilyaZar in #1085 - doc: Add pkgdown link to description by @olivroy in #1102
- docs: update NEWS.md by @ColinFay in #1111
- doc: fr link to doc in the default page by @ArthurData in #1129
- doc/test: readme update & tests by @ColinFay in #1165
Test
- test: Increase code coverage for utils_{ui,server} to 100% by @ilyaZar in #1020
- test: improve code coverage for
with_opt.R
to 100% (#1066) by @VincentGuyader in #1080 - test: test corner case in check_overwrite() by @ColinFay in #1131
- test: full refactor of the test suite by @ColinFay in #1162
New Contributors
- @ivokwee made their first contribution in #1002
- @ni2scmn made their first contribution in #1019
- @olivroy made their first contribution in #1102
- @ymansiaux made their first contribution in #1124
Full Changelog: v0.4.0...v0.5.0
Version 0.4.1
This is an intermediate release after CRAN feedback.
v 0.4.0
What's Changed
- chore: merging changes from CRAN upload by @ColinFay in #928
- feat: removed {usethis} hard dep by @ColinFay in #929
- fix: unit test requires dependencies in suggests by @statnmap in #919
- refactor: check_installed in their own files by @ColinFay in #931
- feat: Make cat functions conditional to an options by @ColinFay in #934
- doc: improve documentation of dockerfile related functions by @ALanguillaume in #939
- feat: fill_desc allows to set package version by @ArthurData in #941
- feat: remove {desc} as hard dep by @ArthurData in #940
- 820 add maintenance mode by @ArthurData in #943
- Fix 944 by @VincentGuyader in #946
- Fix 944 and correct CI by @VincentGuyader in #947
- fix dev branch by @VincentGuyader in #948
- chore hotfix pkgdown by @VincentGuyader in #949
- draft : 950 without cli by @VincentGuyader in #951
- update maintenance mode by @VincentGuyader in #952
- feat: remove rstudioapi hard dep by @VincentGuyader in #955
- fix #956 improve get_golem_options doc by @VincentGuyader in #957
- fix 958 save all before run_dev.R by @VincentGuyader in #959
- feat: on create golem, message if dev deps are not installed by @ColinFay in #966
- Add a demo shinyapps.io snippet for the 03_deploy file by @ColinFay in #967
- hotfix: check that all boostrap fns are there by @ColinFay in #968
- Update add_dockerfiles_renv.R by @VincentGuyader in #976
- fix: allow to build readme in 01_start by @statnmap in #979
- draft : Temp by @VincentGuyader in #977
- fix : URLs are now OK # 980 by @VincentGuyader in #981
- Fix #993 by @ilyaZar in #994
- Release candidate for 0.4.0 by @ColinFay in #961
New Contributors
Full Changelog: v0.3.5...v0.4.0
v 0.3.5
v0.3.5 update Rbuildignore
v 0.3.4
golem:0.3.3
- This release includes the support for the creation of Dockerfiles with {renv)
v0.3.2
What's Changed
- Remove _ui from modules names fixes issue #651 by @MargotBr in #652
- Switched to cli::cli_alert_success by @ColinFay in #657
- Revert change to cli::alert_success by @ColinFay in #663
- Remove _ui from modules names fixes issue #651 by @ColinFay in #674
- close #675 by @ColinFay in #683
- close #675 by @ColinFay in #684
- Revert "moved to expect_type, close #671" by @ColinFay in #685
- close #675 by @ColinFay in #686
- close #675 by @ColinFay in #687
- close #678 by @ColinFay in #688
- Bug fix: add 'bin' to allow R to be found in bin subfolder by @waiteb5 in #700
- close #675 by @ColinFay in #702
- close #675 by @ColinFay in #711
- add RR2021 video on readme by @VincentGuyader in #722
- close #412 by @ColinFay in #727
- File renaming + new funs by @ColinFay in #734
add_modules()
now comes with awith_test
parameter that can be turned on to add a test file to the module by @ColinFay in #736- {testthat} and {rlang} are no longer hard deps by @ColinFay in #742
- close #55 by @ColinFay in #743
- Add test for server by @Swechhya in #747
- create PR against dev branch for issue 713 by @novica in #754
- Function to read yaml, find the expressions, add an expr tag to the c… by @teofiln in #755
- Added feature to init a git repository in project template by @Swechhya in #753
- added links to README by @KittJonathan in #757
- Issue 763 : add_sass_file by @ArthurData in #768
- Replace calls to testhat::expect_is() by @ALanguillaume in #772
- use yesno() only in interactive mode by @etiennebacher in #762
- Add tests on remove_comments() #767 by @ArthurData in #774
- 735 check module exists before adding new related files by @ALanguillaume in #779
- 769 consolidate create golem by @ALanguillaume in #777
- Check that every
{rstudioapi}
function is implemented, using `hasFu… by @ArthurData in #776 - use with_dir & burn_after_reading in remove_comments tests by @ArthurData in #782
- Add new contributors by @ALanguillaume in #783
- Issue 744 by @ColinFay in #791
- fix #758 by @VincentGuyader in #790
- Remove glue from dep by @ColinFay in #792
- Issue 625 unit tests golem utils UI by @ArthurData in #795
- utils & fct now comes with a with_test param by @ColinFay in #797
- Added tests for app_sys and get_golem_config by @ColinFay in #800
- with_test = TRUE in dev scripts by @ColinFay in #802
- config file can be modified in get_golem_config by @ColinFay in #810
- Issue 806 pkgdown version by @ArthurData in #807
- add dev on branches by @ArthurData in #815
- Added contact to use_code_of_conduct by @ColinFay in #816
- Add missing topics by @ArthurData in #817
- Fix adding empty stylesheet to resources by @erikvona in #689
- remove use_recommended_deps from 01_start.R #786 by @VincentGuyader in #789
- reboot to #784 by @VincentGuyader in #787
- usethis minimal version by @ColinFay in #823
- (hotfix) Revert commit 71ce085 by @ColinFay in #829
- Revert changes in add_dockerfile by @ColinFay in #830
- try another revert approach by @ColinFay in #831
- Comment the remove favicon function by @ColinFay in #833
New Contributors
- @MargotBr made their first contribution in #652
- @waiteb5 made their first contribution in #700
- @teofiln made their first contribution in #755
- @KittJonathan made their first contribution in #757
- @ALanguillaume made their first contribution in #772
- @etiennebacher made their first contribution in #762
- @erikvona made their first contribution in #689
Full Changelog: v0.3.1...v0.3.2
golem 0.3.1
New functions
add_*
-
You can now create a skeleton for a Shiny input binding using the
golem::add_js_binding("name")
function (#452, @DivadNojnarg) -
You can now create a skeleton for a Shiny output binding using the
golem::add_js_output_binding("name")
function (@DivadNojnarg) -
add_html_template()
creates an htmlTemplate.
use_*
-
use_external_file()
allows to add any file to thewww
folder,use_external_css_file()
,use_external_html_template()
, anduse_external_js_file()
will download them from a URL (#295, #491). -
use_internal_css_file()
,use_internal_file()
,use_internal_html_template()
,use_internal_js_file()
functions allow to any file from the current computer to thewww
folder (@KasperThystrup, #529)
Tests helper
expect_running()
expects the current shiny app to be running.
Hooks
-
Every
{golem}
project now have aproject_hook
that is launched after the project creation. -
module_template()
is the default function for{golem}
module creation. Users will now be able to define a custommodule_template()
function foradd_module()
, allowing to extend{golem}
with your own module creation function. See ?golem::module_template for more info (#365) -
add_js_
andadd_css_
functions now have a template function, allowing to pass a file constructor.
Misc
-
is_running()
checks if the current running application is a{golem}
based application (#366) -
utils_ui.R
now contains a "make_action_button()" function (#457, @DivadNojnarg) -
run_dev()
performs a check on golem name. -
sanity_check()
function has been added to check for any 'browser()' or commented #TODO / #TOFIX / #BUG in the code (#1354 @Swechhya)
New features
-
The modules are now created with the new skeleton when the installed version of
{shiny}
is >= 1.5.0. -
use_external_*()
function don't open files by default (#404) -
use_recommended_tests*()
now callsuse_spell_check()
(#430) -
The
02_dev.R
now includes more CI links -
golem::expect_running()
is now bundled in default tests -
Default tests now test for functions formals (#437)
-
You can now pass arguments to internal
roxygenise()
&load_all()
(#467) -
Bundle_resources()
now handle subfolders (#446) -
run_app()
now includes the default arguments ofshinyApp()
(#254, @chasemc) -
create_golem()
now adds strict dependency versions (#466) -
{golem}
app now comes with a meta tags "app-builder", which default to "golem", and that can be changed or turn off inbundle_resources()
. -
with_golem_options
can now explicit callsprint
on theapp
object, solving some issues with benchmarking the application. This explicit print can be turned off by settingprint
to FALSE inwith_golem_options
(#148) -
dockerignore
is now available. -
The
add_helpers
andadd_utils
now have roxygen comments (Richard Pilbery, #330) -
dev/03_dev.R
now hasdevtools::build()
(#603) -
detach_all_attached()
is now silent (#605)
Soft deprecated
add_ui_server_files()
is now signaled as deprecated. Please comment on #445 if you want it to be kept inside the package
Breaking changes
-
add_dockerfile*
function now return the{dockerfiler}
object instead of the path to it. It allows to modify the Dockerfile object programmatically. (#493) -
The
get_golem_config
now first look for aGOLEM_CONFIG_ACTIVE
before looking forR_CONFIG_ACTIVE
(#563)
Bug fix
-
add_
functions no longer append to file if it already exists (#393) -
config::get()
is no longer exported to prevent namespace conflicts withbase::get()
-
fixed issue with favicon when package is built (#387)
-
use_external_*()
function don't add ext if already there (#405) -
create_golem
function does not modify any existing file (#423, @antoine-sachet) -
add_resources_path()
now correctly handles empty folder (#395) -
test for app launching is now skipped if not interactive()
-
add_utils
andadd_fct
now print to the console (#427, @novica) -
Multiple CRAN repo are now correctly passed to the Dockerfile (#462)
-
app_config, DESC and golem-config.yml are now updated whenever you change the name of the package using a golem function (#469 )
-
test_recommended
now work in every case (hopefully)
-
usethis::use_mit_license
does not have thename
argument anymore so if fits new version of{usethis}
(#594) -
Typo fix preventing
invoke_js("prompt")
andinvoke_js("confirm")
to work (#606)
Internal changes
-
document_and_reload()
now hasexport_all = FALSE,helpers = FALSE,attach_testthat = FALSE
, allowing the function to behave more closely to what library() does (#399) -
Dockerfile generation now removes the copied file and tar.gz
golem 0.2.1
This release matches the CRAN release of {golem} v 0.2.1