Skip to content

Error installing htmlunit #6

@werkstattcodes

Description

@werkstattcodes

Hello,
I am encountering the error below when trying to install htmlunit. Am I missing something?
Many thanks for making R such a joy. r

> library(remotes)
> remotes::install_github("hrbrmstr/htmlunit")
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo hrbrmstr/htmlunit@HEAD
√  checking for file 'C:\Users\*****\AppData\Local\Temp\RtmpcfsVIp\remotes194852017dd7\hrbrmstr-htmlunit-b9dd94a/DESCRIPTION' (594ms)
-  preparing 'htmlunit': (7.9s)
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts (478ms)
-  checking for empty or unneeded directories
-  building 'htmlunit_0.5.0.tar.gz'
   
Installing package into ‘C:/Users/*****/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package 'htmlunit' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'rvest' was built under R version 4.0.4
Execution halted
ERROR: lazy loading failed for package 'htmlunit'
* removing 'C:/Users/****/Documents/R/win-library/4.0/htmlunit'
Error: Failed to install 'htmlunit' from GitHub:
  (converted from warning) installation of package ‘C:/Users/*****/AppData/Local/Temp/RtmpcfsVIp/file1948524517f/htmlunit_0.5.0.tar.gz’ had non-zero exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions