Skip to content

Commit

Permalink
try cran submit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchypark committed Aug 29, 2023
1 parent 57afb0f commit 60a8ce9
Show file tree
Hide file tree
Showing 16 changed files with 524 additions and 490 deletions.
3 changes: 2 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
^renv$
^renv\.lock$
^R/\.logo\.R$
^tools/logo\.R$
^docs$
^_pkgdown\.yml$
^.*\.Rproj$
Expand All @@ -13,3 +13,4 @@ README.Rmd
^\.github$
^cran-comments\.md$
^LICENSE\.md$
^CRAN-SUBMISSION$
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.1.8
Date: 2023-08-29 05:21:59 UTC
SHA: 57afb0ffae7458ba02c9b3aa99722be3ba678bcd
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# tqk 0.1.8

* Fix Description
* Add value for md.

# tqk 0.1.7

* Fix license file for CRAN.
Expand Down
5 changes: 5 additions & 0 deletions R/code_get.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
#' @param fresh get code on internet. Default is FALSE.
#' @return a [tibble][tibble::tibble-package] with market, name, code column.
#' @export
#' @examples
#' \donttest{
#' code_get()
#' code_get(fresh = TRUE)
#' }
#' @importFrom httr POST content
#' @importFrom jsonlite fromJSON
#' @importFrom tibble as_tibble
Expand Down
6 changes: 6 additions & 0 deletions R/tqk_get.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
#' @param from Optional for various time series functions. A character string representing a start date in YYYY-MM-DD format.
#' @param to Optional for various time series functions. A character string representing a end date in YYYY-MM-DD format.
#' @export
#' @examples
#' \donttest{
#' tqk_get(x = "005930")
#' tqk_get(x = "005930", from = "2018-05-01")
#' tqk_get(x = "005930", from = "2018-05-01", to = "2018-05-31")
#' }
#' @importFrom httr POST content
#' @importFrom jsonlite fromJSON
#' @importFrom tibble as_tibble
Expand Down
25 changes: 14 additions & 11 deletions R/utils-pipe.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#' Pipe operator
#'
#' See \code{magrittr::\link[magrittr]{\%>\%}} for details.
#'
#' @name %>%
#' @rdname pipe
#' @keywords internal
#' @export
#' @importFrom magrittr %>%
#' @usage lhs \%>\% rhs
NULL
#' Pipe operator
#'
#' See \code{magrittr::\link[magrittr:pipe]{\%>\%}} for details.
#'
#' @name %>%
#' @rdname pipe
#' @keywords internal
#' @export
#' @importFrom magrittr %>%
#' @usage lhs \%>\% rhs
#' @param lhs A value or the magrittr placeholder.
#' @param rhs A function call using the magrittr semantics.
#' @return The result of calling `rhs(lhs)`.
NULL
55 changes: 2 additions & 53 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,6 @@
Maintainer: 'Chanyub Park <mrchypark@gmail.com>'

New submission

License components with restrictions and base license permitting such:
MIT + file LICENSE
File 'LICENSE':
MIT License

Copyright (c) 2017 Chan-Yub Park

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

❯ On windows-x86_64-devel (r-devel)
checking for detritus in the temp directory ... NOTE
Expand All @@ -45,41 +20,15 @@
Skipping checking HTML validation: no command 'tidy' found

❯ On fedora-clang-devel (r-devel)
checking CRAN incoming feasibility ... [3s/13s] NOTE
checking CRAN incoming feasibility ... [3s/10s] NOTE
Maintainer: ‘Chanyub Park <mrchypark@gmail.com>

New submission

License components with restrictions and base license permitting such:
MIT + file LICENSE
File 'LICENSE':
MIT License

Copyright (c) 2017 Chan-Yub Park

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

0 errors ✔ | 0 warnings ✔ | 4 notes ✖


## Notes comments

Run `urlchecker::url_update()` and all fix done.

The two notes appear to be because it is a new submission. lastMiKTeXException is a known bug of the rhub check, and the note on fedora was confirmed to be due to the host system's settings.
The two notes appear to be because it is a new submission. lastMiKTeXException is a known bug of the rhub check, and the note on ubuntu was confirmed to be due to the host system's settings.
6 changes: 6 additions & 0 deletions man/code_get.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion man/pipe.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/tqk-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions man/tqk_get.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 60a8ce9

Please sign in to comment.