I receive the following message with errors in the report:
Downloading GitHub repo JasonSills/montyhall@HEAD
√ checking for file 'C:\Users\Jason Sills\AppData\Local\Temp\RtmpKu8i0W\remotes3d6c44163d2\JasonSills-montyhall-6db6fdc/DESCRIPTION'
checking for LF line-endings in source and make files and shell scripts
checking for empty or unneeded directories
building 'montyhall_0.0.0.9000.tar.gz'
Installing package into �C:/Users/Jason Sills/Documents/R/win-library/4.0�
(as �lib� is unspecified)
installing source package 'montyhall' ...
using staged installation
help
installing help indices
converting help for package 'montyhall'
finding HTML links ... done
change_door html
create_game html
determine_winner html
open_goat_door html
play_game html
play_n_games html
select_door html building package indices
testing if installed package can be loaded from temporary location
arch - i386
Error: package or namespace load failed for 'montyhall' in namespaceExport(ns, exports):
undefined exports: change_door, create_game, determine_winner, open_goat_door, play_game, play_n_games, select_door
Error: loading failed
Execution halted
*** arch - x64
Error: package or namespace load failed for 'montyhall' in namespaceExport(ns, exports):
undefined exports: change_door, create_game, determine_winner, open_goat_door, play_game, play_n_games, select_door
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'
removing 'C:/Users/Jason Sills/Documents/R/win-library/4.0/montyhall'
installation of package �C:/Users/JASONS~1/AppData/Local/Temp/RtmpKu8i0W/file3d6c67966f40/montyhall_0.0.0.9000.tar.gz� had non-zero exit status
What is causing this? What is causing this export to be undefined? Doesn't the function follow the @export roxygen? Will it prevent you from loading on your machine?
I recreated everything under a "montyhall2" setup and everything seems to work fine. Every setup and step was exactly the same. I'm going to submit my montyhall2 package.
Hi @lecy
I'm attempting to test loading my package from GitHub. When I use
devtools::install_github( "JasonSills/montyhall" )
I receive the following message with errors in the report: Downloading GitHub repo JasonSills/montyhall@HEAD √ checking for file 'C:\Users\Jason Sills\AppData\Local\Temp\RtmpKu8i0W\remotes3d6c44163d2\JasonSills-montyhall-6db6fdc/DESCRIPTION'
Installing package into �C:/Users/Jason Sills/Documents/R/win-library/4.0� (as �lib� is unspecified)
create_game html
determine_winner html
open_goat_door html
play_game html
play_n_games html
select_door html
building package indices testing if installed package can be loaded from temporary location arch - i386 Error: package or namespace load failed for 'montyhall' in namespaceExport(ns, exports): undefined exports: change_door, create_game, determine_winner, open_goat_door, play_game, play_n_games, select_door Error: loading failed Execution halted *** arch - x64 Error: package or namespace load failed for 'montyhall' in namespaceExport(ns, exports): undefined exports: change_door, create_game, determine_winner, open_goat_door, play_game, play_n_games, select_door Error: loading failed Execution halted ERROR: loading failed for 'i386', 'x64'
What is causing this? What is causing this export to be undefined? Doesn't the function follow the @export roxygen? Will it prevent you from loading on your machine?