Skip to content

Commit 52bcab7

Browse files
committed
Add example of prefix-less url in use_course()
1 parent f82e695 commit 52bcab7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

R/course.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
#' @examples
2929
#' \dontrun{
3030
#' ## bit.ly shortlink example
31+
#' ## should work with and without http prefix
32+
#' use_course("bit.ly/usethis-shortlink-example")
3133
#' use_course("http://bit.ly/usethis-shortlink-example")
3234
#'
3335
#' ## demo with a small CRAN package available in various places

man/use_course.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)