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

The master branch is becoming the main development branch #1153

Closed
wants to merge 279 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
279 commits
Select commit Hold shift + click to select a range
3cb6494
fix: improve code coverage for R/golem_utils_ui.R
ilyaZar Apr 2, 2023
e609c52
fix: make code coverage of R/golem_utils_ui.R 100%
ilyaZar Apr 2, 2023
4c6885a
fix: make code coverage of R/golem_utils_server.R 100%
ilyaZar Apr 2, 2023
9cfa0c6
style: formatting
ColinFay Apr 4, 2023
90c09d9
chore: version bump & news update
ColinFay Apr 4, 2023
5ad4e21
Fix 997 in two ways
ilyaZar Mar 24, 2023
886e9f9
feat: adding an alert info
ColinFay May 16, 2023
bea0407
feat: correct use of the mod_remove in add_module
ColinFay May 16, 2023
72efe62
chore: version bump & news update
ColinFay May 16, 2023
72ee972
fix: set_golem_name updates name for ./tests content
ilyaZar Apr 5, 2023
8e23a43
fix: set_golem_name updates name for ./vignettes content
ilyaZar Apr 5, 2023
61e1556
feat: message and path
ColinFay May 16, 2023
0255f45
hofix: changing to sprintf
ColinFay May 16, 2023
ed7e0b9
test: unlinking the README files in test
ColinFay May 16, 2023
b72e98f
doc: missing doc in the entry
ColinFay May 16, 2023
e2428c9
chore: version bump & news update
ColinFay May 16, 2023
b97bbe7
fix: allow golem to use person vector
ilyaZar Apr 5, 2023
d93fdb8
merge interface changes into dev/01_start.R
ilyaZar Apr 5, 2023
a807104
docs: update vignette
ilyaZar Apr 5, 2023
0a529ca
refactor: update tests for fill_desc()
ilyaZar Apr 5, 2023
7fe0915
refactor: update inst/mantests/build.R
ilyaZar Apr 5, 2023
9e21f41
test: fix tests by adding authors + expect warning
ColinFay May 17, 2023
5b9767c
fix: only alert if named has changed
ColinFay May 17, 2023
090a6fc
fix: keep the old params for backward compatibility
ColinFay May 17, 2023
c7533e4
Revert "Add -it flag when run docker so ^C still works"
ColinFay Apr 4, 2023
aa9bfb2
ci: code coverage
ColinFay May 17, 2023
f730550
Fix 987
ilyaZar Mar 24, 2023
d458270
hotfix: remove a warning and a note from devtools::check()
ilyaZar May 20, 2023
3e925b1
fix: add missing 'role = c("aut", "cre")
ilyaZar May 24, 2023
c60f1a0
fix typo in filename
ilyaZar May 20, 2023
0766998
ci: simpler pkgdown action
ColinFay May 17, 2023
a50aa88
ci: installing thinkridentity in the pkgdown site
ColinFay May 24, 2023
f556ba2
fix: add missing argument open to usethis_use_readme_rmd()
ilyaZar May 24, 2023
402506b
chore: version bump & news update
ColinFay May 24, 2023
169713d
refactor: add logical flag to run set_golem_options() inside fill_desc()
ilyaZar May 20, 2023
1a69d24
docs: inform user about changes to fill_desc()
ilyaZar May 20, 2023
faacdf1
refactor: set_options defaults to TRUE
ilyaZar May 25, 2023
6a1c859
Update inst/shinyexample/dev/01_start.R
ColinFay May 26, 2023
e36d404
Update inst/shinyexample/dev/01_start.R
ColinFay May 26, 2023
3872db3
Update vignettes/a_start.Rmd
ColinFay May 26, 2023
e6d0823
Update vignettes/a_start.Rmd
ColinFay May 26, 2023
147e1be
refactor: file R/{config,add_dockerfiles_renv}.R use golem_wd
ilyaZar Mar 30, 2023
cd28ecd
refactor: file R/pkg_tools.R
ilyaZar Apr 5, 2023
716dd62
docs: update doc to dockerfile-funcs arg. 'sourcefolder'
ilyaZar Apr 5, 2023
82d07ac
Update R/config.R
ColinFay May 26, 2023
ce1bbf9
Update R/config.R
ColinFay May 26, 2023
7673b68
ci: add R-CMD-CHECK to dev
ColinFay May 26, 2023
66e403f
hotfix: test in dir
ColinFay May 26, 2023
50e3e4d
doc: roxygenized
ColinFay May 26, 2023
58a30e5
chore: version bump & news update
ColinFay May 26, 2023
f36fe96
refactor:
ilyaZar May 26, 2023
57fc72c
docs: update 01_start.R
ilyaZar May 26, 2023
8900fbb
docs: re-work vignette for 'a_start.Rmd'
ilyaZar May 26, 2023
5acafc8
Update vignettes/a_start.Rmd
ColinFay May 26, 2023
b2a596c
docs: :rocket: add myself as contributor :rocket:
ilyaZar Jun 5, 2023
8949354
test: skip on CRAN deploy tests
ColinFay Jun 5, 2023
91069f8
chore: redoc
ColinFay Jun 5, 2023
127c856
avoid title warning in roxygen checks
pachadotdev Jun 15, 2023
ac5211a
refactor: rename from rstudioconnect to positconnect (#1017)
ilyaZar Aug 2, 2023
215b338
fix Ci
VincentGuyader Aug 8, 2023
3d409ca
fix dockerfiler deps (#1072)
VincentGuyader Aug 8, 2023
bc08911
chore : triger ci, add new french video on README (#1076)
VincentGuyader Aug 8, 2023
7fed26f
Dev 887 (#1078)
VincentGuyader Aug 8, 2023
f468b76
Dev 1074 (#1079)
VincentGuyader Aug 8, 2023
d17e0d5
Fix 1065 to improve code coverage for `with_opt.R` to 100% (#1066) (#…
VincentGuyader Aug 8, 2023
ebcfe13
Dev 1026 (#1081)
VincentGuyader Aug 8, 2023
7ba820b
Dev 1059 (#1082)
VincentGuyader Aug 8, 2023
65d3d29
Dev 1050 (#1083)
VincentGuyader Aug 8, 2023
9698f00
hotfix: fix path on MAC-OS to pass CI for Dev1077 (#1084)
ilyaZar Aug 9, 2023
f33fd35
style: `NEWS.md` reflects all changes to the user (#1085)
ilyaZar Aug 9, 2023
9456fd5
Merge pull request #1057 from pachadotdev/master
VincentGuyader Aug 9, 2023
1971f72
Dev 1028 (#1088)
VincentGuyader Aug 9, 2023
c5c14c2
hotfix: remove `return(invisible(file))` (#1091)
ilyaZar Aug 10, 2023
0bd05c5
feat: create a add_any_file function
ArthurData Oct 21, 2022
b5be561
test: fix broken tests
ColinFay Oct 10, 2023
f66c837
feat: adding add_empty_file
ColinFay Oct 10, 2023
af00f4d
chore: version bump & news update
ColinFay Oct 11, 2023
9ad9775
test: make tests pass
ColinFay Oct 11, 2023
fbd35ec
feat: add support for git backed posit deployment
ilyaZar Jul 5, 2023
6f34998
docs: update docs + markdown style updates
ilyaZar Jul 5, 2023
4542924
chore: version bump & news update
ColinFay Oct 11, 2023
9ea8dc5
fix: increase minimal attachment version in Suggests
ilyaZar Sep 7, 2023
892b64e
chore: version bump & news update
ColinFay Oct 11, 2023
6d2323f
feat: adding min version in bootstraped attachement & pkgload
ColinFay Oct 11, 2023
bdc43a6
chore: version bump & news update
ColinFay Oct 11, 2023
495b94d
Add pkgdown link to description
olivroy Sep 6, 2023
a2e1168
refactor: move git calls in 01_start to bottom
ilyaZar Oct 11, 2023
748d655
docs: update NEWS.md
ilyaZar Oct 11, 2023
0aba700
style: remove redundant whitespace
ilyaZar Aug 10, 2023
79c3517
doc: redoc
ColinFay Nov 17, 2023
5cefbab
Fix #1008
ilyaZar Mar 24, 2023
ce69b95
refacto: list() on one line in add_r6
ColinFay Nov 17, 2023
b8724b8
doc: version bump & news
ColinFay Nov 17, 2023
b9587e4
feat: welcome page with links to golem docs
ArthurData Feb 19, 2024
c774828
feat: small rewording of the welcome page
ColinFay Feb 28, 2024
ba4002d
chore: news update and version bump
ColinFay Feb 28, 2024
41984ba
refactor: using only shiny::tags
ColinFay Feb 28, 2024
d081724
test: no more link to the pkgdown
ColinFay Feb 28, 2024
bdafdbd
fix: remove deprecated usethis funcs
ilyaZar Dec 1, 2023
3af5a40
docs: remove deprecated usethis funcs from vignette
ilyaZar Dec 1, 2023
00bb08a
style: remove redundant whitespaces from docs
ilyaZar Dec 1, 2023
7f48cb1
feat: rm defunct usethis functions
ColinFay Feb 28, 2024
f683109
tests: test corner case in check_overwrite()
ilyaZar Nov 30, 2023
f236278
fix: remove redundant build_readme
ilyaZar Nov 30, 2023
754a165
test: refactor some tests
ColinFay Feb 28, 2024
3bf821d
fix: user-supplied lockfiles are correctly copied
Aug 30, 2023
210be98
style: linter
ColinFay Feb 28, 2024
4eaacb2
feature: use test coverage for current git-branch
ilyaZar Aug 9, 2023
0149060
feat: add workflow to rebuild README.Rmd automatically
ilyaZar Aug 9, 2023
35a848c
ci: allow the ci to build the action on test-for-gh
ColinFay Feb 28, 2024
01d4a18
ci: use gert + more R packages
ColinFay Feb 28, 2024
55ed3f4
ci: forgot to sudo maybe
ColinFay Feb 28, 2024
ca8cc72
ci: installing from posit ppm
ColinFay Feb 28, 2024
e630f72
ci: also installing the deps
ColinFay Feb 28, 2024
058a197
ci: allow the README to fail
ColinFay Feb 28, 2024
0183331
Re-build README.md
ColinFay Feb 28, 2024
03200ff
ci: adding the dep install GA
ColinFay Feb 28, 2024
b348e0b
ci: run the script also on the branch
ColinFay Feb 28, 2024
0b6d467
Re-build README.md
ColinFay Feb 28, 2024
f7d3fe8
Re-build README.md
ColinFay Feb 28, 2024
cd4a69a
ci: bump version in dev
ColinFay Feb 29, 2024
1485f64
ci: with master too
ColinFay Feb 29, 2024
851f033
Re-build README.md
ColinFay Feb 29, 2024
5bd5ed7
feat: `create_golem()` can be used with path = "." and package_name e…
Nov 30, 2023
bc4db26
doc: Updating doc
Nov 30, 2023
48dd121
Re-build README.md
ColinFay Feb 29, 2024
30521aa
feat: add file .rscignore
ilyaZar May 27, 2023
f3da558
docs: add docs to add_rscignore_file
ilyaZar May 27, 2023
2151fe8
tests: add a basic test for add_rscignore_file
ilyaZar May 27, 2023
08bc9e9
refactor: typos + pass CI + update cat_green/docs
ilyaZar May 27, 2023
4ea5e4e
Re-build README.md
ColinFay Jun 27, 2024
e1c2c38
fix #1150 (#1151)
VincentGuyader Jun 28, 2024
f3ce7f4
Re-build README.md
VincentGuyader Jun 28, 2024
490abd7
Docker user (#1152)
VincentGuyader Jul 4, 2024
ddb51b7
Re-build README.md
VincentGuyader Jul 4, 2024
98209b2
test: perform_inside_a_new_golem wrapper
ColinFay Jul 7, 2024
bfc8d5f
refactor: maintenance_page now has its own R script
ColinFay Jul 7, 2024
c517a46
refactor: simpler with_opts tests
ColinFay Jul 7, 2024
6eeb773
test: document_and_reload tests
ColinFay Jul 7, 2024
6a5185a
refactor: add_sass_code is now in add_files
ColinFay Jul 7, 2024
b520721
refactor: after_creation are now in their own file
ColinFay Jul 7, 2024
94ea4b0
refactor: cats are now in their own files
ColinFay Jul 7, 2024
daa7046
refactor: remove dead code + linter
ColinFay Jul 7, 2024
bf8b90a
test: utils are now fully tested
ColinFay Jul 7, 2024
ed92d3a
test: use_utils refactor
ColinFay Jul 7, 2024
a8991c9
fix: all cats can now be made quiet
ColinFay Jul 7, 2024
2550f59
test: use-utils test is now quiet
ColinFay Jul 7, 2024
268e0b0
test: fully covering use_utils
ColinFay Jul 7, 2024
27a8c75
test: use_recommended test rewrite
ColinFay Jul 7, 2024
70f1bc4
test: use_readme rework
ColinFay Jul 7, 2024
09e1c66
test: rework some of make dev tests
ColinFay Jul 7, 2024
d84c616
test: remove comment is now merged into test-utils
ColinFay Jul 7, 2024
e90af10
refactor: rm duplicated code
ColinFay Jul 7, 2024
a9a0f64
test: simple test for test helpers
ColinFay Jul 7, 2024
7040bb5
test: pkgtool rework
ColinFay Jul 7, 2024
d137476
test: is_running test
ColinFay Jul 7, 2024
b5c2b59
test: add_resource_path rework
ColinFay Jul 7, 2024
f2a5e90
style: pkgtool linter
ColinFay Jul 7, 2024
127c201
test: use_module_test tests
ColinFay Jul 7, 2024
8ebce96
test: template now has tests
ColinFay Jul 7, 2024
086897e
test: renamed test-reload
ColinFay Jul 7, 2024
1a70052
refactor: renamed according to R
ColinFay Jul 7, 2024
4363ff8
refactor: with dummy golem creation fun
ColinFay Jul 7, 2024
9a04c82
test: is_golem tests
ColinFay Jul 7, 2024
f5ac388
style:linter
ColinFay Jul 7, 2024
e625979
test: with setup file
ColinFay Jul 7, 2024
2b727bc
test: bundle resources
ColinFay Jul 8, 2024
ca94585
fix: is_existing_module can now be used in any folder
ColinFay Jul 8, 2024
f7a7e02
test: testing modules_fn
ColinFay Jul 10, 2024
436b68d
test: testing enable roxygen
ColinFay Jul 10, 2024
3590cab
test: refactoring run_dev tests
ColinFay Jul 10, 2024
674fd3f
test: adding golem-config to the dummy golem
ColinFay Jul 10, 2024
6f150fa
style: remove extra line
ColinFay Jul 10, 2024
5de9524
test: testing globals
ColinFay Jul 10, 2024
1c7f3f6
test: test yaml utils
ColinFay Jul 11, 2024
bb43033
test: install_dev_deps tests
ColinFay Jul 11, 2024
2da69f8
chore: adding hard dep to testthat (>= 3.0.0)
ColinFay Jul 11, 2024
160ffb0
test: test for config get
ColinFay Jul 11, 2024
b9ff6de
test: disable autoload
ColinFay Jul 11, 2024
d224049
test: testing add_files
ColinFay Jul 11, 2024
f45fc3d
fix: open is passed to use_test
ColinFay Jul 11, 2024
95b15a6
test: testing addins functions
ColinFay Jul 11, 2024
91d44c8
test: tests for add_r_files
ColinFay Jul 11, 2024
cf57aa5
test: setup fun updates
ColinFay Jul 11, 2024
a4a2ddc
style: linter
ColinFay Jul 11, 2024
28a68f0
test: adding mocked binding to usethis_usetesti
ColinFay Jul 11, 2024
b84476b
test: sanity check
ColinFay Jul 11, 2024
6a930d6
test: fixing test typo
ColinFay Jul 11, 2024
acac5bd
test: testing browserbutton
ColinFay Jul 11, 2024
2c84db2
test: fix use_external_js_file test
ColinFay Jul 12, 2024
0be6bae
test: testing cats
ColinFay Jul 12, 2024
704e0d5
test: after_creation message
ColinFay Jul 12, 2024
3eccbf8
feat: mocking downloadfile
ColinFay Jul 12, 2024
1d265d6
test: test add dockerfile renv
ColinFay Jul 29, 2024
f4b6cf2
style: linter
ColinFay Jul 29, 2024
9083d5d
fix: config file path is not harcoded anymore
ColinFay Jul 29, 2024
488c089
style: linter
ColinFay Jul 29, 2024
38c2397
fix: full path for files in desc
ColinFay Jul 29, 2024
0d0f679
feat: fix set_golem_name
ColinFay Aug 5, 2024
0cb6ee0
test: testing fill_desc
ColinFay Aug 5, 2024
e106557
test: testing create golem
ColinFay Aug 5, 2024
5fc7a61
test: testing add_dockerfile
ColinFay Aug 5, 2024
b7f3f09
test: renv prod
ColinFay Aug 5, 2024
8491039
test: rm add_deploy_helper (moved to another file)
ColinFay Aug 5, 2024
ca16532
test: file renaming for test
ColinFay Aug 5, 2024
ce7ed7c
test: helper config is not used anymore
ColinFay Aug 5, 2024
907611a
test: test for create_golem
ColinFay Aug 5, 2024
4948ee7
test: create golem with perform inside new golem
ColinFay Aug 5, 2024
19938fd
test: set golem options
ColinFay Aug 6, 2024
ad50a35
feat: passing the arg to the function
ColinFay Aug 6, 2024
6b56375
style: linter
ColinFay Aug 6, 2024
b8fc9df
chore: remove dead code
ColinFay Aug 6, 2024
efd2767
test: testing favicon
ColinFay Aug 6, 2024
c2dd2da
test: testing the yaml set
ColinFay Aug 6, 2024
a111d75
test: config
ColinFay Aug 6, 2024
69a8248
test: file ending test
ColinFay Aug 6, 2024
b6d87c0
test: yaml set
ColinFay Aug 6, 2024
aa90b0a
test: setup update
ColinFay Aug 6, 2024
3a5d65a
test: testing use_favicon
ColinFay Aug 7, 2024
a26b37f
test: rm snap
ColinFay Aug 7, 2024
2344398
fix: checking for attachment in boostraped fun
ColinFay Aug 7, 2024
bd75884
test: document_and_reload
ColinFay Aug 7, 2024
adb16ed
test: coms in testthat
ColinFay Aug 7, 2024
c25acb4
fix: not using latest dependencies anymore
ColinFay Aug 7, 2024
70c5946
test: testing create golem
ColinFay Aug 7, 2024
bb33735
doc: adding ` to package names in doc
ColinFay Aug 7, 2024
3ef9e9f
fix: use_external/internal_file now returns the same as other creatio…
ColinFay Aug 7, 2024
f7cc0e3
test: testing use_file
ColinFay Aug 7, 2024
e309e20
fix: use_html funs now check for file extension
ColinFay Aug 7, 2024
5c68e61
test: testing use_file with bad ext
ColinFay Aug 7, 2024
64bf3fd
test: checking rlang_is_interactive
ColinFay Aug 7, 2024
37fd837
test: remove dead code
ColinFay Aug 7, 2024
82ec3bd
test: faster maintenance page test
ColinFay Aug 7, 2024
c38809e
test: refactor with run_quietly_in_a_dummy_golem
ColinFay Aug 7, 2024
4204762
feat: add file .rscignore
ilyaZar May 27, 2023
e153722
docs: add docs to add_rscignore_file
ilyaZar May 27, 2023
89a2a94
tests: add a basic test for add_rscignore_file
ilyaZar May 27, 2023
f425f4a
refactor: typos + pass CI + update cat_green/docs
ilyaZar May 27, 2023
8846f72
Re-build README.md
ColinFay Jun 27, 2024
09fb0f4
fix #1150 (#1151)
VincentGuyader Jun 28, 2024
9ecee1e
Re-build README.md
VincentGuyader Jun 28, 2024
cc1bedf
Docker user (#1152)
VincentGuyader Jul 4, 2024
5989b5b
Re-build README.md
VincentGuyader Jul 4, 2024
13ccecd
test: rm add_deploy_helper (moved to another file)
ColinFay Aug 5, 2024
6b4e32b
chore: updating wordlist & fixing typo
ColinFay Aug 7, 2024
db27d33
chore: add callr as dependency
ColinFay Aug 7, 2024
bafc61c
Merge branch 'dev' into test-refactor
ColinFay Aug 7, 2024
2c4c7ab
fix: rm duplicate options()
ColinFay Aug 7, 2024
f4cf02b
test: winslash in add_resource_path
ColinFay Aug 7, 2024
54479f3
Re-build README.md
ColinFay Aug 7, 2024
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
4 changes: 3 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@
^Meta$
^\.github$
^revdep$
README.html
README.html
^CRAN-SUBMISSION$
^dev$
4 changes: 2 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
branches: [main, master, dev]
pull_request:
branches: [main, master]
branches: [main, master, dev]

name: R-CMD-check

Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/render-rmarkdown-and-bump-version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help

# Controls when the action will run: for now dev and master
on:
push:
branches: [main, master, dev,test-for-gh]

name: render-rmarkdown

jobs:
render-rmarkdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
# Checks-out golem repo so the job can access it
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

# install linux packages
- name: install linux packages
run: sudo apt-get install -y libgit2-dev
# install CRAN packages used inside README.Rmd
- name: install required packages
run: Rscript -e 'install.packages("remotes");remotes::install_cran(c("rmarkdown", "covr", "gert", "knitr", "devtools", "desc"), repos = "https://packagemanager.posit.co/cran/__linux__/jammy/latest")'

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

# Render READEME.md using rmarkdown
- name: Maybe bump dev version
if: github.ref == 'refs/heads/dev'
run: Rscript -e 'desc::desc_bump_version("patch")'
- name: Maybe bump master version
if: github.ref == 'refs/heads/master'
run: Rscript -e 'desc::desc_bump_version("minor")'
- name: render README
run: Rscript -e 'rmarkdown::render("README.Rmd", output_format = "md_document")'
- name: Commit Results
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
git add README.md DESCRIPTION
git commit -m "Re-build README.md" || echo "No changes to commit"
git push origin || echo "No changes to commit"
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.4.0
Date: 2023-03-10 13:02:19 UTC
SHA: ce67fa5e76d40f1ca68b6dda10064bae37fbcb6e
32 changes: 19 additions & 13 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: golem
Title: A Framework for Robust Shiny Applications
Version: 0.4.0
Version: 0.4.26
Authors@R: c(
person("Colin", "Fay", , "contact@colinfay.me", role = c("cre", "aut"),
comment = c(ORCID = "0000-0001-7343-1846")),
Expand All @@ -14,13 +14,14 @@ Authors@R: c(
person("David", "Granjon", , "dgranjon@ymail.com", role = "ctb"),
person("Arthur", "Bréant", , "arthur@thinkr.fr", role = "ctb"),
person("Antoine", "Languillaume", , "antoine@thinkr.fr", role = "ctb"),
person("Ilya", "Zarubin", , "zarubin@wiso.uni-koeln.de", role = "ctb"),
person("ThinkR", role = "cph")
)
Description: An opinionated framework for building a production-ready
'Shiny' application. This package contains a series of tools for
building a robust 'Shiny' application from start to finish.
License: MIT + file LICENSE
URL: https://github.com/ThinkR-open/golem
URL: https://thinkr-open.github.io/golem/, https://github.com/ThinkR-open/golem
BugReports: https://github.com/ThinkR-open/golem/issues
Depends:
R (>= 3.0)
Expand All @@ -34,36 +35,41 @@ Imports:
utils,
yaml
Suggests:
covr,
attachment (>= 0.3.2),
callr,
cli (>= 2.0.0),
covr,
crayon,
desc,
devtools,
dockerfiler (>= 0.2.0),
fs,
httpuv,
knitr,
pkgload,
mockery,
pkgbuild,
pkgdown,
pkgload (>= 1.3.0),
processx,
purrr,
rcmdcheck,
roxygen2,
remotes,
renv,
rmarkdown,
roxygen2,
rsconnect,
rstudioapi,
sass,
spelling,
stringr,
testthat,
testthat (>= 3.0.0),
tools,
withr,
attachment (>= 0.2.5),
renv,
usethis (>= 1.6.0),
fs,
rstudioapi,
desc
withr
VignetteBuilder:
knitr
Config/testthat/edition: 3
Encoding: UTF-8
Language: en-US
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.2
11 changes: 11 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export(add_dockerfile_shinyproxy)
export(add_dockerfile_with_renv)
export(add_dockerfile_with_renv_heroku)
export(add_dockerfile_with_renv_shinyproxy)
export(add_empty_file)
export(add_fct)
export(add_html_template)
export(add_js_file)
Expand All @@ -16,7 +17,10 @@ export(add_js_input_binding)
export(add_js_output_binding)
export(add_module)
export(add_partial_html_template)
export(add_positconnect_file)
export(add_r6)
export(add_resource_path)
export(add_rscignore_file)
export(add_rstudioconnect_file)
export(add_sass_file)
export(add_shinyappsio_file)
Expand All @@ -35,6 +39,7 @@ export(css_template)
export(detach_all_attached)
export(disable_autoload)
export(document_and_reload)
export(empty_template)
export(expect_html_equal)
export(expect_running)
export(expect_shinytag)
Expand All @@ -47,8 +52,10 @@ export(get_golem_options)
export(get_golem_version)
export(get_golem_wd)
export(get_sysreqs)
export(golem_welcome_page)
export(install_dev_deps)
export(invoke_js)
export(is_golem)
export(is_running)
export(js_handler_template)
export(js_template)
Expand Down Expand Up @@ -79,6 +86,7 @@ export(use_internal_file)
export(use_internal_html_template)
export(use_internal_js_file)
export(use_module_test)
export(use_readme_rmd)
export(use_recommended_deps)
export(use_recommended_tests)
export(use_utils_server)
Expand All @@ -98,12 +106,15 @@ importFrom(shiny,addResourcePath)
importFrom(shiny,getShinyOption)
importFrom(shiny,htmlTemplate)
importFrom(shiny,includeScript)
importFrom(shiny,tagList)
importFrom(shiny,tags)
importFrom(tools,file_ext)
importFrom(utils,capture.output)
importFrom(utils,file.edit)
importFrom(utils,getFromNamespace)
importFrom(utils,menu)
importFrom(utils,modifyList)
importFrom(utils,person)
importFrom(utils,sessionInfo)
importFrom(yaml,read_yaml)
importFrom(yaml,write_yaml)
104 changes: 91 additions & 13 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,86 @@
> Notes: the # between parenthesis referes to the related issue on GitHub, and the @ refers to an external contributor solving this issue.

# 0.4.2 to 0.5.0

## New functions

+ `is_golem()` tries to guess if the current folder is a `{golem}`-based app (#836)

+ `use_readme_rmd()` adds a `{golem}` specific `README.Rmd` (@ilyaZar, #1011)

+ rename `add_rstudioconnect_file()` to `add_positconnect_file()` (@ilyaZar, #1017)

+ `add_empty_file` creates an empty file in the www directory (#837)

+ `add_r6()` adds an empty R6 file (@ilyaZar, #1009)

+ `golem::welcome_page()` now display a page on default scaffold app (#1126)

+ Defunct usethis functions has been removed from dev.R (@ilyaZar, #1125)

## New features / user visible changes

+ sourcing `dev/01_start.R` leaves the file in a clean state with all files added to the initial commit (#1094, @ilyaZar)

+ allow for user supplied `run_dev`-files (#886, @ilyaZar)

+ `README` is re-styled and links to various external resources of the `golemverse` (#1064, @ilyaZar)

+ `a_start`-vignette has updated documentation (#1046, @ilyaZar)

+ `fill_desc()` automatically calls `set_options()`; see `dev/01_start.R` as well (#1040, @ilyaZar)

+ `fill_desc()` now uses a `person` vector (#1027, @jmeyer2482, @ColinFay and @ilyaZar)

+ `use_{internal,external}_XXX_file()` function family has improved error handling for non-interactive usage (#1062, @ilyaZar)

+ `add_fct()` now adds the skeleton for a function (#1004, @ilyaZar)

+ The module skeleton now stick to tidyverse style (#1019, @ni2scmn)

+ Better comments to `fill_desc()` in `01_start.R` (#1021, @ilyaZar)

+ `01_start.R` now has a call to `usethis::use_git_remote()` (#1015, @ilyaZar)

+ Tests for `R/golem_utils_server.R` and `R/golem_utils_ui.R` now have full code coverage (#1020, @ilyaZar)

+ When setting a new name, `{golem}` now browses tests & vignettes (#805, @ilyaZar)

+ Adding `writeManifest()` to `deploy.R` (#1063, @ilyaZar)

+ `use_git()` is now at the bottom of 01_dev.R ((#1094, @ilyaZar))

+ `golem::add_dockerfile_with_renv_*()` set "rstudio" as default USER in Dockerfile to avoid launching app as root

+ It is now easier to modify the renv.config.pak.enabled parameter in the Dockerfile generated by `golem::add_dockerfile_with_renv_*()` functions.

## Bug fix

+ `use_{internal,external}_XXX_file()` function family works with default missing `name` argument (#1060, @ilyaZar)

+ `run_dev()` now install needed dependencies to source `dev/run_dev.R` if needed (#942, @ilyaZar, @vincentGuyader)

+ `use_readme_rmd()` does not pop up when argument `open=FALSE` is set (#1044, @ilyaZar)

+ Docker commands now take the `-it` flag so it can be killed with `^C` (#1002, @ivokwee)

+ `add_module()` now behaves correctly when trying to use `mod_mod_XXX` (#997, @ilyaZar)

+ `{attachment}` now has a minimum version requirement (#1104, @ilyaZar)

+ `{pkgload}` now has a minimum version requirement (#1106)

## Internal changes

+ Add tests for (under/un)-tested files and functions and improve code coverage of `{golem}` (#1043, #1050, #1059, #1066, #1075, @ilyaZar)
+ `guess_where_config()` now finds the user config-yaml by reading its new location from user changes in "R/app_config.R" (#887, @ilyaZar)
+ All functions that require to get a path now rely on `get_golem_wd()` (#1016, @ilyaZar)


# 0.4.1

This is an intermediate release after CRAN feedback.

# 0.4.0

## New functions
Expand All @@ -15,27 +96,24 @@
- Functions that print to the console are now quiet if `options("golem.quiet" = TRUE)`, #793
- Small documentation update in dockerfile related functions (#939)
- `fill_desc()` now allows to set the version (#877)
- Setting the Environment variable `GOLEM_MAINTENANCE_ACTIVE` to `TRUE` active the maintenance mode of your app
- Setting the Environment variable `GOLEM_MAINTENANCE_ACTIVE` to `TRUE` activates the maintenance mode of your app
- `golem::run_dev()` now save all open documents before sourcing the `dev/run_dev.R` file
- When creating an app, you'll get a message if the dev deps are not all installed (#915)
- 03_deploy now contains an example of sending the app to PositConnect or Shinyapps.io (#923)
- `03_deploy` now contains an example of sending the app to PositConnect or Shinyapps.io (#923)

## Bug fix

- The message after htmlTemplate creation now suggests to add in the UI, not only in app_ui.R (#861)
- The message after htmlTemplate creation now suggests to add in the UI, not only in `app_ui.R` (#861)
- The Deprecation message for `use_recommended_deps` no longer suggest to user `use_recommended_deps` (#900)
- The setting of the config file has been unified so that we are sure to keep the !expr in `golem_set_wd()`, and the codebase has been simplified for this (#709).
- The functions adding files can no longer take a `name` argument that has length() > 1. This used to cause some bugs (#781)
- The typo in `install.packages()` in 02_dev.R has been corrected (@asiripanich)
- The setting of the config file has been unified so that we are sure to keep the `!expr` in `golem_set_wd()`, and the codebase has been simplified for this (#709).
- The functions adding files can no longer take a `name` argument that has `length() > 1`. This used to cause some bugs (#781)
- The typo in `install.packages()` in `02_dev.R` has been corrected (@asiripanich)
- `add_dockerfile_with_renv()` now works well with uppercase in package name
- improve `get_golem_options()` documentation

## Internal changes

add_dockerfile_with_renv now works well with uppercase in package name

add_dockerfile_with_renv now works well with uppercase in package name

+ `add_dockerfile_with_renv` now works well with uppercase in package name

# golem 0.3.5

Expand All @@ -55,7 +133,7 @@ Update in the tests for CRAN (skip not installed + examples).

- `add_dockerfile`, `add_dockerfile_shinyproxy()` and `add_dockerfile_heroku()` now recommend to switch to their `_with_renv_` counterpart

# golem 0.3.2 (CRAN VERSION)
# golem 0.3.2

### Soft deprecated

Expand Down Expand Up @@ -131,7 +209,7 @@ Update in the tests for CRAN (skip not installed + examples).

- `{testthat}` and `{rlang}` are no longer hard dependencies (#742)

# golem 0.3.1 (CRAN Version)
# golem 0.3.1

## New functions

Expand Down Expand Up @@ -301,7 +379,7 @@ Update in the tests for CRAN (skip not installed + examples).

- modules bow have a placeholder for content

- Dev scripts have been rewritten and rerordered a litte bit
- Dev scripts have been rewritten and reordered a little bit

## Breaking changes

Expand Down
10 changes: 6 additions & 4 deletions R/add_dockerfiles.R
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ add_dockerfile_ <- talk_once(
open = TRUE,
update_tar_gz = TRUE,
build_golem_from_source = TRUE,
extra_sysreqs = NULL) {
extra_sysreqs = NULL
) {
where <- fs_path(pkg, output)

usethis_use_build_ignore(
Expand Down Expand Up @@ -403,9 +404,10 @@ golem::add_dockerfile_heroku() is not recommended anymore.\nPlease use golem::ad
)

alert_build <- function(
path,
output,
build_golem_from_source) {
path,
output,
build_golem_from_source
) {
cat_created(output, "Dockerfile")
if (!build_golem_from_source) {
cat_red_bullet(
Expand Down
Loading
Loading