Skip to content

Commit

Permalink
docs: cleanup and re-document
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbrig committed Sep 14, 2024
1 parent 6b57916 commit 4605473
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 6 deletions.
11 changes: 9 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,18 @@ Imports:
gargle,
gitdown,
glue,
grDevices,
here,
htmltools,
httr,
httr2,
jsonlite,
keyring,
lubridate,
markdown,
metathis,
monochromeR,
paletter,
parallel,
pdftools,
pkgdown,
Expand All @@ -42,8 +46,11 @@ Imports:
tibble,
tibblify,
tidyr,
togglr,
usethis,
utils,
xml2
xml2,
yaml
Suggests:
knitr,
rmarkdown,
Expand All @@ -56,4 +63,4 @@ Encoding: UTF-8
Language: en-US
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2.9000
RoxygenNote: 7.3.2
31 changes: 31 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,42 @@ export(entrace)
export(error_cnd)
export(extract_pdf_content)
export(fetch_brand)
export(generate_news)
export(generate_news_from_changelog)
export(get_brand_logos)
export(get_favicon)
export(get_gitignore)
export(get_logo_file_name)
export(get_tracked_time)
export(git_attributes)
export(git_config)
export(git_ignore)
export(hex_to_rgb)
export(parse_pdf_content)
export(process_pdfs)
export(rgb_to_hex)
export(rgba_to_hex)
export(shiny_resume_body)
export(shiny_resume_navbar)
export(shiny_resume_page)
export(start_time_tracking)
export(stop_time_tracking)
export(trace_back)
export(tree)
export(typography)
export(use_github_action_news)
export(use_noclocks_meta)
export(write_log)
import(htmltools)
import(pkgdown)
importFrom(assertthat,assert_that)
importFrom(cli,ansi_strip)
importFrom(cli,cat_line)
importFrom(cli,cli_abort)
importFrom(cli,cli_alert_info)
importFrom(cli,cli_alert_success)
importFrom(cli,cli_alert_warning)
importFrom(cli,cli_bullets)
importFrom(cli,cli_progress_bar)
importFrom(cli,cli_progress_done)
importFrom(cli,cli_progress_update)
Expand Down Expand Up @@ -78,6 +92,7 @@ importFrom(httr2,req_url_path_append)
importFrom(httr2,request)
importFrom(httr2,resp_body_json)
importFrom(jsonlite,fromJSON)
importFrom(lubridate,weeks)
importFrom(markdown,markdownToHTML)
importFrom(metathis,meta)
importFrom(metathis,meta_social)
Expand All @@ -93,11 +108,15 @@ importFrom(purrr,pmap_chr)
importFrom(purrr,pwalk)
importFrom(rlang,abort)
importFrom(rlang,cnd_entrace)
importFrom(rlang,current_env)
importFrom(rlang,entrace)
importFrom(rlang,error_cnd)
importFrom(rlang,trace_back)
importFrom(stringr,boundary)
importFrom(stringr,str_detect)
importFrom(stringr,str_extract)
importFrom(stringr,str_match)
importFrom(stringr,str_replace)
importFrom(stringr,str_replace_all)
importFrom(stringr,str_to_lower)
importFrom(stringr,str_trim)
Expand All @@ -112,4 +131,16 @@ importFrom(tibblify,tib_unspecified)
importFrom(tibblify,tibblify)
importFrom(tibblify,tspec_object)
importFrom(tidyr,unnest)
importFrom(togglr,get_time_entries)
importFrom(togglr,get_toggl_api_token)
importFrom(togglr,set_toggl_api_token)
importFrom(togglr,toggl_start)
importFrom(togglr,toggl_stop)
importFrom(usethis,use_news_md)
importFrom(utils,assignInMyNamespace)
importFrom(xml2,read_html)
importFrom(xml2,xml_children)
importFrom(xml2,xml_find_all)
importFrom(xml2,xml_find_first)
importFrom(xml2,xml_name)
importFrom(xml2,xml_text)
Empty file removed R/assets.R
Empty file.
8 changes: 4 additions & 4 deletions R/onLoad.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
#' These functions are run when the package is loaded or attached.

.onAttach <- function(
libname = find.package("noclocksR"),
pkgname = "noclocksR"
libname = find.package("noclocksr"),
pkgname = "noclocksr"
) {

vers <- as.character(utils::packageVersion(pkgname))
msg <- sprintf(
"Welcome to `noclocksR`! This is version: %s\n",
"Welcome to `noclocksr`! This is version: %s\n",
vers
)

Expand Down Expand Up @@ -38,7 +38,7 @@
#
# .auth_env <<- rlang::env(
# auth_state = gargle::init_AuthState(
# package = "noclocksR",
# package = "noclocksr",
# client = oauth_client,
# auth_active = TRUE
# )
Expand Down
23 changes: 23 additions & 0 deletions man/noclocksr-package.Rd

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

0 comments on commit 4605473

Please sign in to comment.