Permalink
Browse files

Add imports for xml2

  • Loading branch information...
greebie committed Jan 31, 2019
1 parent 2265d80 commit cc06cb7d34b5eb4eeed863fc659d42a776204622
Showing with 5 additions and 1 deletion.
  1. +2 −1 DESCRIPTION
  2. +1 −0 NAMESPACE
  3. +2 −0 R/archivr.R
@@ -20,7 +20,8 @@ Imports:
stringr,
curl,
jsonlite,
tools
tools,
textreadr
License: MIT
LazyData: true
RoxygenNote: 6.1.0.9000
@@ -25,4 +25,5 @@ export(view_archiv.fromUrl)
import(curl)
import(readtext)
import(stringr)
import(xml2)
importFrom(jsonlite,fromJSON)
@@ -35,6 +35,7 @@ library(rvest)
library(stringr)
library(curl)
library(tools)
library(textreadr)


archiv_env <- new.env()
@@ -358,6 +359,7 @@ set_folder_id <- function (id) {
#' Extracts the urls from a webpage.
#'
#' @param url The url to extract urls.
#' @import xml2
#' @export
#' @return a vector of urls.
extract_urls_from_webpage <- function (url) {

0 comments on commit cc06cb7

Please sign in to comment.