Skip to content

Commit

Permalink
cran submission, fixed .Rprofile
Browse files Browse the repository at this point in the history
  • Loading branch information
notPlancha committed Jan 28, 2024
1 parent 0734df9 commit eacf2f3
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 27 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
^NOTICE$
^LICENSE$
^revdep$
^CRAN-SUBMISSION$
54 changes: 30 additions & 24 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -1,27 +1,33 @@
require(pak)
require(devtools)
require(conflicted)
require(desc)
# pak("r-lib/revdepcheck")
# pak("jumpingrivers/inteRgrate")
## https://www.r-bloggers.com/2020/07/how-to-write-your-own-r-package-and-publish-it-on-cran/
if (interactive()) {
require(pak)
require(devtools)
require(conflicted)
require(desc)
# pak("r-lib/revdepcheck")
# pak("jumpingrivers/inteRgrate")
## https://www.r-bloggers.com/2020/07/how-to-write-your-own-r-package-and-publish-it-on-cran/

d <- desc::desc()
tryit <- \() {devtools::load_all()}
build_docs <- \() {devtools::document()}
local_check <- \() {devtools::check()}
multi_check <- \() {
ch <- devtools::check_rhub()
ch
}
print_cran_comments <- \(ch) {
ch$cran_summary()
}
#revdep <- \() {revdepcheck::use_revdep()} # n percebi o q faz e n consegui correr
devel_check <- \() {
usethis::use_github_action()
}
d <- desc::desc()
tryit <- \() {devtools::load_all()}
build_docs <- \() {devtools::document()}
local_check <- \() {devtools::check()}
multi_check <- \() {
ch <- devtools::check_rhub()
ch
}
print_cran_comments <- \(ch) {
ch$cran_summary()
}
#revdep <- \() {revdepcheck::use_revdep()} # n percebi o q faz e n consegui correr
devel_check <- \() {
devtools::check_win_devel()
}

create_gh_action <- \() {
usethis::use_github_action()
}

goodpractice_check <- \() {
goodpractice::gp()
goodpractice_check <- \() {
goodpractice::gp()
}
}
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 1.0.0
Date: 2024-01-28 17:48:51 UTC
SHA: 0734df96e43c51e39edc493122ee29d5d5f34716
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@ pak::pak("notPlancha/settingsSync")
## Usage
You can directly call `settingsSync::sync()`, or use the Rstudio Addin (they do the same thing); and follow the instructions. The extension pulls the settings from Google Drive (if any), tries to merge them with the local settings (the package has conflict resolution), and then pushes the merged settings to Google Drive.

## Docs
TODO

## Contributing
Feel free to open an issue or a PR.

0 comments on commit eacf2f3

Please sign in to comment.