Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab 6 #27

Open
mrowland1 opened this issue Feb 20, 2022 · 1 comment
Open

Lab 6 #27

mrowland1 opened this issue Feb 20, 2022 · 1 comment

Comments

@mrowland1
Copy link

Hello @Dselby86

I keep getting this error for the IMG code in Lab 6:
File ', IMG, ' not found in resource path
Error: pandoc document conversion failed with error 99
Execution halted

Here is my code:

fa.github <- fontawesome::fa( name="github" )
fa.twitter <- fontawesome::fa( name="twitter" )

build_circles <- function( WEBSITE, IMG , NAME, DESC, GITHUB, TWITTER )
{

  cat( '<div class="list-circles-item">' )
  cat( '\n' )  # line break 
  cat( paste0( '  <a href="', WEBSITE, '">' ) )
  cat( '\n' )  # line break 
  cat( paste0( '  ><img src="', IMG, '" class="item-img"></a>' ) )
  cat( '\n' )  # line break 
  cat( paste0( '<tag> ', NAME, ' </tag>' ) )
  cat( '\n' )  # line break 
  cat( paste0( '<div class="title"> ', DESC, ' </div>' ) )
  cat( '\n' )  # line break
  cat( paste0( '  <a href="', GITHUB, '">', fa.github, '</a>' ) )
  cat( '\n' )  # line break 
  cat( paste0( '  <a href="', TWITTER, '">', fa.twitter, '</a>' ) )

}


build_circles(WEBSITE="https://www.msf.ch",
  IMG="https://www.repidemicsconsortium.org/img/people/callum-arnold.jpg",
  NAME="Manuel Albela Miranda",
  DESC="Epidemiology Adviser. M?decins sans Fronti?res (MSF) Switzerland.",
  GITHUB="",
  TWITTER=""
)


build_circles

@Dselby86
Copy link
Collaborator

Dselby86 commented Feb 20, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants