Return sub-directory from URL if present. This function is also intended to

Description

Return sub-directory from URL if present. This function is also intended to test whether packages are in sub-directories (issue #64)

Usage

get_subdir_from_url(repourl)

Arguments

  • repourl: Potentially with “/tree/branch_name/sub-directory” appended

Seealso

Other github: [dl_gh_repo](dl_gh_repo)(), [get_branch_from_url](get_branch_from_url)(), [post_to_issue](post_to_issue)(), [url_is_r_pkg](url_is_r_pkg)()

Concept

github